[PyQt] Traceback in pyqtdeploy during Build

Phil Thompson phil at riverbankcomputing.com
Mon Feb 2 22:45:30 GMT 2015


On 02/02/2015 7:23 pm, David Cortesi wrote:
> Today pyqtdeploy is doing something it didn't do yesterday. I'm not 
> sure
> what (surely minor) change I made in the .pdy to precipitate this; the 
> .pdy
> is attached.
> 
> This is pyqtdeploy as installed by pip3, not the latest snapshot. The 
> Build
> phase stops with this traceback.
> 
> [11:13:49 deploy] pyqtdeploy ./Cobro.pdy
>> Traceback (most recent call last):
>>   File
>> "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.4/site-packages/pyqtdeploy/gui/build_page.py",
>> line 150, in _build
>>     clean=bool(self._clean_button.checkState()))
>>   File
>> "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.4/site-packages/pyqtdeploy/builder/builder.py",
>> line 165, in build
>>     opt, resource_names)
>>   File
>> "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.4/site-packages/pyqtdeploy/builder/builder.py",
>> line 571, in _write_qmake
>>     False)
>>   File
>> "/Library/Frameworks/Python.framework/Versions/Current/lib/python3.4/site-packages/pyqtdeploy/builder/builder.py",
>> line 675, in _add_parsed_scoped_values
>>     for scope, value_set in self._parse_scoped_values(raw, 
>> isfilename):
>> ValueError: need more than 0 values to unpack

I think this is fixed in the current code.

Phil


More information about the PyQt mailing list