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

Can't Download Stories (Assertion Error: No result?) #4

Open
Cadenia opened this issue Feb 6, 2022 · 1 comment
Open

Can't Download Stories (Assertion Error: No result?) #4

Cadenia opened this issue Feb 6, 2022 · 1 comment

Comments

@Cadenia
Copy link

Cadenia commented Feb 6, 2022

I have already logged in my AIDungeon account via the 'python manage.py register' command; however, whenever I attempt to utilize the download commands, this happens (w/ redacted infomation):

C:\Users(username)>python manage.py stories -p aid
2022-02-05 21:17:51,347 [INFO] -- user_info.BaseClient: Aid successfully initialized.
2022-02-05 21:17:51,347 [INFO] -- user_info.BaseClient: Trying to log-in via file...
2022-02-05 21:17:51,582 [INFO] -- user_info.BaseClient: User "(name)" sucessfully logged into AID
2022-02-05 21:17:55,499 [INFO] -- user_info.BaseClient: Loaded story: "(Story 1)"
2022-02-05 21:17:55,600 [INFO] -- user_info.BaseClient: Loaded story: "(Story 2)"
2022-02-05 21:17:55,758 [INFO] -- user_info.BaseClient: Loaded story: "(Story 3)"
2022-02-05 21:17:55,758 [DEBUG] -- user_info.BaseClient: Got 3 stories so far
Traceback (most recent call last):
File "C:\Users(username)\manage.py", line 60, in
get_command()
File "C:\Users(username)\manage.py", line 48, in get_command
command(*required_args)
File "C:\Users(username)\AppData\Local\Programs\Python\Python310\lib\site-packages\aids\commands.py", line 40, in stories
self.get_stories()
File "C:\Users(username)\AppData\Local\Programs\Python\Python310\lib\site-packages\aids\app\client.py", line 227, in get_stories
assert result, "No result?"
AssertionError: No result?

This also happens with the 'all' command. It can find and name the stories but it just won't download them, even though I've tried over and over. Is there something I'm missing on my end?

@Moist-Cat
Copy link
Owner

I think I tracked down the issue but some tests seem to be failing after I made the fix, and I don't have the time to see what is going on.
You can use the original script or downgrade to an earlier release.

https://jtvjan.nl/aidungeon/

The original doesn't download the WI anymore, though.

Moist-Cat added a commit that referenced this issue Mar 25, 2022
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