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

Antonio Rojas <aro...@archlinux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |REOPENED
     Ever confirmed|0                           |1
         Resolution|WORKSFORME                  |---

--- Comment #2 from Antonio Rojas <aro...@archlinux.org> ---
Yes, I was using unmodified 24.02.2. Which like line of the backtrace doesn't
match according to you?

Anyway, I just upgraded to 24.04.80 and there's a new error

Traceback (most recent call last):
  File "/usr/bin/kajongg", line 20, in <module>
    from kde import KApplication
  File "/usr/share/kajongg/kde.py", line 12, in <module>
    from kdestub import *  # pylint:
disable=wildcard-import,unused-wildcard-import
    ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kajongg/kdestub.py", line 241, in <module>
    class KDialog(CaptionMixin, QDialog):
  File "/usr/share/kajongg/kdestub.py", line 262, in KDialog
    def setButtons(self, buttonMask:QDialogButtonBox.StandardButtons) ->None:
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'QDialogButtonBox' has no attribute
'StandardButtons'. Did you mean: 'standardButtons'?

After fixing this following the suggestion, I get a slightly different variant
of the previous error

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 199, in __init__
    dialog = Prompt(msg, icon=QMessageBox.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 116, in desktopSize
    assert Internal.mainWindow
           ^^^^^^^^^^^^^^^^^^^
AssertionError

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

Reply via email to