You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On RUN script i have error:
Traceback (most recent call last):
File "C:/Python/Projects/CBR_py2/venv/CBR_py3.py", line 277, in safeCur2dbf
db.addField(*SCHEMA)
File "C:\Python\lib\site-packages\dbfpy3\dbf.py", line 227, in addField
self.header.addField(*defs)
File "C:\Python\lib\site-packages\dbfpy3\header.py", line 226, in addField
self.recordLength += self._addField(*defs)
File "C:\Python\lib\site-packages\dbfpy3\header.py", line 199, in _addField
_cls = fields.lookupFor(_type)
File "C:\Python\lib\site-packages\dbfpy3\fields.py", line 457, in lookupFor
return _fieldsRegistry[chr(typeCode)]
TypeError: an integer is required (got type str)
It's perfect work on Python 2.7 with dbfpy.
But in Python 3.7 with your custom lib it's no work.
Help please to understand what's going on.
Your Lib not include functional for save DBF?
Hello,
I'm trying to use your library but when I try to run your
demoCreate
function is returning:TypeError: an integer is required
. Using python 3.7The text was updated successfully, but these errors were encountered: