Skip to content

ValueError: Did not find data magic number #91

Description

@doomruller

Windows 10 python 3.7.3

  1. pypoe_ui
  2. file -> open ggpk
  3. select data/Mods.dat
    get this error when trying to view.
    ValueError occurred when trying to open Mods.dat:

Traceback (most recent call last):
File "c:\users\jason\documents\pypoe\PyPoE\ui\ggpk_viewer\core.py", line 217, in view_record
parent=self
File "c:\users\jason\documents\pypoe\PyPoE\ui\shared\file\handler.py", line 324, in get_widget
dat_file.read(file_data, use_dat_value=True)
File "c:\users\jason\documents\pypoe\PyPoE\poe\file\shared_init
.py", line 192, in read
return self.get_read_buffer(file_path_or_raw, self.read, *args, **kwargs)
File "c:\users\jason\documents\pypoe\PyPoE\poe\file\shared_init
.py", line 151, in get_read_buffer
return function(*args, buffer=file_path_or_raw, **kwargs)
File "c:\users\jason\documents\pypoe\PyPoE\poe\file\dat.py", line 917, in _read
self.reader.read(buffer.read())
File "c:\users\jason\documents\pypoe\PyPoE\poe\file\dat.py", line 787, in read
'file': self.file_name,
ValueError: Did not find data magic number in "Mods.dat"

Get something similar when trying to use CLI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions