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

2010-04-06 Thread bruno desthuilliers
On 5 avr, 21:49, Nihaar Gupta wrote: > Help. I'm a bit of an apache/mod_python noob and am not sure what is > causing this error. I get this at page load every so often (not all > the time). Sometimes the page loads fine and sometimes it throws this > exception. > > Guessing from the fact that th

Re: MOD_PYTHON ERROR

2009-09-19 Thread W3
Thanks Karen, that was it, I thought i had deleted it but it managed to sneak in there twice somehow, so one was left. On 19 Sep, 02:21, Karen Tracey wrote: > On Fri, Sep 18, 2009 at 4:38 PM, When ideas fail > wrote: > > > > > Hello, can someone tell me what this error means? It seems to be > >

Re: MOD_PYTHON ERROR

2009-09-18 Thread Karen Tracey
On Fri, Sep 18, 2009 at 4:38 PM, When ideas fail wrote: > > Hello, can someone tell me what this error 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 stil

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

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
Thanks for walking me through the traceback Karen. I'm happy to post my models.py and admin.py code here (or whatever else might help), but I don't ever explicitly check settings.DEBUG in any of my code, so I'm at a bit of a loss where the error might be coming from. Any further suggestions? #peop

Re: mod_python error when debug=False

2009-02-27 Thread Karen Tracey
On Fri, Feb 27, 2009 at 11:46 AM, Michael Repucci wrote: > > I've been trying to put my site up live, and keep coming across an > error (on any page on the site) whenever I set debug=False in > settings.py. With the development server, or with debug=True on the > production server, I don't have th

Re: MOD_PYTHON ERROR - but appears more related to MySQLdb

2008-04-19 Thread jmat
This was probably because I didn't read enough at: http://www.djangoproject.com/documentation/modpython/ Following the instructions for: Using eggs with mod_python sorted out the issue. I had to add the PythonInterpreter and the PythonImport directives and set them to my site. On Apr 19, 11:

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

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

2007-12-05 Thread Karen Tracey
On 12/5/07, AY <[EMAIL PROTECTED]> wrote: > > > Good Morning, Thanks for reply my request! Can you show me where/how > to detect the error in psycopg module and how to fix the problem. I > have completed the following steps without any problem. (1) install > Python 2.5.1 windows installer (Python 2

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

2007-12-05 Thread AY
Good Morning, Thanks for reply my request! Can you show me where/how to detect the error in psycopg module and how to fix the problem. I have completed the following steps without any problem. (1) install Python 2.5.1 windows installer (Python 2.5.1.exe) (2) install TortoiseSVN-1.4.5.10425-win-svn

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 > > ImproperlyConfigured: Error load

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

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

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: "PythonHandler django.

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

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

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

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