<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div><p style="border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 13px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 19px; color: rgb(0, 0, 0); font-family: helvetica, arial, verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">I installed booki and objiva2 on my own ubuntu server (in a virtual box), it all seems ok but when exporting a book the process stops with a BadZipFile error. a .zip file with the book in non compressed html format is store in the <objavi2path>/htdocs/booki-books folder and I assume the errors occurs when the next step tries to read what it thinks is a .zip file to convert it to pdf. I get an url pointing to the (non existing) .pdf file.</p><p style="border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 13px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 19px; color: rgb(0, 0, 0); font-family: helvetica, arial, verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">I might have missed something in the installation phase, may be a library for zipping the file but I am a little lost here. any help/fix is welcome.</p><p style="border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 13px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 19px; color: rgb(0, 0, 0); font-family: helvetica, arial, verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">objavi.log is the following</p></div><div><pre style="background-color: rgb(255, 255, 255); font-family: Consolas, Monaco, 'Liberation Mono', 'Lucida Console', monospace; font-size: 14px; margin-bottom: 10px; overflow-x: auto; overflow-y: auto; padding-left: 5px; padding-top: 5px; width: 580px; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><code style="font-family: Consolas, Monaco, 'Liberation Mono', 'Lucida Console', monospace; font-size: 14px; ">------ 8< Cut Here 8< ------

Starting request for /objavi.cgi
effective query is:
{'engine': 'webkit', 'license': 'GPLv2+', 'title': 'Test book', 'destination': 'nowhere', 'max-age': '0', 'pdf_type': 'book', 'book': 'test-book', 'mode': 'book', 'server': 'en.flossmanuals.net', 'booksize': 'COMICBOOK'}
templates/nowhere.txt
text/plain; charset=utf-8
nowhere
sync
in get_watchers. method 'sync', callback None, destination 'nowhere'
watchers are set([<bound method Context.log_notifier of <__main__.Context object at 0x1766f10>>])
*** Starting new book testbook-en-2011.12.02-19.25.37.pdf ***
notify_watcher called with 'start'
******* got message "start"
fetching zip from <a href="http://192.168.1.6/booki-twiki-gateway.cgi?server=en.flossmanuals.net&book=test-book&mode=zip">http://192.168.1.6/booki-twiki-gateway.cgi?server=en.flossmanuals.net&book=test-book&mode=zip</a>
notify_watcher called with 'fetch_zip'
******* got message "fetch_zip"
Traceback (most recent call last):
  File "/home/colivier/Sources/objavi2/htdocs/objavi.cgi", line 444, in <module>
    main()
  File "/home/colivier/Sources/objavi2/htdocs/objavi.cgi", line 437, in main
    output_function(args)
  File "/home/colivier/Sources/objavi2/htdocs/objavi.cgi", line 332, in mode_book
    page_number_style=args.get('page-numbers'),
  File "/home/colivier/Sources/objavi2/objavi/fmbook.py", line 191, in __init__
    self.store = zipfile.ZipFile(f, 'r')
  File "/usr/lib/python2.7/zipfile.py", line 712, in __init__
    self._GetContents()
  File "/usr/lib/python2.7/zipfile.py", line 746, in _GetContents
    self._RealGetContents()
  File "/usr/lib/python2.7/zipfile.py", line 761, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file

------ 8< Cut Here 8< ------</code></pre><div><br></div></div><div>Thanks,</div><div>Christian</div><div><br></div></body></html>