Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i'm really struggling to locate an error caused in a django script,

here is the pastie

i had a working copy in svn, i updated some code which didn't work and when i rolled back to to the previous version it then suddenly stopped working.

i can't find anything within this script that would be causing the 500 error and nothing in the error log above provides exact details of what the error is. where and how would be the best way to debug this?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Looks like you might be trying to load an app that's not in your settings.py file. Which version of django are you using?

share|improve this answer
    
i believe i'm running 1.1 i did update via the svn but things kept breaking so i rolled it back to 1.1 surely if its an app thats not in my settings file then with the debug being true that it would pass that as an error? –  Neil Ashley Hickman Sep 10 '09 at 8:15
    
On a couple occasions, I have mistakenly removed an app via svn or some silliness. If you have Debug = False in your settings file (because you're in production), then you get a stack trace like the one you posted. (I'm on 1.0 though, might be different in 1.1) –  Seth Sep 10 '09 at 18:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.