teams-bot init always fails the first time #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Behavior
teams-bot init
, when I scan the QR code, it performs a normal secure-join.Actual Behavior
teams-bot init
the first time, the secure-join protocol just doesn't complete. Thevg-request
message is moved into the DeltaChat folder and stays there.teams-bot init
a second time and try again with a newly generated QR code (and chat group), it suddenly works.Steps to Reproduce
5f86566f41
pass generate -n delta/testrun.org/$addr
(can also be nine.testrun.org for example, buttestrun.org
needs to be in the pass path atm because ofteamsbot-deploy.py
)venv
, runpyinfra servers/bomba/inventory.py servers/bomba/teamsbot-deploy.py
export $(cat ~/.env | xargs) && ~/.local/lib/teams-bot.venv/bin/teams-bot init -v
export $(cat ~/.env | xargs) && ~/.local/lib/teams-bot.venv/bin/teams-bot init -v
againlog output (first run):
Arrived mails at this point:
After that, nothing happens.
I have tested and confirm that it indeed does not work. Reproducing is very easy. I created a virtual environment, installed teams-bot there and ran
teams-bot init --email somelogin@c2.testrun.org --password somepassword
, then tried to join with my primary account, twice. Once it did not work, ^C and restart the bot, scan again - it worked.pip freeze
output for reference:Made a fix: missytake/teams-bot#15