Hi, i am trying to install booktype on our own server but i got stuck with following error:
getting booklist: http://booki.testurl/booktype/bin/view/TWiki/WebLeftBarWebsList?skin=text Traceback (most recent call last): File "/srv/www/htdocs/objavi/objavi.cgi", line 453, in <module> main() File "/srv/www/htdocs/objavi/objavi.cgi", line 446, in main output_function(args) File "/srv/www/objavi2/objavi/cgi_utils.py", line 219, in output content = f(*args, **kwargs) File "/srv/www/htdocs/objavi/objavi.cgi", line 156, in mode_form 'book_options': optionise(twiki_wrapper.get_book_list(server), default=book), File "/srv/www/objavi2/objavi/twiki_wrapper.py", line 50, in get_book_list f = urlopen(url) File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib64/python2.7/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.7/urllib2.py", line 435, in error return self._call_chain(*args) File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 404: NOT FOUND
In file objavi/config.py for SERVER_DEFAULTS = {} where you are defining your Booktype clients you must have 'interface': 'Booki'. You probably have 'TWiki'. Scream if it is not the case!
Reply to @Aleksandar+Erkalović: Thx this helped a lot :)
But now I got an other errormessage: ining the following files: notify_watcher called with 'cleanup' ******* got message "cleanup" Traceback (most recent call last): File "/srv/www/htdocs/objavi/objavi.cgi", line 453, in <module> main() File "/srv/www/htdocs/objavi/objavi.cgi", line 446, in main output_function(args) File "/srv/www/htdocs/objavi/objavi.cgi", line 355, in mode_book book.spawn_x() File "/srv/www/objavi2/objavi/fmbook.py", line 1095, in spawn_x check_call(['xauth', 'add', self.xserver_no, '.', mcookie]) File "/usr/lib64/python2.7/subprocess.py", line 499, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib64/python2.7/subprocess.py", line 486, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1201, in _execute_child raise child_exception OSError: [Errno 13] Permission denied
3) When there is no one logged in the system, users can see book, groups and people. Is there a way to only show those information for people logged in.
Thank you very much for your support,
Marcelo
Post edited by Marcelo Aragao at 2013-03-24 10:35:09
I assume that 187.60.224.18 in this example is the public IP for your server. Booktype instance must be accessable from outside for objavi.booktype.pro to fetch the content of the book.
2) It is a collaborative interface so the connections are happening to fetch and send needed information. Table of Contents is up to date, list of online users, attachments and etc... It will be hard to escape from this (until websocket implementation for this comes).
3) There is nothing in the configuration at the moment which would only allow online users to see specific info. Some of the things could be easy to handle without any need for code change. For instance, locally modify templates and only show certain options and info is user is signed. That would more part of what you asked. Anonymous would still be able to access book or user info if they would somehow know their url and manually enter it.