Open GoogleCodeExporter opened 9 years ago
$ gcloud compute images list
NAME PROJECT ALIAS DEPRECATED STATUS
Traceback (most recent call last):
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 204, in <module>
main()
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 200, in main
_cli.Execute()
File "/Users/BBB/Google_Cloud/google-cloud-sdk/bin/bootstrapping/../../lib/googlecloudsdk/calliope/cli.py", line 558, in Execute
result = args.cmd_func(cli=self, args=args)
File "/Users/BBB/Google_Cloud/google-cloud-sdk/bin/bootstrapping/../../lib/googlecloudsdk/calliope/backend.py", line 1022, in Run
output_formatter(result)
File "/Users/BBB/Google_Cloud/google-cloud-sdk/bin/bootstrapping/../../lib/googlecloudsdk/calliope/backend.py", line 1016, in <lambda>
output_formatter = lambda obj: command_instance.Display(args, obj)
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/compute/lib/base_classes.py", line 296, in Display
PrintTable(resources, self._resource_spec.table_cols)
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/compute/lib/base_classes.py", line 49, in PrintTable
for resource in resources:
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/compute/lib/base_classes.py", line 281, in Run
for item in items:
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/compute/lib/lister.py", line 29, in ProcessResults
yield field_selector.Apply(resource)
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/compute/lib/property_selector.py", line 355, in Apply
res = _DictToOrderedDict(obj)
File "/Users/BBB/Google_Cloud/google-cloud-sdk/./lib/googlecloudsdk/compute/lib/property_selector.py", line 177, in _DictToOrderedDict
new_obj = collections.OrderedDict(sorted(obj.items()))
AttributeError: 'module' object has no attribute 'OrderedDict'
Original comment by mrdino...@gmail.com
on 15 Mar 2015 at 11:32
I can't believe Google cloud blocks administrator's root access. If I go super
user it asks for a password that is never provided to us. How on earth is this
possible ?
Original comment by mrdino...@gmail.com
on 15 Mar 2015 at 11:33
Please refer https://code.google.com/p/google-cloud-sdk/issues/detail?id=33
Problem might be related to rc or bash || Phython's Order Direct.
Please help us, we will really appreciate a prompt reply to resolve this issue
as my director is planning to move website to Amazon web services but I like
Google cloud hosting so looking for an effective solution.
It is affecting our ranks due to website being offline.
Original comment by mrdino...@gmail.com
on 15 Mar 2015 at 12:14
The ORDERED_DICT issue is a known problem that we're fixing. As a work around,
please run in an environment with python 2.7.
With respect to root access, you need to run
$ sudo -s
to get root shell. As far as I know there's not a common and robust way to get
`sudo root` to work withouth prompting for a password.
Original comment by jeffvaug...@google.com
on 15 Mar 2015 at 7:17
Marking as accepted for the OrderedDict issue. Please open a new issue thread
if you're continuing to have problems getting root access.
Original comment by jeffvaug...@google.com
on 15 Mar 2015 at 7:19
From https://cloud.google.com/sdk/
System Requirements: Google Cloud SDK runs on Windows, Mac OS X and Linux, and
requires Python 2.7.x. Some of the individual tools bundled with Cloud SDK have
more stringent requirements: using App Engine tools for Java development
requires Java 1.7+.
Google Cloud SDK requires Python 2.7.x. Even if we fix this specific problem,
there are likely other areas where you will encounter problems running gcloud
with python 2.6
Original comment by svalen...@google.com
on 25 Mar 2015 at 6:07
Original issue reported on code.google.com by
mrdino...@gmail.com
on 15 Mar 2015 at 11:25