Hi Eric,
2011/4/20 Eric Frederich <[email protected]>: > I was able to extract from that .exe using 7zip. Yes, the official build is just self extracting exe, that you can extract as normal zip > I did exactly as you said and now pyside-uic runs. > I now have another problem. > > When running pyside-uic with an extremely simple .ui file I get "An > unexpected error occurred." > > What is the status of pyside-uic?... is it supposed to be production > ready like the rest of PySide from 1.0? > Yes, pyside-uic from official build is production ready, i have successfully generated py from attached ui file. Another temporary solution would be to install official build and replace all *.pyd files with your build in folder: <YOUR_PYTHON\Lib\site-packages\PySide\ BTW: If you just need the latest version 1.0.1 i will try to build and realaese the official packages today Regards -Roman > Attached is the simple ui file. > > ~Eric > > On Tue, Apr 19, 2011 at 5:15 PM, Eric Frederich > <[email protected]> wrote: >> Thanks for the reply... I thought I was doing something wrong. >> >> I'm not that good with Windows.... how do I get a file from that .exe? >> I am building this thing from source so I have all the git repo's. >> Is there no other way to get those two folders? >> >> On Tue, Apr 19, 2011 at 4:44 PM, Roman Lacko <[email protected]> wrote: >>> Hi Eric, >>> >>> 2011/4/19 Eric Frederich <[email protected]>: >>>> I just did a clean build of PySide on Windows today using the >>>> pyside-packaging/setuptools/create_package.py script. >>>> After running it, I ran python setup.py install >>>> And then after that I ran the post install script that got installed >>>> under Scripts. >>>> >>>> I tried to run pyside-uic.exe and I got the following error.... >>>> >>>> C:\>pyside-uic.exe >>>> Traceback (most recent call last): >>>> File "C:\my_python27\Scripts\pyside-uic-script.py", line 8, in <module> >>>> load_entry_point('PySide==1.0.0qt472', 'console_scripts', >>>> 'pyside-uic')() >>>> File "build\bdist.win32\egg\pkg_resources.py", line 318, in >>>> load_entry_point >>>> File "build\bdist.win32\egg\pkg_resources.py", line 2221, in >>>> load_entry_point >>>> File "build\bdist.win32\egg\pkg_resources.py", line 1954, in load >>>> ImportError: No module named uic >>>> >>>> >>>> After this, I installed PySide from the resulting >>>> pyside-packaging\setuptools\dist\PySide-1.0.0qt472.win32-py2.7.exe >>>> This yielded the same error as above. >>>> >>> >>> AFAIK, the uic scripts are not packaged. You need to manually copy uic >>> related scripts from official PySide-1.0.0qt472.win32-py2.7.exe: >>> >>> copy folder: PySide-1.0.0qt472.win32-py2.7.exe\PURELIB\pysideuic >>> to:<YOUR_PYTHON\Lib\site-packages\pysideuic >>> AND >>> copy folder: PySide-1.0.0qt472.win32-py2.7.exe\PURELIB\PySide\scripts >>> to:<YOUR_PYTHON\Lib\site-packages\PySide\scripts >>> >>> Regards >>> -Roman >>> >> > _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
