Skip to content

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 0: unexpected end of data #3

Description

@pxs7

when use pyfsdb as

import pyfsdb
db = pyfsdb.Fsdb(filename=fsdbfile)
print(db.column_names)
for row in db:
print(row)

the following error

for row in db:

File "pyfsdb/fsdb.py", line 590, in iter
self.bootstrap()
File "pyfsdb/fsdb.py", line 680, in bootstrap
self.read_header()
File "pyfsdb/fsdb.py", line 915, in read_header
addition = addition.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 0: unexpected end of data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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