<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
make sure you set<br>
'interface': 'Booki',<br>
for your server in config.py<br>
<br>
you now probably have 'interface': 'TWiki' there?<br>
<br>
LF<br>
<br>
<br>
<br>
Dne 07. 07. 2011 22:56, piše James Simmons:
<blockquote
cite="mid:CAN6VRWyJ6jecPTRA-J4p=-K6voC8-+Um=_mNp24Q=vTJ1XNbeQ@mail.gmail.com"
type="cite">Jean-Noël,<br>
<br>
It might be helpful to see your objavi2/objavi/config.py file
where you tell objavi where your installation of Booki is
installed.<br>
<br>
James Simmons<br>
<br>
<div class="gmail_quote">On Thu, Jul 7, 2011 at 3:29 PM, Jean-Noël
Rivasseau <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:elvanor@gmail.com">elvanor@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I managed to install Booki and we wrote two books using the
system (we<br>
just used the development Django server for that, it was
enough). Now<br>
we would like to output our results and have a PDF + a
templated HTML<br>
output.<br>
<br>
I am having real problems setting up Objavi. First I wanted
Objavi to<br>
be served by lighttpd but I had problems. I switched to Apache
and I<br>
have gotten further, but now I am stuck when I run objavi.cgi
on a web<br>
browser. The following appears on the objavi.log:<br>
<br>
<br>
getting booklist:<br>
<a moz-do-not-send="true"
href="http://valinor.kameleoon.net:8000/bin/view/TWiki/WebLeftBarWebsList?skin=text"
target="_blank">http://valinor.kameleoon.net:8000/bin/view/TWiki/WebLeftBarWebsList?skin=text</a><br>
Traceback (most recent call last):<br>
File
"/srv/net.kameleoon/booki-kameleoon/objavi2/htdocs/objavi.cgi",<br>
line 453, in <module><br>
main()<br>
File
"/srv/net.kameleoon/booki-kameleoon/objavi2/htdocs/objavi.cgi",<br>
line 446, in main<br>
output_function(args)<br>
File
"/srv/net.kameleoon/booki-kameleoon/objavi2/objavi/cgi_utils.py",<br>
line 219, in output<br>
content = f(*args, **kwargs)<br>
File
"/srv/net.kameleoon/booki-kameleoon/objavi2/htdocs/objavi.cgi",<br>
line 156, in mode_form<br>
'book_options':
optionise(twiki_wrapper.get_book_list(server),<br>
default=book),<br>
File
"/srv/net.kameleoon/booki-kameleoon/objavi2/objavi/twiki_wrapper.py",<br>
line 50, in get_book_list<br>
f = urlopen(url)<br>
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen<br>
return _opener.open(url, data, timeout)<br>
File "/usr/lib/python2.7/urllib2.py", line 398, in open<br>
response = meth(req, response)<br>
File "/usr/lib/python2.7/urllib2.py", line 511, in
http_response<br>
'http', request, response, code, msg, hdrs)<br>
File "/usr/lib/python2.7/urllib2.py", line 436, in error<br>
return self._call_chain(*args)<br>
File "/usr/lib/python2.7/urllib2.py", line 370, in
_call_chain<br>
result = func(*args)<br>
File "/usr/lib/python2.7/urllib2.py", line 519, in
http_error_default<br>
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>
urllib2.HTTPError: HTTP Error 404: NOT FOUND<br>
<br>
<br>
I dont know why it tries to access our Booki server at this
URL. With<br>
the other FLOSS manuals server it was the same error, eg a 404
on that<br>
page. I really dont understand why it's trying to do things
with a<br>
Twiki. I would just like to see the normal objavi.cgi page
appears...<br>
<br>
Anyone can help? I am really stuck...<br>
<br>
By the way, both espri.cgi and booki-twiki-gateway.cgi produce
normal<br>
HTML pages as expected....<br>
<br>
Thanks<br>
_______________________________________________<br>
Booki-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:Booki-dev@lists.flossmanuals.net">Booki-dev@lists.flossmanuals.net</a><br>
<a moz-do-not-send="true"
href="http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net"
target="_blank">http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Booki-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Booki-dev@lists.flossmanuals.net">Booki-dev@lists.flossmanuals.net</a>
<a class="moz-txt-link-freetext" href="http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net">http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net</a>
</pre>
</blockquote>
<br>
</body>
</html>