On Sun, 2007-03-25 at 10:15 -0700, sansmojo wrote: > I was trying to test out psyco, according to the information at > http://code.djangoproject.com/wiki/PsycoMiddleware > For some reason, the following works at the shell (python manage.py > shell), but not on the web: > > import psyco > psyco.full > > It seems that the second I attempt to import psyco through a web > request, I get an error (shows as server error 500, but it's > ImportError). I'm running on Dreamhost, with psycho installed in a > local site-packages. > > Any ideas as to what could be wrong? Thanks!
If Python is raising an exception and you're not catching it, it should be sent to sys.stderr and your webserver must be catching that somehow (hopefully, otherwise you'll be missing a lot of errors, in general). Try to work out where the error log is so that you can see the details of the error. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---