-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Error 2.0 #18
Comments
Hello, I got the same here. |
Hi! I go investigate this. I developed this in macOS with Python 2.7.15, and install it on my board OPi Win Plus with Python 2.7.12 @Racailloux please share your log. |
@amsbr : Here they are. |
I have the same error, it keeps saying "pandas: still running..." in the dialog window. |
(Edit: This used to say it took hours. That is not correct! It was maybe half an hour total on a Raspi 3.) Update went through ok for me - it just took very long, constantly showing "pandas: still running...", but in the end it succeeded. Alex |
Yes, "pandas: still running..." is inconvenient. It's because pandas use stats libraries (as numpy), to compile this in arm boards I waited a long time, in my board (2gb ram and 4 cores) I waited 15 minutes. In computer 64bits, minus of 1 minute. But I go to investigate error reported by @Leetspeak1286 and @Racailloux |
Yes, I've just corrected my initial statement as well. It didnt take hours on my Raspi either. No idea why I wrote that :) Alex |
I've got the same issue as Racailloux: RuntimeError: Python version >= 3.5 required. EDIT: On two different ones, both built on differing versions on Octopi over the years. |
Got that same |
Hi @Leetspeak1286 @Racailloux @mloebl @GilDev try run this first:
in your env. Issue related #6667 |
thank you, I wait for 50 mins on my Pi3, and finally its success. |
Hi,
The error log is empty |
Same issue here... Thanks for looking into it. |
@amsbr Same issue on an octoprint, tried to update pandas and numpy through pip3 manually. |
installing nymphy in octoprint enviroment solves the error: |
@christianuhlmann that was good hint, that worked for me. Thanks |
@amsbr The numpy was installed, but I still get the same updating error (see attached logsà. Strange... octoprint.log I had to install pip that is not installed and available by apt or apt-get. |
please use the octoprint enviroment there is pip already available
|
I think @christianuhlmann's solution was what worked for me, thank you! Any way to run the update script again? After 10-15mins my connection via VPN got interrupted, and now no stats and errors in the log :( |
I have the same, at the moment tested |
|
@Michel83 try to install all depency manually.
After plugin install. Install is a long time in arm boards because numpy and pandas is hard for compile. In OctoPrint interface the log display "still running" for a long time +/- 30min (depends board). |
@mloebl the dependency install run during a long time, but after some time show OctoPrint and Stats, pandas are the best library for this stats (and future releases of the plugin), but need a long time for compile |
@amsbr That's what worries me, both say installed: 2019-09-03 18:44:43,767 - octoprint.server.api - ERROR - Error calling SimpleApiPlugin stats |
It's a startup? I observed that a startup show no attribute for 'statDB', but after events (connect, print, etc) the database is generated at log folder. Try it, if only at startup I going to correct this |
Hello Thanks for the support, it dosent work When i now start the Update in Octoprint, at 20 minutes lose the ssh conection and |
I got the same here. |
@amsbr I get the errors in the logs when I go to the PrinterStats sectionin the UI, not at startup. Also trying to figure out now why on every other reboot, Octoprint is coming up in safe mode. |
Hi @jeracom! Do you received message "still running"? |
No just an error message and the installation failed |
Try run command in your venv instance of OctoPrint:
|
ok, solved |
Will a new version be released with a fix or should we move forward with these fixes? Thanks... |
You can proceed with these procedures. I am still evaluating how to minimize the impact of pandas installation. |
Thats good. This is not for people in the area who do not know what they are doing there Greetings, Jens |
Since i have updated to Version 2.0 my Octopi on my RPI3b+ is Very slow! It seems the new Version generates high load on the OCtopi? Best Regards |
I was trying to do a first install (not an update like the issue title says) through octoprint and it failed reproducibly with errors installing pandas. so, no install for me. all the best |
I had the same Update error in the first place. So i tried to reinstall with the newest version and get the same issue now as @planetar |
I have exactly the same issue. Hope it helps understanding the problem... a solution would be, that the whole octoprint code will be converted to python 3.X... |
I've had installed 1.0.0 and was working without issues. An update became available 2.0.0, update failed to installed. Installing plugin "Printer Statistics" from https://github.com/amsbr/OctoPrint-Stats/archive/master.zip...
|
Workaround for now: install / upgrade plugin:
|
Tried this but I still get the RuntimeError: Python version >= 3.5 required error. Other suggestions didn't work either. I've ran the command from Putty. Did I do something wrong here? |
That's weird. I ran it from commandline as well. Do you use other plugins that require pandas and may have updated pandas again? Can you please check your version of pandas by issueing
|
With the procedure above I finally got v2.0 installed. BUT after the install one of the cores of the cpu stayed at 100% resulting in very bad printing. So I had to revert back to previous version. |
Hi, Please try the new release, dedicated to reducing CPU usage, and to fix event registration during print. |
Still didn't work..... Python 3.5 required....
Have a great day!
Tom
…On Thu, Oct 10, 2019 at 9:08 PM Anderson Silva ***@***.***> wrote:
Hi,
Please try the new release, dedicated to reducing CPU usage, and to fix
event registration during print.
2.0.2 <https://github.com/amsbr/OctoPrint-Stats/releases/tag/2.0.2>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=AK2M76Y5RVOXBSQB2QF5EFTQN7N3NA5CNFSM4ISW2RN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA6QEAI#issuecomment-540869121>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2M764H6TNPU4IQY5JHN2TQN7N3NANCNFSM4ISW2RNQ>
.
|
Installing plugin "Printer Statistics" from https://github.com/amsbr/OctoPrint-Stats/archive/master.zip...
|
????
Have a great day!
Tom
…On Sat, Dec 14, 2019 at 5:55 AM bgiovanny ***@***.***> wrote:
Installing plugin "Printer Statistics" from
https://github.com/amsbr/OctoPrint-Stats/archive/master.zip...
/home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install
https://github.com/amsbr/OctoPrint-Stats/archive/master.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple,
https://www.piwheels.org/simple
Collecting https://github.com/amsbr/OctoPrint-Stats/archive/master.zip
Downloading https://github.com/amsbr/OctoPrint-Stats/archive/master.zip
Requirement already satisfied: OctoPrint in
/home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-Stats==2.0.2)
(1.3.12)
Collecting tinydb
Downloading
https://files.pythonhosted.org/packages/9b/83/2d46115b89640e9b85b94df47216547396e94125245dd3ade186036ce976/tinydb-3.15.1-py2.py3-none-any.whl
Collecting pandas
Downloading
https://files.pythonhosted.org/packages/b2/4c/b6f966ac91c5670ba4ef0b0b5613b5379e3c7abdfad4e7b89a87d73bae13/pandas-0.24.2.tar.gz
(11.8MB)
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-n5bIQc/pandas/setup.py'"'"'; *file*='"'"'/tmp/pip-install-n5bIQc/pandas/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(*file*);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, *file*, '"'"'exec'"'"'))'
egg_info --egg-base /tmp/pip-install-n5bIQc/pandas/pip-egg-info
cwd: /tmp/pip-install-n5bIQc/pandas/
Complete output (51 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-n5bIQc/pandas/setup.py", line 746, in
**setuptools_kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/*init*.py",
line 144, in setup
_install_setup_requires(attrs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/*init*.py",
line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/dist.py",
line 720, in fetch_build_eggs
replace_conflicting=True,
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/
*init*.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/
*init*.py", line 1065, in best_match
return self.obtain(req, installer)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/
*init*.py", line 1077, in obtain
return installer(requirement)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/dist.py",
line 787, in fetch_build_egg
return cmd.easy_install(req)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/command/easy_install.py",
line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/command/easy_install.py",
line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/command/easy_install.py",
line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/command/easy_install.py",
line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/command/easy_install.py",
line 1144, in run_setup
run_setup(setup_script, args)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 253, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in *exit*
self.gen.throw(type, value, traceback)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 195, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in *exit*
self.gen.throw(type, value, traceback)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 166, in save_modules
saved_exc.resume()
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 141, in resume
six.reraise(type, exc, self._tb)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 154, in save_modules
yield saved
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 195, in setup_context
yield
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 250, in run_setup
_execfile(setup_script, ns)
File
"/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-Gpmr7K/numpy-1.18.0rc1/setup.py", line 31, in
RuntimeError: Python version >= 3.5 required.
ERROR: Command errored out with exit status 1: python setup.py egg_info
Check the logs for full command output.
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for
generated output
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=AK2M76ZZYKTPFIJE5XRDHE3QYTCR7A5CNFSM4ISW2RN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4A5IA#issuecomment-565710496>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2M76Y5XTDBDRHIKRPPLJ3QYTCR7ANCNFSM4ISW2RNQ>
.
|
When I install the plugin i get that error... |
Thanks.....
The email I received looked like it was an answer to the issue.
I've uninstalled this 'previously great' add-in from both of my
printers.....
Have a great day!
Tom
…On Sat, Dec 14, 2019 at 7:14 AM bgiovanny ***@***.***> wrote:
When I install the plugin i get that error...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=AK2M762ESZFTLRMEPGKNEWLQYTL2HA5CNFSM4ISW2RN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4CIVY#issuecomment-565716055>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2M762BWYZPSXR7TMMFS6DQYTL2HANCNFSM4ISW2RNQ>
.
|
I still get the same error! |
Me too.....
I've uninstalled on both my printers.
Have a great day!
Tom
…On Sat, Dec 14, 2019 at 9:50 AM bgiovanny ***@***.***> wrote:
I still get the same error!
Can you help me solve the problem?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=AK2M767MQWYZ3RSGMPZY5TDQYT6E5A5CNFSM4ISW2RN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4FNLI#issuecomment-565728941>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2M766MWRUIENPPA6FRHL3QYT6E5ANCNFSM4ISW2RNQ>
.
|
I found an solution: https://community.octoprint.org/t/printer-stats-plugin-2-0-0/11877 |
Hello everyone, I tried to install numpy like that but it failed, could you help me.
|
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-oA1iJk/pandas/
Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere
octoprint.log
undplugin_softwareupdate_console.log
für Details.plugin_softwareupdate_console (1).log
octoprint (1).log
The text was updated successfully, but these errors were encountered: