Re: FG_Pop_Spam Re: problem with PloneFormGen
Stefano Prestini <stefano.prestini-y6W5KEIK/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
hello guys, I found the error. If need to other: you must set "is as images" in the options so is not treated as a binary file Thanks to everyone for the tips From: dieter [mailto:[email protected]] Sent: Saturday, March 14, 2015 7:54 AM To: [email protected] Subject: FG_Pop_Spam Re: [Plone-Users] problem with PloneFormGen If this email is not spam, click here to submit the signatures to FortiGuard - AntiSpam Service. Stefano Prestini writes: > I created a small form through PloneFormGen, the form asks little information and allows to upload a .docx file.> ...> The problems arise when I created a collection to view the history of entries, the collection return error when I try to open the .docx file.> > The same error with other types of files (txt, png, etc ...)> > Anyone have any suggestions?> > Thank You> > Error:> Traceback (innermost last):> * Module ZPublisher.Publish, line 138, in publish> * Module ZPublisher.mapply, line 77, in mapply> * Module ZPublisher.Publish, line 48, in call_object> * Module Products.CMFCore.FSPythonScript, line 127, in __call__> * Module Shared.DC.Scripts.Bindings, line 322, in __call__> * Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec> * Module Products.PythonScripts.PythonScript, line 344, in _exec> . Module script, line 11, in at_download> > Line 11> * Module plone.app.blob.field, line 282, in download> * Module plone.app.blob.field, line 291, in index_html> TypeError: index_html() got an unexpected keyword argument 'charset' Look where the "charset" parameter comes from. It is not meaningfulfor binary objects (such as "blob"s (Binary Large OBject)). ------------------------------------------------------------------------------Dive into the World of Parallel Programming The Go Parallel Website, sponsoredby Intel and developed in partnership with Slashdot Media, is your hub for allthings parallel software development, from weekly thought leadership blogs tonews, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/_______________________________________________Plone-Users mailing [email protected]://lists.sourceforge.net/lists/listinfo/plone-users *** DISCLAIMER *** Ai sensi del D.Lgs. 196/2003 questo messaggio è riservato al solo destinatario e può contenere informazioni riservate, private o di carattere strettamente personale. Se avete ricevuto questo messaggio per errore, Vi preghiamo di notificarlo al mittente immediatamente e di cancellare l'originale. Qualsiasi altro uso del messaggio è proibito. Pursuant to Legislative Decree No. 196/2003 this message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users