Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Zip extraction failure when reobfuscating #40

@moderatorman

Description

@moderatorman

Beta 1.7.3, OpenJDK 1.8.0_312. Error occurred while running reobfuscate.sh on Linux Mint, all updates applied. I'm not sure if this has an easy fix or not, but any help would be greatly appreciated.

I can see that it has something to do with zip extraction and a missing class file. But I checked, and I'm fairly certain it's where it should be.

Edit: Full mcp.log here & mcperr.log here. Traceback below.

Traceback (most recent call last):
  File "runtime/reobfuscate.py", line 51, in <module>
    main(options.config)
  File "runtime/reobfuscate.py", line 30, in main
    commands.unpackreobfclasses(0)
  File "/home/moderator_man/Documents/Projects/MCP-b1.7.3/OSMRewrite-Linux/runtime/commands.py", line 934, in unpackreobfclasses
    zipjar.extract('%s.class' % i, outpathlk[side])
  File "/home/moderator_man/Documents/Projects/MCP-b1.7.3/OSMRewrite-Linux/runtime/bin/python/lib-python/3/zipfile.py", line 1507, in extract
    return self._extract_member(member, path, pwd)
  File "/home/moderator_man/Documents/Projects/MCP-b1.7.3/OSMRewrite-Linux/runtime/bin/python/lib-python/3/zipfile.py", line 1546, in _extract_member
    member = self.getinfo(member)
  File "/home/moderator_man/Documents/Projects/MCP-b1.7.3/OSMRewrite-Linux/runtime/bin/python/lib-python/3/zipfile.py", line 1304, in getinfo
    'There is no item named %r in the archive' % name)
KeyError: "There is no item named 'com/oldschoolminecraft/client/OSM.class' in the archive"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions