On 17/09/2012 3:35pm, Fabian Weiss wrote:
Well, I really dont know what to do :( All I can show you is the Apache log:

[Sun Sep 16 21:45:58 2012] [error]
/usr/local/lib/python2.7/dist-packages/jinja2/__init__.py:31:
UserWarning: Module hashlib was already imported from
/usr/lib/python2.7/hashlib.pyc, but
/usr/local/lib/python2.7/dist-packages is being added to sys.path

Things being incorrectly added to sys.path should only be a problem if there is a difference in version AND the position in the sys.path list means they get imported ahead of the correct version. Otherwise it doesn't matter apart from being inelegant.

[Sun Sep 16 21:45:58 2012] [error]   __version__ =
__import__('pkg_resources') \\

I'm out of my depth on this.

Have you checked every line in the code ahead of the line which generated the syntax error?



Am Montag, 17. September 2012 01:59:09 UTC+2 schrieb Mike Dewhirst:

    On 16/09/2012 6:41am, Fabian Weiss wrote:
     > The invalid syntax thing is also a bit odd, as it looks valid to me.
     >

    I haven't followed this thread but whenever I get an invalid syntax
    error with valid syntax it is usually a problem with an earlier
    line. In
    my cases it is often a missing comma or mis-matched parenthesis.


--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/UUfBUZPpXcgJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.

--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to