On Fri, 6 Jan 2012 10:03:46 -0800 (PST)
"Edward K. Ream" <[email protected]> wrote:
> Rev 4906 reports the following on load when using Python 3.x:
>
> error importing plugin: leo.plugins.stickynotes
> Traceback (most recent call last):
> File "c:\leo.repo\trunk\leo\core\leoPlugins.py", line 550, in
> loadOnePlugin
> toplevel = __import__(moduleName)
> File "c:\leo.repo\trunk\leo\plugins\stickynotes.py", line 80, in
> <module>
> from PyQt4.QtCore import (QSize, QVariant, Qt, SIGNAL, QTimer,
> QString)
> ImportError: cannot import name QString
Can you try changing the some of the imports for stickynotes.py to
from PyQt4.QtCore import (QSize, QVariant, Qt, SIGNAL, QTimer)
try:
from PyQt4.QtCore import QString
except ImportError:
QString = str
please? I don't have Qt installed for Py3, so I can't test, but "The
Internet" says that's the fix.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.