[PyQt] sip --configuration error
Phil Thompson
phil at riverbankcomputing.com
Tue Jun 3 12:04:02 BST 2014
On 03/06/2014 11:45 am, Sebastian Elsner wrote:
> Hello,
>
> I was just trying out the --configure flag on sip and get a strange
> error:
>
> R:\libraries\sip-4.16>python configure.py --configuration sip.config
> This is SIP 4.16 for Python 2.6.6 on win32.
> Reading configuration from R:\libraries\sip-4.16\sip.config...
> An internal error occured. Please report all the output from the
> program,
> including the following traceback, to support at riverbankcomputing.com.
> Traceback (most recent call last):
> File "configure.py", line 870, in <module>
> main(sys.argv)
> File "configure.py", line 794, in main
> update_from_configuration_file(opts.config_file)
> File "configure.py", line 536, in update_from_configuration_file
> parts = l.split('=', maxsplit=1)
> TypeError: split() takes no keyword arguments
>
> the line it fails on is this (first line):
>
> py_major = 2
>
>
> according to the docs split does take that keyword argument... If
> removed that bit of code works.
It's not a *keyword* argument in Python v2.6.
Fixed in tonight's snapshots.
Thanks,
Phil
More information about the PyQt
mailing list