Skip to content

import data .gpr file error #32

@fengziren

Description

@fengziren

python --version
Python 3.10.4

The prompt I get when I run the software supports gpr files.
Can only read dt1, DT1, hd, HD, DZT, dat, GPRhdr, rad, rd3, rd7, and gpr files

The following error occurs when I import the .gpr file.
PS F:\study\GPRPy> gprpy
Profile [p] or Common Midpoint / WARR [c]? p
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Program Files\Python3\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "D:\Program Files\Python3\lib\site-packages\gprpy\gprpyGUI.py", line 203, in
command=lambda : [self.loadData(proj),
File "D:\Program Files\Python3\lib\site-packages\gprpy\gprpyGUI.py", line 728, in loadData
proj.importdata(filename=filename)
File "D:\Program Files\Python3\lib\site-packages\gprpy\gprpy.py", line 176, in importdata
data, info, profilePos, twtt, history, antsep, velocity, depth, maxTopo, minTopo, threeD, data_pretopo, twtt_pretopo = pickle.load(f)
_pickle.UnpicklingError: invalid load key, '\x00'.

What should I do with it, please?

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