[Bug 1981147] Re: [SRU] giara fails to start

Robie Basak 1981147 at bugs.launchpad.net
Tue Feb 6 16:30:57 UTC 2024


Uploaded with minor changelog tweak as discussed. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1981147

Title:
  [SRU] giara fails to start

Status in giara package in Ubuntu:
  Fix Released
Status in giara source package in Jammy:
  Confirmed

Bug description:
  [ Impact ]

  giara is completely unusable as it will fail with the below error
  whenever any user tries to run "giara":

  Traceback (most recent call last):
    File "/usr/bin/giara", line 87, in <module>
      from giara import __main__
    File "/usr/lib/python3/dist-packages/giara/__main__.py", line 25, in <module>
      from giara.app_window import AppWindow
    File "/usr/lib/python3/dist-packages/giara/app_window.py", line 4, in <module>
      from giara.main_ui import MainUI
    File "/usr/lib/python3/dist-packages/giara/main_ui.py", line 5, in <module>
      from giara.main_deck import MainDeck
    File "/usr/lib/python3/dist-packages/giara/main_deck.py", line 2, in <module>
      from giara.left_stack import LeftStack
    File "/usr/lib/python3/dist-packages/giara/left_stack.py", line 3, in <module>
      from giara.sections_stack import SectionsStack
    File "/usr/lib/python3/dist-packages/giara/sections_stack.py", line 3, in <module>
      from giara.markdown_view import MarkdownView
    File "/usr/lib/python3/dist-packages/giara/markdown_view.py", line 20, in <module>
      class PangoRenderer(mistune.HTMLRenderer):
  AttributeError: module 'mistune' has no attribute 'HTMLRenderer'

  [ Test Plan ]

  * Execute "giara"
  * if its not fixed then it will fail as the error above
  * With fixed package the "giara" window will be displayed.

  [ Where problems could occur ]

  This is no change in the code, only a patch introduced in Debian has
  been removed which is not needed in Ununtu. So, the chances of
  regressionan are very less. Also, currently its completely unusable,
  there can not be a bigger regression than that.

  [ Other Info ]

  The Debian patch which is removed in this change was updating it to
  use a later version of python3-mistune. But the version of
  python3-mistune in Jammy is 2.0.0-1+really0.8.4-1 wich is actally the
  old mistune 0.8.4-1 and so the Debian patch is not needed in Jammy.

  [ Original Bug Description ]

  giara fails to start with backtrace:
  Traceback (most recent call last):
    File "/usr/bin/giara", line 87, in <module>
      from giara import __main__
    File "/usr/lib/python3/dist-packages/giara/__main__.py", line 25, in <module>
      from giara.app_window import AppWindow
    File "/usr/lib/python3/dist-packages/giara/app_window.py", line 4, in <module>
      from giara.main_ui import MainUI
    File "/usr/lib/python3/dist-packages/giara/main_ui.py", line 5, in <module>
      from giara.main_deck import MainDeck
    File "/usr/lib/python3/dist-packages/giara/main_deck.py", line 2, in <module>
      from giara.left_stack import LeftStack
    File "/usr/lib/python3/dist-packages/giara/left_stack.py", line 3, in <module>
      from giara.sections_stack import SectionsStack
    File "/usr/lib/python3/dist-packages/giara/sections_stack.py", line 3, in <module>
      from giara.markdown_view import MarkdownView
    File "/usr/lib/python3/dist-packages/giara/markdown_view.py", line 20, in <module>
      class PangoRenderer(mistune.HTMLRenderer):
  AttributeError: module 'mistune' has no attribute 'HTMLRenderer'

  Description:	Ubuntu 22.04 LTS
  Release:	22.04

  giara:
    Installed: 0.3-3
    Candidate: 0.3-3
    Version table:
   *** 0.3-3 500
          500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
          100 /var/lib/dpkg/status

  python3-mistune:
    Installed: 2.0.0-1+really0.8.4-1
    Candidate: 2.0.0-1+really0.8.4-1
    Version table:
   *** 2.0.0-1+really0.8.4-1 500
          500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/giara/+bug/1981147/+subscriptions




More information about the Ubuntu-sponsors mailing list