invenio icon indicating copy to clipboard operation
invenio copied to clipboard

WebSubmit: Upload_Files element example does results in a 500er (Version 1.1.4)

Open martinkoehler opened this issue 10 years ago • 4 comments

Hi, in Invenio 1.1.4 the Example Response Element "Upload_Files" contains example code, which should be cloned and customized according to the documentation. However, the code produces a 500er server error, since the python os module which is used in the line indir = ParamFromFile(os.path.join(curdir,...) and following lines has not been loaded. Adding import os before these lines fixes this. Regards Martin

martinkoehler avatar Dec 03 '14 16:12 martinkoehler

Dear @martinkoehler would you be willing to send in a pull request with the proposed changes? (in case see: https://github.com/inveniosoftware/invenio/blob/master/CONTRIBUTING.rst)

kaplun avatar Jan 09 '15 08:01 kaplun

Dear Sam, I sent a pull request. Regards

Martin

Dr. Martin Köhler Head of library and documentation Deutsches Elektronen-Synchrotron DESY Building 01d Room EG.459 phone: +49-40-8998-1814 Notkestr. 85 fax: +49-40-8994-1814 22607 Hamburg

e-mail: [email protected] Germany

----- Ursprüngliche Mail -----

Von: "Samuele Kaplun" [email protected] An: "inveniosoftware/invenio" [email protected] CC: "Martin Köhler" [email protected] Gesendet: Freitag, 9. Januar 2015 09:40:25 Betreff: Re: [invenio] WebSubmit: Upload_Files element example does results in a 500er (Version 1.1.4) (#2610)

Dear @martinkoehler would you be willing to send in a pull request with the proposed changes?

— Reply to this email directly or view it on GitHub .

martinkoehler avatar Jan 12 '15 10:01 martinkoehler

@kaplun Any updates on this?

tiborsimko avatar Nov 08 '16 13:11 tiborsimko

I replied in the corresponding PR: #2659. tl;dr Nope.

kaplun avatar Nov 08 '16 13:11 kaplun