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

first run of twacapic fails #22

Open
pekasen opened this issue Oct 14, 2022 · 0 comments
Open

first run of twacapic fails #22

pekasen opened this issue Oct 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pekasen
Copy link
Member

pekasen commented Oct 14, 2022

The first run of twacapic fails if the results-directory is not present.

❯ twacapic 
Hello friend …
Please enter your API key:XXX
Please enter your API secret:XXX
Traceback (most recent call last):
  File "/home/user/repos/twacapic/.venv/bin/twacapic", line 5, in <module>
    run()
  File "/home/user/repos/twacapic/twacapic/main.py", line 95, in run
    one_run(args.userlist, args.groupname, args.group_config)
  File "/home/user/repos/twacapic/twacapic/main.py", line 85, in one_run
    user_group = UserGroup(path=userlist, name=groupname,
  File "/home/user/repos/twacapic/twacapic/collect.py", line 34, in __init__
    item for item in os.listdir(self.path) if os.path.isdir(
FileNotFoundError: [Errno 2] No such file or directory: 'results/u'
@FlxVctr FlxVctr added the bug Something isn't working label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants