I think this looks like an incompatible Django version to be honest,
coupled with some other weird/wonderful problems.

The invalid syntax thing is also a bit odd, as it looks valid to me.

My advice would be to start again from scratch with the installation
tutorial, and see if you can get any further -

Cal

On Wed, Sep 12, 2012 at 7:52 PM, Fabian Weiss
<fabian.we...@googlemail.com>wrote:

> Hi Cal! :)
>
> THX for you reply, but I need more informations! I changed the line you
> said in settings.py, but what shall I do know? Again python manage.py
> update_ve and ./bin/patch??
> I tried again the last step:
>
> python manage.py installdb
>> Traceback (most recent call last):
>>   File "manage.py", line 74, in <module>
>>     import settings
>>   File "/srv/http/de.immersight.project/treeio/settings.py", line 59, in
>> <module>
>>     MEDIA_ROOT = path.join(STATIC_DOC_ROOT, 'media/')
>> NameError: name 'STATIC_DOC_ROOT' is not defined
>
>
> when I reload the apache I have still 500 internal error. Here is the
> errorlog:
>
> tail ../logs/errorlog
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24] SyntaxError:
>> invalid syntax
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24] mod_wsgi
>> (pid=17796): Target WSGI script
>> '/srv/http/de.immersight.project/treeio/wsgi' cannot be loaded as Python
>> module.
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24] mod_wsgi
>> (pid=17796): Exception occurred processing WSGI script
>> '/srv/http/de.immersight.project/treeio/wsgi'.
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24] Traceback (most
>> recent call last):
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24]   File
>> "/srv/http/de.immersight.project/treeio/wsgi", line 9, in <module>
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24]     import
>> django.core.handlers.wsgi
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24]   File
>> "/usr/local/lib/python3.2/dist-packages/django/core/handlers/wsgi.py", line
>> 131
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24]     path_info =
>> force_unicode(environ.get('PATH_INFO', u'/'))
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24]
>>                                           ^
>> [Wed Sep 12 20:46:23 2012] [error] [client 109.193.24.24] SyntaxError:
>> invalid syntax
>
>
> I really urgently have to set up this system :(
> Would be great if I can accomplish this!! Thanks alot for your help!
> Greetings Fabian
>
>
>
>
> Am Mittwoch, 12. September 2012 12:14:51 UTC+2 schrieb Cal Leeming
> [Simplicity Media Ltd]:
>>
>> Hmm - this should really just work out of the box, but looking at the
>> docs, it doesn't give you much information about running wsgi/fcgi etc.
>>
>> Try this;
>>
>> Change this line:...
>>
>>  --
> 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/-/6aEUH98wPG0J.
>
> 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