Re: Please test the ekr-2882-qt-only2 branch

2024-03-27 Thread Thomas Passin
I got the same results using the qt-only2 branch.

On Wednesday, March 27, 2024 at 7:49:52 PM UTC-4 Thomas Passin wrote:

> Oops, the last two were tested with devel, not the qt-only-2 branch..  
> I'll have to go back and repeat the test.
>
> On Wednesday, March 27, 2024 at 3:57:11 PM UTC-4 Thomas Passin wrote:
>
>> Some more Linux results:
>> ubuntu
>> nav, console ok.  vr3 image problem
>> XUbuntu
>> nav, console ok.  vr3 image problem
>>
>> OpenSUSE
>> needs libQt6WebEngineCore6, libQt6Quick6
>> After installing them, Leo still couldn't start.  Those libQt6xx
>> libraries were installed by zypper to /usr/lib64 but pyqt6
>> wants version `Qt_6_PRIVATE_API' 
>>
>> Fedora
>> seems ok, vr3 images seem ok
>>
>> On Monday, March 25, 2024 at 12:51:20 PM UTC-4 Edward K. Ream wrote:
>>
>>> On Monday, March 25, 2024 at 6:37:36 AM UTC-5 Edward K. Ream wrote:
>>>
>>> The "ekr-2882-qt-only2" branch is ready for testing. See PR #3828 
>>> .
>>>
>>>
>>> This PR is a milestone: it removes all vestiges of Qt5 from Leo's 
>>> codebase. As a result, much stronger mypy annotations are possible, but 
>>> improved annotations will be the subject of a follow-on PR.
>>>
>>>
>>> A recent rev makes the QSci module optional for the time being. This rev 
>>> also improves the message that appears if Leo fails to load.
>>>
>>> I'll fix the nits Thomas has reported and merge the PR later today or 
>>> tomorrow.
>>>
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c72a21af-ef88-4832-85a8-c62efbe80ff4n%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-27 Thread Thomas Passin
Oops, the last two were tested with devel, not the qt-only-2 branch..  I'll 
have to go back and repeat the test.

On Wednesday, March 27, 2024 at 3:57:11 PM UTC-4 Thomas Passin wrote:

> Some more Linux results:
> ubuntu
> nav, console ok.  vr3 image problem
> XUbuntu
> nav, console ok.  vr3 image problem
>
> OpenSUSE
> needs libQt6WebEngineCore6, libQt6Quick6
> After installing them, Leo still couldn't start.  Those libQt6xx
> libraries were installed by zypper to /usr/lib64 but pyqt6
> wants version `Qt_6_PRIVATE_API' 
>
> Fedora
> seems ok, vr3 images seem ok
>
> On Monday, March 25, 2024 at 12:51:20 PM UTC-4 Edward K. Ream wrote:
>
>> On Monday, March 25, 2024 at 6:37:36 AM UTC-5 Edward K. Ream wrote:
>>
>> The "ekr-2882-qt-only2" branch is ready for testing. See PR #3828 
>> .
>>
>>
>> This PR is a milestone: it removes all vestiges of Qt5 from Leo's 
>> codebase. As a result, much stronger mypy annotations are possible, but 
>> improved annotations will be the subject of a follow-on PR.
>>
>>
>> A recent rev makes the QSci module optional for the time being. This rev 
>> also improves the message that appears if Leo fails to load.
>>
>> I'll fix the nits Thomas has reported and merge the PR later today or 
>> tomorrow.
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/dfdbda83-4082-4f30-ae27-b08c091706fan%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-27 Thread Thomas Passin
Some more Linux results:
ubuntu
nav, console ok.  vr3 image problem
XUbuntu
nav, console ok.  vr3 image problem

OpenSUSE
needs libQt6WebEngineCore6, libQt6Quick6
After installing them, Leo still couldn't start.  Those libQt6xx
libraries were installed by zypper to /usr/lib64 but pyqt6
wants version `Qt_6_PRIVATE_API' 

Fedora
seems ok, vr3 images seem ok

On Monday, March 25, 2024 at 12:51:20 PM UTC-4 Edward K. Ream wrote:

> On Monday, March 25, 2024 at 6:37:36 AM UTC-5 Edward K. Ream wrote:
>
> The "ekr-2882-qt-only2" branch is ready for testing. See PR #3828 
> .
>
>
> This PR is a milestone: it removes all vestiges of Qt5 from Leo's 
> codebase. As a result, much stronger mypy annotations are possible, but 
> improved annotations will be the subject of a follow-on PR.
>
>
> A recent rev makes the QSci module optional for the time being. This rev 
> also improves the message that appears if Leo fails to load.
>
> I'll fix the nits Thomas has reported and merge the PR later today or 
> tomorrow.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f870519a-8f06-4003-bc87-7c0a8ba9d71en%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Edward K. Ream
On Monday, March 25, 2024 at 6:37:36 AM UTC-5 Edward K. Ream wrote:

The "ekr-2882-qt-only2" branch is ready for testing. See PR #3828 
.


This PR is a milestone: it removes all vestiges of Qt5 from Leo's codebase. 
As a result, much stronger mypy annotations are possible, but improved 
annotations will be the subject of a follow-on PR.


A recent rev makes the QSci module optional for the time being. This rev 
also improves the message that appears if Leo fails to load.

I'll fix the nits Thomas has reported and merge the PR later today or 
tomorrow.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a03105ca-b1a4-462e-b75b-9698c61a6452n%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Thomas Passin
Both Nav and Python Console are present on Linux Manjaro. Also, on Debian 
and Mint, if VR3 tries and fails to display an image, it stops working 
until Leo is restarted.  This hasn't happened as yet on Manjaro.

Lint is derived from Debian.  I wonder if they have something in common 
that's related?

On Monday, March 25, 2024 at 9:49:55 AM UTC-4 Edward K. Ream wrote:

> On Mon, Mar 25, 2024 at 8:45 AM Thomas Passin  wrote:
>
> Nav tab is missing on Debian, Python Console tab is missing on Linux 
>> Mint.  No apparent error messages.
>>
>
> Thanks for your testing!  Now I'll definitely delay the merge.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c097efbe-2dbb-4129-81bc-191f9fc82f18n%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Edward K. Ream
On Mon, Mar 25, 2024 at 8:45 AM Thomas Passin  wrote:

Nav tab is missing on Debian, Python Console tab is missing on Linux Mint.
> No apparent error messages.
>

Thanks for your testing!  Now I'll definitely delay the merge.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3e4sVrWf7p87aahLK5oVzYn0Rn3y4%3D%2BTaD-_u8cN1ppg%40mail.gmail.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Edward K. Ream
On Mon, Mar 25, 2024 at 8:25 AM Thomas Passin  wrote:

What is Leo using QScintilla for?
>

For alternative syntax coloring, iirc.

BTW, the best way to install requirements is:

cd leo-editor
pip install -r requirements.txt

I've been talking to Rebecca about the transition process. The more I think
about it, the more subtle it becomes :-)

The obvious thing to do would be to make QScintilla optional again. But I
*really* don't want to do that now because it could interfere with mypy
annotations.  Otoh, leoQt.py probably should print an error message before
dying :-)

In short: I'll try various options before merging the Qt6-only PR.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0V_v3nSsWNXLZseOG5E3ob4Q6dQkU%3D-O7MU0r3HbF4rQ%40mail.gmail.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Thomas Passin
Nav tab is missing on Debian, Python Console tab is missing on Linux Mint.  
No apparent error messages.

On Monday, March 25, 2024 at 9:25:25 AM UTC-4 Thomas Passin wrote:

> What is Leo using QScintilla for?
>
> On Monday, March 25, 2024 at 9:21:00 AM UTC-4 Thomas Passin wrote:
>
>> That took care of the problem and the branch of Leo now runs on Ubuntu.  
>> Also, VR3 opens.
>>
>> On Monday, March 25, 2024 at 9:05:18 AM UTC-4 Edward K. Ream wrote:
>>
>>> On Mon, Mar 25, 2024 at 7:47 AM Thomas Passin  wrote:
>>>
 Fails on Ubuntu:

 *cannot import name 'Qsci' from 'PyQt6' 
 (/home/tom/.local/lib/python3.10/site-packages/PyQt6/__init__.py)*

>>>
>>> Good catch. My apologies for the confusion.
>>>
>>> This is a documentation error or a "transition" problem, depending on 
>>> your point of view.
>>>
>>> It's easy to fix: *pip install PyQt6-QScintilla *
>>>
>>> I say this is a transition problem because requirements.txt now 
>>> includes PyQt6-QScintilla.
>>>
>>> There's no automatic way to avoid the extra dependency. Otoh, Leo 6.7.9 
>>> will provide the dependency automatically.
>>>
>>> *Summary*
>>>
>>> *Everyone *who uses GitHub should run *pip install PyQt6-QScintilla *
>>>
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/b6bd6ecb-f58c-487c-abac-96af26336f5an%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Thomas Passin
What is Leo using QScintilla for?

On Monday, March 25, 2024 at 9:21:00 AM UTC-4 Thomas Passin wrote:

> That took care of the problem and the branch of Leo now runs on Ubuntu.  
> Also, VR3 opens.
>
> On Monday, March 25, 2024 at 9:05:18 AM UTC-4 Edward K. Ream wrote:
>
>> On Mon, Mar 25, 2024 at 7:47 AM Thomas Passin  wrote:
>>
>>> Fails on Ubuntu:
>>>
>>> *cannot import name 'Qsci' from 'PyQt6' 
>>> (/home/tom/.local/lib/python3.10/site-packages/PyQt6/__init__.py)*
>>>
>>
>> Good catch. My apologies for the confusion.
>>
>> This is a documentation error or a "transition" problem, depending on 
>> your point of view.
>>
>> It's easy to fix: *pip install PyQt6-QScintilla *
>>
>> I say this is a transition problem because requirements.txt now includes 
>> PyQt6-QScintilla.
>>
>> There's no automatic way to avoid the extra dependency. Otoh, Leo 6.7.9 
>> will provide the dependency automatically.
>>
>> *Summary*
>>
>> *Everyone *who uses GitHub should run *pip install PyQt6-QScintilla *
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/6e75ccf4-d024-490c-af54-938b014a8c19n%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Thomas Passin
That took care of the problem and the branch of Leo now runs on Ubuntu.  
Also, VR3 opens.

On Monday, March 25, 2024 at 9:05:18 AM UTC-4 Edward K. Ream wrote:

> On Mon, Mar 25, 2024 at 7:47 AM Thomas Passin  wrote:
>
>> Fails on Ubuntu:
>>
>> *cannot import name 'Qsci' from 'PyQt6' 
>> (/home/tom/.local/lib/python3.10/site-packages/PyQt6/__init__.py)*
>>
>
> Good catch. My apologies for the confusion.
>
> This is a documentation error or a "transition" problem, depending on your 
> point of view.
>
> It's easy to fix: *pip install PyQt6-QScintilla *
>
> I say this is a transition problem because requirements.txt now includes 
> PyQt6-QScintilla.
>
> There's no automatic way to avoid the extra dependency. Otoh, Leo 6.7.9 
> will provide the dependency automatically.
>
> *Summary*
>
> *Everyone *who uses GitHub should run *pip install PyQt6-QScintilla *
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/bb69f912-6aa9-4cb7-9ea3-76681ef9aeean%40googlegroups.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Edward K. Ream
On Mon, Mar 25, 2024 at 7:47 AM Thomas Passin  wrote:

> Fails on Ubuntu:
>
> *cannot import name 'Qsci' from 'PyQt6'
> (/home/tom/.local/lib/python3.10/site-packages/PyQt6/__init__.py)*
>

Good catch. My apologies for the confusion.

This is a documentation error or a "transition" problem, depending on your
point of view.

It's easy to fix: *pip install PyQt6-QScintilla *

I say this is a transition problem because requirements.txt now includes
PyQt6-QScintilla.

There's no automatic way to avoid the extra dependency. Otoh, Leo 6.7.9
will provide the dependency automatically.

*Summary*

*Everyone *who uses GitHub should run *pip install PyQt6-QScintilla *

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0ofQXZ_HUHQOTRw34AsUc%2BqT_PR%2BVds%2BPX%2BmDch3Xvmw%40mail.gmail.com.


Re: Please test the ekr-2882-qt-only2 branch

2024-03-25 Thread Thomas Passin
Fails on Ubuntu:

*cannot import name 'Qsci' from 'PyQt6' 
(/home/tom/.local/lib/python3.10/site-packages/PyQt6/__init__.py)*

*** Leo could not be started ***

Please verify you've installed the required dependencies:



On Monday, March 25, 2024 at 7:37:36 AM UTC-4 Edward K. Ream wrote:

> The "ekr-2882-qt-only2" branch is ready for testing. See PR #3828 
> .
>
>
> This PR is a milestone: it removes all vestiges of Qt5 from Leo's 
> codebase. As a result, much stronger mypy annotations are possible, but 
> improved annotations will be the subject of a follow-on PR.
>
>
> Thomas has raised three minor issues about this PR. I'll resolve these 
> issues before merging the PR. I thank Thomas for his careful review.
>
>
> I'll merge this PR later today or tomorrow. We'll continue our testing 
> after the merge.
>
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/264dc3e9-8db1-400c-8c79-5e830db2ae90n%40googlegroups.com.