fetchcord / FetchCord

FetchCord grabs your OS info and displays it as Discord Rich Presence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't run on XMonad Arch Linux

KilianSD opened this issue · comments

Debug info

JollyRoger@ArrrOS

OS: Arch Linux x86_64
Host: Inspiron 5737 A04
Kernel: 6.4.8-arch1-1
Uptime: 16 hours, 5 mins
Packages: 1625 (pacman)
Shell: zsh 5.9
Resolution: 1600x900
DE: Xmonad
WM: LG3D
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: alacritty
Terminal Font: Iosevka
CPU: Intel i7-4500U (4) @ 3.000GHz
GPU: Intel Haswell-ULT
Memory: 5388MiB / 7663MiB
Disk (/): 136G / 914G (16%)
[KeyError]: 'Motherboard'----run_rpc----

uptime in epoch: 1691362760
cpuid: 740476198437650473
cpuappid: 741100300219187335
termappid: 741291339945345045
hostappid: 743970870631858288
1625 (pacman)
----out.py----

----DE/WM----
deid: Xmonad
wmid: LG3D
wmline item 0: LG3D

----TERMINAL----

fontline: Iosevka
termid: 741291339945345045
termline item 0: alacritty
themeline: Adwaita [GTK2/3]
moboline: Dell Inc.

----HOST INFO----

hostline: Inspiron 5737 A04
[KeyError]: 'Battery'
[KeyError]: 'Battery'
batteryline: Battery N/A
resline: 1600x900

----GPU INFO----

gpuinfo: Intel Haswell-ULT
gpuvendor: intel

----CPU INFO----

cpuvendor: intel
cpumodel: Intel i7
cpuinfo: Intel i7-4500U (4) @ 3.000GHz
cpuline item 0: Intel i7-4500U (4) @ 3.000GHz
memline: 5388MiB / 7663MiB

----OS INFO----

sysosline: Arch Linux x86_64
sysosid: 740476198437650473
diskline: /): 136G / 914G (16%)
packagesline item 0: 1625 (pacman)

----testing.py----
----DE/WM----

deid: Xmonad
wmid: LG3D

----TERMINAL/SHELL----

termid: 741291339945345045
shellid: zsh

----HOST INFO----

hostid: 742887089179197462

----GPU INFO----

gpuvendor: intel

----CPU INFO----

cpumodel: Intel i7

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7f34275f28d0>
Traceback (most recent call last):
File "/usr/bin/fetchcord", line 33, in
sys.exit(load_entry_point('FetchCord==2.7.8', 'console_scripts', 'fetchcord')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/fetch_cord/main.py", line 123, in main
run.run_loop(computer)
File "/usr/lib/python3.11/site-packages/fetch_cord/run_rpc.py", line 62, in run_loop
self.try_connect(self.loops_indexes[i])
File "/usr/lib/python3.11/site-packages/fetch_cord/run_rpc.py", line 77, in try_connect
self.rpcs[key].connect()
File "/home/JollyRoger/.local/lib/python3.11/site-packages/pypresence/presence.py", line 43, in connect
self.loop.run_until_complete(self.handshake())
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/JollyRoger/.local/lib/python3.11/site-packages/pypresence/baseclient.py", line 128, in handshake
self.sock_reader, self.sock_writer = await asyncio.open_unix_connection(self.ipc_path, loop=self.loop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/streams.py", line 98, in open_unix_connection
transport, _ = await loop.create_unix_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: _UnixSelectorEventLoop.create_unix_connection() got an unexpected keyword argument 'loop'

If you are unable to run FetchCord please run neofetch --noart(windows) or neofetch -- stdout(macos&linux)

Operating system & way of installation

Arch Linux, tried yay -S fetchcord, yay -S fetchcord-testing and pip3 install fetchcord, all of them resulting in the same error.

Error/issue

Unable to run the script