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

Lua type mismatch on some gallery IDs #1

Open
jcdenton-unatco opened this issue Sep 14, 2024 · 0 comments
Open

Lua type mismatch on some gallery IDs #1

jcdenton-unatco opened this issue Sep 14, 2024 · 0 comments

Comments

@jcdenton-unatco
Copy link

jcdenton-unatco commented Sep 14, 2024

Warrior sometimes fails to download from nhentai, with this output in the logs:

Starting CheckIP for Item 
Finished CheckIP for Item 
Starting GetItemFromTracker for Item 
Received item 'gallery:498281' from tracker
Starting PrepareDirectories for Item gallery:498281
Finished PrepareDirectories for Item gallery:498281
Starting WgetDownload for Item gallery:498281
Archiving item gallery:498281
1=200 https://nhentai.net/g/498281/ 
Lua runtime error: nhentai.lua:399: Gallery IDs do not match. Got 498281, expected 498281.
stack traceback:
	[C]: in function 'error'
	nhentai.lua:399: in function <nhentai.lua:238>.
Process WgetDownload returned exit code -6 for Item gallery:498281
Failed WgetDownload for Item gallery:498281
Waiting 10 seconds...

This line stands out:

Lua runtime error: nhentai.lua:399: Gallery IDs do not match. Got 498281, expected 498281.

Those IDs look the same to me. Maybe Lua accidentally converted one of them to a string/number? I'm not sure why the script fails on some galleries, but works fine on most.

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

1 participant