[Kde-bindings] Rescuing PyKDE's twine2 from gitorious
Scott Kitterman
kde at kitterman.com
Thu Apr 9 06:14:33 UTC 2015
On Wednesday, April 08, 2015 09:11:48 AM Scott Kitterman wrote:
> One issue you've got, that I can tell by the dependency list in the patch,
> is that this is meant to run with python3.
>
> It runs ~fine with Qt/PyQt 5.2 then, but that's too old for the current Kf5.
> I tried it with Qt/PyQt 5.4.1 and ran into an error with a new file/type
> added in the mean time in PyQt5:
>
> File: '.../share/sip/PyQt5/QtCore/qpycore_virtual_error_handler.sip' Line:
> 21 Syntax error in input. Token type: ID, token value: VirtualErrorHandler,
> lex state: variable
>
> This is what's in the file:
>
> %VirtualErrorHandler PyQt5
> pyqt5_err_print();
> %End
>
> It looks like siplexer.py and/or sipparser.py need to be extended to support
> this. Suggestions anyone?
I came up with a fix for this and pushed it. It runs, but seems to have some
problems with the current Kf5 code. Please feel free to have a look. I'll
work some more on the refactoring I mentioned earlier.
Scott K
More information about the Kde-bindings
mailing list