Re: Mod_python and Django - AGAIN

2006-06-13 Thread PythonistL
Yes, it uses the same source that runs on Dreamhost - both Django and my project. I had to make only some different settings in settings.py file because I installed the project in a different directory and also installed PIL and MySQLdb by myself. So, how to find the cause of the problem? L.

Re: Mod_python and Django - AGAIN

2006-06-13 Thread Waylan Limberg
Does it run with the devserver? Are you sure you are using the same versions of django and/or python on both machines. If not, it could be some syntax differences etc. I would check that first. Then, try Joseph's suggestions anyway. As he says it will "maybe give you an idea of where to focus."

Re: Mod_python and Django - AGAIN

2006-06-13 Thread PythonistL
No, it can not be that problem. I use the same models and source on Dreanhost and it works. But now I want to use my Linux box with mod_python and the code does not work. So, any other idea how to solve the problem? Thank you. L --~--~-~--~~~---~--~~ You receiv

Re: Mod_python and Django - AGAIN

2006-06-12 Thread Joseph Heck
Normally I'd say there was a problem with one of your models - like a __repr__ (or __str__ in MR as I understand it) missing. It's not an awesome solution, but I've debugged this sort of thing by invoking python interactively, importing the relevant pieces, and asking the template to render for me

Mod_python and Django - AGAIN

2006-06-12 Thread PythonistL
I installed Django on Apache but still not successfully. When I try to open a view/page that normaly works (e.g on Dreamhost where I use FastCGI), on Linux box with Mod_python and Django I will get Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most r