-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Dear dev,
for work, we use multiple DXD files for longterm measurements (~2 years). The DewesoftX Software is not made for handling that amount of multifiles. Therefore I need to crawl through the files with my python software to enable quick analytics.
However, files that have the status being flagged as "corrupted" in DewesoftX lead to a Kernel Crash when using the open()-method from the dwdatareader-module.
I use:
from dxmp.utils import get_dxd
from dxmp.property import Property
property = Property()
import dwdatareader as dw
filename = "MID_2022_03_23_22_12_31.dxd"
filepath = os.path.join(property.path.dxd_folder, filename)
dxfile = dw.DWFile(filepath)
which leads to the crash.
I have no idea, how I could implement a previous check for the files state.
Best wishes!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels