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

ValueError: Did not find data magic number #91

Open
doomruller opened this issue May 23, 2019 · 0 comments
Open

ValueError: Did not find data magic number #91

doomruller opened this issue May 23, 2019 · 0 comments

Comments

@doomruller
Copy link

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.

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

1 participant