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

MOD_PYTHON ERROR #2

Open
hotsun opened this issue Apr 17, 2013 · 1 comment
Open

MOD_PYTHON ERROR #2

hotsun opened this issue Apr 17, 2013 · 1 comment

Comments

@hotsun
Copy link

hotsun commented Apr 17, 2013

Sorry, I'm a newbie, could you please elaborate more a little bit about: Make cloudviz.py web-accessible using your favorite HTTP server?

I configured the py on apache and still get MOD_PYTHON ERROR for your code.

Any other dependencies missed?

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/mod_python/importer.py", line 1540, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

File "/usr/lib/python2.6/site-packages/mod_python/importer.py", line 1209, in _process_target
object = apache.resolve_object(module, object_str, arg, silent=silent)

File "/usr/lib/python2.6/site-packages/mod_python/apache.py", line 696, in resolve_object
raise AttributeError, s

AttributeError: module '/var/www/cloudviz-master/cloudviz.py' contains no 'handler'

@crccheck
Copy link

I ended up modifying cloudviz.py to be a wsgi app. You can see my progress here: https://github.com/texastribune/cloudviz/tree/messin-around

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

No branches or pull requests

2 participants