STINNER Victor <vstin...@redhat.com> added the comment:

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

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35678>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to