[Booki-dev] Installing objavi

James Simmons nicestep at gmail.com
Fri Jul 8 07:01:50 PDT 2011


Jean-Noël,

My book also had some out of date information, which I only corrected
yesterday.  I'm glad it was helpful to you.

James Simmons


On Fri, Jul 8, 2011 at 1:59 AM, Jean-Noël Rivasseau <elvanor at gmail.com>wrote:

> Hi,
>
> Actually, had I known, I would have used your book instead of the
> "official" one (which just seems to be a copy of yours). Yours contain
> very valuable information over the official one, that would have saved
> me a lot of time. For example, the fact that you should reply "no" to
> the django superuser creation was not obvious and kept the db
> initialization from failing. It took me some time to solve this. And
> there are other examples.
>
> Thanks for the book. I think it should become the official Booki
> installation guide.
>
> On Fri, Jul 8, 2011 at 12:12 AM, James Simmons <nicestep at gmail.com> wrote:
> > Jean-Noël,
> >
> > Yeah, I wrote those instructions for my own book and somehow they found
> > their way into the official guide.  I don't maintain that guide.  The
> > chapter I wrote is here:
> >
> > http://en.flossmanuals.net/e-book-enlightenment/a-booki-of-your-own/
> >
> > I've updated the git URL and some other things and when I'm satisfied
> that
> > the instructions are correct I'll make another PDF for the Internet
> Archive.
> >
> > James Simmons
> >
> > On Thu, Jul 7, 2011 at 5:07 PM, Jean-Noël Rivasseau <elvanor at gmail.com>
> > wrote:
> >>
> >> FYI: I read that from the book at this URL:
> >>
> >> http://www.booki.cc/booki-user-guide/installing-booki/
> >>
> >> On Fri, Jul 8, 2011 at 12:04 AM, James Simmons <nicestep at gmail.com>
> wrote:
> >> > Luka,
> >> >
> >> > That may be my fault.  The instructions I wrote for my book "E-Book
> >> > Enlightenment" (which seem to have become the official instructions)
> >> > listed
> >> > the old URL.  I have fixed it in that book and will republish.
> >> >
> >> > I just published that book to the Internet Archive this afternoon.
> I'll
> >> > have to do it over again once I see how this plays out.
> >> >
> >> > James Simmons
> >> >
> >> >
> >> > On Thu, Jul 7, 2011 at 4:57 PM, Luka Frelih <luka at ljudmila.org>
> wrote:
> >> >>
> >> >> looking at details of the error message, you appear to be running
> >> >> outdated
> >> >> objavi code.
> >> >> please upgrade to the version at:
> >> >> http://booki-dev.flossmanuals.net/git?p=objavi2.git;a=summary
> >> >>
> >> >> to pull this tree:
> >> >> git clone git://booki-dev.flossmanuals.net/git/objavi2.git
> >> >>
> >> >> where did you get objavi from?
> >> >>
> >> >> best,
> >> >> LF
> >> >>
> >> >> Dne 07. 07. 2011 23:45, piše Jean-Noël Rivasseau:
> >> >>>
> >> >>> Did not help. same error. The software stupidly thinks it should use
> >> >>> Twiki interface instead of the normal one...
> >> >>>
> >> >>> On Thu, Jul 7, 2011 at 11:41 PM, Luka Frelih<luka at ljudmila.org>
> >> >>>  wrote:
> >> >>>>
> >> >>>> hehe, slight crossing of mails :)
> >> >>>>
> >> >>>> looking at your config and comparing to what's on the server,
> perhaps
> >> >>>> you
> >> >>>> can try adding a line:
> >> >>>>
> >> >>>> DEFAULT_BOOKI_SERVER =  'valinor.kameleoon.net:8000'
> >> >>>> near the
> >> >>>> DEFAULT_SERVER = 'valinor.kameleoon.net:8000'
> >> >>>>
> >> >>>> maybe it helps?
> >> >>>>
> >> >>>> LF
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> Dne 07. 07. 2011 23:25, piše Jean-Noël Rivasseau:
> >> >>>>
> >> >>>> Here it is. I dont see anything wrong with it though, and as I
> >> >>>> mentionned, it has the same error when using another booki server
> >> >>>> (official).
> >> >>>>
> >> >>>> On Thu, Jul 7, 2011 at 10:56 PM, James Simmons<nicestep at gmail.com>
> >> >>>>  wrote:
> >> >>>>
> >> >>>> Jean-Noël,
> >> >>>>
> >> >>>> It might be helpful to see your objavi2/objavi/config.py file where
> >> >>>> you
> >> >>>> tell
> >> >>>> objavi where your installation of Booki is installed.
> >> >>>>
> >> >>>> James Simmons
> >> >>>>
> >> >>>> On Thu, Jul 7, 2011 at 3:29 PM, Jean-Noël
> >> >>>> Rivasseau<elvanor at gmail.com>
> >> >>>> wrote:
> >> >>>>
> >> >>>> Hello,
> >> >>>>
> >> >>>> I managed to install Booki and we wrote two books using the system
> >> >>>> (we
> >> >>>> just used the development Django server for that, it was enough).
> Now
> >> >>>> we would like to output our results and have a PDF + a templated
> HTML
> >> >>>> output.
> >> >>>>
> >> >>>> I am having real problems setting up Objavi. First I wanted Objavi
> to
> >> >>>> be served by lighttpd but I had problems. I switched to Apache and
> I
> >> >>>> have gotten further, but now I am stuck when I run objavi.cgi on a
> >> >>>> web
> >> >>>> browser. The following appears on the objavi.log:
> >> >>>>
> >> >>>>
> >> >>>> getting booklist:
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> http://valinor.kameleoon.net:8000/bin/view/TWiki/WebLeftBarWebsList?skin=text
> >> >>>> Traceback (most recent call last):
> >> >>>>  File
> "/srv/net.kameleoon/booki-kameleoon/objavi2/htdocs/objavi.cgi",
> >> >>>> line 453, in<module>
> >> >>>>    main()
> >> >>>>  File
> "/srv/net.kameleoon/booki-kameleoon/objavi2/htdocs/objavi.cgi",
> >> >>>> line 446, in main
> >> >>>>    output_function(args)
> >> >>>>  File
> >> >>>> "/srv/net.kameleoon/booki-kameleoon/objavi2/objavi/cgi_utils.py",
> >> >>>> line 219, in output
> >> >>>>    content = f(*args, **kwargs)
> >> >>>>  File
> "/srv/net.kameleoon/booki-kameleoon/objavi2/htdocs/objavi.cgi",
> >> >>>> line 156, in mode_form
> >> >>>>    'book_options': optionise(twiki_wrapper.get_book_list(server),
> >> >>>> default=book),
> >> >>>>  File
> >> >>>>
> "/srv/net.kameleoon/booki-kameleoon/objavi2/objavi/twiki_wrapper.py",
> >> >>>> line 50, in get_book_list
> >> >>>>    f = urlopen(url)
> >> >>>>  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
> >> >>>>    return _opener.open(url, data, timeout)
> >> >>>>  File "/usr/lib/python2.7/urllib2.py", line 398, in open
> >> >>>>    response = meth(req, response)
> >> >>>>  File "/usr/lib/python2.7/urllib2.py", line 511, in http_response
> >> >>>>    'http', request, response, code, msg, hdrs)
> >> >>>>  File "/usr/lib/python2.7/urllib2.py", line 436, in error
> >> >>>>    return self._call_chain(*args)
> >> >>>>  File "/usr/lib/python2.7/urllib2.py", line 370, in _call_chain
> >> >>>>    result = func(*args)
> >> >>>>  File "/usr/lib/python2.7/urllib2.py", line 519, in
> >> >>>> http_error_default
> >> >>>>    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> >> >>>> urllib2.HTTPError: HTTP Error 404: NOT FOUND
> >> >>>>
> >> >>>>
> >> >>>> I dont know why it tries to access our Booki server at this URL.
> With
> >> >>>> the other FLOSS manuals server it was the same error, eg a 404 on
> >> >>>> that
> >> >>>> page. I really dont understand why it's trying to do things with a
> >> >>>> Twiki. I would just like to see the normal objavi.cgi page
> appears...
> >> >>>>
> >> >>>> Anyone can help? I am really stuck...
> >> >>>>
> >> >>>> By the way, both espri.cgi and booki-twiki-gateway.cgi produce
> normal
> >> >>>> HTML pages as expected....
> >> >>>>
> >> >>>> Thanks
> >> >>>> _______________________________________________
> >> >>>> Booki-dev mailing list
> >> >>>> Booki-dev at lists.flossmanuals.net
> >> >>>>
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >>>>
> >> >>>> _______________________________________________
> >> >>>> Booki-dev mailing list
> >> >>>> Booki-dev at lists.flossmanuals.net
> >> >>>>
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> _______________________________________________
> >> >>>> Booki-dev mailing list
> >> >>>> Booki-dev at lists.flossmanuals.net
> >> >>>>
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >>>>
> >> >>>>
> >> >>>> _______________________________________________
> >> >>>> Booki-dev mailing list
> >> >>>> Booki-dev at lists.flossmanuals.net
> >> >>>>
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >>>>
> >> >>>>
> >> >>> _______________________________________________
> >> >>> Booki-dev mailing list
> >> >>> Booki-dev at lists.flossmanuals.net
> >> >>>
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >>
> >> >> _______________________________________________
> >> >> Booki-dev mailing list
> >> >> Booki-dev at lists.flossmanuals.net
> >> >>
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >
> >> >
> >> > _______________________________________________
> >> > Booki-dev mailing list
> >> > Booki-dev at lists.flossmanuals.net
> >> > http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >> >
> >> >
> >> _______________________________________________
> >> Booki-dev mailing list
> >> Booki-dev at lists.flossmanuals.net
> >> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >
> >
> > _______________________________________________
> > Booki-dev mailing list
> > Booki-dev at lists.flossmanuals.net
> > http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >
> >
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/booki-dev-flossmanuals.net/attachments/20110708/4e7317f9/attachment-0002.htm>


More information about the Booki-dev mailing list