rahiel / telegram-send

Send messages and files over Telegram from the command-line.
https://www.rahielkasim.com/telegram-send/
GNU General Public License v3.0
938 stars 105 forks source link

Faced a weird error today #99

Closed Divyanshu-Modi closed 2 years ago

Divyanshu-Modi commented 2 years ago

Traceback (most recent call last): File "/home/divyanshu/.local/bin/telegram-send", line 5, in from telegram_send.telegram_send import main ModuleNotFoundError: No module named 'telegram_send.telegram_send'; 'telegram_send' is not a package

chrischma commented 2 years ago

interesting! same here! appeared just today!

chrischma commented 2 years ago

just downgraded to version 0.25 with: pip install telegram-send==0.25

everything works fine again. possible the new release is just broken...

Llewellynvdm commented 2 years ago

Same here, also received this error.

Divyanshu-Modi commented 2 years ago

It's fixed now For me temp fix was to use this cmd sed -i s/telegram_send.telegram_send/telegram_send/g $(which telegram-send)

rahiel commented 2 years ago

I just released version 0.29 that should fix this for everyone, I was having some troubles with python packaging.

Fixed in: https://github.com/rahiel/telegram-send/commit/ee385323c559494c2b2a2f194e1e5af75a4a4f36

Divyanshu-Modi commented 2 years ago

I just released version 0.29 that should fix this for everyone, I was having some troubles with python packaging.

Fixed in: ee38532

nice : )