Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu packaging is missing python3-gi-cairo dependency #722

Closed
rhelmot opened this issue May 24, 2023 · 2 comments
Closed

Ubuntu packaging is missing python3-gi-cairo dependency #722

rhelmot opened this issue May 24, 2023 · 2 comments

Comments

@rhelmot
Copy link

rhelmot commented May 24, 2023

I installed hamster on a brand new ubuntu 23.04 system through apt and it failed to launch:

Traceback (most recent call last):
  File "/bin/hamster", line 149, in on_activate_window
    self._open_window(action.get_name(), data)
  File "/bin/hamster", line 184, in _open_window
    self.overview_controller = Overview()
                               ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hamster/overview.py", line 451, in __init__
    self.fact_tree = FactTree()
                     ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hamster/widgets/facttree.py", line 279, in __init__
    self.date_label = Label(10, 3)
                      ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hamster/widgets/facttree.py", line 57, in __init__
    self.layout = pangocairo.create_layout(self._label_context)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'could not find foreign type Context'

Installing python3-gi-cairo fixed the issue.

I'm not sure if this is the right place to report packaging issues, but I'd gladly take a pointer to such a place if this isn't it!

@GeraldJansen
Copy link
Contributor

@rhertzog I reported this here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036661.

@matthijskooijman
Copy link
Member

Note that this was recently already fixed in the README in this repo: #703. Since there's nothing more to do here, and the report has been forwarded (thanks @GeraldJansen) to Debian (where the Ubuntu package comes from), so I'll go ahead and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants