Skip to content

Signal only works in main thread #13

@clime

Description

@clime

I am getting the following exception when trying to run my app.

ValueError at /
signal only works in main thread

/srv/www/envs/cwu/lib/python2.7/site-packages/statprof.py in stop
       260.  signal.signal(signal.SIGPROF, signal.SIG_IGN) 

If I remove 'profiler.middleware.StatProfMiddleware', from MIDDLEWARE_CLASSES, the problem disappears but I have installed django-live-profiler specifically for python profiling.

I run the test server (./manage.py runserver). Any help, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions