-
Notifications
You must be signed in to change notification settings - Fork 96
Description
Windows 10 python 3.7.3
- pypoe_ui
- file -> open ggpk
- 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.