-
Notifications
You must be signed in to change notification settings - Fork 92
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
autogen.py fails on windows (no module named cpack) #25
Comments
a few things to check: so make sure you have kdsoap/autogen/cmake.py and it looks ok and has CRLF line-endings and PYTHONPATH isn't messed-up somehow. and make sure your python is the right one. then, if all that looks ok... possibly we need to look at setting your PYTHONPATH to C:\Qt\KDSoap\autogen |
oops. reopening |
Hi Allen, Here is the deal: In order to eliminate git differences (crlf and stuff like this) I even zipped and copied the whole KDSoap directory from machine 1 to machine 2. On both machines there is no %PYTHONPATH% set. This seems not to be necessary since machine 1 builds fine. Python itself is in the PATH We use python 3.3 Any other idea? Thanks From: Allen Winter [mailto:notifications@github.com] a few things to check: so make sure you have kdsoap/autogen/cmake.py and it looks ok and has CRLF line-endings and PYTHONPATH isn't messed-up somehow. and make sure your python is the right one. then, if all that looks ok... possibly we need to look at setting your PYTHONPATH to C:\Qt\KDSoap\autogen — |
Stefan, |
Stefan, please make sure to use python2. The autogen program is not ported to Python3 yet. We are discussing supporting Python3 but haven't made a decision yet. For now, I will close this. |
This is happening on a Debian Linux dev platform if I checkout any of the tags but not if I build trunk. Should I run trunk? I don't normally do that for development. |
I am doing this:
git clone https://github.com/KDAB/KDSoap.git
cd KDSoap
git submodule update --init
set PATH=%PATH%;C:\Qt\qt-5.0.1\qtbase\bin
autogen.py
... and get the following error trace:
Traceback (most recent call last):
File "C:\Qt\KDSoap\autogen.py", line 2, in
from autogen.autogen import autogen
File "C:\Qt\KDSoap\autogen\autogen.py", line 3, in
from cpack import CPackGenerateConfiguration
ImportError: No module named 'cpack'
The text was updated successfully, but these errors were encountered: