Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not --config, but --configure? but still error. #106

Open
leftside2 opened this issue May 12, 2022 · 1 comment
Open

Not --config, but --configure? but still error. #106

leftside2 opened this issue May 12, 2022 · 1 comment

Comments

@leftside2
Copy link

Today suddenly it didn't work.

So I $ pip install telegram-send # but '--config' stopped working, but requires '--configure'.
So I $ telegram-send --configure [path to BotFather config] "hello test" # but it showed the following prompt:

Talk with the BotFather on Telegram (https://telegram.me/BotFather), create a bot and insert the token
> _

So I did, $ pip install telegram-send==0.25 # it worked like a charm.

Wiered.

@clyra
Copy link

clyra commented May 21, 2022

I have the same issue. It seems that telegram-send is ignoring the --config and just trying to load the default user configuration file:

$ strace  telegram-send --config /config/mytelegram.conf  "foobar"

...
openat(AT_FDCWD, "/root/.config/telegram-send.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(1, "\33[31mConfig not found\33[0m\n", 26Config not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants