UnboundLocalError: cannot access local variable 'emailAddress' where it is not associated with a value

41 views
Skip to first unread message

Douglas Melniker

unread,
Nov 28, 2023, 3:09:58 PM11/28/23
to GAM for Google Workspace
how do I go about triaging this error?

[doug@svr01 work]$ gam csv ./xxxx.csv gam user ~~owner~~ copy drivefile root newfilename "XXXX" recursive excludetrashed copysubfiles false copysubshortcuts false copysubfolders true  summary true suppressnotselectedmessages true sendemailifrequired false excludetrashed csv
2023-11-28T14:57:12.720-05:00,0/1,Using 1 process...
2023-11-28T14:57:12.720-05:00,0,Processing item 1/1
User: foo...@baz.com, Copy 1 Drive File/Folder
Traceback (most recent call last):
  File "__init__.py", line 71757, in ProcessGAMCommand
  File "__init__.py", line 55841, in copyDriveFile
  File "__init__.py", line 55598, in _recursiveFolderCopy
  File "__init__.py", line 55598, in _recursiveFolderCopy
  File "__init__.py", line 55598, in _recursiveFolderCopy
  [Previous line repeated 1 more time]
  File "__init__.py", line 55532, in _recursiveFolderCopy
  File "__init__.py", line 55447, in _cloneFolderCopy
  File "__init__.py", line 54941, in _copyPermissions
  File "__init__.py", line 54887, in isPermissionCopyable
UnboundLocalError: cannot access local variable 'emailAddress' where it is not associated with a value
2023-11-28T15:05:31.809-05:00,0/1,Processing complete

Envronment:
  • GAMADV-XTD3 6.65.08 
  • Python 3.12.0 64-bit final
  • Linux Centos 7 Core x86_64

Ross Scroggs

unread,
Nov 28, 2023, 3:12:14 PM11/28/23
to google-ap...@googlegroups.com
Update to current version 6.65.15 , it's a fixed bug.

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/29ca81e8-8c02-478a-96db-bc47ef1546bdn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages