On Thu, Jun 19, 2008 at 5:37 PM, Tim <[EMAIL PROTECTED]> wrote:

>
> Hi all -
>
> This is my first post to the group; I am a new Django user and am very
> enthusiastic about working with the framework. However, I am having
> trouble with one thing in particular. I am trying to set up Review
> Board, a Django project supporting code reviews, and am having
> problems with the server (both the development server and Apache)
> crashing, completely silently with no output even when the development
> server is being run with --traceback. I am running under Windows XP,
> which I realize is unknown territory to a certain extent. In any case,
> to try to get at least some sense of what was going on, I set
> DJANGO_SETTINGS_MODULE and tried to run the offending view on the
> command line (which I'm not sure makes sense anyway). I get the
> following traceback, but I'm not sure if it's the real deal or a red
> herring - if this were causing the crashes, it seems that the
> traceback would be captured by one or both of the servers. Any ideas
> about how to fix it would be greatly appreciated! Or if I'm barking up
> the wrong tree altogether, that would be good to learn, too.
>

Trying to run the views module from a command prompt is probably not very
useful, it is simply not designed to be run that way and isn't going to
work.

To debug the kind of problem you are having I would either run the
development server under a debugger and step through the code to see where
things go south, or add print statements to try to get a feel for what is
going on.

If you do not feel like you know enough about Django or the Django app you
are trying to use to do that, I'd step back and start with stepping through
something simple (like the tutorial code) under a debugger in order to get a
basic understanding of the framework first.

As an aside,  though I primarily use Linux, I do have a Windows box where I
have tested out various problems people have reported.  It's not like Django
on Windows is completely unheard of.  I've never seen anything like what you
are describing though.

Karen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to