This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients MaximilianSP, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-01-07.14:36:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546871810.36.0.733753049204.issue35678@roundup.psfhosted.org>
In-reply-to
Content
The screenshot says "OSError: [WinError 87] Falscher Parameter" at Lib/subprocess.py:1178 which is this call:

                hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                                         # no special security
                                         None, None,
                                         int(not close_fds),
                                         creationflags,
                                         env,
                                         os.fspath(cwd) if cwd is not None else None,
                                         startupinfo)

According to the traceback, the call is:

subprocess.check_output([execStr,"-3",self.geofile,"-o",self.vtkFile])

Can you please dump these parameters? Are they all strings?

IMHO execStr, self.geofile or self.vtkFile is not a valid string and it's a bug in your code.

Context:

* bpo-34044
* commit 29be3bd3c9aed0190e60096a603120cacda82375
* Comments on the commit: https://github.com/python/cpython/commit/29be3bd3c9aed0190e60096a603120cacda82375#commitcomment-31855236
History
Date User Action Args
2019-01-07 14:36:52vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, MaximilianSP
2019-01-07 14:36:50vstinnersetmessageid: <1546871810.36.0.733753049204.issue35678@roundup.psfhosted.org>
2019-01-07 14:36:50vstinnerlinkissue35678 messages
2019-01-07 14:36:50vstinnercreate