AlexVerrico / octoprint-stats

Stats for your octoprint instance. Mirrored from https://github.com/amsbr/OctoPrint-Stats originally
14 stars 8 forks source link

[Bug] Plug-in installation process hangs #30

Open JL-EU opened 3 years ago

JL-EU commented 3 years ago

Describe the bug Plug-in installation process hangs. After typing: pip install "https://github.com/AlexVerrico/octoprint-stats/archive/master.zip" the installation process hangs, see enclosed screenshot.

Did install: apt install libatlas-base-dev as advised in documentation.

To Reproduce pip install "https://github.com/AlexVerrico/octoprint-stats/archive/master.zip"

Expected behavior Successful installation

Screenshots Screenshot 2021-06-26 at 11 08 48

Environment information: Version 1.6.1 of OctoPrint in a Docker container on a Raspberrypi3 A+.

Additional context https://community.octoprint.org/t/printer-statistics-plugin-fails-to-install/35231

advanm commented 2 years ago

Hi,

i have the same issue with this plugin. it hangs when ik want to install. My octoprint has already python 3.7.3 (octoprint version 1.7.3) also installed apt install libatlas-base-dev as advised in documentation. do you have any idea when this this issue is solved?

Hottabych- commented 2 years ago

Same here 2022-01-28 21:47:17,583 > Created wheel for OctoPrint-Stats: filename=OctoPrint_Stats-3.1.2-py3-none-any.whl size=870587 sha256=3b41b27de1cc7b8f8f21e9a59373e664d2a8f6b54cec37928df353c6b94cb272 2022-01-28 21:47:17,583 > Stored in directory: /tmp/pip-ephem-wheel-cache-zam2kh2i/wheels/98/40/a4/556144bb95e4a27c8ec122706b1d82c57c244fa3cc9afc723a 2022-01-28 21:47:17,583 > Building wheel for numpy (PEP 517): started 2022-01-28 21:48:36,652 > Building wheel for numpy (PEP 517): still running... 2022-01-28 21:49:36,704 > Building wheel for numpy (PEP 517): still running... 2022-01-28 21:50:36,765 > Building wheel for numpy (PEP 517): still running... 2022-01-28 21:51:41,868 > Building wheel for numpy (PEP 517): still running... 2022-01-28 21:53:17,436 > Building wheel for numpy (PEP 517): still running...

and then 'stop' the raspi due to a load of near 100%; SSH not possible; it seems at that point system services get 100% CPU time and the Rapi gets unusable.

AlexVerrico commented 2 years ago

@advanm @Hottabych- can you please provide some more info about how you are running Octoprint? eg. on a windows pc, using docker on a raspberry pi, using the standard octopi image, etc.

Hottabych- commented 2 years ago

Hi AlexVerrico, thank you for your question. I've installed Octroprint with a fresh installation on a RaspberryPi Zero 2 W; using the standard octopi image. I've some other plugins installed before (which works). If that is in you interest I can provide the list. Best

AlexVerrico commented 2 years ago

G'Day @Hottabych-. Thanks for that info, could you try running the following command on the Raspberry Pi (using SSH) and then try installing the plugin again? ~/oprint/bin/pip install --upgrade pip setuptools wheel Cheers, Alex.

Hottabych- commented 2 years ago

Hi Alex, shure I can do that, but earliest this evening when I'm back at home. I will report the result. Best

Hottabych- commented 2 years ago

Hi Alex, not successful I'm sorry to say. But I've added some screenshots and log. Your provided command run successful: OP-Stats Error

TOP during normal run OP-Stats TOP Normal

TOP during the error state: see swap memory! (but other Plugin installation work) OP-Stats TOP Error

pluiginlog; I stoppend after ~20min install time plugin_pluginmanager_console.log Thank you for your help

platini76 commented 2 years ago

me too installation on samsung s8+

hayden-t commented 2 years ago

same problem here Created wheel for OctoPrint-Stats: filename=OctoPrint_Stats-3.1.3-py3-none-any.whl size=870626 sha256=0b1b6398cca94fe8083a8f0ea5532773ee91c1d116f34cc9a2acbbcc86c83d75Stored in directory: /tmp/pip-ephem-wheel-cache-cr9cul7e/wheels/aa/b9/4f/7b6a269fdd61e78a12c1f19ed0b0544cb96b7aa502c1c46bf8Building wheel for numpy (PEP 517): startedBuilding wheel for numpy (PEP 517): still running...

MalicT commented 1 year ago

Was looking for a way to monitor power use, and came across this, and getting the same issue, it will not install, just hangs