fetchcord / FetchCord

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

changing names w/changing seperator character causes fetchcord to fail getting info #106

Closed apprehensions closed 2 years ago

apprehensions commented 3 years ago

Debug info

----out.py----

----DE/WM----
deid: N/A
wmid: N/A
wmline item 0: ['WM: N/A']

----TERMINAL----

fontline: ['Font: N/A']
termid: N/A
termline item 0: Terminal: N/A
themeline: Theme: N/A

----HOST INFO----

hostline: Host: N/A
batteryline: Battery: N/A
resline: Resolution: N/A

----GPU INFO----

gpuinfo: GPU: N/A
gpuvendor: N/A

----CPU INFO----

cpuvendor: N/A
cpumodel: N/A
cpuinfo: CPU: N/A
cpuline item 0: ['CPU: N/A']
memline: Memory: N/A

----OS INFO----

sysosline: OS: N/A
sysosid: N/A
diskline: Disk: N/A
packagesline item 0: Packages: N/A
Unknown GPU, contact us on github to resolve this.
Unknown DE/WM, contact us on github to resolve this.
Unknown shell, contact us on github to resolve this.
Unknown Host, contact us on github to resolve this.(Keyerror)
Unsupported Terminal. contact us on github to resolve this.(Keyerror)
Unsupported Distro, contact us on the GitHub page to resolve this.(keyerror)

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

deid: N/A
wmid: N/A

----TERMINAL/SHELL----

termid: N/A
shellid: unknown

----HOST INFO----

hostid: o

----GPU INFO----

gpuvendor: N/A

----CPU INFO----

cpumodel: N/A

Connecting
----run_rpc----

uptime in epoch: 1604316515.0
cpuid: 742993278143692821
cpuappid: 742887089179197462
termappid: 745691250186911796
hostappid: 742887089179197462
Packages: N/A
('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
RPC Connection Successful.

neofetch

wael@bxrry 
os > Manjaro Linux x86_64 
host > Z390 GAMING X 
kern > Linux 5.8.16-2-MANJARO 
up > 46m 
pkgs > 1404 (pacman) 
sh > zsh 5.8 
res > 1920x1080 @ 59.94Hz 
de > GNOME 3.36.6 
wm > Mutter 
WM Theme > Adwaita 
gtk > FlatColor [GTK2/3] 
icons > Papirus-Dark [GTK2/3] 
term > kitty 
Terminal Font > Iosevka 15.0 
cpu > i5-9400F (6) [31.0°C] 
gpu > NVIDIA GeForce GTX 1050 Ti 
mem > 3.21GiB / 23.43GiB 
disk (/) > 41G / 103G

Operating system & way of installation

Please provide your operating system, and how you got FetchCord(AUR, github,pip) here fetchcord is from pip, manjaro. fetchcord only works if the names of the hardware aka

info "kern" kernel

kern/name must be the default name which neofetch putted > "Kernel"

secondly, the seperator

separator=" >"

must be ":" without a space at all. or else it will refuse to function.

apprehensions commented 3 years ago

rather make it go for

info "kern" kernel

rather than the name

BlivionIaG commented 3 years ago

Changing the separator name is indeed a problem, i'm currently making the 2.7.x version, i'll load the embeded neofetch config if it fails on the normal one, though since the new architecture will make easier for it, i think its feasible for 2.8 to do with whatever separator. For now, the goal of 2.7 is to work as good as 2.6 but with new architecture who is easier to maintain.