Comments (4)
The command I'm running is;
gam.exe csvkmd users guardians.csv keyfield Student datafield Guardian sync guardians csvdata Guardian
from gamadv-xtd3.
I can reproduce the error by putting a NULL byte at the end of the header row.
I'll have GAM trap the error but all that will achieve is a better error message.
How was guardians.csv produced?
$ od -xc guardians.csv
0000000 7453 6475 6e65 2c74 7547 7261 6964 6e61
S t u d e n t , G u a r d i a n
0000020 0a00 6574 7473 7375 7265 4031 6472 6373
\0 \n t e s t u s e r 1 @ r d s c
0000040 6f68 6c6f 6f2e 6772 742c 7365 7574 6573
h o o l . o r g , t e s t u s e
0000060 3272 7240 7364 6863 6f6f 2e6c 726f 0067
r 2 @ r d s c h o o l . o r g
0000077
$ gam csvkmd users guardians.csv keyfield Student datafield Guardian sync guardians csvdata Guardian
ERROR: line contains NULL byte
from gamadv-xtd3.
Hi Ross
It was created by the commandreporter function of SIMS.net (an MIS system used by many UK schools).
from gamadv-xtd3.
I adjusted my script to recreate the CSV - It's working now - Thank you!
from gamadv-xtd3.
Related Issues (20)
- sharing quota error in GAM HOT 2
- [create user] Html tag chars such as "<" in random passwords not replaced with html entities like ">" HOT 3
- Hi I'm trying to Use an existing project for GAM authorization HOT 9
- [feature request] Add oneitemperrow modifier to gam user x print users license HOT 4
- Error adding drivefileacls HOT 2
- Using gam to add permissions for files in Shared Drives HOT 1
- permission inherited filter not working for secondary permission HOT 2
- Add options to upload files to Google Cloud Storage HOT 3
- [Documentation] Missing / Wrong BNF syntax for Update Sheet / Doc HOT 1
- Add "not" mechanisms to established commands HOT 8
- [8396] Failed to execute script 'pyi_rth_win32comgenpy' due to unhandled exception! HOT 1
- GAM Update User and Create User is not following case sensitivity for email addresses HOT 1
- If email is created then send notification email to mutliple accounts like BCC/CC HOT 6
- Google Meet hardware SKU HOT 4
- `info drivefile <DriveFileEntity> fields name` doesn't show name with shared drives HOT 2
- Could not add Looker Studio permission HOT 8
- Group sync ignores "additionalmembers" argument when specifying "manager" or "owner" role HOT 3
- `formatjson` throws an error when used with `print teamdrives` HOT 2
- Tm
- Command to backup data in accounts no longer works, please help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamadv-xtd3.