https://bugs.kde.org/show_bug.cgi?id=486171

--- Comment #12 from Andreas Sturmlechner <ast...@gentoo.org> ---
(In reply to Wolfgang Rohdewald from comment #11)
> You are right. Does the patch I just added fix it?

Testing this myself right now, it does get further than before, but ends up
with:

> C:  * Kajongg is not correctly installed: modules: cannot import name 
> 'sip_cast' from 'qt' (/usr/share/kajongg/qt.py)
> Traceback (most recent call last):
>   File "/usr/share/kajongg/kdestub.py", line 115, in desktopSize
>     result = Internal.app.desktop().availableGeometry()
>              ^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'KApplication' object has no attribute 'desktop'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/usr/bin/kajongg", line 189, in <module>
>     from mainwindow import MainWindow
>   File "/usr/share/kajongg/mainwindow.py", line 88, in <module>
>     logError("\n".join(f" * {s}" for s in NOTFOUND), showStack=False)
>   File "/usr/share/kajongg/log.py", line 146, in logError
>     return logMessage(msg, logging.ERROR, True, showStack=showStack, 
> withGamePrefix=withGamePrefix)
>            
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/kajongg/log.py", line 135, in logMessage
>     return Information(msg) if prio == logging.INFO else Sorry(msg, 
> always=True)
>                                                          
> ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/kajongg/dialogs.py", line 193, in __init__
>     dialog = Prompt(msg, icon=QMessageBox.Icon.Information,
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/kajongg/dialogs.py", line 81, in __init__
>     KMessageBox.createKMessageBox(
>   File "/usr/share/kajongg/kdestub.py", line 216, in createKMessageBox
>     desktop = KApplication.desktopSize()
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/kajongg/kdestub.py", line 117, in desktopSize
>     assert Internal.mainWindow
>            ^^^^^^^^^^^^^^^^^^^
> AssertionError

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to