Re: problem with PloneFormGen
Luca Fabbri <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAGfGq=ZyHfkutjYb0c1zkk6RjF6Ln+6WP=LMmAc5RyL3zwSHxg@mail.gmail.com> |
On Fri, Mar 13, 2015 at 1:48 PM, Stefano Prestini < stefano.prestini-y6W5KEIK/[email protected]> wrote: > 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' > > > > Hi, There is something I don't get: how is your collection configured? How uploaded file are added to Plone? They are normal File? And last: which version of Plone are you using? Maybe it's a bug already fixed later -- -- luca twitter: http://twitter.com/keul linkedin: http://linkedin.com/in/lucafbb blog: http://blog.keul.it/ ------------------------------------------------------------------------------ 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