fabianonline / OctoPrint-Telegram

Plugin for octoprint to send status messages and receive commands via Telegram messenger.
311 stars 114 forks source link

upgrade from Telegram Notifications (1.5.0) to 1.6.2 not successful on Octoprint Version 1.4.0-rc6 #322

Open supercazzola opened 3 years ago

supercazzola commented 3 years ago

Even after correcting the URL as noted by@H3ndrik-Jan, https://github.com/fabianonline/OctoPrint-Telegram/issues/318, the install appears to finish successfully, but the plugin never appears on the left side of the Settings window of Octoprint. Is there a reason 1.5.0 works and 1.6.2 doesn't with this older version of Octoprint ?

giloser commented 3 years ago

Hi,

I didn't get any problem with the link and I'm cannot say for the older version of Octoprint.

maybe you can send a log of the failed installation?

thanks

supercazzola commented 3 years ago

I will try to get some logs, but the install doesn’t appear to fail (there are no messages to indicate problem). It is just that after install, after reboot of system (or restart of octoprint), the plugin is not listed under the left side, so you can not make any adjustments to it. Is it clear? I can try to duplicate and save the logs, but the machine is currently in a long print, and as you know, the plugin manager is disabled during printing. Thank you


The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.

On Nov 19, 2020, at 01:43, giloser notifications@github.com wrote:

 Hi,

I didn't get any problem with the link and I'm cannot say for the older version of Octoprint.

maybe you can send a log of the failed installation?

thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

giloser commented 3 years ago

no problem it can wait

supercazzola commented 3 years ago

Here is the log entry from when it appears to successfully install (after manually correcting the URL as F3bian mentioned and running command via command line ):

2020-11-18 12:51:03,180 /home/pi/oprint/bin/python -m pip install https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip 2020-11-18 12:51:07,691 > Collecting https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip 2020-11-18 12:51:08,195 ! HTTP error 404 while getting https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip 2020-11-18 12:51:08,196 ! Could not install requirement https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip because of error 404 Client Error: Not Found for url: https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip 2020-11-18 12:51:08,204 ! Could not install requirement https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip because of HTTP error 404 Client Error: Not Found for url: https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip for URL https://github.com/fabianonline/OctoPrint-Telegram/releases/release.zip 2020-11-18 12:51:08,708 ! You are using pip version 9.0.1, however version 20.2.4 is available. 2020-11-18 12:51:08,709 ! You should consider upgrading via the 'pip install --upgrade pip' command. 2020-11-18 12:51:52,640 /home/pi/oprint/bin/python -m pip install https://github.com/fabianonline/OctoPrint-Telegram/releases/download/1.6.2/release.zip 2020-11-18 12:51:57,017 > Collecting https://github.com/fabianonline/OctoPrint-Telegram/releases/download/1.6.2/release.zip 2020-11-18 12:51:58,021 > Downloading https://github.com/fabianonline/OctoPrint-Telegram/releases/download/1.6.2/release.zip (109kB) 2020-11-18 12:52:04,302 > Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,303 > Requirement already satisfied: pillow in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,304 > Requirement already satisfied: Flask-Login<0.3,>=0.2.2 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Login-0.2.11-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,304 > Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Babel-0.9-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,305 > Requirement already satisfied: scandir<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages/scandir-1.3-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,306 > Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Assets-0.10-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,306 > Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,307 > Requirement already satisfied: rsa<3.3,>=3.2 in /home/pi/oprint/lib/python2.7/site-packages/rsa-3.2.3-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,308 > Requirement already satisfied: PyYAML<3.11,>=3.10 in /home/pi/oprint/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,308 > Requirement already satisfied: flask<0.11,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,311 > Requirement already satisfied: tornado==4.0.2 in /home/pi/oprint/lib/python2.7/site-packages/tornado-4.0.2-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,312 > Requirement already satisfied: sarge<0.2,>=0.1.4 in /home/pi/oprint/lib/python2.7/site-packages/sarge-0.1.4-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,313 > Requirement already satisfied: pkginfo<1.3,>=1.2.1 in /home/pi/oprint/lib/python2.7/site-packages/pkginfo-1.2.1-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,314 > Requirement already satisfied: netifaces<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/netifaces-0.10.6-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,315 > Requirement already satisfied: Jinja2<2.9,>=2.8 in /home/pi/oprint/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,315 > Requirement already satisfied: chainmap<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages/chainmap-1.0.2-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,316 > Requirement already satisfied: sockjs-tornado<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages/sockjs_tornado-1.0.3-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,317 > Requirement already satisfied: future<0.16,>=0.15 in /home/pi/oprint/lib/python2.7/site-packages/future-0.15.2-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,318 > Requirement already satisfied: psutil<3.3,>=3.2.1 in /home/pi/oprint/lib/python2.7/site-packages/psutil-3.2.2-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,318 > Requirement already satisfied: pyserial<2.8,>=2.7 in /home/pi/oprint/lib/python2.7/site-packages/pyserial-2.7-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,319 > Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,320 > Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Principal-0.3.5-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,320 > Requirement already satisfied: watchdog<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,321 > Requirement already satisfied: Click<6.3,>=6.2 in /home/pi/oprint/lib/python2.7/site-packages/click-6.2-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,322 > Requirement already satisfied: pylru<1.1,>=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages/pylru-1.0.9-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,339 > Requirement already satisfied: netaddr<0.8,>=0.7.17 in /home/pi/oprint/lib/python2.7/site-packages/netaddr-0.7.19-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,344 > Requirement already satisfied: requests<2.8,>=2.7 in /home/pi/oprint/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,346 > Requirement already satisfied: markdown<2.7,>=2.6.4 in /home/pi/oprint/lib/python2.7/site-packages/Markdown-2.6.11-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,347 > Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages/awesome_slugify-1.6.5-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,348 > Requirement already satisfied: semantic-version<2.5,>=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages/semantic_version-2.4.2-py2.7.egg (from OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,348 > Requirement already satisfied: Babel>=1.0 in /home/pi/oprint/lib/python2.7/site-packages/Babel-2.5.3-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,349 > Requirement already satisfied: speaklater>=1.2 in /home/pi/oprint/lib/python2.7/site-packages/speaklater-1.3-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,349 > Requirement already satisfied: webassets>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/webassets-0.12.1-py2.7.egg (from Flask-Assets<0.11,>=0.10->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,350 > Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages/pyasn1-0.4.2-py2.7.egg (from rsa<3.3,>=3.2->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,351 > Requirement already satisfied: itsdangerous>=0.21 in /home/pi/oprint/lib/python2.7/site-packages/itsdangerous-0.24-py2.7.egg (from flask<0.11,>=0.9->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,351 > Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages/certifi-2018.1.18-py2.7.egg (from tornado==4.0.2->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,352 > Requirement already satisfied: backports.ssl_match_hostname in /home/pi/oprint/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg (from tornado==4.0.2->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,352 > Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages/MarkupSafe-1.0-py2.7-linux-armv7l.egg (from Jinja2<2.9,>=2.8->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,353 > Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages/blinker-1.4-py2.7.egg (from Flask-Principal<0.4,>=0.3.5->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,353 > Requirement already satisfied: argh>=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages/argh-0.26.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,354 > Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages/pathtools-0.1.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,354 > Requirement already satisfied: regex in /home/pi/oprint/lib/python2.7/site-packages/regex-2018.2.21-py2.7-linux-armv7l.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,355 > Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages/Unidecode-0.4.21-py2.7.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,357 > Requirement already satisfied: pytz>=0a in /home/pi/oprint/lib/python2.7/site-packages/pytz-2018.3-py2.7.egg (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-Telegram==1.6.2) 2020-11-18 12:52:04,358 > Installing collected packages: OctoPrint-Telegram 2020-11-18 12:52:04,359 > Running setup.py install for OctoPrint-Telegram: started 2020-11-18 12:52:07,532 > Running setup.py install for OctoPrint-Telegram: finished with status 'done' 2020-11-18 12:52:07,533 > Successfully installed OctoPrint-Telegram-1.6.2 2020-11-18 12:52:08,203 ! You are using pip version 9.0.1, however version 20.2.4 is available. 2020-11-18 12:52:08,204 ! You should consider upgrading via the 'pip install --upgrade pip' command.

supercazzola commented 3 years ago

So it appears to install, however, it never appears on the left side under installed plugins, so that you could set the options.

kornflex commented 3 years ago

Hello,

Same problem for me with octoprint 1.5.2 :/

giloser commented 3 years ago

hi there is this still a problem with the new version?

thanks

supercazzola commented 3 years ago

hi there is this still a problem with the new version?

thanks

If you are asking me, I can try sometime this week. But unless things changed, I can’t see it installing

giloser commented 3 years ago

I asked anybody with the same problem yes. and it's a new version so yes some things have changed.

billedeclown01 commented 3 years ago

hello i have the same issue with octoprint 1.6.1 the plugin is installed successfully but i cant see it. When the install is over i have a notification from octoprint "install:unknown" insted of "install:"