Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoItLibrary Install Fails when Python path contains spaces (fix included) #1

Open
HW71 opened this issue Dec 5, 2016 · 0 comments

Comments

@HW71
Copy link
Owner

HW71 commented Dec 5, 2016

Originally reported as Issue 30 in old GoogleCode project.

What steps will reproduce the problem?

  1. Install Python to a path with a space, e.g. "C:\Program Files\python27"
  2. Execute python setup.py install

What is the expected output? What do you see instead?
I expect the install to complete successfully. Instead I get this:

python setup.py install
%SYSTEMROOT%\system32\regsvr32.exe /S C:\Program Files\Python27\Lib\site-package
s\AutoItLibrary\lib\AutoItX3.dll
Traceback (most recent call last):
File "setup.py", line 70, in
subprocess.check_call(cmd, shell=True)
File "C:\Program Files\Python27\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '%SYSTEMROOT%\system32\regsvr32.exe /S C:
\Program Files\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll' return
ed non-zero exit status 3

What version of the product are you using? On what operating system?
AutoItLibrary 1.1, Windows XP

Please provide any additional information below.
I have attached a working setup.py along with a diff file.

setup-fixed.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant