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

error while executing telega command #1

Closed
admirito opened this issue Apr 13, 2018 · 9 comments
Closed

error while executing telega command #1

admirito opened this issue Apr 13, 2018 · 9 comments

Comments

@admirito
Copy link

When I execute the telega command the following message will be shown:

let: Symbol’s function definition is void: telega--root-genbuffer

Is the source code incomplete?

@zevlg
Copy link
Owner

zevlg commented Apr 13, 2018

Yeap, just started project

@admirito
Copy link
Author

Keep up the great work then.

@zevlg
Copy link
Owner

zevlg commented Apr 26, 2018

@mrazavi64 you could try M-x telega RET with last commit, not yet usable, but should not raise errors

@admirito
Copy link
Author

Nice! Now, after putting telega-server in the exec-path, 'M-x telega' asked my phone number, telegram sent me a login code, but it ended up with the following error message:

cond: cl-ecase failed: authorizationStateWaitPassword, (authorizationStateWaitTdlibParameters authorizationStateWaitEncryptionKey authorizationStateWaitPhoneNumber authorizationStateWaitCode authorizationStateReady authorizationStateLoggingOut authorizationStateClosing authorizationStateClosed)

And my buffer is like this:

Status: Auth WaitPassword

[0:All                       ]   [0:Secrets                   ]
[0:Users                     ]   [0:Channels                  ]
[0:Groups                    ]   [0:Bots                      ]

-----------------------------------(all)------------------------------------

Maybe that's because I've enabled two factor authentication.

@zevlg
Copy link
Owner

zevlg commented Apr 26, 2018

Yeah, not implemented password stuff yet

@zevlg
Copy link
Owner

zevlg commented Apr 27, 2018

@mrazavi64 added password based two-factor auth in e0cc4f4

@admirito
Copy link
Author

admirito commented Apr 27, 2018

It was fast, dude!
I can confirm that I was able to use telega command to login with two-factor auth and view the list of chats I had, without any error.
Thank you 😃

@zevlg
Copy link
Owner

zevlg commented Apr 27, 2018

You can practice filtering chats for now, press / ctrl-h in root buffer for help

@admirito
Copy link
Author

Great! I liked the default key bindings. Although / u didn't work for me, everything else worked fine.

@zevlg zevlg closed this as completed in b9e14d5 Apr 27, 2018
zevlg pushed a commit that referenced this issue Dec 27, 2019
Merge pull request #121 from brettgilio/master
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