authentication - gcloud auth login : Properties Parse Error -
i installed google-cloud-sdk in ubuntu 14.04 , when tried login,it showing error.
krish@jarvis:~$ gcloud auth login
traceback (most recent call last): file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 87, in googlecloudsdk.calliope import base
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/calliope/base.py", line 8, in googlecloudsdk.core import log
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 413, in _log_manager = _logmanager()
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 195, in init self.console_formatter = _consoleformatter(sys.stderr)
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 172, in init use_color = not properties.values.core.disable_color.getbool()
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/properties.py", line 782, in getbool value = _getboolproperty(self, propertiesfile.load(), required)
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/properties.py", line 1141, in load propertiesfile._properties = propertiesfile(paths)
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/properties.py", line 1160, in init self.__load(properties_path)
file "/usr/bin/../lib/google-cloud-sdk/./lib/googlecloudsdk/core/properties.py", line 1174, in __load raise propertiesparseerror(e.message) googlecloudsdk.core.properties.propertiesparseerror: file contains no section headers.
file: /home/krish/.config/gcloud/properties, line: 1 'h4\xaf\xe3\xda^\xa6\xe8\xb2\xdb`$?\x11\x7f\xce\xc1\x1f\x88\xcd"\x82c\x13bj\x07\xc3\xe3\x9ds\xdd d\xe1\n'
this have corruppted gcloud config file /home/krish/.config/gcloud/properties
. check what's context, may it's 1 line , can fix it, or move/remove (you need set configurations once again if did any).
Comments
Post a Comment