When I run:
import os
print os.path.expanduser('~/.boto')
I get the following output:
C:\Users\R/.boto
The value set in BOTO_CONFIG is:
C:\Users\R\.boto
I'm running gsutil in Windows 7 x64 with Python 2.7.1 x64
On May 13, 1:32 pm, "Mike Schwartz (Google Storage Team)" <gs-
t...@google.com> wrote:
> Ruben and James,
>
> Setting the BOTO_CONFIG environment variable as you suggested works, but
> the boto config handling code should make that unnecessary for the common
> case of a boto config file in the file ".boto" under your home directory.
> Can one of you please try running the following python code, and send us the
> output? I'm specifically wondering whether the value that gets printed is
> different than the value that you suggested setting in the BOTO_CONFIG
> environment variable.
>
> import os
> print os.path.expanduser('~/.boto')
>
> (You can just save the above script in a file and then do 'python file' to
> run it.)
>
> Thanks
>
> Mike
>
> On Fri, May 13, 2011 at 11:00 AM, Ruben Montelongo <
ruben...@gmail.com>wrote:
>
>
>
>
>
>
>
> > I had the same issue and solved it by adding the *BOTO_CONFIG *system
> > environment variable with the value *C:\Users\xxx\.boto*