Closed lodygaw closed 1 year ago
Wiktor,
My apologies, this is fixed in 6.51.07.
Do:
bash <(curl -s -S -L https://raw.githubusercontent.com/taers232c/GAMADV-XTD3/master/src/gam-install.sh)
Say no to question about creating a new project
The do:
gam use project gam-project-qrw-y9k-i9d
Send me a Meet/Zoom invitation if you have any questions.
Ross
On Thu, Mar 16, 2023 at 4:07 AM Wiktor Łodyga @.***> wrote:
Hello,
I have problems with first installation of GAMADV-XTD3. Previously I was using basic GAM, but I wanted to upgrade. I am using macOS. Before starting the installation I removed ~/bin folder and ~/.gam folder and deleted project in console.developers.google.com. Then I started the installation:
bash <(curl -s -S -L https://raw.githubusercontent.com/taers232c/GAMADV-XTD3/master/src/gam-install.sh) Checking GitHub URL https://api.github.com/repos/taers232c/GAMADV-XTD3/releases for latest GAM release (unauthenticated)...
Getting file and download URL...
Downloading file gamadv-xtd3-6.51.06-macos-x86_64.tar.xz from https://github.com/taers232c/GAMADV-XTD3/releases/download/v6.51.06/gamadv-xtd3-6.51.06-macos-x86_64.tar.xz to /var/folders/53/94vzq2515wb_s1r1_9g720vm0000gn/T/tmp.t0NT6m4d (unauthenticated)...
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20.6M 100 20.6M 0 0 5088k 0 0:00:04 0:00:04 --:--:-- 5955k Extracting archive to /Users/wiktor/bin
Finished extracting GAM archive.
gam alias already exists in profile file /Users/wiktor/.bash_profile. Skipping add.
gam alias already exists in profile file /Users/wiktor/.zshrc. Skipping add.
Can you run a full browser on this machine? (usually Y for MacOS, N for Linux if you SSH into this machine) Y
GAM is now installed. Are you ready to set up a Google API project for GAM? (yes or no) yes Please enter your Google Workspace admin email address: **** Created: /Users/wiktor/.gam Created: /Users/wiktor/.gam/gamcache Config File: /Users/wiktor/.gam/gam.cfg, Initialized WARNING: Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, Item: client_secrets_json, Value: /Users/wiktor/.gam/client_secrets.json, Not Found WARNING: Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/wiktor/.gam/oauth2.txt, Not Found WARNING: Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, Item: oauth2service_json, Value: /Users/wiktor/.gam/oauth2service.json, Not Found
Go to the following link in a browser on this computer or on another computer:
...
If you use a browser on another computer, you will get a browser error that the site can't be reached AFTER you click the Allow button, paste "Unable to connect" URL from other computer (only URL data up to &scope required):
Enter verification code or paste "Unable to connect" URL from other computer (only URL data up to &scope required): ...
The authentication flow has completed. Creating project "GAM Project"... Checking project creation status... Project: gam-project-qrw-y9k-i9d, Enable 34 APIs API: accesscontextmanager.googleapis.com, Enabled (1/34) API: admin.googleapis.com, Enabled (2/34) API: alertcenter.googleapis.com, Enabled (3/34) API: audit.googleapis.com, Enabled (4/34) API: calendar-json.googleapis.com, Enabled (5/34) API: chat.googleapis.com, Enabled (6/34) API: chromemanagement.googleapis.com, Enabled (7/34) API: chromepolicy.googleapis.com, Enabled (8/34) API: classroom.googleapis.com, Enabled (9/34) API: cloudchannel.googleapis.com, Enabled (10/34) API: cloudidentity.googleapis.com, Enabled (11/34) API: cloudresourcemanager.googleapis.com, Enabled (12/34) API: contacts.googleapis.com, Enabled (13/34) API: datastudio.googleapis.com, Enabled (14/34) API: docs.googleapis.com, Enabled (15/34) API: drive.googleapis.com, Enabled (16/34) API: driveactivity.googleapis.com, Enabled (17/34) API: drivelabels.googleapis.com, Enabled (18/34) API: forms.googleapis.com, Enabled (19/34) API: gmail.googleapis.com, Enabled (20/34) API: groupsmigration.googleapis.com, Enabled (21/34) API: groupssettings.googleapis.com, Enabled (22/34) API: iam.googleapis.com, Enabled (23/34) API: iap.googleapis.com, Enabled (24/34) API: keep.googleapis.com, Enabled (25/34) API: licensing.googleapis.com, Enabled (26/34) API: people.googleapis.com, Enabled (27/34) API: pubsub.googleapis.com, Enabled (28/34) API: reseller.googleapis.com, Enabled (29/34) API: sheets.googleapis.com, Enabled (30/34) API: siteverification.googleapis.com, Enabled (31/34) API: storage-api.googleapis.com, Enabled (32/34) API: tasks.googleapis.com, Enabled (33/34) API: vault.googleapis.com, Enabled (34/34) Setting GAM project consent screen... Project: gam-project-qrw-y9k-i9d, Service Account: @.***, Enabled Traceback (most recent call last): File "init.py", line 67908, in ProcessGAMCommand File "init.py", line 11013, in doCreateProject File "init.py", line 10622, in _createClientSecretsOauth2service File "init.py", line 10569, in _createOauth2serviceJSON File "init.py", line 11754, in doProcessSvcAcctKeys UnboundLocalError: cannot access local variable 'validityHours' where it is not associated with a value Project creation failed. Trying again. Say N to skip project creation.
GAM is now installed. Are you ready to set up a Google API project for GAM? (yes or no) no
You can create an API project later by running:
gam create project
Here's information about your new GAM installation:
Config File: /Users/wiktor/.gam/gam.cfg, Saved WARNING: Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, Item: client_secrets_json, Value: /Users/wiktor/.gam/client_secrets.json, Not Found WARNING: Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/wiktor/.gam/oauth2.txt, Not Found WARNING: Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, Item: oauth2service_json, Value: /Users/wiktor/.gam/oauth2service.json, Not Found GAMADV-XTD3 6.51.06 - https://github.com/taers232c/GAMADV-XTD3 - pyinstaller Ross Scroggs @.***> Python 3.11.2 64-bit final MacOS Monterey 12.6.1 x86_64 Path: /Users/wiktor/bin/gamadv-xtd3 Config File: /Users/wiktor/.gam/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: Your system time differs from admin.googleapis.com by less than 1 second OpenSSL 3.1.0 14 Mar 2023 cryptography 39.0.2 google-api-python-client 2.81.0admin.googleapis.com connects using TLSv1.3 TLS_AES_256_GCM_SHA384
I would use some help here. I don't know if this is related to the fact that I was using gam before or maybe there is some problem with the installer?
— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/345, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2RFN6EQ6XJHNBL5PLW4LYAZANCNFSM6AAAAAAV5BVZLY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Ross Scroggs @.***
Sorry for the delay. It is obviously fixed, everything works as intended. Thank you!
Hello,
I have problems with first installation of GAMADV-XTD3. Previously I was using basic GAM, but I wanted to upgrade. I am using macOS. Before starting the installation I removed ~/bin folder and ~/.gam folder and deleted project in console.developers.google.com. Then I started the installation:
I would use some help here. I don't know if this is related to the fact that I was using gam before or maybe there is some problem with the installer?
EDIT: Everything works with v6.51.05