Failed os.path.normpath(process_cmdline)
By user @changhyuk91from issue78
os.path.normpath(process_cmdline) AttributeError: 'NoneType' object has no attribute 'startswith'
Hi guys I just started programming(5days), so I really need help getting this problem fixed. I am getting the same error as aristotll and more.
"Traceback error:file:"C:\projects\swapy-pwvh2\build\swapy\out00-PYZ.pyz_mainframe",line 407, in _update Attribute error: 'list' object has no attribute 'encode'"
Additional errors when I press application.start and application.connect respectively: image
image
I am using the korean language so I think I am getting the same problem. It seems like you guys found the remedy so I re-downloaded and installed SWAPY32bit.exe from the Github, but the error persists. I dont know how Aristotll got his work.
Thanks so much in advance, you guys are awesome.
I am currently using Python 3.5
@changhyuk91 , could you run SWAPY with Admin rights and try to reproduce the problem? I suppose pywinauto failed to get the process command line because it has elevated privileges.
I still get the same Errors
Error #1 sometimes I get this

and sometimes i get this
Error#2

I opened SWAPY with admin rights
@changhyuk91,
Could you try to reproduce this two problems on the develop builds:
32bit
64bit
You probably use public release (master branch), but fix for problem #78 only in dev now.
So, I expect encode problem is already fixed.
Unfortunately I not sure what is wrong with startswith problem. Hope more debug info would help.
Please run debug versions swapy*bit-debug.exe of the both architecture 32/64. And make the debug console screenshots if fails.
Thanks for your help.