MOD_PYTHON ERROR

2010-05-16 Thread asraful
x27;C:/Program Files/Apache2.2/htdocs/mysite','c:/Program Files/Apache Software Foundation/Apache2.2/htdocs', '/django']" I found error in browser like: MOD_PYTHON ERROR ProcessId: 3000 Interpreter:'asraful.brotecs.com' ServerName: 'asraf

Re: Mod_python error: AttributeError: 'str' object has no attribute 'status_code'

2010-04-06 Thread bruno desthuilliers
sing from the fact that this occurs only sometimes, perhaps this > is a load/scaling issue with mod_python? It's happening in my > production system where I do get a lot of hits. > > Any input/advice would be much appreciated. > > Cheers, > Nihaar > > MOD_PYTHON ERROR

Mod_python error: AttributeError: 'str' object has no attribute 'status_code'

2010-04-05 Thread Nihaar Gupta
load/scaling issue with mod_python? It's happening in my production system where I do get a lot of hits. Any input/advice would be much appreciated. Cheers, Nihaar MOD_PYTHON ERROR Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/mod_python/importer.py&

Re: MOD_PYTHON ERROR

2009-09-19 Thread W3
means? It seems to be > > stopping all my django stuff from working, it doesn't even render > > error pages anymore.  I've tried deleting all the stuff i've done > > since it started happening but still no joy. > > > Thanks, > > > Andrew > > >

Re: MOD_PYTHON ERROR

2009-09-18 Thread Karen Tracey
since it started happening but still no joy. > > Thanks, > > Andrew > > MOD_PYTHON ERROR > > [snip] File "C:\ProgLangs\Python25\lib\site-packages\django\utils > \translation\trans_real.py", line 198, in translation >default_translation = _fetch(settings.

Re: mod_python error

2009-04-07 Thread skunkwerk
problem solved - i needed to refresh the page in my browser to see the debug log. thanks! On Apr 7, 1:59 am, Florian Strzelecki wrote: > And... what about that : > > DocumentRoot:   '/usr/local/apache2/htdocs' > > URI:            '/contact.php' > Location:       '/' > Directory:      None > Fil

Re: mod_python error

2009-04-07 Thread skunkwerk
thanks guys, the error isn't just with .php pages so i don't think that's the problem. i've turned on debug mode, and put back 500.html, but I'm not seeing a debug page... just the 500 page template with no tracebacks or anything. how do i see the regular django debug page? On Apr 7, 1:59 a

Re: mod_python error

2009-04-07 Thread Florian Strzelecki
And... what about that : DocumentRoot: '/usr/local/apache2/htdocs' URI:'/contact.php' Location: '/' Directory: None Filename: '/usr/local/apache2/htdocs/ contact.php' PathInfo: '' Phase: 'PythonHandler' Handler:'django.core.handlers.modpython

Re: mod_python error

2009-04-06 Thread Karen Tracey
On Mon, Apr 6, 2009 at 5:35 PM, skunkwerk wrote: > > Hi, > i've been trying to figure out why i'm getting this error (i > removed the 500.html template to view the traceback, but am not sure > what's causing the unhandled exception in the first place). any > ideas? > Removing the 500.html tem

mod_python error

2009-04-06 Thread skunkwerk
Hi, i've been trying to figure out why i'm getting this error (i removed the 500.html template to view the traceback, but am not sure what's causing the unhandled exception in the first place). any ideas? thanks MOD_PYTHON ERROR ProcessId: 10894 Interpreter:'do

Re: mod_python error when debug=False

2009-03-02 Thread Danny Brown
I guess I will try tomorrow . Don't know if I know enough about Django to make an intelligent submittal but will try. On Mon, Mar 2, 2009 at 3:43 PM, Karen Tracey wrote: > On Mon, Mar 2, 2009 at 3:48 PM, Danny Brown wrote: >> >> Thanks to Karen, She figured it out. I guess she will know if it >

Re: mod_python error when debug=False

2009-03-02 Thread Karen Tracey
On Mon, Mar 2, 2009 at 3:48 PM, Danny Brown wrote: > > Thanks to Karen, She figured it out. I guess she will know if it > should be a ticket. I am like you. I sure don't know. > Probably worth a ticket so it doesn't get forgotten; I won't be able to experiment with an Apache setup until the week

Re: mod_python error when debug=False

2009-03-02 Thread Danny Brown
Thanks to Karen, She figured it out. I guess she will know if it should be a ticket. I am like you. I sure don't know. On Mon, Mar 2, 2009 at 2:43 PM, Michael A. Repucci wrote: > Hey thanks Danny!! That worked! The quoted strings syntax should be > permissible, and works just fine with DEBUG=Tru

Re: mod_python error when debug=False

2009-03-02 Thread Michael A. Repucci
Hey thanks Danny!! That worked! The quoted strings syntax should be permissible, and works just fine with DEBUG=True, or on the development server. I'd say this should be a new ticket, but what do I know. I'm just a user not a developer. Anyway, thanks again! On Mon, Mar 2, 2009 at 3:17 PM, Danny

Re: mod_python error when debug=False

2009-03-02 Thread Danny Brown
using syntax like this : contact = models.ForeignKey("Contact" was causing me to fail earlier today at the exact same line. her response to me was "Why are you using quoted strings instead of direct references to the target models here and in the OneToOneField in VoipGateway? I don't understand

Re: mod_python error when debug=False

2009-03-02 Thread Michael A. Repucci
list_view_method(self, request, extra_context, self.exclude_list, self.list_display_list) class TitleAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ['name'] admin.site.register(Contact, ContactAdmin) admin.site.register(Person, PersonAdmin) adm

Re: mod_python error when debug=False

2009-02-27 Thread Karen Tracey
o have found a different path to the same ultimate error situation. > MOD_PYTHON ERROR > > ProcessId: 1564 > Interpreter:'poseidon.sunyopt.edu' > > ServerName: 'poseidon.sunyopt.edu' > DocumentRoot: 'C:/websites/wwwroot' > > UR

mod_python error when debug=False

2009-02-27 Thread Michael Repucci
n't help. Below is my mod_python traceback. Any help would be GREATLY appreciated! Thanks!! MOD_PYTHON ERROR ProcessId: 1564 Interpreter:'poseidon.sunyopt.edu' ServerName: 'poseidon.sunyopt.edu' DocumentRoot: 'C:/websites/wwwroot' URI:

Re: MOD_PYTHON ERROR - but appears more related to MySQLdb

2008-04-19 Thread jmat
; python2.5/site-packages/MySQL_python-1.2.2-py2.5-macosx-10.3-fat.egg > > Any help would be much appreciated. > > Here is the full error: > > MOD_PYTHON ERROR > > ProcessId: 1439 > Interpreter:'www.myserver.dev' > > ServerName: 'www.myserve

MOD_PYTHON ERROR - but appears more related to MySQLdb

2008-04-19 Thread jmat
error: MOD_PYTHON ERROR ProcessId: 1439 Interpreter:'www.myserver.dev' ServerName: 'www.myserver.dev' DocumentRoot: '/Library/WebServer/Documents' URI:'/mysite/time/' Location: '/mysite/' Directory: None Filenam

Re: mod_python error

2008-04-18 Thread Aaron Fay
You could have also used: urlpatterns = patterns('', (r'^$', 'qsm.recs.views.matrix'), (r'^users/', include('qsm.recs.urls')), because (as you know now) the python path was looking up to your project directory, but not as far as your application directory... Aaron bcurtu wrote:

Re: mod_python error

2008-04-18 Thread Tim Sawyer
The way I've done this, the include needs the full path. Have you tried: (r'^users/', include('qsm.recs.urls')), ? Tim On Friday 18 Apr 2008, bcurtu wrote: > Not exactly. The directory tree is: > > ws-python/ > qsm/ > recs/ > others/ > > Where qsm is the project that contains t

Re: mod_python error

2008-04-18 Thread bcurtu
I got it! It was my apache config, I have included the path to the root of the project: PythonPath "['/home/bcurtu/ws-python','/home/bcurtu/ws-python/qsm'] + sys.path" Now it works, thanks! On 18 abr, 19:17, "Michael Wieher" <[EMAIL PROTECTED]> wrote: > i guess the relative path is the questi

Re: mod_python error

2008-04-18 Thread bcurtu
Not exactly. The directory tree is: ws-python/ qsm/ recs/ others/ Where qsm is the project that contains the main urls.py, and recs and others are applications with own urls.py files. Thanks! On 18 abr, 19:17, "Michael Wieher" <[EMAIL PROTECTED]> wrote: > i guess the relative pat

Re: mod_python error

2008-04-18 Thread Michael Wieher
i guess the relative path is the question i assume ws-python is the directory your main urls file is in and the recs directly lives in it, with an __init__.py file ? On Fri, Apr 18, 2008 at 12:15 PM, bcurtu <[EMAIL PROTECTED]> wrote: > > Hi, > > I have set up my apache with mod_python. When I

mod_python error

2008-04-18 Thread bcurtu
Hi, I have set up my apache with mod_python. When I call my main page on /, it works fine. However, when I try to access to other applications (/users/23) I get this error: ImproperlyConfigured: Error while importing URLconf 'recs.urls': No module named recs.urls My main urls.py code is: urlpa

Re: Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-05 Thread Karen Tracey
ect. This is my FIRST try to apply Django on > opac and have no idea to solve this mod_python error. Any help will be > very appreciated. Thanks! The list of instructions you are following don't appear to have included the piece that lets Django use Python to access the database,

Re: Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-05 Thread AY
other (7) install python memchache (python-memcache-1.39.tar.gz (8) download FacBackOpac. However I got stuck at (9) configure apache to use facbackopac directory as a django project. This is my FIRST try to apply Django on opac and have no idea to solve this mod_python error. Any help will be very

Re: Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-04 Thread Mauro Sánchez
2007/12/4, AY <[EMAIL PROTECTED]>: > > Hi! I am trying to configure Apache to use facbackopan directory as a > django project, and have the following mod_python error message. Help > would be very appreciated. Thanks in advance! > Hi. > > MOD_PYTHON ERROR >

Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-04 Thread AY
Hi! I am trying to configure Apache to use facbackopan directory as a django project, and have the following mod_python error message. Help would be very appreciated. Thanks in advance! MOD_PYTHON ERROR ProcessId: 2208 Interpreter:'LocalHost' ServerName:

Re: MOD_PYTHON ERROR

2007-11-15 Thread Malcolm Tredinnick
On Thu, 2007-11-15 at 07:54 -0800, pacman wrote: > well actually I take back part of what I said. I am still getting > errors it simply gives me a django error page instead of a white text > page with python errors. > > Request Method: GET > Request URL: http://django.xyz.net/blogger/ > E

Re: MOD_PYTHON ERROR

2007-11-15 Thread pacman
well actually I take back part of what I said. I am still getting errors it simply gives me a django error page instead of a white text page with python errors. Request Method: GET Request URL:http://django.xyz.net/blogger/ Exception Type: ImproperlyConfigured Exception Value:

Re: MOD_PYTHON ERROR

2007-11-15 Thread pacman
Ok this morning it seems that I have found the error but I am not sure why this is. So this morning I decided to try and svn update on my django 96 source and after doing so. I was able to get my functionality back. Next I decided to run my script that removes pyc files. After doing so I again go

Re: MOD_PYTHON ERROR

2007-11-15 Thread Dima Dogadaylo
pacman, looks like you code imported in settings.py conflicts with updated django code. Execute ./manage.py validate or ./manage.py test to find the problem file. -- Dima Dogadaylo, http://www.mysoftparade.com/ On Wed, 2007-11-14 at 19:46 -0800, pacman wrote: > Hello all, > I'm not for sure wh

Re: MOD_PYTHON ERROR

2007-11-15 Thread Graham Dumpleton
On Nov 15, 8:32 pm, pacman <[EMAIL PROTECTED]> wrote: > Well, from what I can tell, there should not be any incompatibilities > since as of right now the farthest that I have gotten was creating > models. I didn't see anything from the wiki list that would pose a > problem. I tested out on the dj

Re: MOD_PYTHON ERROR

2007-11-15 Thread pacman
Well, from what I can tell, there should not be any incompatibilities since as of right now the farthest that I have gotten was creating models. I didn't see anything from the wiki list that would pose a problem. I tested out on the django built-in server yesterday and it runs like a charm. So my

Re: MOD_PYTHON ERROR

2007-11-15 Thread Malcolm Tredinnick
On Wed, 2007-11-14 at 19:46 -0800, pacman wrote: > Hello all, > I'm not for sure what this error is all about. I had django up and > running with out flaw for quite a while but last night I decided to > svn update my django source and that's when it seemed to flip out > giving me this error messa

MOD_PYTHON ERROR

2007-11-14 Thread pacman
me to time that removes pyc file so I don't know if there is some sort of conflict there assuming not. Currently I am using ubuntu 7.10 with apache/django/postgres and python 2.5.1 Help would be aprociated Thanks in advance! MOD_PYTHON ERROR ProcessId: 12752 Interpreter:

Re: SOMETIMES mod_python error

2007-09-11 Thread Graham Dumpleton
sit this site for a preview, if you get an error, try reload > the page, usually the page will show within 5-10 times reload. > > The error message that i SOMETIMES got is: > > MOD_PYTHON ERROR > > ProcessId: 15673 > Interpreter:'alberta.design97.com' >

Re: SOMETIMES mod_python error

2007-09-11 Thread Arnold Chen
; site ishttp://alberta.design97.com > > > This site is django-powered, it is up sometimes, on some computers, > > you can visit this site for a preview, if you get an error, try reload > > the page, usually the page will show within 5-10 times reload. > > >

Re: SOMETIMES mod_python error

2007-09-11 Thread Ryan K
visit this site for a preview, if you get an error, try reload > the page, usually the page will show within 5-10 times reload. > > The error message that i SOMETIMES got is: > > MOD_PYTHON ERROR > > ProcessId: 15673 > Interpreter:'alberta.design97.com' &g

SOMETIMES mod_python error

2007-09-11 Thread Arnold Chen
within 5-10 times reload. The error message that i SOMETIMES got is: MOD_PYTHON ERROR ProcessId: 15673 Interpreter:'alberta.design97.com' ServerName: 'alberta.design97.com' DocumentRoot: '/var/www/vhosts/design97.com/subdomains/alberta/ httpdocs'

Re: Mod_python error after reboot

2007-01-17 Thread [EMAIL PROTECTED]
bump. as stipulated. there was no change in the django setting or at the server level between the time it was working and the reboot. it looks like a PYTHONPATH error but the python path is present. --~--~-~--~~~---~--~~ You received this message because you are

Mod_python error after reboot

2007-01-14 Thread [EMAIL PROTECTED]
Hi Everyone, after a reboot of my server i am getting this error on my homepage: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib64/python2.

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2007-01-09 Thread temnoregg
Apache version Apache Apache threaded MPM No (single thread MPM) Apache forked MPM Yes, maximum 256 processes Apache server root /usr/local/apache2 Apache document root/home/hosting/kolokolo_beta/subdomains/bikeshop Apache error log/home/hosting/kolokolo_beta/logs/error

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2007-01-09 Thread mtnpaul
Are they both installed into the same python version? Maybe you installed Django into python 2.4, and mod_python into python 2.5 (at least it appears to be in 2.5). From what I looked at I thought django was best installed in 2.4 (sorry, I don't recall where I saw that). Of course then mod_python

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2007-01-08 Thread Yasushi Masuda
Make sure if you have django/core directory correctly installed. Also note that some tools, including rsync, excludes files named CVS, RCS, .svn, core and so on automatically. temnoregg wrote: trying to solve the for couple of hours with no success: Mod_python error: "PythonHa

Mod_python error: "PythonHandler django.core.handlers.modpython"

2007-01-08 Thread temnoregg
trying to solve the for couple of hours with no success: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File

Re: mod_python Error After mysqlhotcopy --help!!!

2006-02-26 Thread [EMAIL PROTECTED]
Got this resolved. The sql folks changed the mysql user password and did not tell me! --~--~-~--~~~---~--~~ 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@googlegr

Re: mod_python Error After mysqlhotcopy --help!!!

2006-02-25 Thread Jacob Kaplan-Moss
[EMAIL PROTECTED] wrote: > As for a I know, all I did was use mysqlhotcopy to backup some data and > now my whole site is down. > > Are there any issues with this? > > This site is supposed to go live in 24hrs. Wow, that sounds terrible -- I'm so sorry! There's nothing in Django that would cause

mod_python Error After mysqlhotcopy --help!!!

2006-02-25 Thread [EMAIL PROTECTED]
Hi All, As for a I know, all I did was use mysqlhotcopy to backup some data and now my whole site is down. Are there any issues with this? This site is supposed to go live in 24hrs. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Django, mod_python error

2006-01-15 Thread peter ma
The same question I meet, not resolve yet

Re: Django, mod_python error

2006-01-14 Thread [EMAIL PROTECTED]
Actually, I found my error. In the INSTALLED_APPS section of the settings file, I had left of the project name, 'resumes' instead of 'myproject.resumes'. Thanks for the help, and hopefully this will help someone else out.

Re: Django, mod_python error

2006-01-13 Thread Eric Walstad
On Wednesday 11 January 2006 14:53, [EMAIL PROTECTED] wrote: > ImproperlyConfigured: Error importing middleware > django.middleware.sessions: "No module named resumes" Let's see your settings.py file, particularly the MIDDLEWARE_CLASSES part.

Re: Django, mod_python error

2006-01-12 Thread [EMAIL PROTECTED]
I should clarify that my project does work when I run Django's server.

Re: Django, mod_python error

2006-01-12 Thread [EMAIL PROTECTED]
>> have you created any models in ~/models/resumes.py? Yep, I have a Resume model in /modes/resumes.py

Re: Django, mod_python error

2006-01-11 Thread Kenneth Gonsalves
On Thursday 12 Jan 2006 4:23 am, [EMAIL PROTECTED] wrote: > ImproperlyConfigured: Error importing middleware > django.middleware.sessions: "No module named resumes" have you created any models in ~/models/resumes.py? -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.

Django, mod_python error

2006-01-11 Thread [EMAIL PROTECTED]
ngo'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE resumekeeper.settings PythonDebug On """ So when I go to localhost/resumekeeper/, this is the error I get is """ Mod_python error: "PythonHandler django.core.han

Re: mod_python error (help please)

2005-10-09 Thread Maniac
rapto wrote: It might be a security problem. Probably Apache is set not to follow symlinks It's not Apache's thing. It's Python that searchs for Django modules and can't find them. It might be just incorrectly created symlink. I also don't think it could pose any security risc since Python

Re: mod_python error (help please)

2005-10-09 Thread rapto
It might be a security problem. Probably Apache is set not to follow symlinks or www user has no permissions on the files.

Re: mod_python error (help please)

2005-10-08 Thread Abe
Maniac, Thanks for your quick response and the reference. I looked into the symlinking going on... I'm not entirely sure what the root cause was, but I deleted the symlink, copied the files to the ...site-packages directory and viola! everything is cool. Cheers, Abe

Re: mod_python error (help please)

2005-10-08 Thread Maniac
Abe wrote: ImportError: No module named django Looks like your Python installation doesn't see Django. Read this guide: http://www.djangoproject.com/documentation/install/ Near the end in 'Installing the development version' item 3 should help

mod_python error (help please)

2005-10-07 Thread Abe
I've searched through the documentation on the djangoproject page, and several of the postings here... but I have not been able to solve a mysterious mod_python problem: --snip-- Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last)

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2005-09-21 Thread moberley
Jakub, Thank you for the suggestion. I was able to have the server I'm using with Django switched to Apache2 and that did in fact solve the problem I was having with mod_python. Thanks, Bradley Peters.

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2005-09-19 Thread Jakub Labath
Hi, I believe that there are some problems with mod_python for apache 1.3. I'm using apache2 and mod_python 3.1 (just what comes with debian by default). And all seems to work fine. I know, if you have no reason to go to apache2 this sucks a bit but there is always proxypass :-) On 9/18/05, mobe

Mod_python error: "PythonHandler django.core.handlers.modpython"

2005-09-18 Thread moberley
I tried to set-up a django project using mod_python on Apache/1.3.33 and I can only get mod_python error messages. The admin part displays the following traceback (it works fine with django-admin.py runserver): - Mod_python error: "PythonHandler django.core.handlers.modpython"

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2005-09-18 Thread moberley
Sorry, I seem to have forgotten to close my message properly. I've tried searching for information about this, but I was unable to find anything obvious and it's a little bit beyond my knowledge of Apache. Does anyone have any ideas what I might try to make this work? Thanks, Bradley Peters

Re: mod_python error

2005-08-16 Thread [EMAIL PROTECTED]
Your right, I upgraded to apache2 and mod_python 3.1 and everything is happy. I found that mentioned elsewhere. If no one else has, maybe I'll submit a ticket to get this updated in the documentation. Thanks --B

Re: mod_python error

2005-08-15 Thread Robin Munn
On 8/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm getting an error w/ mod_python. My configuration and the > stacktrace are below. Any help would be appreciated 8) > > I'm sure it's something simple. The app runs fine w/ the django dev > server, but won't do anything with mod_p

mod_python error

2005-08-15 Thread [EMAIL PROTECTED]
I'm getting an error w/ mod_python. My configuration and the stacktrace are below. Any help would be appreciated 8) I'm sure it's something simple. The app runs fine w/ the django dev server, but won't do anything with mod_python, so I'm sure I have a path or something wrong. Thanks --B Set