Open miaow2 opened 7 years ago
change_user_group: can't find the user telegramd to switch to
: this is #81.
So the actual error is
pytg.exceptions.FailException: Error 38: 'can not parse arg #1' (command "[disable_preview] msg miaow2 '/stock'\n")
Strange, [disable_preview]
should still work
is that problem solved? Because I m facing the same issue
@acanacar
Could you try the command manually in the CLI, and report back if that works?
In the log as DEBUG:pytg.sender:Sending command >
<
.
Also try with the CLI the same way as pytg does it,
See INFO:pytg:Starting Telegram Executable:
Tell me what works for you, if different to what pytg did. Also debug logs and your system configuration (uname -a
, python --version
) wouldn't hurt.
I've faced this problem and it seems to be from CLI, when you get the history from cli directly you get error: {"result": "FAIL", "error_code": 78, "error": "can not parse arg #1"}
But when you do a contact_list
first and then get history it returns the history and now the script could be run it seems to a problem with the CLI
Same issue for me
Send dialog_list in telegram-cli, then start to use pytg should fix the problem. At least it works for me...
The problem
I have simple script that sending a message, but sometimes it sends message, sometimes not
Your environment
Fill out your used versions:
3.4.3
<!-- $ python --version; -->0.4.10
Ubuntu 14.04.2 LTS
Steps to reproduce
my code is:
Actual behaviour
Debug for fail to send message