Bug#784619: creepy: Qt5 conversion in progress

2016-12-11 Thread Petter Reinholdtsen
[Ross Gammon]
> I have spent the day doing the Qt4 > Qt5 conversion following the tips
> from Dmitry. See the latest on alioth.

Wow.  I had given up rescuing creepy for stretch, but your email bring
me new hope.

> Unfortunately, I get an import error when running creepy after installation:
> $ creepy -v
> Traceback (most recent call last):
>   File "/usr/bin/creepy", line 14, in 
> from PyQt5.QtCore import QString, QThread, SIGNAL, QUrl, QDateTime, 
> QDate, QRect, Qt
> ImportError: cannot import name QString

I have vague memories of QString moving to somewhere else.  A quick
check indicate that PyQt5 now uses python strings instead.  Perhaps just
dropping QString is the correct approach?

-- 
Happy hacking
Petter Reinholdtsen

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#784619: creepy: Qt5 conversion in progress

2016-12-11 Thread Ross Gammon
Hi,

I have spent the day doing the Qt4 > Qt5 conversion following the tips from 
Dmitry. See the latest on alioth.

Unfortunately, I get an import error when running creepy after installation:
$ creepy -v
Traceback (most recent call last):
  File "/usr/bin/creepy", line 14, in 
from PyQt5.QtCore import QString, QThread, SIGNAL, QUrl, QDateTime, QDate, 
QRect, Qt
ImportError: cannot import name QString

According to http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html:
"PyQt4 supports a number of different API versions (QString, QVariant etc.). 
With the exception of QVariant, PyQt5 only implements v2 of those APIs for all 
versions of Python."

I need to do some other stuff now. But will come back to this later in the 
week. Any advice to speed things up will be appreciated.

Regards,

Ross



signature.asc
Description: OpenPGP digital signature
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel