Hi David,
What language is your tool running in? There are definitely major differences in versions on Stretch v Trusty. A library you were using on Trusty may have been upgraded and is behaving differently.
That's about all I can think of from what you provided.
Hope this helps, -Travis
On Sun, Mar 10, 2019 at 11:15 AM David Richfield davidrichfield@gmail.com wrote:
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 labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud