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

Arch: various crashes on first run #148

Closed
classabbyamp opened this issue Jul 20, 2020 · 7 comments
Closed

Arch: various crashes on first run #148

classabbyamp opened this issue Jul 20, 2020 · 7 comments

Comments

@classabbyamp
Copy link

crashes if .local/share/tg/all.log is missing

crashes if PHONE isn't in the correct format

@paul-nameless
Copy link
Owner

It should create log directory at first run if no configuration file detected
https://github.com/paul-nameless/tg/blob/master/tg/config.py

I guess you've had config file already?

@classabbyamp
Copy link
Author

ah, I made the config file before the first run

@lightme16
Copy link
Collaborator

I think we should still create missing log dir if config file already exists to avoid such problems in future.

@paul-nameless
Copy link
Owner

What was the problem with PHONE format?

@classabbyamp
Copy link
Author

there was no documentation as to how to format it (+x-xxx-xxx-xxxx for example), and there was no error handling so the program crashed with a raw traceback that just said the phone number was not in the correct format

@paul-nameless
Copy link
Owner

@classabbyamp were there any errors with missing ~/.cache/tg/ directory? Or only with local/share one?

@classabbyamp
Copy link
Author

I don't think so

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

3 participants