Giter VIP home page Giter VIP logo

Comments (3)

IITFA avatar IITFA commented on August 15, 2024 1

The highest version of python in the stable Debian repos (the distro I'm on is based on Debian stable) is 3.7.3 apparently. Good thing I'm not new to compiling from source. For those not as familiar and are on a Debian stable distro, you could point them to this link:
https://linuxize.com/post/how-to-install-python-3-8-on-debian-10/

Yes, it might be a good idea to note the minimum python version.
EDIT: Might also be good to add some example commands and maybe a "introduction" of sorts. Using just logic to guess what should be done based on the available arguments seems to result in errors, still trying to figure that out.

EDIT2: The error:

Traceback (most recent call last):
File "/home/username/.local/bin/minecraft-mod-manager", line 10, in
sys.exit(main())
File "/home/username/.local/lib/python3.8/site-packages/minecraft_mod_manager/main.py", line 16, in main
installed_mods = DirParser.get_mods()
File "/home/username/.local/lib/python3.8/site-packages/minecraft_mod_manager/dir_parser.py", line 18, in get_mods
mod = DirParser.get_mod_info(file)
File "/home/username/.local/lib/python3.8/site-packages/minecraft_mod_manager/dir_parser.py", line 27, in get_mod_info
with zip.open("fabric.mod.json") as json_file:
File "/usr/local/lib/python3.8/zipfile.py", line 1514, in open
zinfo = self.getinfo(name)
File "/usr/local/lib/python3.8/zipfile.py", line 1441, in getinfo
raise KeyError(
KeyError: "There is no item named 'fabric.mod.json' in the archive"

from minecraft-mod-manager.

Senth avatar Senth commented on August 15, 2024

Hmm, googled a bit and might've found something. Also tested on my server just to be sure it works.

Which python version do you use? The script requires at least python 3.8. Run: python --version

I probably should add some info about the minimum python version in the readme 🙂

from minecraft-mod-manager.

Senth avatar Senth commented on August 15, 2024

Thanks for the suggestions and crash report 🙂 If you find any more in the future, it's better to add them to a new issue. I also don't get any notifications of edits so I can't respond to them as quickly.

Split the edits into two new issues. #16 and #17 🙂

from minecraft-mod-manager.

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.