-
Notifications
You must be signed in to change notification settings - Fork 96
ModuleNotFoundError: No module named 'diskcache' #451
Comments
Are you using the image? If so, download the newest one. because the sb-upgrade script was not set up to handle the virtual environment that was introduced under V1.7.0 of the image. If not, how did you do the upgrade? |
Got the same error this morning after performing an update with git, then trying to run ./scripts/install.sh. Selected the upgrade option and the process stopped stating there was nothing to upgrade as it was already version 1.8.2. This is not the image, but from Riff's git page. I then performed I have Azroth's version also installed on the same card and it too has an error this morning.
I'll have to switch to the MLB for the day! |
The onIce error is related to a change in the way the api formats it's data. Riff is working a a fix for that. As for the disk cache thing you are best off with starting with a brand new install of the newest image rather than trying to update from 1.7.x. The upgrade script doesn't account for the venv in the old version. |
So I
So I downloaded the new image. When I went to flash it on a 4GB SD card, BeleanaEtcher complained there was not enough space...330MB space needed. I didn't have a larger card on hand so I installed the older image...from a couple days ago and updated using the sb-upgrade tool. Will get a larger SD card and try it again. |
Yah, bookworm lite seems to be bigger. In order to build the image, I needed 4gb of space. I haven't looked into making it smaller just yet. |
Flashed the new image to a 32GB card and the only thing I did was connect to wifi. Ran though setup...selected Team and enabled Supervisor. This is the error I'm getting now. d-scoreboard/src/data/scoreboard.py", line 152, in init |
This nhl is changing stuff on the fly. It will be fixed when possible. |
No worries. Just wanted to report findings. Thanks for all the work being done on this project! |
Happy to report….it looks like the board is up and working. Awesome work!
From: azaroth08 ***@***.***>
Sent: Thursday, March 7, 2024 9:02 PM
To: riffnshred/nhl-led-scoreboard ***@***.***>
Cc: richmyers ***@***.***>; Author ***@***.***>
Subject: Re: [riffnshred/nhl-led-scoreboard] ModuleNotFoundError: No module named 'diskcache' (Issue #451)
The onIce error is related to a change in the way the api formats it's data. Riff is working a a fix for that.
This nhl is changing stuff on the fly. It will be fixed when possible.
—
Reply to this email directly, view it on GitHub <#451 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASNMSK2EYX7QW5T3IEJWORTYXES23AVCNFSM6AAAAABELHMGKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUHE3DCMJYGQ> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ASNMSK3NXYKYNZB67DRL543YXES23A5CNFSM6AAAAABELHMGKOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTWKANKA.gif> Message ID: ***@***.*** ***@***.***> >
…--
This email has been checked for viruses by Avast antivirus software.
www.avast.com
|
Have noticed the past few days....sometimes it works....sometimes it never progresses past loading. NHL still making it difficult? |
Describe the bug
Updated 1.7.x to latest version. Testmatrix script works perfectly. I see the goalpost animation....missing the Loading text....and then display is blank.
Logs
(https://paste.ubuntu.com/p/br5vjvX9tf/)
utils import get_file
File "/home/pi/nhl-led-scoreboard/src/utils.py", line 5, in
import diskcache as dc
ModuleNotFoundError: No module named 'diskcache'
Traceback (most recent call last):
File "/home/pi/nhl-led-scoreboard/src/main.py", line 4, in
from data.scoreboard_config import ScoreboardConfig
File "/home/pi/nhl-led-scoreboard/src/data/scoreboard_config.py", line 1, in
from utils import get_file
File "/home/pi/nhl-led-scoreboard/src/utils.py", line 5, in
import diskcache as dc
Your config file
A screen shot of your config.json file can be really useful to help you.
Hardware you are using
Software
The text was updated successfully, but these errors were encountered: