Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error code: 500 from git version #15

Closed
justinfx opened this issue May 3, 2011 · 3 comments
Closed

Error code: 500 from git version #15

justinfx opened this issue May 3, 2011 · 3 comments

Comments

@justinfx
Copy link

justinfx commented May 3, 2011

When I install the git repo version of supervisor 3.0a10, on OSX python2.6, the web page gives me an Error code 500. The pypi version via easy_install seems to work fine.

@mnaberez
Copy link
Member

If you run Supervisor like this:

supervisord -n -e trace

Supervisor will run in the foreground and print log messages to stdout at the trace level. If a 500 occurs on the web interface, you should see something like this:

2011-05-16 14:05:33,375 TRAC Web interface error:Traceback (most recent call last):
  File "/path/to/src/supervisor/web.py", line 59, in more
    raise Exception("whoops")
Exception: whoops
2011-05-16 14:05:33,376 TRAC 127.0.0.1:53759 - - [16/May/2011:21:05:33 -0800] "GET / HTTP/1.1" 500 288

Please send the traceback if you're able to get one.

@justinfx
Copy link
Author

I don't current have a traceback, but I was able to figure out the issue. It appeared that none of the ui resources were being installed with the egg. I had to modify the setup.py as follows:
justinfx@fe1ad04#setup.py

It was also looking for the version.txt in a different spot that it exists, so I addressed that as well but copying it to the root directory.

@mnaberez
Copy link
Member

python setup.py develop should not have that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants