Re: problem with PloneFormGen
dieter <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Stefano Prestini <stefano.prestini-y6W5KEIK/[email protected]> 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 > <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' Look where the "charset" parameter comes from. It is not meaningful for binary objects (such as "blob"s (Binary Large OBject)). ------------------------------------------------------------------------------ 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/