Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread Edward K. Ream
On Mon, Aug 11, 2014 at 8:39 AM, 'Terry Brown' via leo-editor
 wrote:

> I mean to fix plugins for Qt4/5 agnosticism as I can get to them,
> ordered by nuisance value, and for sure the enabled by default would be
> at the top of the list.  I did bookmarks.py a week or so back.

I see from git that you have already begun this project.  Thanks for
your efforts.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread 'Terry Brown' via leo-editor
On Mon, 11 Aug 2014 09:00:32 -0400
Jacob Peck  wrote:

> Also, backlink.py at least has a huge amount of Tkinter code, which
> can likely be excised ;)

Seriously?  I *do not* remember it dating back to Tk, but then sure, it
could do :-)

I mean to fix plugins for Qt4/5 agnosticism as I can get to them,
ordered by nuisance value, and for sure the enabled by default would be
at the top of the list.  I did bookmarks.py a week or so back.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread Edward K. Ream
On Mon, Aug 11, 2014 at 8:00 AM, Jacob Peck  wrote:
> This morning I fixed up my GUI plugins to use leoQt:

Thanks!

> The following plugins still have PyQt4 specific imports:
[snip]
> Of particular interest are nav_qt and stickynotes, both of which are enabled
> by default in leoSettings.leo -- making a bad user experience for PyQt5
> users out of the box.  Those two plugins at least should be fixed up soon,
> before we can start suggesting users try Leo with PyQt5.

I agree.  Many thanks for your investigations.

> Also, backlink.py at least has a huge amount of Tkinter code, which can
> likely be excised ;)

Yup.  The less cruft the better.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread dufriz
On Mon, Aug 11, 2014 at 2:00 PM, Jacob Peck  wrote:

>  Dufriz, if you disable all of the above plugins, Leo *should* load for
> you in PyQt5.  YMMV, though ;)
>

BTW Leo already does load in PyQt5, despite the error messages that I
reported.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread Jacob Peck

This morning I fixed up my GUI plugins to use leoQt:

nodetags
nodewatch
printing
sftp

The following plugins still have PyQt4 specific imports:

attrib_edit
nav_qt
notebook
projectwizard
stickynotes
screen_capture
ctagscompleter
screencasts
screenshots
richtext
threadutil
codewisecompleter
bzr_qcommands
quickMove
stickynotes_plus
active_path
backlink
ftp
leomylyn
leoscreen
bigdash

Of particular interest are /nav_qt/ and /stickynotes/, both of which are 
*enabled by default* in leoSettings.leo -- making a bad user experience 
for PyQt5 users out of the box.  Those two plugins at least should be 
fixed up soon, before we can start suggesting users try Leo with PyQt5.


Also, backlink.py at least has a huge amount of Tkinter code, which can 
likely be excised ;)


Dufriz, if you disable all of the above plugins, Leo *should* load for 
you in PyQt5.  YMMV, though ;)


Hope this helps,
-->Jake

On 8/10/2014 9:55 AM, Edward K. Ream wrote:

On Sun, Aug 10, 2014 at 6:06 AM, Dufriz  wrote:

I just want to report that I installed Python 3.4.1 and PyQt5
(PyQt5-5.3.1-gpl-Py3.4-Qt5.3.1-x64) on Windows 8.1, to try Leo on it.
Leo starts with no problems but there is a list of error messages in the
background log windows as well as in Leo's own log pane, caused by the fact
that the PyQt4 module is not found.

Thanks for this report.  Plugins should use the leo.core.leoQt module.

I thought there was an @file leoQt.py node in LeoPyRef.leo, but there
wasn't, so I just now pushed it.

Edward



--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-10 Thread Edward K. Ream
On Sun, Aug 10, 2014 at 6:06 AM, Dufriz  wrote:
> I just want to report that I installed Python 3.4.1 and PyQt5
> (PyQt5-5.3.1-gpl-Py3.4-Qt5.3.1-x64) on Windows 8.1, to try Leo on it.
> Leo starts with no problems but there is a list of error messages in the
> background log windows as well as in Leo's own log pane, caused by the fact
> that the PyQt4 module is not found.

Thanks for this report.  Plugins should use the leo.core.leoQt module.

I thought there was an @file leoQt.py node in LeoPyRef.leo, but there
wasn't, so I just now pushed it.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


PyQt5 problems (plugins requiring PyQt4)

2014-08-10 Thread Dufriz
I just want to report that I installed Python 3.4.1 and PyQt5 
(PyQt5-5.3.1-gpl-Py3.4-Qt5.3.1-x64) on Windows 8.1, to try Leo on it.
Leo starts with no problems but there is a list of error messages in the 
background log windows as well as in Leo's own log pane, caused by the fact 
that the PyQt4 module is not found.
I guess I am going back to PyQt4 and Python 3.3

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.