Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

Error when setting up the cli #49

Open
pacoorozco opened this issue Jul 6, 2020 · 3 comments
Open

Error when setting up the cli #49

pacoorozco opened this issue Jul 6, 2020 · 3 comments

Comments

@pacoorozco
Copy link
Contributor

pacoorozco commented Jul 6, 2020

When you try to do the first step to configure gpup and error is raised:

$ ./gpup ~/Downloads/Test                            
2020/07/06 15:34:44 Skip reading ~/.gpupconfig: Could not open ~/.gpupconfig: open /home/xxx/.gpupconfig: no such file or directory
2020/07/06 15:34:44 Setup your API access by the following steps:

1. Open https://console.cloud.google.com/apis/library/photoslibrary.googleapis.com/
1. Enable Photos Library API.
1. Open https://console.cloud.google.com/apis/credentials
1. Create an OAuth client ID where the application type is other.

Enter your OAuth client ID (e.g. xxx.apps.googleusercontent.com): xxx.apps.googleusercontent.com
Enter your OAuth client secret: xxx
2020/07/06 15:34:56 Saved credentials to ~/.gpupconfig
2020/07/06 15:34:56 The following 1 items will be uploaded:
#1: /home/xxx/Downloads/Test/Album_20200702/AeoniumLeaf_EN-AU7200082197_1920x1080.jpg
2020/07/06 15:34:57 Open http://localhost:37663 for authorization
Opening in existing browser session.
[0706/153458.209357:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

There are two things that I'be seen different from some time ago (when It was working properly):

  1. Google Photos Library API has not "Other" type of credentials, now it seems it's called "Desktop app"
    2) This strange error on Linux "NaCl helper process running without a sandbox!"

Can you test it on your environment?

@pacoorozco
Copy link
Contributor Author

Forget number 2, it's totally normal on Linux.

@kqvanity
Copy link

now it seems it's called "Desktop app"

thanks. The readme should be updated

@pacoorozco
Copy link
Contributor Author

pacoorozco commented Oct 16, 2024

I've seen that this process differs depending if you are using Google Workspace (like me) or not... FYI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants