Comments (12)
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.
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.
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.
from sip_plugins.
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.
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.
Still no luck.
Steps I've tried:
- Disabling and enabling.
- Uninstalling. This doesn't work. it doesn't uninstall.
- 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
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.
Not sure what is causing your problem but I will do some more testing on this end.
Dan
from sip_plugins.
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.
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.
Try installing with pip3.
pip3 install python-telegram-bot
from sip_plugins.
Hmm. A also looked and tried that. I wonder why it's not finding the plugin.
from sip_plugins.
Related Issues (20)
- Using GPIO pins in plugin thread HOT 10
- Internal server error for weather_adj and weather_level_adj HOT 5
- pulse_cct enabled conflicts with Manage Plugins - prevents startup HOT 3
- Weather-based Water Level: Skipped wundergound data because of a parsing error for today HOT 1
- Starting a plugin HOT 4
- How to format MQTT messages for mqtt_schedule plugin HOT 4
- Feature Request- MQTT for Manual Mode HOT 2
- Weather underground free api keys going away HOT 9
- MQTT Plugin - No DOWN or DIED publishing ? HOT 8
- Weather level adjustment not working HOT 17
- TCP remote Water flow/pressure/temperature meter
- i2c based relay board plugin HOT 1
- Keypad manifest refers to wrong filename
- lcd_adj will not appear as an enabled plugin HOT 8
- Absolute path in code HOT 6
- Plugin crashes Thread when using Master Station HOT 3
- Relay plugin fails to load HOT 3
- weather_level_adj : wrong history and calculation HOT 8
- Disabling plugin - how can I catch that event? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sip_plugins.