Giter VIP home page Giter VIP logo

Comments (12)

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

Probably the reason it is not showing up in the plugins menu is because it is not loading.
That plugin has not been updated in a long time. It was contributed by a user when SIP was running under Python2.
I will take a look and see if I can get working.

from sip_plugins.

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

The documentation for the python-telegraph-bot has a note:
"PTB has undergone significant changes in v20. Please read the documentation carefully and also check out the transition guide in the wiki"
It may take a bit of time to update the plugin.

I will post here when it is ready.
Dan

from sip_plugins.

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

OK.
The telegramBot plugin has been updated so it will load.
Just re-install the plugin to get the update.
I have not tested beyond that. The help file is working but the instructions may be a bit out of date.

from sip_plugins.

fringefilmsoz avatar fringefilmsoz commented on September 28, 2024

from sip_plugins.

fringefilmsoz avatar fringefilmsoz commented on September 28, 2024

Hi Dan,
I manually copied over the code in each of the files you modified.
Unfortunately, behavior remains the same, not showing in my dropdown.
Rebooted system, still no luck.

from sip_plugins.

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

I would recommend using the plugin manager to re-install.
I installed the Telegram Bot in a new copy of SIP and It is showing up.

You could also try disabling the plugin and re enabling it.

from sip_plugins.

fringefilmsoz avatar fringefilmsoz commented on September 28, 2024

Still no luck.

Steps I've tried:

  1. Disabling and enabling.
  2. Uninstalling. This doesn't work. it doesn't uninstall.
  3. Deleting the following files manually, and reinstalling from the plugin manager.
    The plugin does re-install and can be enabled/disabled. Even when installed from plugin manager, it can't be uninstalled (even after ensuring it's disabled.) But still, nothing shows in the plugins dropdown.
./plugins/manifests/telegram_bot.manifest
./plugins/telegramBot.py
./plugins/__pycache__/telegramBot.cpython-39.pyc
./static/docs/plugins/telegramBot-docs.html
./templates/telegramBot.html

image

EDIT: Additional info:
I tried resolving: http://sip-system.local/telegramBot-sp
It was not resolved and returned to the SIP home screen.
This is perplexing, as I can see in the /plugins/telegramBot.py seems to have correct url.append config.

from sip_plugins.

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

Not sure what is causing your problem but I will do some more testing on this end.
Dan

from sip_plugins.

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

One thing that may help diagnose the problem would be if you could start SIP from the command line.
when SIP starts it prints some information. If you look just above the list of plugins loaded there will probably be an error message that could provide a clue to what is going on.

Dan

from sip_plugins.

fringefilmsoz avatar fringefilmsoz commented on September 28, 2024

Error is detected.

Ignoring exception while loading the telegramBot plug-in.
No module named 'telegram'

PIP certainly indicates that it is installed.
python-telegram-bot 20.0

from sip_plugins.

Dan-in-CA avatar Dan-in-CA commented on September 28, 2024

Try installing with pip3.
pip3 install python-telegram-bot

from sip_plugins.

fringefilmsoz avatar fringefilmsoz commented on September 28, 2024

Hmm. A also looked and tried that. I wonder why it's not finding the plugin.

from sip_plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.