Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- deadman@deadman-X9DR3-F:/speedy/titan$ repo sync -l
- Traceback (most recent call last):
- File "/speedy/titan/.repo/repo/git_config.py", line 188, in GetRemote
- r = self._remotes[name]
- KeyError: 'origin'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/speedy/titan/.repo/repo/main.py", line 531, in <module>
- _Main(sys.argv[1:])
- File "/speedy/titan/.repo/repo/main.py", line 507, in _Main
- result = repo._Run(argv) or 0
- File "/speedy/titan/.repo/repo/main.py", line 180, in _Run
- result = cmd.Execute(copts, cargs)
- File "/speedy/titan/.repo/repo/subcmds/sync.py", line 821, in Execute
- project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
- File "/speedy/titan/.repo/repo/project.py", line 1327, in Sync_LocalHalf
- self._InitWorkTree(force_sync=force_sync)
- File "/speedy/titan/.repo/repo/project.py", line 2480, in _InitWorkTree
- _lwrite(os.path.join(dotgit, HEAD), '%s\n' % self.GetRevisionId())
- File "/speedy/titan/.repo/repo/project.py", line 1311, in GetRevisionId
- rem = self.GetRemote(self.remote.name)
- File "/speedy/titan/.repo/repo/project.py", line 809, in GetRemote
- return self.config.GetRemote(name)
- File "/speedy/titan/.repo/repo/git_config.py", line 190, in GetRemote
- r = Remote(self, name)
- File "/speedy/titan/.repo/repo/git_config.py", line 574, in __init__
- self.url = self._Get('url')
- File "/speedy/titan/.repo/repo/git_config.py", line 716, in _Get
- return self._config.GetString(key, all_keys = all_keys)
- File "/speedy/titan/.repo/repo/git_config.py", line 131, in GetString
- v = self._cache[_key(name)]
- File "/speedy/titan/.repo/repo/git_config.py", line 248, in _cache
- self._cache_dict = self._Read()
- File "/speedy/titan/.repo/repo/git_config.py", line 254, in _Read
- d = self._ReadGit()
- File "/speedy/titan/.repo/repo/git_config.py", line 299, in _ReadGit
- for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
- AttributeError: 'str' object has no attribute 'decode'
Advertisement
Add Comment
Please, Sign In to add comment