taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
714 stars 87 forks source link

Chromebook KeyError: 'wanIpAddress' #237

Closed carbm1 closed 2 years ago

carbm1 commented 2 years ago

I am seeing this error while trying to pull Chromebook data.

& gam print cros fields deviceid,serialnumber,model,assetid,autoupdateexpiration,status,lastsync,lastenrollmenttime,orgunitpath,osversion,location,lastKnownNetwork,macAddress recentusers listlimit 1 orderby lastsync Getting all CrOS Devices, may take some time on a large Google Workspace Account... Got 4000 CrOS Devices...Traceback (most recent call last): File "init.py", line 59090, in ProcessGAMCommand File "init.py", line 19905, in doPrintCrOSDevices File "init.py", line 19725, in _printCrOS KeyError: 'wanIpAddress'

I attempted running: & gam config debug_level 1 print cros fields deviceid,serialnumber,lastKnownNetwork,macAddress orderby lastsync

Unfortunately this didn't yield any useful data as far as I could tell and it failed at the same place.

carbm1 commented 2 years ago

I realized I wasn't running the latest version. Upgraded to 6.15.06. Same error. Different line numbers.

Got 4000 CrOS Devices...Traceback (most recent call last): File "init.py", line 59962, in ProcessGAMCommand File "init.py", line 20091, in doPrintCrOSDevices File "init.py", line 19911, in _printCrOS KeyError: 'wanIpAddress'

taers232c commented 2 years ago

Craig,

Send me Meet/Zoom invitation.

Ross

@.***

On Feb 3, 2022, at 11:20 AM, Craig Millsap @.***> wrote:

I realized I wasn't running the latest version. Upgraded to 6.15.06. Same error. Different line numbers.

Got 4000 CrOS Devices...Traceback (most recent call last): File "init.py", line 59962, in ProcessGAMCommand File "init.py", line 20091, in doPrintCrOSDevices File "init.py", line 19911, in _printCrOS KeyError: 'wanIpAddress'

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/237#issuecomment-1029318997, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYS6SBXY7COVKRRJMDUZLIOFANCNFSM5NPZT6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.

carbm1 commented 2 years ago

6.15.07 fixed the issue! Thank you!