Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] catfish is broken  (Read 1842 times)

Offline sotnik

  • User
  • Posts: 105
[EN] catfish is broken
« on: 2020/11/24, 11:14:33 »
HelloAfter dist-upgrade on 23-11-2020 catfish broken
Is there a workaround?
Thank you

Code: [Select]
$ catfish
Traceback (most recent call last):
  File "/usr/bin/catfish", line 44, in <module>
    catfish.main()
  File "/usr/lib/python3/dist-packages/catfish/__init__.py", line 78, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/lib/python3/dist-packages/catfish_lib/Window.py", line 171, in __new__
    builder = get_builder(__builder__['ui_file'])
  File "/usr/lib/python3/dist-packages/catfish_lib/helpers.py", line 109, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3/dist-packages/catfish_lib/Builder.py", line 87, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'


Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: catfish is broken
« Reply #1 on: 2020/11/24, 15:17:16 »
I have uploaded a fixed package to our fixes repo.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline sotnik

  • User
  • Posts: 105
Re: catfish is broken
« Reply #2 on: 2020/11/24, 16:48:14 »
Thank you towo but the problem persists.
Code: [Select]
$ catfish
Traceback (most recent call last):
  File "/usr/bin/catfish", line 43, in <module>
    import catfish
  File "/usr/lib/python3/dist-packages/catfish/__init__.py", line 32, in <module>
    from catfish import CatfishWindow
  File "/usr/lib/python3/dist-packages/catfish/CatfishWindow.py", line 50, in <module>
    from catfish.CatfishPrefsDialog import CatfishPrefsDialog
  File "/usr/lib/python3/dist-packages/catfish/CatfishPrefsDialog.py", line 29, in <module>
    from catfish_lib.PrefsDialog import PrefsDialog
  File "/usr/lib/python3/dist-packages/catfish_lib/__init__.py", line 23, in <module>
    from . Window import Window  # noqa
  File "/usr/lib/python3/dist-packages/catfish_lib/Window.py", line 27, in <module>
    from catfish_lib import CatfishSettings
  File "/usr/lib/python3/dist-packages/catfish_lib/CatfishSettings.py", line 23, in <module>
    gi.require_version('Xfconf', '0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Xfconf not available
   

I have no idea what's going on. I even downgraded catfish (from testing) but still it does not work.Probably it has to do with some python upgraded in the morning.
« Last Edit: 2020/11/24, 16:52:03 by sotnik »

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: catfish is broken
« Reply #3 on: 2020/11/24, 16:52:20 »
dpkg -l | grep xfconf
« Last Edit: 2020/11/24, 16:55:35 by towo »
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline sotnik

  • User
  • Posts: 105
Re: catfish is broken
« Reply #4 on: 2020/11/24, 17:58:06 »
Therefore is something with my system

Code: [Select]
dpkg -l | grep xfconf
ii  libxfconf-0-3                               4.14.3-2+b1                     amd64        Client library for Xfce4 configure interface
ii  xfconf                                      4.14.3-2+b1                     amd64        utilities for managing settings in Xfce

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: catfish is broken
« Reply #5 on: 2020/11/24, 18:19:17 »
catfish now relies on gir1.2-xfconf-0.
The new build has it as depend.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline sotnik

  • User
  • Posts: 105
Re: catfish is broken
« Reply #6 on: 2020/11/24, 19:07:22 »
Thank you very much towo
However I don't understand why it didn't get  gir1.2-xfconf-0 as dependency, even when I purged and reinstalled catfish.
Any way. It works now.
               

Offline sotnik

  • User
  • Posts: 105
Re: catfish is broken
« Reply #7 on: 2020/11/24, 21:15:35 »
Wrong msgs deleted. sry
               
« Last Edit: 2020/11/24, 21:50:50 by sotnik »

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: catfish is broken
« Reply #8 on: 2020/11/24, 21:22:55 »
And that has what to do with catfish?
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.