I am using Debian and want to use treeio with my Apache. So I was working with this tutorial: http://fuckyeahcoding.wordpress.com/2011/12/20/install-tree-io-on-ubuntu-with-apache/But the instructions "make" and "make install" didnt work.. Instead I used the 'python manage.py update_ve' and './bin/patch_' from the INSTALL Howto. So this is the result:Next stept: root@iss1:/srv/http/de.immersight.project/treeio# ./bin/patchpatching file db/models/fields/related.pyI created a MySQL database, user and password. But where to configure treeio for this? Where shall I enter this informations??So this is the result of the next step:I am not sure and dont understand much of it, but for me it seems there already went something wrong..The tree.io community is not so active, but maybe somebody here can give me a hint!Thx alot!!--
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/-/wm6J2Ces9BUJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
STATIC_DOC_ROOT = path.join(PROJECT_ROOT, 'static')
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/jS4L0ShvuYYJ.
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
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
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.
I do so! I tried now this one: http://blog.stannard.net.au/2010/12/11/installing-django-with-apache-and-mod_wsgi-on-ubuntu-10-04/And it works! :)I tried again all I could find in the net for treeio, but nothing works :(How can I totally remove all my steps? Is it just to delete the directories? Or is there something to do in a database?Maybe I have a version of django which is too new? It is 1.4.1
On Sat, Sep 15, 2012 at 11:41 PM, Fabian Weiss <fabian...@googlemail.com> wrote:I do so! I tried now this one: http://blog.stannard.net.au/2010/12/11/installing-django-with-apache-and-mod_wsgi-on-ubuntu-10-04/And it works! :)I tried again all I could find in the net for treeio, but nothing works :(How can I totally remove all my steps? Is it just to delete the directories? Or is there something to do in a database?Maybe I have a version of django which is too new? It is 1.4.1
Why don't you use django 1.3 as it is described in the requirements file?
Thats a simple way to see if you problems stem from django version incompatibility--
-----------------------------------------------------------------------
Nick Apostolakis