Can't find book "test".
this are the rights in /var/www/mybooktype/
drwxr-xr-x 7 www-data www-data 4,0K mrt 28 11:35 .
drwxr-xr-x 4 root root 4,0K mrt 21 17:34 ..
-rw-r--r-- 1 www-data www-data 432 mrt 21 17:34 booki.env
-rw-r--r-- 1 www-data www-data 585 mrt 21 17:34 booki.wsgi
drwxrwxrwx 5 www-data www-data 4,0K mrt 21 17:34 data
-rw-r--r-- 1 www-data www-data 132K mrt 26 23:24 database.sqlite
-rw-r--r-- 1 www-data www-data 1,5K mrt 21 17:53 fastcgi.nginx
-rw-r--r-- 1 www-data www-data 1,4K mrt 21 17:34 gunicorn.nginx
-rw-r--r-- 1 www-data www-data 0 mrt 21 17:34 __init__.py
-rw-r--r-- 1 www-data www-data 118 mrt 21 17:38 __init__.pyc
drwxr-xr-x 2 www-data www-data 4,0K mrt 21 17:34 lib
drwxrwxrwx 2 www-data www-data 4,0K mrt 21 18:07 logs
-rw-r--r-- 1 www-data www-data 4,2K mrt 23 12:51 settings.py
-rw-r--r-- 1 www-data www-data 4,5K mrt 24 12:14 settings.pyc
drwxrwxrwx 2 www-data www-data 4,0K mrt 21 17:34 static
drwxr-xr-x 2 www-data www-data 4,0K mrt 21 17:34 templates
-rw-r--r-- 1 www-data www-data 1,4K mrt 21 17:34 wsgi.apache
This in ls -labh /var/www/Booktype/
drwxr-xr-x 8 wsvb wsvb 4,0K mrt 21 17:31 .
drwxr-xr-x 4 root root 4,0K mrt 21 17:34 ..
-rw-r--r-- 1 test test 126 mrt 21 17:31 AUTHORS.txt
-rw-r--r-- 1 test test 411 mrt 21 17:31 CHANGES.txt
drwxr-xr-x 3 test test 4,0K mrt 21 17:31 doc
drwxr-xr-x 8 test test 4,0K mrt 21 17:31 .git
-rw-r--r-- 1 test test 47 mrt 21 17:31 .gitignore
-rw-r--r-- 1 test test 7,5K mrt 21 17:31 INSTALL
drwxr-xr-x 5 test test 4,0K mrt 21 17:31 lib
-rw-r--r-- 1 test test 34K mrt 21 17:31 LICENSE.txt
-rw-r--r-- 1 test test 617 mrt 21 17:31 README.txt
drwxr-xr-x 2 test test 4,0K mrt 21 17:31 scripts
-rw-r--r-- 1 test test 1,5K mrt 21 17:31 setup.py
drwxr-xr-x 2 test test 4,0K mrt 21 17:31 tests
drwxr-xr-x 3 test test 4,0K mrt 21 17:31 tools
-rw-r--r-- 1 test test 14 mrt 21 17:31 VERSION.txt
these are the last entries in the booki.log:
2012-03-26 23:51:36,019 - booki - ERROR - Traceback (most recent call last):
File "/var/www/Booktype/lib/sputnik/__init__.py", line 166, in smembers
result = [rdecode(el) for el in list(sputnik.rcon.smembers(key))]
File "/var/www/Booktype/lib/redis/client.py", line 897, in smembers
return self.execute_command('SMEMBERS', name)
File "/var/www/Booktype/lib/redis/client.py", line 330, in execute_command
**options
File "/var/www/Booktype/lib/redis/client.py", line 312, in _execute_command
return self.parse_response(command_name, **options)
File "/var/www/Booktype/lib/redis/client.py", line 392, in parse_response
return self.RESPONSE_CALLBACKS[command_name](response, **options)
File "/var/www/Booktype/lib/redis/client.py", line 227, in <lambda>
lambda r: set(r)
TypeError: 'NoneType' object is not iterable
2012-03-26 23:51:36,019 - booki - ERROR - None
and these are the last entries in the apache error log:
[Wed Mar 28 11:35:43 2012] [error] /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead.
[Wed Mar 28 11:35:43 2012] [error] DeprecationWarning
[Wed Mar 28 11:35:43 2012] [error] /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.'
[Wed Mar 28 11:35:43 2012] [error] DeprecationWarning
[Wed Mar 28 11:35:44 2012] [error] /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/template/loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead.
[Wed Mar 28 11:35:44 2012] [error] DeprecationWarning
[Wed Mar 28 11:35:44 2012] [error] /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/template/loaders/app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead.
[Wed Mar 28 11:35:44 2012] [error] DeprecationWarning
I hope that someone can point out where I should look to make this work.
Thanks!
You can go with your super user account (root in your
case) to http://testsite.com/admin/ and
create at least one value of Language and License. Don't edit the Books and
other items in this /admin/ interface because they should be edited in Booktype
interface (there is also some other logic behind.. so that is why).
It looks like you're new here. If you want to get involved, click one of these buttons!