Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion boto.exception.NoAuthHandlerFo und: No handler was ready to authenticate
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mike Schwartz (Google Storage Team)  
View profile  
 More options Sep 28 2012, 6:56 pm
From: "Mike Schwartz (Google Storage Team)" <gs-t...@google.com>
Date: Fri, 28 Sep 2012 15:56:03 -0700
Local: Fri, Sep 28 2012 6:56 pm
Subject: Re: [gs-discussion] boto.exception.NoAuthHandlerFound: No handler was ready to authenticate

Hi Warren,

Are you running this program from a shell that has your HOME environment
set to point to your home directory (which is needed so it finds your
~/.boto file)? You can determine this by adding this to your program:

  import os; print os.environ['HOME']

The HOME environment is probably not your home directory if you're running
this program in a web server or from a cron job, for example. In situations
like that you can add this before the 'import boto' statement:

os.environ['BOTO_CONFIG'] = '/path_to_your_dot_boto_file'

Mike

On Fri, Sep 28, 2012 at 3:36 PM, Warren R. <warren.r...@gmail.com> wrote:
> Hi I am using macosx, and gsutil is working just fine (i did "gsutil
> config" etc). I definitely have a ~/.boto file, but I am having trouble
> getting python to work with gcs. I am getting:

> boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1
> handlers were checked. ['HmacAuthV1Handler'] Check your credentials

> As a test, I am trying to (derived from the "Python Library" example):

> import boto
> GOOGLE_STORAGE = 'gs'

> if __name__ == "__main__":

>     uri = boto.storage_uri('', GOOGLE_STORAGE)
>     for bucket in uri.get_all_buckets():
>         print bucket.name

> Any thoughts are much appreciated. Thanks

>  --


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.