[PyKDE] code error?

Jim Bublitz jbublitz at nwinternet.com
Mon Sep 6 22:21:26 BST 2004


On Monday 06 September 2004 12:33, Charles Wienken wrote:

> I got this error too.

> An internal error occured.  Please report all output from the program,
> including the following traceback, to the PyKDE mailing list

> Traceback (most recent call last):
> File "./configure.py", line 792, in ?
> main(sys.argv)
> File "./configure.py", line 756, in main
> init_and_check_sanity ()
> File "./configure.py", line 153, in init_and_check_sanity
> sipcfg.error("This version of PyKDE requires SIP v%s or later" %
> sipcfg.version_to_string(minv))
> File "/usr/lib/python2.3/site-packages/sipconfig.py", line 163, in
> __getattr__
> raise AttributeError, "\"%s\" is not a valid configuration value or user
> option" % name
> AttributeError: "error" is not a valid configuration value or user option

If I recall correctly, that was a sip error in an older version of sip (which 
is what this code tests for). What version of sip are you using (sip -V if 
you don't know).

Jim



> To fix this please goto the line:
>
>
>
>             if minv:
>
>                         sipcfg.error("This version of PyKDE requires SIP
> v%s or later" % sipcfg.version_to_string(minv))
>
>
>
> and change to:
>
>
>
> if minv:
>
>                         # sipcfg.error("This version of PyKDE requires SIP
> v%s or later" % sipcfg.version_to_string(minv))
>
>                         pass
>
>
>
> After this I got everything to work.  Please let me know if this works.




More information about the PyQt mailing list