Closed TabulateJarl8 closed 3 years ago
Thank you, i'm already aware of the issue, I am currently working on a fix but I don't have the time for two or three day.
Hello, so i tried to track the error and i stopped getting it for some reason today (i don't know why), can you try this version ? pip install FetchCord-2.7.0-py3-none-any.whl
(unzip the file i gave you first)
FetchCord-2.7.0-py3-none-any.whl.zip
Have a nice day.
I got this error, when i looked in your manifest of that branch, you had spelled resources
as ressources
Traceback (most recent call last):
File "/home/tabulate/.local/bin/fetchcord", line 5, in <module>
from fetch_cord.__main__ import main
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/__main__.py", line 5, in <module>
from .run_rpc import Run_rpc
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/run_rpc.py", line 8, in <module>
from .config import ConfigError, load_config
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/config.py", line 10, in <module>
from . import resources as fc_resources
ImportError: cannot import name 'resources' from 'fetch_cord' (/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/__init__.py)
I've fixed the error in #114 and now when I build it myself and install that, after about 30 seconds I get this error:
('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
Traceback (most recent call last):
File "/home/tabulate/.local/bin/fetchcord", line 8, in <module>
sys.exit(main())
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/__main__.py", line 100, in main
run.run_loop(computer)
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/run_rpc.py", line 63, in run_loop
func(self, self.loops_indexes[i], computer)
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/cycles.py", line 126, in cycle1
bottom_line = computer.gpu
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/computer/Computer.py", line 124, in gpu
temp.append(gpu.model.lstrip().rstrip())
File "/home/tabulate/.local/lib/python3.8/site-packages/fetch_cord/computer/gpu/Gpu_interface.py", line 14, in model
return self._model
AttributeError: 'Gpu_intel' object has no attribute '_model'
Wait how ? I renamed everything to "resources" on 2.7, that error is normal i forgot to add intel gpu stuff ^^, Edit : my bad i forgot about manifest
Would you like me to update my PR do use resources
instead of ressources
?
Or make a new one because I see that you've merged my existing one. I've already made the changes, I would just have to create one
Well in theory now things should be fixed (until something else breaks)
FetchCord-2.7.0-py3-none-any.whl.zip (Or from 2.7 branch)
It made it through all of the cycles successfully except there was an error on the battery stage, but it's unrelated to this issue and I know the cause. Should I start a new issue or keep going on this one?
Ill create a new one since its a different issue. Marking this as closed
Sorry, i got that issue now ^^ thats sad, i asked some help on pypresence server, since I can't understand the error, i successfully "reproduced" the error in some code snippet.
Ok, so i found a way to dodge the problem, though the code should have worked, so i'm closing it for now
Debug info
Operating system & way of installation
I'm using Manjaro and I've installed FetchCord with pip,
pip3 install fetchcord
Error/issue
I installed FetchCord and NeoFetch, and ran it. It works for about 30 seconds and then gets this error:
Tell me if you need any more information