taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
732 stars 86 forks source link

Cannot create usage customer reports "UnboundLocalError" #146

Closed vazome closed 3 years ago

vazome commented 3 years ago

Reporting doesn't work either in general way: gam report usage customer todrive or with parameters:

gam report usage customer parameters accounts:num_1day_logins,accounts:num_7day_logins,gmail:num_1day_webmail_users,gmail:num_1day_pop_users,gmail:num_1day_imap_users todrive start_date 2021-03-26
Traceback (most recent call last):
  File "__init__.py", line 53017, in ProcessGAMCommand
  File "__init__.py", line 10473, in doReport
  File "__init__.py", line 10137, in doReportUsage
UnboundLocalError: local variable 'forWhom' referenced before assignment

image

taers232c commented 3 years ago

Fixed 6.01.04.

Ross

On Mon, Apr 5, 2021 at 1:35 AM Daniel Vazome @.***> wrote:

gam report usage customer parameters accounts:num_1day_logins,accounts:num_7day_logins,gmail:num_1day_webmail_users,gmail:num_1day_pop_users,gmail:num_1day_imap_users todrive start_date 2021-03-26 Traceback (most recent call last): File "init.py", line 53017, in ProcessGAMCommand File "init.py", line 10473, in doReport File "init.py", line 10137, in doReportUsage UnboundLocalError: local variable 'forWhom' referenced before assignment

[image: image] https://user-images.githubusercontent.com/46573198/113555077-00f42280-9603-11eb-8c92-673b89b2edfe.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/146, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4OBJSPMNQM45WABALTHFY6NANCNFSM42MODETQ .

-- Ross Scroggs @.***

vazome commented 3 years ago

@taers232c thanks!