Hi,

I uploaded the fixed version of pyside-pkgsetup-0.4.2.
Now subprocess.Popen() is called with shell=True in Windows platform.

Regards
-Roman


2010/11/5 Dan Halbert <halb...@halwitz.org>:
> On Friday, November 5, 2010 4:27pm, "Roman Lacko" <backup.rla...@gmail.com> 
> said:
>> 2010/11/4 Dan Halbert <halb...@halwitz.org>:
>> > 2. I had to change create_package.py in pyside-pkgsetup-0.4.2 to use
>> > shell=True. Otherwise it could not find the git executable (which is in
>> > %PATH%). I am a little mystified why this worked for anyone else.
>> >
>>
>> Can You send me your %PATH% environment variable value so I can check
>> why the git was not found ?
>
> Hi. My PATH is shown below. I see that git is really git.cmd, so it's 
> probably messing up inside that script.
>
>>>> subprocess.Popen(['git'], shell=False)
> Traceback (most recent call last):
>  File "<interactive input>", line 1, in <module>
>  File "C:\Python26\lib\subprocess.py", line 623, in __init__
>  errread, errwrite)
>  File "C:\Python26\lib\subprocess.py", line 833, in _execute_child
>  startupinfo)
> WindowsError: [Error 2] The system cannot find the file specified
>
>>>> subprocess.Popen(['git'], shell=True)
>  <subprocess.Popen object at 0x00F28450>
>
>>>> os.environ['PATH']
> 'C:\\Qt\\4.7.0\\bin;C:\\Python26\\Lib\\site-packages\\PyQt4\\bin;C:\\Program 
> Files\\CollabNet\\Subversion 
> Client;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program
>  Files\\SecureCRT\\;C:\\Program Files\\MATLAB\\R2010a\\bin;C:\\Program 
> Files\\GtkSharp\\2.12\\bin;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0;C:\\Program
>  Files\\Common Files\\Roxio Shared\\DLLShared\\;C:\\Program Files\\Common 
> Files\\Roxio Shared\\9.0\\DLLShared\\;C:\\Program Files\\Windows 
> Imaging\\;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program 
> Files\\MATLAB\\MATLAB Compiler 
> Runtime\\v710\\runtime\\win32;C:\\Python26;C:\\Program 
> Files\\TortoiseSVN\\bin;C:\\Program Files\\TortoiseHg\\;C:\\Program 
> Files\\CMake 2.8\\bin;C:\\Program Files\\Git\\cmd'
>
>> > 3. Now, with the latest git head as of a couple of hours ago, I get this
>> > error late in the build:
>>
>> although the test failes, the build should complete, because the test
>> compiling error is just printed to console and build continues:
>
> This seems to be a build of a test, not the test itself. The build stops 
> after this error. Here is a more complete transcript. I have shortened the 
> paths to make it easier to read:
>
> [ 99%] Building CXX object 
> tests/pysidetest/CMakeFiles/pysidetest.dir/moc_testobject.cxx.obj
> moc_testobject.cxx
> ...\pysidetest\moc_testobject.cxx(46) : warning C4273: 'staticMetaObject' : 
> inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'public: static QMetaObject const TestObject::staticMetaObject'
> ...\pysidetest\moc_testobject.cxx(46) : error C2491: 
> 'TestObject::staticMetaObject' : definition of dllimport static data member 
> not allowed
> ...\pysidetest\moc_testobject.cxx(56) : warning C4273: 
> 'TestObject::metaObject' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'metaObject'
> ...\pysidetest\moc_testobject.cxx(61) : warning C4273: 
> 'TestObject::qt_metacast' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'qt_metacast'
> ...\pysidetest\moc_testobject.cxx(69) : warning C4273: 
> 'TestObject::qt_metacall' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'qt_metacall'
> ...\pysidetest\moc_testobject.cxx(87) : warning C4273: 'TestObject::idValue' 
> : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(19) : see previous 
> definition of 'idValue'
> ...\pysidetest\moc_testobject.cxx(94) : warning C4273: 
> 'TestObject::justASignal' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(20) : see previous 
> definition of 'justASignal'
> ...\pysidetest\moc_testobject.cxx(100) : warning C4273: 
> 'TestObject::staticMethodDouble' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(21) : see previous 
> definition of 'staticMethodDouble'
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return 
> code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 
> 9.0\vc\bin\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 
> 9.0\vc\bin\nmake.exe"' : return code '0x2'
> Stop.
> Traceback (most recent call last):
>  File "create_package.py", line 360, in main
>  compile_module(module)
>  File "create_package.py", line 175, in compile_module
>  raise Exception("Error compiling " + module[0])
> Exception: Error compiling pyside
> None
>
>
> _______________________________________________
> PySide mailing list
> PySide@lists.openbossa.org
> http://lists.openbossa.org/listinfo/pyside
>
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to