Giter Club home page Giter Club logo

Comments (8)

kururuchan avatar kururuchan commented on August 26, 2024

I can confirm this issue as well. I've run the program as both admin, and not as admin, using CMD and Python on a Windows 10 machine. It also does not create any form of error file.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

Duplicate of #69. Closing and consolidating

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

This was an issue with older versions, are you sure you're running 2.2.0?

from itchio.

mscout1 avatar mscout1 commented on August 26, 2024

I'm running what pip brought me, and yep that's 2.2.0.

from itchio.

DebugDax avatar DebugDax commented on August 26, 2024

Adding to this, encountering the same issue on 2.2.0 with Python 3.10.5 on Windows 10.

Running with:
python -m itchiodl.downloader --api-key=XXX --platform=windows --jobs=4
or without --api-key and authenticating with plaintext.

Creates subfolders for every item but each folder is empty.

--

EDIT: This seems to work on linux though.
I ran the same command as above on Debian 4.19 with Python 3.8.16, and it downloads files into the subfolders as expected.

from itchio.

mscout1 avatar mscout1 commented on August 26, 2024

Hi,

My ADHD decided I am hyper focusing on this fight now.

The key hitch seems to be in itchiodl.utils.clean_path. The re module does not have a replace function. You probably meant re.sub. This raises an AttributeException

The secondary problem was that you never consume generator returned from ThreadPoolExecutor.map The results in all the exceptions being swallowed silently.

Once I fixed those, I started running into other exceptions caused by inconsistent handling of file and path names. I am working on those.

I hope to have a PR tomorrow. If you don't see one by friday, assume I got board and wandered off.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

The issue is line97 game.py. I think this should be upgraded to use pathlib, but i can't write the fix until tomorrow

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

Fixed by #72

from itchio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.