Merged in devel this morning. On Saturday, February 19, 2022 at 9:18:05 PM UTC-5 Félix wrote:
> That's what I did! :) > > Thanks again! > -- > Félix > > On Sat, Feb 19, 2022 at 7:33 PM [email protected] <[email protected]> > 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 [email protected] >>> 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 [email protected] >>>>> 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 [email protected]. >> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/20f23eb8-9b8f-42f4-b837-7fa4cd95031cn%40googlegroups.com.
