fetchcord / FetchCord

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

Unknown motherboard #198

Open shiipou opened 2 years ago

shiipou commented 2 years ago

Debug info

Please run fetchcord --debug and put it here. You might also want to send the output of neofetch --noart(windows) or neofetch -- stdout(macos&linux)

Requested item

❯ fetchcord --debug
Symlinking XDG_RUNTIME_DIR path for Flatpak Discord.
/home/shiishii/.local/lib/python3.9/site-packages/fetch_cord/resources/default.conf: line 3: syntax error near unexpected token `$'{\r''
/home/shiishii/.local/lib/python3.9/site-packages/fetch_cord/resources/default.conf: line 3: `print_info') {
shiishii@pop-os
---------------
OS: Pop!_OS 21.10 x86_64
Host: OMEN Laptop 15-en1xxx
Kernel: 5.16.15-76051615-generic
Uptime: 55 mins
Packages: 2270 (dpkg), 8 (flatpak), 12 (snap)
Shell: zsh 5.8
Resolution: 1920x1080, 1920x1080
DE: GNOME 40.5
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: alacritty
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
GPU: AMD ATI 07:00.0 Cezanne
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q
Memory: 7620MiB / 31509MiB
[KeyError]: 'Font:'[KeyError]: 'Font:'----run_rpc----

uptime in epoch: 1649227438.0
cpuid: 740660055925587978
cpuappid: 740752899054895105
termappid: 741291339945345045
Unknown motherboard, contact us on github to resolve this.
Value: omen laptop 15-en1xxx
hostappid: 742887089179197462
2270 (dpkg), 8 (flatpak), 12 (snap)
----out.py----

----DE/WM----
deid: GNOME
wmid: Mutter
wmline item 0: Mutter

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
termid: 741291339945345045
termline item 0: alacritty
themeline: Pop
Pop-dark [GTK2/3]

----HOST INFO----

hostline: OMEN Laptop 15-en1xxx
[KeyError]: 'Battery'
[KeyError]: 'Battery'
batteryline: Battery N/A
resline: 1920x1080, 1920x1080

----GPU INFO----

gpuinfo: bash: line 1: glxinfo: command not found
NVIDIA GeForce RTX 3070 Mobile / Max-Q
gpuvendor: nvidiaamd

----CPU INFO----

cpuvendor: amd
cpumodel: Ryzen 7
cpuinfo: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
cpuline item 0: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
memline: 7620MiB / 31509MiB

----OS INFO----

sysosline: Pop!_OS 21.10 x86_64
sysosid: 740660055925587978
[KeyError]: 'Disk'
diskline: Disk N/A
packagesline item 0: 2270 (dpkg), 8 (flatpak), 12 (snap)

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

deid: GNOME
wmid: Mutter

----TERMINAL/SHELL----

termid: 741291339945345045
shellid: zsh

----HOST INFO----

hostid: 742887089179197462

----GPU INFO----

gpuvendor: nvidiaamd

----CPU INFO----

cpumodel: Ryzen 7

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
Unknown motherboard, contact us on github to resolve this.
Value: omen laptop 15-en1xxx
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7fdf4c681f10>
cycle 0
try_update(key="cycle0") on <pypresence.presence.Presence object at 0x7fdf4c681f10>
appid: 740660055925587978

Other notes

❯ neofetch --stdout
shiishii@pop-os
---------------
OS: Pop!_OS 21.10 x86_64
Host: OMEN Laptop 15-en1xxx
Kernel: 5.16.15-76051615-generic
Uptime: 56 mins
Packages: 2270 (dpkg), 8 (flatpak), 12 (snap)
Shell: zsh 5.8
Resolution: 1920x1080, 1920x1080
DE: GNOME 40.5
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: alacritty
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
GPU: AMD ATI 07:00.0 Cezanne
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q
Memory: 7644MiB / 31509MiB
saom88n commented 2 years ago

have the same problem, but it working on Arch.

shiipou commented 2 years ago

Idem, I just tried with arch, that work :

Config ``` shiishii@shiishii-omen-015 -------------------------- OS: Manjaro Linux x86_64 Host: OMEN Laptop 15-en1xxx Kernel: 5.17.1-3-MANJARO Uptime: 2 hours, 40 mins Packages: 1364 (pacman), 4 (flatpak), 7 (snap) Shell: zsh 5.8.1 Resolution: 1920x1080 DE: Plasma 5.24.4 WM: KWin WM Theme: Breeze Theme: [Plasma], Breeze [GTK2/3] Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] Terminal: alacritty CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 4.463GHz GPU: AMD ATI 07:00.0 Cezanne GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q Memory: 8809MiB / 31506MiB Battery0: 99% [Unknown] Disk (/): 60G / 435G (15%) [KeyError]: 'Font:'[KeyError]: 'Font:'[KeyError]: 'Motherboard'----run_rpc---- uptime in epoch: 1652173664 cpuid: 740614258177605642 cpuappid: 740752899054895105 termappid: 741291339945345045 Unknown motherboard, contact us on github to resolve this. Value: omen laptop 15-en1xxx hostappid: 742887089179197462 1364 (pacman), 4 (flatpak), 7 (snap) ----out.py---- ----DE/WM---- deid: Plasma wmid: KWin wmline item 0: KWin ----TERMINAL---- [KeyError]: 'Font:' fontline: Font: N/A termid: 741291339945345045 termline item 0: alacritty themeline: Breeze [Plasma], Breeze [GTK2/3] moboline: HP ----HOST INFO---- hostline: OMEN Laptop 15-en1xxx batteryline: 99% [Unknown] resline: 1920x1080 ----GPU INFO---- gpuinfo: AMD RENOIR NVIDIA GeForce RTX 3070 Mobile / Max-Q gpuvendor: nvidiaamd ----CPU INFO---- cpuvendor: amd cpumodel: Ryzen 7 cpuinfo: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 4.463GHz cpuline item 0: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 4.463GHz memline: 8809MiB / 31506MiB ----OS INFO---- sysosline: Manjaro Linux x86_64 sysosid: 740614258177605642 diskline: /): 60G / 435G (15%) packagesline item 0: 1364 (pacman), 4 (flatpak), 7 (snap) ----testing.py---- ----DE/WM---- deid: Plasma wmid: KWin ----TERMINAL/SHELL---- termid: 741291339945345045 shellid: zsh ----HOST INFO---- hostid: 742887089179197462 ----GPU INFO---- gpuvendor: nvidiaamd ----CPU INFO---- cpumodel: Ryzen 7 ('DEFAULT', ) ('cycle_0', ) ('cycle_1', ) ('cycle_2', ) ('cycle_3', ) {} cycle 0 try_update(key="cycle0") on appid: 740614258177605642 ```
BlivionIaG commented 2 years ago

Interesting, they both find the host line but i guess it's not working so it defaults to get the motherboard info with a command, maybe that one fails on popos ? I need to check