deadman96385

Untitled

Jun 15th, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. deadman@deadman-X9DR3-F:/speedy/titan$ repo sync -l
  2. Traceback (most recent call last):
  3. File "/speedy/titan/.repo/repo/git_config.py", line 188, in GetRemote
  4. r = self._remotes[name]
  5. KeyError: 'origin'
  6.  
  7. During handling of the above exception, another exception occurred:
  8.  
  9. Traceback (most recent call last):
  10. File "/speedy/titan/.repo/repo/main.py", line 531, in <module>
  11. _Main(sys.argv[1:])
  12. File "/speedy/titan/.repo/repo/main.py", line 507, in _Main
  13. result = repo._Run(argv) or 0
  14. File "/speedy/titan/.repo/repo/main.py", line 180, in _Run
  15. result = cmd.Execute(copts, cargs)
  16. File "/speedy/titan/.repo/repo/subcmds/sync.py", line 821, in Execute
  17. project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
  18. File "/speedy/titan/.repo/repo/project.py", line 1327, in Sync_LocalHalf
  19. self._InitWorkTree(force_sync=force_sync)
  20. File "/speedy/titan/.repo/repo/project.py", line 2480, in _InitWorkTree
  21. _lwrite(os.path.join(dotgit, HEAD), '%s\n' % self.GetRevisionId())
  22. File "/speedy/titan/.repo/repo/project.py", line 1311, in GetRevisionId
  23. rem = self.GetRemote(self.remote.name)
  24. File "/speedy/titan/.repo/repo/project.py", line 809, in GetRemote
  25. return self.config.GetRemote(name)
  26. File "/speedy/titan/.repo/repo/git_config.py", line 190, in GetRemote
  27. r = Remote(self, name)
  28. File "/speedy/titan/.repo/repo/git_config.py", line 574, in __init__
  29. self.url = self._Get('url')
  30. File "/speedy/titan/.repo/repo/git_config.py", line 716, in _Get
  31. return self._config.GetString(key, all_keys = all_keys)
  32. File "/speedy/titan/.repo/repo/git_config.py", line 131, in GetString
  33. v = self._cache[_key(name)]
  34. File "/speedy/titan/.repo/repo/git_config.py", line 248, in _cache
  35. self._cache_dict = self._Read()
  36. File "/speedy/titan/.repo/repo/git_config.py", line 254, in _Read
  37. d = self._ReadGit()
  38. File "/speedy/titan/.repo/repo/git_config.py", line 299, in _ReadGit
  39. for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
  40. AttributeError: 'str' object has no attribute 'decode'
Advertisement
Add Comment
Please, Sign In to add comment