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

IXFParsingError #84

Open
bisoldi opened this issue Jun 27, 2024 · 0 comments
Open

IXFParsingError #84

bisoldi opened this issue Jun 27, 2024 · 0 comments

Comments

@bisoldi
Copy link

bisoldi commented Jun 27, 2024

I've been using db2ixf successfully for a little while now and just came across an IXF file that causes an IXFParsingError. I can't copy/paste the stack trace, so below is a good summary:

ixf.py, line 843, in to_csv
ixf.py, line 442, in __iter_batch_of_rows
ixf.py, line 404, in __iter_row
ixf.py, line 327, in __parse_all_data_records
ixf.py, line 295, in __parse_data_record
raise IXFParsingError(er2)
db2ixf.exceptions.IXFParsingError: unpack requires a buffer of 2 bytes

I'm using v0.16.1.

EDIT 1: It converts a part of the file and I'm trying to figure out where in the file it dies to see if there is something about the record that it dies on...

Is it just a corrupt IXF file?

Thanks!

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