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
when use pyfsdb as
import pyfsdb db = pyfsdb.Fsdb(filename=fsdbfile) print(db.column_names) for row in db: print(row)
the following error
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