cp2004 / OctoPrint-WS281x_LED_Status

Add some RGB LEDs to your printer for a quick status update!
https://plugins.octoprint.org/plugins/ws281x_led_status
GNU Affero General Public License v3.0
111 stars 26 forks source link

Install is not Working, how can I fix it? #84

Closed IonDari closed 3 years ago

IonDari commented 3 years ago
E: Unable to locate package https://github.com/cp2004/OctoPrint-WS281x_LED_Status/archive
E: Couldn't find any package by glob 'https://github.com/cp2004/OctoPrint-WS281x_LED_Status/archive'
E: Couldn't find any package by regex 'https://github.com/cp2004/OctoPrint-WS281x_LED_Status/archive'

These are the error messages. Please help me to get it working or fix the issue.

cp2004 commented 3 years ago

The URL that you have used to install it is broken. Outline to me exactly what steps you used to get to this place.

IonDari commented 3 years ago

I typed "sudo apt-get install https://github.com/cp2004/OctoPrint-WS281x_LED_Status/archive/master.zip" because with the plugin manager it also wasnt working it keept loading and did nothing so i tried this method and got me to this errors. Thats the url that i found in your setup guide, none butt all of the urls i can find wouldnt work either. Thanks for the quick response.

cp2004 commented 3 years ago

It doesn't say to use sudo apt-get install anywhere on that guide, and that will not work. It needs to be installed from the plugin manager (find it in the list of available plugins) or enter that URL into the 'From URL' box within OctoPrint.

If the plugin manager is not working for you, then you should fix that rather than try random commands you think of - you could cause all sorts of problems continuing the way you are.

IonDari commented 3 years ago

Ive made backups before but when I paste the link in the plugin manager also nothing happens, Ive tried it with sudo apt-get install to see if it can get the package but it clouldnt. Its the same with the plugin manager. I spent 4 hours trying to install it because it is exactly what i want.

cp2004 commented 3 years ago

Upload the octoprint.log and we will see why the plugin manager will not work.

IonDari commented 3 years ago

ok just wait a moment

IonDari commented 3 years ago

octoprint.log image

Nothing in the log and I tried it for another time. And yes, the last time I let it run for almost half an hour and it still looked the same when I came back.

IonDari commented 3 years ago

It is also a clean OctoPrint installation. And it has connection to the Internet and I tried to restart the Pi for several times.

cp2004 commented 3 years ago

That log you've uploaded seems to be nearly 10 days old, please try and find a newer one. It is dated 2021-01-05.

If that is the latest one, then I would suggest it doesn't have an internet connection since there is a lot of internet-related errors in the log.

In addition, it is reporting the version as 1.3.12 which is technically too old for this plugin, where the minimum OctoPrint version is 1.4.0. Please try updating OctoPrint to 1.5.2 to see if it fixes your issues.

IonDari commented 3 years ago

yeah I see its strange because Ive setup octopi today and a completly formatted the sd card XD

IonDari commented 3 years ago

octoprint (5).log

Here is the new one

cp2004 commented 3 years ago

It appears that your OctoPrint instance doesn't have an internet connection. Yes, you managed to install plugins previously, but that is probably an issue. There is a bug (since fixed, not released) in OctoPrint where it doesn't handle HTTP errors properly.

If you fully believe that it can access the internet (hint: it can't, it says so in the log) then you can use the following command to do what the plugin manager does, outside it. Please note that if there is no internet connection, then I cannot help you further and that will need to be fixed first.

~/oprint/bin/pip install https://github.com/cp2004/OctoPrint-WS281x_LED_Status/releases/latest/download/release.zip
IonDari commented 3 years ago

Thank you so much for helping me, the pip version was outdated

IonDari commented 3 years ago

I also have a hint for you: 2021-01-14 20:24:46,871 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online what's up with that line?!