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

Still cannot use login #300

Closed
vmario89 opened this issue Mar 17, 2019 · 4 comments
Closed

Still cannot use login #300

vmario89 opened this issue Mar 17, 2019 · 4 comments
Labels
bug: regression Something isn't working, but it used to work before
Milestone

Comments

@vmario89
Copy link

Hi,

with latest rc4 i still cannot use login, because a stacktrace is thrown:

Traceback (most recent call last):
File "/opt/matrix-bridges/mautrix-telegram/lib/python3.6/site-packages/mautrix_telegram/commands/handler.py", line 373, in handle
await handler(evt)
File "/opt/matrix-bridges/mautrix-telegram/lib/python3.6/site-packages/mautrix_telegram/commands/handler.py", line 289, in call
return await self._handler(evt)
File "/opt/matrix-bridges/mautrix-telegram/lib/python3.6/site-packages/mautrix_telegram/commands/telegram/auth.py", line 128, in login
url = f"{prefix}/login?token={evt.public_website.make_token(evt.sender.mxid, '/login')}"
AttributeError: 'NoneType' object has no attribute 'make_token'

what am i doing wrong? :(

kind regards, Mario

@tulir tulir added the bug: regression Something isn't working, but it used to work before label Mar 17, 2019
@tulir tulir added this to the 0.5.0 milestone Mar 17, 2019
@tulir
Copy link
Member

tulir commented Mar 17, 2019

Oh right, that got into rc4. Should be already fixed in master by 7e3c892.

@tulir tulir closed this as completed Mar 17, 2019
@vmario89
Copy link
Author

Hi,

i installed now directly from git master, but the error still occures:

Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: [2019-03-18 04:59:56,977] [[email protected]] Unhandled error while handling command login from @matrixadmin:matr
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: Traceback (most recent call last):
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: File "/opt/matrix-bridges/mautrix-telegram/lib/python3.6/site-packages/mautrix_telegram/commands/handler.py", lin
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: await handler(evt)
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: File "/opt/matrix-bridges/mautrix-telegram/lib/python3.6/site-packages/mautrix_telegram/commands/handler.py", lin
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: return await self._handler(evt)
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: File "/opt/matrix-bridges/mautrix-telegram/lib/python3.6/site-packages/mautrix_telegram/commands/telegram/auth.py
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: url = f"{prefix}/login?token={evt.public_website.make_token(evt.sender.mxid, '/login')}"
Mär 18 04:59:56 h2606131.stratoserver.net mautrix-telegram.sh[12893]: AttributeError: 'NoneType' object has no attribute 'make_token'

@tulir
Copy link
Member

tulir commented Mar 18, 2019

Are you sure you installed the latest version? I can't reproduce it anymore

@vmario89
Copy link
Author

i killed everything and made it up again. now it works. please close this issue. regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: regression Something isn't working, but it used to work before
Development

No branches or pull requests

2 participants