Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Catfish won't work [SOLVED} (Read 1767 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Catfish won't work [SOLVED}

Code: [Select]
Unable to init server: Could not connect: Connection refused
Unable to init server: Не могу да се повежем: Connection refused
Traceback (most recent call last):
  File "/usr/bin/catfish", line 43, in <module>
    import catfish
  File "/usr/lib/python3.9/site-packages/catfish/__init__.py", line 32, in <module>
    from catfish import CatfishWindow
  File "/usr/lib/python3.9/site-packages/catfish/CatfishWindow.py", line 52, in <module>
    from catfish.CatfishPrefsDialog import CatfishPrefsDialog
  File "/usr/lib/python3.9/site-packages/catfish/CatfishPrefsDialog.py", line 29, in <module>
    from catfish_lib.PrefsDialog import PrefsDialog
  File "/usr/lib/python3.9/site-packages/catfish_lib/__init__.py", line 23, in <module>
    from . Window import Window  # noqa
  File "/usr/lib/python3.9/site-packages/catfish_lib/Window.py", line 27, in <module>
    from catfish_lib import CatfishSettings
  File "/usr/lib/python3.9/site-packages/catfish_lib/CatfishSettings.py", line 26, in <module>
    Xfconf.init()
gi.repository.GLib.Error: g-io-error-quark: Не могу да самопокренем Д-сабирницу без „X11 $DISPLAY“ (0)

Admin note: Please use code tags.


EDIT: 4.16.2 is working now.

Re: Catfish won't work

Reply #1
Quote
Traceback (most recent call last):
  File "/usr/bin/catfish", line 44, in <module>
    catfish.main()
  File "/usr/lib/python3.9/site-packages/catfish/__init__.py", line 78, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/lib/python3.9/site-packages/catfish_lib/Window.py", line 173, in __new__
    builder = get_builder(__builder__['ui_file'])
  File "/usr/lib/python3.9/site-packages/catfish_lib/helpers.py", line 87, in get_builder
    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
  File "/usr/lib/python3.9/site-packages/catfish_lib/catfishconfig.py", line 50, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
  File "/usr/lib/python3.9/site-packages/catfish_lib/catfishconfig.py", line 67, in get_data_path
    raise project_path_not_found
catfish_lib.catfishconfig.project_path_not_found

 (run as non root)

Admin note: Please use code tags.

Re: Catfish won't work

Reply #2
Make sure that dbus is running. There should be 2 dbus processes running, 1 on the system started by your init, and the other as your user started by your WM/DE.
Chris Cromer

Re: Catfish won't work

Reply #3
Code: [Select]
root      1230     1  0 09:28 ?        00:00:00 supervise-daemon dbus --start /usr/bin/dbus-daemon -- --system --nofork --nopidfile
dbus      1231  1230  0 09:28 ?        00:00:00 /usr/bin/dbus-daemon --system --nofork --nopidfile
linux     2658     1  0 09:29 ?        00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
linux     2659     1  0 09:29 ?        00:00:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
linux     2691  2686  0 09:29 ?        00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
root      3374  3013  0 09:31 pts/0    00:00:00 grep --colour=auto dbus

Admin note: Please use code tags.

Re: Catfish won't work

Reply #4
Same problem with catfish

Code: [Select]
$ ps -aux | grep dbus
root      1586  0.0  0.0   3360     0 ?        S    06:48   0:00 supervise-daemon dbus --start /usr/bin/dbus-daemon -- --system --nofork --nopidfile
dbus      1588  0.0  0.0   5132  1648 ?        Ss   06:48   0:00 /usr/bin/dbus-daemon --system --nofork --nopidfile
jp        2134  0.0  0.0   5272   464 ?        S    06:48   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
jp        2135  0.0  0.0   4740  1208 ?        Ss   06:48   0:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
jp        2173  0.0  0.0   4440  1632 ?        S    06:48   0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
jp        8606  0.0  0.0   6444  2188 pts/0    S+   09:49   0:00 grep --colour=auto dbus

Admin note: Please use code tags.


Re: Catfish won't work

Reply #6
Can I install specific version of Catfish, or I should downgrade ?
 Tried to install version that you mentioned, but without any sucess.


Re: Catfish won't work

Reply #8
For now, I have reverted to version 4.16.0-4 which works.

I have a question if I am right.
Before catfish was not in Artix Repo. Since yesterday it ist available.
So I installed it, but I get the Error

Code: [Select]
kindsprozess /build/catfish/pkg/catfish/usr/bin/catfisch konnte nicht ausgeführt werden

What is to do?

Thx TM
CPU: AMD Ryzen 7 4800H
GPU: NVIDIA GeForce GTX 1650 Ti mobile
loaded: amdgpu,ati,modesetting,nouveau
Kernel: up to date
DM: Xfce

Re: Catfish won't work

Reply #9
Hello,

I have a question if I am right.
Before catfish was not in Artix Repo. Since yesterday it ist available.
catfish is available in two repositories:

Code: [Select]
$ pacman -Ss catfish
galaxy/catfish 4.16.1-1 [installé: 4.16.0-4]
    Versatile file searching tool
community/catfish 4.16.1-1 [installé: 4.16.0-4]
    Versatile file searching tool


Quote
So I installed it, but I get the Error

Code: [Select]
kindsprozess /build/catfish/pkg/catfish/usr/bin/catfisch konnte nicht ausgeführt werden

What is to do?
While waiting for the problem to be resolved on the catfish side, I downgraded to the previous version.
It's not the best solution, but it works.
Maybe a new update will be released soon?
Otherwise, I can always report this problem to the developers of catfish.




Re: Catfish won't work

Reply #10
Thank you. So I have to wait till there is an solution.

Info:
I have only one version, because before catfish was noch available in the Artix Repos.
I don't have activate the Arch Repos.

My Version is from galaxy. It seems this was the version by default. Because I only typed pacman -S catfisch and didn't choose anything.


CPU: AMD Ryzen 7 4800H
GPU: NVIDIA GeForce GTX 1650 Ti mobile
loaded: amdgpu,ati,modesetting,nouveau
Kernel: up to date
DM: Xfce

Re: Catfish won't work

Reply #11
Try:
 sudo pacman -Syy catfish
within the next few hours (allowing for mirror servers to sync); Package catfish-4.16.2-1 has just been build and pushed into the Artix galaxy repo. It should not show the error at startup anymore.

Re: Catfish won't work

Reply #12
Try:
 sudo pacman -Syy catfish
within the next few hours (allowing for mirror servers to sync); Package catfish-4.16.2-1 has just been build and pushed into the Artix galaxy repo. It should not show the error at startup anymore.
I confirm: catfish 4.16.2 works for me.
Thank you for the info !

Re: Catfish won't work

Reply #13
Thank you.
 Ok, I made yesterday (/.bash_history)
Code: [Select]
sudo pacman -Sy
sudo pacman -S catfish

Today with
Code: [Select]
sudo pacman -Syy catfish
every thing is ok.


CPU: AMD Ryzen 7 4800H
GPU: NVIDIA GeForce GTX 1650 Ti mobile
loaded: amdgpu,ati,modesetting,nouveau
Kernel: up to date
DM: Xfce