Bill Janssen wrote:
> Preston Landers wrote:
>
>
> Ah, great! Thanks, Preston. That was it. Once I'd crunched all the
> values to non-Unicode, it worked. Hmmm, I'd think maybe the
> CreateProcess code would do that kind of normalization, or at last raise
> a more comprehensible error.
>
Preston Landers wrote:
> Your PATH is a Unicode string. I'm not sure offhand if that's acceptable or
> not, but all the rest of the strings appear to be regular (non-unicode)
> strings.
>
> You could also try:
>
> import types
> for k, v in env.iteritems():
> if type(v) is not types.String
Your PATH is a Unicode string. I'm not sure offhand if that's acceptable or
not, but all the rest of the strings appear to be regular (non-unicode)
strings.
You could also try:
import types
for k, v in env.iteritems():
if type(v) is not types.StringType: print k, v
hope this helps,
-Presto
When I call subprocess.Popen(), I'm getting an error from what I believe
is win32process.CreateProcess:
Traceback (most recent call last):
File "TestAdds.py", line 950, in testNoPasswordNoGuardian
(UPLIB_MAKE_REPOSITORY, self.port, self.directory))
File "TestAdds.py", line 96, in runSubPro