dbxcli icon indicating copy to clipboard operation
dbxcli copied to clipboard

Step 7 no longer valid? No file named root.go

Open maurera opened this issue 5 years ago • 1 comments

I'm trying to run dbxcli on a Raspberry pi 4. I tried using the arm binary, but it doesn't seem to work. I'm now trying to build from source instead.

Step 7 of the build instructions in the Readme says

Replace the value for personalAppKey in root.go with the key from the webpage.

However, I don't see a file named root.go in the directory ~/go/src/github.com/dropbox/dbxcli. There are files main.go, go.mod, go.sum, etc.

If I skip this step and build, then I get the following error when trying to access the dropbox authentication webpage:

Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.

More details for developers
Invalid client_id: "mvhz183vwqibe7q".

maurera avatar Jan 19 '21 18:01 maurera

Solved. root.go is in subfolder cmd. Step7 of the Readme should be updated to reflect this

maurera avatar Jan 19 '21 23:01 maurera