sembrava facile, installarlo!
ho preso una installazione Plone 3.3.5 fatta con unified installer, nuova di pacca ed ho modificato così il buildout.cfg:

eggs =
    Plone
    pisa
    pyPdf
    html5lib
    reportlab
    collective.sendaspdf

e lanciato il più classico dei bin/buildout
tutto pareva essersi concluso senza problemi
ho avviato server e client
ho installato il prodotto da sitesetup
ho configurato il prodotto per usare xhtml2pdf

e INFINE HO PROVATO a scaricare una pagina come pdf, ottenendo il seguente errore:


*Site Error Log at / <http://192.168.244.128:8080/manage_workspace>Plone <http://192.168.244.128:8080/Plone/manage_workspace>/error_log <http://192.168.244.128:8080/Plone/error_log/manage_workspace> *


      Exception traceback

Time    2010/08/23 16:52:55.797 GMT+2
User Name (User Id)     admin (admin)
Request URL     http://192.168.244.128:8080/Plone/prova/download_as_pdf
Exception Type  TypeError
Exception Value         coercing to Unicode: need string or buffer, tuple found

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module collective.sendaspdf.browser.download, line 13, in __call__
    * Module collective.sendaspdf.browser.base, line 173, in make_pdf
    * Module collective.sendaspdf.browser.base, line 157, in
      generate_pdf_file
    * Module collective.sendaspdf.transforms.pisa, line 18, in html_to_pdf
    * Module sx.pisa3.pisa_document, line 128, in pisaDocument
    * Module sx.pisa3.pisa_document, line 73, in pisaStory
    * Module sx.pisa3.pisa_parser, line 616, in pisaParser
    * Module html5lib.html5parser, line 211, in parse
    * Module html5lib.html5parser, line 111, in _parse
    * Module html5lib.html5parser, line 189, in mainLoop
    * Module html5lib.html5parser, line 487, in processDoctype

TypeError: coercing to Unicode: need string or buffer, tuple found

/any idea?/
qualcuno si è già imbattoto in questo errore (per me arcano) ?

fiducioso vi saluto, Giacomo

_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a