On Sun, 2006-05-14 at 20:06 -0700, [EMAIL PROTECTED] wrote:
> Using 0.95 I'm triying to solve a problem.
> 
> When the webserver is running, say this:
> 
> Traceback (most recent call last):
> File

[...]

>   SyntaxError at /articulos/
>   invalid syntax (urls.py, line 14)

OK, so I cannot see any obvious error in what you have pasted. Maybe try
to import the code at the command-line prompt so that you can see the
error more clearly (and know that it occurs outside the webserver
environment). Obviously, I would start exploring around line 14 (but I
cannot tell which line that is from your email).

Inside your Django project directory, look at the ROOT_URLCONF setting.
It will say something like 'jhonWeb.settings". Run "python manage.py
runserver" and then import whatever ROOT_URLCONF was saying (without the
quotes).

Looking at the error you posted later in your email, I would also try
importing django.views.generic.list_detail to see if that works. It
looked like it failed when you were running your code (which is strange
and suggests a bad Django installation).

If you have a syntax error or something like that, it will show up at
this point. If it doesn't that tells us something (but I'm not really
sure what). If the syntax error does show up, you have confirmed the
problem is in urls.py or something imported from it.

[..]
> However, I close the webserver from the console (I'm runnig like this:
> python manage.py runserver inside a RunWebServer.cmd on
> F:\Proyectos\jhonWeb\)
> 
> I get this:
> 
> Traceback (most recent call last):
> File

[..]

>   ViewDoesNotExist at /articulos/
>   Could not import articles.views.django.views.generic.list_detail.
> Error was: No module named django.views.generic.list_detail
> 
> The weird thing is: I DON?T HAVE THE WEBSERVER RUNNING. I close it.
> Really! However I get a django error page...

Where did you see this error? In the web browser or in the terminal? If
you saw it in the web browser, then your browser was talking to some
webserver running Django. After all, we can probably assume your
computer is not haunted. Maybe it didn't really shut down properly?
Maybe you have two versions running? Can you repeat this problem all the
time? That would help you (or somebody more familiar with Windows than
me) diagnose it.

Regards,
Malcolm


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

Reply via email to