Skip to content

Kernel Crash when opening "corrupted" DXD-Files #81

@pirtak

Description

@pirtak

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!

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