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

local variable 'has_datapacks' referenced before assignment #26

Closed
Zaczero opened this issue Feb 24, 2023 · 2 comments
Closed

local variable 'has_datapacks' referenced before assignment #26

Zaczero opened this issue Feb 24, 2023 · 2 comments

Comments

@Zaczero
Copy link

Zaczero commented Feb 24, 2023

python install.py foo.zip --manual
Building Processors
Injecting profile
Finished!
Copying overrides
mods-resourcepacks...
mods...
resources...
scripts...
config...
Done!



To launch your new modpack, just open the Minecraft launcher normally.
The modpack will be available in your installations list.
Traceback (most recent call last):
  File "/home/user/Source/modpack-installer/install.py", line 260, in <module>
    main(args.zipfile, args.mcdir, args.forge_disable)
  File "/home/user/Source/modpack-installer/install.py", line 247, in main
    if has_datapacks:
UnboundLocalError: local variable 'has_datapacks' referenced before assignment
@cdbbnnyCode
Copy link
Owner

Oops! Thanks for reporting.

@cdbbnnyCode
Copy link
Owner

Fixed in dd83180

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