Hi all,

I moved my tool (parliamentdiagram) to Stretch today, and everything
works, except direct upload to Wikimedia Commons. I get the following
error:

"Error: File upload parameter "file" is not a file upload; be sure to
use "multipart/form-data" for your POST and include a filename in the
"Content-Disposition" header."

The request looks like this:

action: upload
uri: 
/data/project/parliamentdiagram/public_html/svgfiles/2019-03-10-18-07-19-687399-18179320035893093241.svg
filename: My_Parliament.svg
pagecontent: == {{int:filedesc}} ==
(and some more content that I'm snipping for brevity)

This works fine on Trusty, but neither on Gridengine or Kubernetes.
Where should I look for the cause?

For now, I'm going to keep the tool running on Trusty so that my users
still have this option.

-- 
David Richfield
+49 176 72663368

_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud

Reply via email to