fetchcord / FetchCord

FetchCord grabs your OS info and displays it as Discord Rich Presence
MIT License
326 stars 21 forks source link

FetchCord won't detect dwm #129

Closed ungeskriptet closed 3 years ago

ungeskriptet commented 3 years ago

Debug info

----run_rpc----

uptime in epoch: 1610381994.0
cpuid: 741918141248045107
cpuappid: 741099939198926920
termappid: 741280043220861030
hostappid: 744326890512318544
1045 (pacman) 
----out.py----

----DE/WM----
[KeyError]: 'DE:'
deid: DE:
wmid: dwm
wmline item 0: dwm 

----TERMINAL----

fontline: Liberation Mono 
termid: 741280043220861030
termline item 0: st 
themeline: Adwaita [GTK2/3] 

----HOST INFO----

hostline: Aspire E5-574G V1.18 
[KeyError]: 'Battery:'
[KeyError]: 'Battery:'
batteryline: Battery: N/A
resline: 1920x1080 

----GPU INFO----

gpuinfo: NVIDIA GeForce 940M
Intel Skylake GT2 [HD Graphics 520]
gpuvendor: nvidiaintel

----CPU INFO----

cpuvendor: intel
cpumodel: Intel i5
cpuinfo: Intel i5-6200U (4) @ 2.800GHz
cpuline item 0: Intel i5-6200U (4) @ 2.800GHz
memline: 1337MiB / 7821MiB 

----OS INFO----

sysosline: Artix Linux x86_64 
sysosid: 741918141248045107
[KeyError]: 'Disk'
diskline: Disk N/A
packagesline item 0: 1045 (pacman) 

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

[KeyError]: 'DE:'
deid: DE:
wmid: dwm

----TERMINAL/SHELL----

termid: 741280043220861030
shellid: zsh

----HOST INFO----

hostid: 742887089179197462

----GPU INFO----

gpuvendor: nvidiaintel

----CPU INFO----

cpumodel: Intel i5

('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 0x7fbb2ac1af10>
[KeyError]: 'DE:'
Unknown DE/WM, contact us on github to resolve this.
cycle 0
[KeyError]: 'DE:'
try_update(key="cycle0") on <pypresence.presence.Presence object at 0x7fbb2ac1af10>
appid: 741918141248045107
{'cycle0': <pypresence.presence.Presence object at 0x7fbb2ac1af10>}
cycle1 not in : True
try_connect(key="cycle1") on <pypresence.presence.Presence object at 0x7fbb2ac1afa0>
cycle 1
try_update(key="cycle1") on <pypresence.presence.Presence object at 0x7fbb2ac1afa0>
appid: 741099939198926920
Closing connection.

Operating system & way of installation

Artix Linux with runit, install with the AUR.

Error/issue

FetchCord tries to detect a DE, fails and won't show dwm on Discord.

Other notes (optional)

It should return N/A for the deid when only dwm is in use.

MrPotatoBobx commented 3 years ago

will try to fix soon, thanks for the report!

BlivionIaG commented 3 years ago

Hello, this should be fixed with the latest release, can you try it ?

ungeskriptet commented 3 years ago

I no longer use dwm, but I can try to set it up and test it out.

ungeskriptet commented 3 years ago

Works now :) 2021-04-09_12-43

Sorry it took so long, I forgot :sweat_smile: