Telegram 1.5.0 Installed ... but Not? (UPDATE: Located issue on GitHub)

EDIT: Looks like an issue with 1.4.1rc2 and beyond; I found the issue on GitHub

At some point, the Telegram Plug-in stopped working and I've discovered that it's disappeared from the installed plugin list. I've attempted to reinstall it, which appears to complete successfully, but the dialog shows this:
image

The octoprint log file also shows that the plugin was installed but shows a warning:

2020-07-31 15:31:56,811 - octoprint.plugins.pluginmanager - INFO - Installing plugin from https://github.com/fabianonline/OctoPrint-Telegram/archive/stable.zip
2020-07-31 15:31:57,295 - octoprint.plugin.core - ERROR - Error loading plugin telegram
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 972, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 5, in <module>
    from flask.ext.babel import gettext
ImportError: No module named ext.babel
2020-07-31 15:32:02,090 - octoprint.plugin.core - ERROR - Error loading plugin telegram
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 972, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 5, in <module>
    from flask.ext.babel import gettext
ImportError: No module named ext.babel
2020-07-31 15:32:02,245 - octoprint.plugins.pluginmanager - WARNING - The plugin was installed successfully, but couldn't be found afterwards to initialize properly during runtime. Please restart OctoPrint.
2020-07-31 15:32:02,249 - octoprint.util - WARNING - Could not delete temporary directory /tmp/tmp_y6Nbl: [Errno 21] Is a directory: '/tmp/tmp_y6Nbl'

Had this problem on 1.4.1rc3 and an update to rc4 did not resolve it ...

It's not an issue with Octoprint - it's an issue with the plugin.
The author uses a deprecated method which has been removed in new versions of flask/babel, that OctoPrint 1.4.1 now depends on.

Well I'd rather have Telegram than OctoPrint 1.4.1 so I guess it's time to figure out how to downgrade.

There's a fix for the Telegram plugin ... https://github.com/fabianonline/OctoPrint-Telegram/issues/244#issuecomment-659382633

@yaksha42 and @DodgeDeBoulet The new version has been released, you may have to 'force check for updates' or manually re-install the plugin.

See also https://github.com/fabianonline/OctoPrint-Telegram/issues/269

How do I force check for updates?

When I try to install from Plugin Repository and from the URL (https://github.com/fabianonline/OctoPrint-Telegram/archive/stable.zip) it is installing 1.5.0 instead of 1.5.1.

Octoprint-Telegram

Try this instead:

https://github.com/szobov/OctoPrint-Telegram/archive/master.zip
1 Like

That worked, thanks. All of my settings were brought back as well.