Can't mv: "'NoneType' object has no attribute 'lower'"

106 views
Skip to first unread message

Erik Ostrom

unread,
Nov 2, 2011, 5:22:29 PM11/2/11
to gs-dis...@googlegroups.com
Hi. I'm working my way through the Hello Google Cloud Storage! tutorial and hit a snag on mv:

gsutil mv gs://echographia-dogs/*.jpg  gs://echographia-cats/
Copying gs://echographia-dogs/dog.jpg...
'NoneType' object has no attribute 'lower'

I tried several variations on the arguments to mv, with no success. In every case I got the error message, and the file was not moved.

Here's the output of gsutil -v:

gsutil version 2011-10-26 14:36:15-07:00, config file version 2011-10-26 14:36:15-07:00, python version 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)]

I ran the command with -D but I'm not sure what I need to sanitize. Here are the beginnings of the last few lines:

DEBUG:boto:establishing HTTPS connection: host=commondatastorage.googleapis.com, kwargs={}
INFO:oauth2_client:GetAccessToken: checking cache for key
INFO:oauth2_client:FileSystemTokenCache.GetToken:
DEBUG:oauth2_client:GetAccessToken: token from cache:

Google Storage Team

unread,
Nov 2, 2011, 10:46:38 PM11/2/11
to gs-dis...@googlegroups.com
Hi Erik,

I've tracked down the problem and will have this fixed shortly (will let you know the details when available). Thanks for bringing this to our attention and sorry for any inconvenience.

Marc
Google Cloud Storage Team



--
You received this message because you are subscribed to the Google Groups "Google Cloud Storage" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gs-discussion/-/MsECWFeg1pEJ.
To post to this group, send email to gs-dis...@googlegroups.com.
To unsubscribe from this group, send email to gs-discussio...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gs-discussion?hl=en.

Google Storage Team

unread,
Nov 3, 2011, 7:09:41 PM11/3/11
to gs-dis...@googlegroups.com
Hi Erik,

The problem you found with moving an object from one bucket to another is now fixed. Please refresh your gsutil with the latest version (http://code.google.com/p/gsutil/downloads/list) and let me know if you have any problems with the fix.

Marc
Google Cloud Storage Team
Reply all
Reply to author
Forward
0 new messages