problem with PloneFormGen

Stefano Prestini <stefano.prestini-y6W5KEIK/[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Hello Guys,

I created a small form through PloneFormGen, the form asks little information and allows to upload a .docx file.

Immediately after the save is generated an email that send the contents of the form and the file to an email address, this works perfectly

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
<FSPythonScript at /Mysite/at_download used for /Mysite/My/foleders /2015-03-13.2435644294>
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'


*** 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.