Code Monkey home page Code Monkey logo

Comments (6)

winterz avatar winterz commented on September 4, 2024

a few things to check:
which python? could you be finding a python inside cygwin or msys somehow?
%PYTHONPATH% . is that set properly?
git . did the files in the autogen subdir get checkout properly? do they have CRLF line-endings?

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

from kdsoap.

winterz avatar winterz commented on September 4, 2024

oops. reopening

from kdsoap.

bornschein avatar bornschein commented on September 4, 2024

Hi Allen,

Here is the deal:
We have 2 different windows 7 machines, both with Qt 5.0.1.
On machine 1 KDSoap builds just fine.
On machine 2 we cannot get autogen to run properly with the original mentioned error trace .

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.
But autogen still fails on machine 2 and still passes on machine 1.

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
On both machines there is also no kdsoap/autogen/cmake.py file

We use python 3.3

Any other idea?

Thanks
Stefan

From: Allen Winter [mailto:[email protected]]
Sent: Thursday, April 04, 2013 1:08
To: KDAB/KDSoap
Cc: Stefan Bornschein
Subject: Re: [KDSoap] autogen.py fails on windows (no module named cpack) (#25)

a few things to check:
which python? could you be finding a python inside cygwin or msys somehow?
%PYTHONPATH% . is that set properly?
git . did the files in the autogen subdir get checkout properly? do they have CRLF line-endings?

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


Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-15871132.

from kdsoap.

winterz avatar winterz commented on September 4, 2024

Stefan,
confirmed. I can duplicate the problem with python3.
in the meantime, while I try to fix, you could try python2.7

from kdsoap.

winterz avatar winterz commented on September 4, 2024

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.

from kdsoap.

Chadster766 avatar Chadster766 commented on September 4, 2024

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.

from kdsoap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.