itchio icon indicating copy to clipboard operation
itchio copied to clipboard

Add Games in bundle to library does not work

Open GhostJumper opened this issue 2 years ago • 8 comments

root@ca48796d249d:/# itch-load-bundle
Username: [email protected]
Password:
Bundle URL: http://itch.io/bundle/download/4T80AvOSA70gkpyUhMNhaaghCbEY7J0DAJjWaWZd
Traceback (most recent call last):
  File "/usr/local/bin/itch-load-bundle", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/site-packages/itchiodl/bundle_tool/__main__.py", line 13, in main
    b.load_games()
  File "/usr/local/lib/python3.10/site-packages/itchiodl/bundle.py", line 17, in load_games
    pages = int(s.select("span.pager_label a")[-1].text)
IndexError: list index out of range
root@ca48796d249d:/#

Did I use the Program as intended, or is this actually an issue?

GhostJumper avatar May 12 '22 18:05 GhostJumper

It works as intended on my machine, are you running this on a datacenter IP (either a VPS or VPN) as I think it likes to block people when they do that

Emersont1 avatar May 12 '22 18:05 Emersont1

It's running on the official python docker image on my local machine without any vpn.

GhostJumper avatar May 12 '22 18:05 GhostJumper

That's weird, can you try in a venv, just as there may be weird docker shenangins going on.

https://docs.python.org/3/library/venv.html

Emersont1 avatar May 12 '22 18:05 Emersont1

I tried it inside the official python docker with a venv. Same issue. I'll try it in a vm next.

GhostJumper avatar May 16 '22 16:05 GhostJumper

The outcome of running it on my Manjaro Laptop:

Capture

The issue seems to not be caused by Docker after all.

GhostJumper avatar May 29 '22 21:05 GhostJumper

it works on the latest version on my machine. how many pages is the bundle page?

Emersont1 avatar Jun 02 '22 19:06 Emersont1

It has 34 pages (998 items)

GhostJumper avatar Jun 02 '22 19:06 GhostJumper

can you manually check the class names in your browser, as my only thought is it could be an i18n issue or similar

Emersont1 avatar Jun 08 '22 20:06 Emersont1