Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394471 - net-misc/gsutil - gsutil: CommandException: /usr/lib64/gsutil/VERSION not found. Did you install the complete gsutil software after the gsutil "update" command was implemented?
Summary: net-misc/gsutil - gsutil: CommandException: /usr/lib64/gsutil/VERSION not fou...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 18:48 UTC by Janusz
Modified: 2011-12-13 19:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz 2011-12-12 18:48:22 UTC
gsutil is unable to create .boto config file. Later it goes fine.

gsutil config
This script will create a boto config file at
/root/.boto
containing your credentials, based on your responses to the following questions.

Please navigate your browser to the following URL:
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=idgoeshere.apps.googleusercontent.com
In your browser you should see a page that requests you to authorize gsutil to access
Google Cloud Storage on your behalf. After you approve, an authorization code will be displayed.

Enter the authorization code: here the code goes
CommandException: /usr/lib64/gsutil/VERSION not found. Did you install the
complete gsutil software after the gsutil "update" command was implemented?

To create .boto file go to Google, find gsutil download and unpack. Next, switch to old python (3.1 doesn't work), create .boto file with gsutil config.

Once you're done, you can safely remove manually installed gsutil. Your portage version will work from now on.
Comment 1 SpanKY gentoo-dev 2011-12-13 02:57:23 UTC
i really have no idea what in your summary is relevant.  what command exactly are you running ?
Comment 2 Janusz 2011-12-13 07:10:36 UTC
(In reply to comment #1)
> i really have no idea what in your summary is relevant.  what command exactly
> are you running ?

Excuse me, the gsutil output is chatty. I should report like this:


gsutil is unable to create .boto config file. Later it goes fine.

Once I run gsutil config I get:

----------

janusz@o0o0o ~ $ gsutil config
This script will create a boto config file at
/root/.boto
containing your credentials, based on your responses to the following
questions.

Please navigate your browser to the following URL:
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=idgoeshere.apps.googleusercontent.com
In your browser you should see a page that requests you to authorize gsutil to
access
Google Cloud Storage on your behalf. After you approve, an authorization code
will be displayed.

Enter the authorization code: here the code goes
CommandException: /usr/lib64/gsutil/VERSION not found. Did you install the
complete gsutil software after the gsutil "update" command was implemented?

--------

Ther eis workaround this time.

To create .boto file go to Google, find gsutil download and unpack. Next,
switch to old python (3.1 doesn't work), create .boto file with gsutil config.

Once you're done, you can safely remove manually installed gsutil. Your portage
version will work from now on.
Comment 3 SpanKY gentoo-dev 2011-12-13 19:55:40 UTC
should be all set now in the tree; thanks for the report!

Commit message: Install VERSION file since gsutil sometimes wants to read it
http://sources.gentoo.org/net-misc/gsutil/gsutil-2011.21.11-r1.ebuild?rev=1.1