-
Notifications
You must be signed in to change notification settings - Fork 87
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
csvkmd error #21
Comments
The command I'm running is; |
I can reproduce the error by putting a NULL byte at the end of the header row.
$ gam csvkmd users guardians.csv keyfield Student datafield Guardian sync guardians csvdata Guardian ERROR: line contains NULL byte |
Hi Ross It was created by the commandreporter function of SIMS.net (an MIS system used by many UK schools). |
I adjusted my script to recreate the CSV - It's working now - Thank you! |
When trying to sync guardians, I recieve the following error;
"Traceback (most recent call last):
File "gam.py", line 41763, in ProcessGAMCommand
File "gam.py", line 4747, in getEntityToModify
File "gam.py", line 4573, in getEntitiesFromCSVbyField
File "gam.py", line 2324, in openCSVFileReader
File "csv.py", line 98, in fieldnames
_csv.Error: line contains NULL byte"
This was running fine back in May, when I ran some test scripts. I have even tried using the same CSV I used back in May, but get the same result.
The text was updated successfully, but these errors were encountered: