[Booki-dev] Problems installing Booki on Fedora 11

adam hyde adam at flossmanuals.net
Mon Oct 25 12:39:53 PDT 2010


hey

Doug might know what the issue is...

adam



On Mon, 2010-10-25 at 11:32 -0500, James Simmons wrote:
> Adam,
> 
> I figured out how to disable SELinux and that seems to have helped a
> lot.  I also moved my "book", "cache" and "tmp" directories under
> htdocs in the objavi source directory (the instructions don't make it
> clear where these directories should go but this looks right).  Now
> I'm having troubles actually running the PDF export, and they look
> very similar to what I saw when I tried to run the booki copy of
> OBJAVI 2.  I see this message in the error log for OBJAVI:
> 
> fetching zip from
> http://10.239.17.123/booki-twiki-gateway.cgi?server=en.flossmanuals.net&book=introduction-to-bounce&mode=zip
> 
> It can't seem to find my book in my local copy of Booki.  The complete
> error log is attached.
> 
> James Simmons
> 
> 
> On Mon, Oct 25, 2010 at 3:40 AM, adam hyde <adam at flossmanuals.net> wrote:
> > James.
> >
> > Im not sure SELinux is a priority. I have set up Booki on debian and
> > ubuntu with no problems. A lot of apps have issues with running under
> > SELinux and we dont have the resources to work out what the issues are.
> > If some friendly hacker wants to problem solve that then cool, otherwise
> > please file it as a ticket but it wont be a high priority.
> >
> > As for the image - did you check the settings page for your user? You
> > can change the image there.
> >
> > I will try installing Objavi after I get back from Barcelona and see how
> > tricky it is.
> >
> > adam
> >
> > On Sun, 2010-10-24 at 18:54 -0500, James Simmons wrote:
> >> Douglas,
> >>
> >> I made some more progress on setting up OBJAVI2.  Unfortunately, I
> >> keep hitting roadblocks caused by SELinux.   If there is one failing
> >> in Booki and OBJAVI 2 that really stands out it's that SELinux really,
> >> really doesn't like the way your instructions recommend setting them
> >> up.  If I set up the home directory profile so that httpd can access
> >> them then GDM complains, and if I don't they won't run.  SELinux
> >> really, really doesn't want you to run your apps out of home
> >> directories, and I know that my Unix admins at work won't agree to run
> >> it that way in any case.  There needs to be a proper setup.py.
> >>
> >> There also needs to be some suggestion of how to get redis running on
> >> boot up.  Redis doesn't even have an install target for its make file.
> >>  It's easy to get past that (copy the four binaries to /usr/local/bin)
> >> but I still need a good way to run the sumbitch on boot up.
> >>
> >> You really need to mention SELinux in the install instructions.  You
> >> also need to mention that home directories in Fedora are NOT readable
> >> by other users by default, so you need to change the permissions.
> >> Finally, in one of your Python modules you're doing an "rlimit" and
> >> SELinux doesn't like that.  The dialog that tells me that says SELinux
> >> can be configured to allow that, but the sumbitch won't tell me HOW.
> >>
> >> Other problems: OBJAVI 2 only lists free licenses when printing books.
> >>  If I'm going to use it in the office I need it to say "Confidential
> >> and proprietary material copyright (C) 2010 Yoyodyne, Inc." or some
> >> such verbage.
> >>
> >> Minor gripe: Booki shows a little picture of the user when you're
> >> logged in, but every user gets the same picture and you can't put in
> >> your own picture.  It would be better to have no picture at all than
> >> that.
> >>
> >> I have to say that Booki running by itself and using the shared OBJAVI
> >> works pretty well.  There's no way in hell you could run it in an
> >> office that way, though.
> >>
> >> James Simmons
> >>
> >>
> >> On Sun, Oct 24, 2010 at 10:09 AM, James Simmons <nicestep at gmail.com> wrote:
> >> > Douglas,
> >> >
> >> > The http link seems to work OK.  Thanks.
> >> >
> >> > James Simmons
> >> >
> >> >
> >> > On Fri, Oct 22, 2010 at 4:38 PM, Douglas Bagnall
> >> > <douglas at paradise.net.nz> wrote:
> >> >> hi James,
> >> >>
> >> >> I don't know if it works, but if you click on 'HTTP' link at
> >> >> http://github.com/douglasbagnall/epub it should give you an http clone url.
> >> >>
> >> >> There's also a "download" link which will give you a tarball or zip.
> >> >>
> >> >> Douglas
> >> >>
> >> >> On 23/10/10 09:52, James Simmons wrote:
> >> >>
> >> >>> Douglas,
> >> >>>
> >> >>> Thanks.  Any chance of getting http working for your Git repo?  At
> >> >>> work we have some serious firewalls.  I can do http over a proxy
> >> >>> server, but the ports Git uses are blocked.
> >> >>>
> >> >>> What I've been doing is to do my Gits at home and burn a CD, but I'd
> >> >>> like to avoid that as its slowing my progress.
> >> >>>
> >> >>> James Simmons
> >> >>>
> >> >>>
> >> >>> On Fri, Oct 22, 2010 at 3:45 PM, Douglas Bagnall
> >> >>> <douglas at paradise.net.nz>  wrote:
> >> >>>>
> >> >>>> On 23/10/10 05:50, James Simmons wrote:
> >> >>>>
> >> >>>>> Douglas,
> >> >>>>>
> >> >>>>> I'm having some import problems with objavi.cgi.  When you run it from
> >> >>>>> the command line it has a problem with fm_book.py where it cannot find
> >> >>>>> the iarchive package:
> >> >>>>>
> >> >>>>> from iarchive import epub as ia_epub
> >> >>>>>
> >> >>>>> I can't find this package either.  It seems to be a dependency that
> >> >>>>> you did not mention.
> >> >>>>
> >> >>>>
> >> >>>> Ah yes, that is this http://github.com/douglasbagnall/epub
> >> >>>>
> >> >>>> The easiest thing would be to go:
> >> >>>>
> >> >>>> git clone git at github.com:douglasbagnall/epub.git iarchive
> >> >>>>
> >> >>>> in the objavi directory.
> >> >>>>
> >> >>>> Thanks for spotting that -- I'll try to remove the dependency as Objavi
> >> >>>> doesn't
> >> >>>> use much of it any more.
> >> >>>>
> >> >>>> Douglas
> >> >>>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >
> >> _______________________________________________
> >> Booki-dev mailing list
> >> Booki-dev at lists.flossmanuals.net
> >> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >
> > --
> > vote for booki in the Open Web Awards!
> >
> > Booki (the latest FM project - http://www.booki.cc - a collaborative
> > publishing platform) is in the final of the Open Web Awards.
> > Great! We are 1 of 3 projects. If we win we get 5000 which we will use
> > to do a code sprint on a tropical island somewhere ;)
> >
> > please please please register :
> > http://www.drumbeat.org/user/register
> >
> > and vote for us:
> > http://www.drumbeat.org/project/open-web-publishing
> >
> > and pass this around!!!! :)
> >
> > Adam Hyde
> > Founder FLOSS Manuals &
> > Booki Project Manager
> >
> > Contact Information
> > German mobile : + 49 177 4935122
> > Email : adam at flossmanuals.net
> > irc : irc.freenode.net #flossmanuals
> >
> >
> > "Free manuals for free software"
> > http://www.flossmanuals.net/about
> >
> > Free Software for making Free Books
> > http://www.booki.cc/
> >
> > _______________________________________________
> > Booki-dev mailing list
> > Booki-dev at lists.flossmanuals.net
> > http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
> >

-- 
vote for booki in the Open Web Awards!

Booki (the latest FM project - http://www.booki.cc - a collaborative
publishing platform) is in the final of the Open Web Awards.
Great! We are 1 of 3 projects. If we win we get 5000 which we will use
to do a code sprint on a tropical island somewhere ;)

please please please register :
http://www.drumbeat.org/user/register

and vote for us:
http://www.drumbeat.org/project/open-web-publishing

and pass this around!!!! :)

Adam Hyde
Founder FLOSS Manuals &
Booki Project Manager 

Contact Information
German mobile : + 49 177 4935122
Email : adam at flossmanuals.net
irc : irc.freenode.net #flossmanuals


"Free manuals for free software"
http://www.flossmanuals.net/about

Free Software for making Free Books
http://www.booki.cc/




More information about the Booki-dev mailing list