Giter Site home page Giter Site logo

Crashes on recent pulls about cape HOT 14 CLOSED

ctxis avatar ctxis commented on July 1, 2024
Crashes on recent pulls

from cape.

Comments (14)

doomedraven avatar doomedraven commented on July 1, 2024

weird i don't have any problem, which version fo django?

from cape.

kevoreilly avatar kevoreilly commented on July 1, 2024

Hmm possibly quite old - 1.8.4. I will check the public instance later too, it has had troubles but may be on yet another version.

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

thats weird im using the same version

grep -i samplezip . -r <- the sme for dropperdzip
./templates/analysis/overview/_file.html:                    <a class="btn btn-primary btn-small" href="{% url "file" "samplezip" analysis.info.id analysis.target.file.sha256 %}">Download ZIP</a>
Binary file ./analysis/views.pyc matches
./analysis/views.py:    elif category in ("samplezip", "droppedzip"):
./analysis/views.py:        if category == "samplezip":

and this are uniq lines

from cape.

kevoreilly avatar kevoreilly commented on July 1, 2024

Just updated django to latest, now can't even get the web server running! It is crashing horribly on startup now - think I broke django :(

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

yep the latest django is v2.x and the latest suported was 1.10 i think

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

well mine is

django.VERSION
(1, 10, 4, u'final', 0)

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

can you install this version and see if that works? so we can handcore version in requirements.txt?

from cape.

kevoreilly avatar kevoreilly commented on July 1, 2024

Yup I'll give that version a go and let you know how I get on - cheers.

from cape.

kevoreilly avatar kevoreilly commented on July 1, 2024

Hmm still not working:

File "/usr/local/lib/python2.7/dist-packages/ratelimit/middleware.py", line 2, in
from django.utils.importlib import import_module
django.core.exceptions.ImproperlyConfigured: WSGI application 'web.wsgi.application' could not be loaded; Error importing module: 'No module named importlib'

from cape.

doomedraven avatar doomedraven commented on July 1, 2024
 /usr/local/lib/python2.7/dist-packages/ratelimit/middleware.py
try:
    # Django versions >= 1.9
    from django.utils.module_loading import import_module
except ImportError:
    # Django versions < 1.9
    from django.utils.importlib import import_module

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

did you solve it?

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

ok that droppedzip just poped here, fixing

from cape.

doomedraven avatar doomedraven commented on July 1, 2024

ok that was a problem of spaces

from cape.

kevoreilly avatar kevoreilly commented on July 1, 2024

Yeah all sorted now! Thanks

from cape.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.