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

Issue with ggpk_viewer #141

Open
scottmudge opened this issue Jan 7, 2021 · 1 comment
Open

Issue with ggpk_viewer #141

scottmudge opened this issue Jan 7, 2021 · 1 comment

Comments

@scottmudge
Copy link

I've encountered an issue with GGPK Viewer. It looks like the GGPK records are not sorting properly:

...\PyPoE\poe\file\ggpk.py:758: UserWarning: Invalid tag b'\x06\x00\x00\x00' - seeking next valid tag
  warnings.warn('Invalid tag %s - seeking next valid tag' % e.args)
Traceback (most recent call last):
  File "...\PyPoE\PyPoE\ui\ggpk_viewer\menu.py", line 91, in _update_ggpk_model
    self._thread.ggpk_file.directory.walk(self._ggpk_sort)
  File "...\PyPoE\PyPoE\poe\file\shared\__init__.py", line 556, in walk
    function(**data)
  File "...\PyPoE\PyPoE\ui\ggpk_viewer\menu.py", line 85, in _ggpk_sort
    node.children = sorted(node.children, key=sorter)
  File "...\PyPoE\PyPoE\ui\ggpk_viewer\menu.py", line 84, in <lambda>
    sorter = lambda obj: (isinstance(obj.record, FileRecord), obj.name)
AttributeError: 'str' object has no attribute 'record'
@markliu06
Copy link

What version of python you used? as well as pyside?

Also, can't remember the viewer work at all after 3.11.2 patch

quote from first page

"UI will be reworked for bundle support and is not functional at the moment"

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