That's what I did! :)

Thanks again!
--
Félix

On Sat, Feb 19, 2022 at 7:33 PM tbp1...@gmail.com <tbp100...@gmail.com>
wrote:

> If merging with devel gets delayed, you could just fix that line yourself
> until then.
>
> On Saturday, February 19, 2022 at 6:08:29 PM UTC-5 Félix wrote:
>
>> Oh no problem then! Thank you for that quick fix Thomas! :)
>>
>> On Saturday, February 19, 2022 at 5:59:35 PM UTC-5 tbp1...@gmail.com
>> wrote:
>>
>>> I've fixed it already, there's a new PR waiting.
>>>
>>> The problem was in a newly added import in leoQt5.py:
>>>
>>> from PyQt5.QtGui import QCloseEvent
>>>
>>> Somehow that leading PyQt5. got lost.
>>>
>>> Sorry for the mistake,  I thought I remembered testing with both qt5 and
>>> qt6, but apparently not with the "final" version.
>>> On Saturday, February 19, 2022 at 5:51:31 PM UTC-5 Félix wrote:
>>>
>>>> > I get the same result without pyqt6.  I don't know, support for pyqt5
>>>> is still supposed to be around for a good while yet, and it was working
>>>> yesterday.
>>>>
>>>> Thanks,
>>>>
>>>> Here are the output i get, starting 'classic' Leo in console just gives
>>>> me "'NoneType' object has no attribute 'gui'"
>>>>
>>>> and trying to start leoserver.py (to use leointeg), the equivalent of
>>>> creating an instance of leoBridge, gives me:
>>>> Error - Cannot start server: stderr: Traceback (most recent call last):
>>>>   File "/home/felix/leo-editor/leo/core/leoQt.py", line 38, in <module>
>>>>     from leo.core.leoQt6 import *
>>>>   File "/home/felix/leo-editor/leo/core/leoQt6.py", line 12, in <module>
>>>>     from PyQt6 import QtCore, QtGui, QtWidgets
>>>> ModuleNotFoundError: No module named 'PyQt6'
>>>>
>>>> During handling of the above exception, another exception occurred:
>>>>
>>>> Traceback (most recent call last):
>>>>   File "/home/felix/leo-editor/leo/core/leoQt.py", line 51, in <module>
>>>>     from leo.core.leoQt5 import *  # type:ignore
>>>>   File "/home/felix/leo-editor/leo/core/leoQt5.py", line 14, in <module>
>>>>     from QtGui import QCloseEvent
>>>> ModuleNotFoundError: No module named 'QtGui'
>>>>
>>>> During handling of the above exception, another exception occurred:
>>>>
>>>> Traceback (most recent call last):
>>>>   File "/home/felix/leo-editor/leo/core/leoserver.py", line 4004, in
>>>> <module>
>>>>     main()
>>>>   File "/home/felix/leo-editor/leo/core/leoserver.py", line 3954, in
>>>> main
>>>>     controller = LeoServer() # Single instance of LeoServer, i.e., an
>>>> instance of leoBridge
>>>>   File "/home/felix/leo-editor/leo/core/leoserver.py", line 364, in
>>>> __init__
>>>>     import leo.core.leoApp as leoApp
>>>>   File "/home/felix/leo-editor/leo/core/leoApp.py", line 23, in <module>
>>>>     from leo.core.leoQt import QCloseEvent
>>>>   File "/home/felix/leo-editor/leo/core/leoQt.py", line 56, in <module>
>>>>     if g.app.gui.guiName() == 'qt':
>>>> AttributeError: 'NoneType' object has no attribute 'gui'
>>>> --
>>>> Félix
>>>> On Saturday, February 19, 2022 at 5:37:19 PM UTC-5 tbp1...@gmail.com
>>>> wrote:
>>>>
>>>>> I get the same result without pyqt6.  I don't know, support for pyqt5
>>>>> is still supposed to be around for a good while yet, and it was working
>>>>> yesterday.
>>>>>
>>>>> On Saturday, February 19, 2022 at 5:31:38 PM UTC-5 Félix wrote:
>>>>>
>>>>>> Is support for qt5 already gone?
>>>>>>
>>>>>> --
>>>>>> Félix
>>>>>>
>>>>> --
> 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/54c6eeb5-0e54-4bbc-820a-643b9e0e114en%40googlegroups.com
> <https://groups.google.com/d/msgid/leo-editor/54c6eeb5-0e54-4bbc-820a-643b9e0e114en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAC%3DZVR%2B-Yk9zNbGFPtXZZ6i9Fd8KHn0ue%2BDc8-WW5M22AyRExQ%40mail.gmail.com.

Reply via email to