How to use objavi??
  • Hi all,

    i have a new installed booktype instance (v.1.6.1), and if it comes to export/publish a book/ebook/screen PDF, i get the error "Unknown error while trying to publish this book."

    In my settings.py I'm using
    # URLS


    In the apache error log, there is the message : 
    [Thu Jun 12 15:06:22 2014] [error] [client 144.76.174.199] File does not exist: /srv/www/htdocs/export

    Should there be an directory named "export"??

    I have a second installation (v1.5.3) where I have the sam URL's, where it works..?

    How does this work?
    Do I have to install objavi locally??

    Thanks in advance,
    Christian




  • 3 Comments sorted by
  • Hi Christian!

    If you Booktype server is not publicly accessible from objavi.booktype.pro you will need to install it locally. If it is, you should configure THIS_BOOKI_SERVER to be your public hostname, like THIS_BOOKI_SERVER='booktype.myserver.com' or THIS_BOOKI_SERVER='booktype.myserver.com:8080' if it is on another font.

    Looking at the error I would say this configuration option is set to be THIS_BOOKI_SERVER='' at the moment.

    Aco
  • Hi Aleksandar,

    many thanks, it works!

    I adapted the "THIS_BOOKI_SERVER = 'ourserver.com/myproject' and also commented out the "custom BOOKI_URL" and use the "BOOKI_URL = 'http://%s' % THIS_BOOKI_SERVER".

    Thanks a lot for your fast and great support ;-)

    Christian

  • in my case this doesn't work.
    I have install objavi, I can import epub through objavi and espri
    but it is not possibly to export them through our local objavi.

    we have the following settings

    THIS_BOOKI_SERVER = 'XX.XX.XX.XXX' # is a public ip
    BOOKI_URL = 'http://%s' % THIS_BOOKI_SERVER

    OBJAVI_URL = "http://XX.XX.XX.XXX:8081/"
    ESPRI_URL = "http://XX.XX.XX.XXX:8081/espri"

    the ESPRI is working , ti OBJAVI is not working. Any thought ?
    Also I don't get something to logs

    Thanks,
    George