You are not logged in.
i had replaced my ubuntu with archlinux, but i can not use repo on arch.
i had switch my python evn to python2:
sudo pacman -S python-virtualenvwrapper
source /usr/bin/virtualenvwrapper.h
mkvirtualenv -p `which python2` python2
workon python2
but when i run repo sync, i got those message
Get repo
Traceback (most recent call last):
File "/home/is/Works/5.1/.repo/repo/main.py", line 501, in <module>
_Main(sys.argv[1:])
File "/home/is/Works/5.1/.repo/repo/main.py", line 477, in _Main
result = repo._Run(argv) or 0
File "/home/is/Works/5.1/.repo/repo/main.py", line 133, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/is/Works/5.1/.repo/repo/command.py", line 67, in OptionParser
self._Options(self._optparse)
File "/home/is/Works/5.1/.repo/repo/subcmds/sync.py", line 163, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/is/Works/5.1/.repo/repo/manifest_xml.py", line 326, in default
self._Load()
File "/home/is/Works/5.1/.repo/repo/manifest_xml.py", line 366, in _Load
b = m.GetBranch(m.CurrentBranch).merge
File "/home/is/Works/5.1/.repo/repo/project.py", line 680, in GetBranch
return self.config.GetBranch(name)
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 199, in GetBranch
b = Branch(self, name)
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 687, in __init__
self.remote = self._config.GetRemote(r)
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 189, in GetRemote
r = Remote(self, name)
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 542, in __init__
self.review = self._Get('review')
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 674, in _Get
return self._config.GetString(key, all_keys = all_keys)
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 133, in GetString
return self.defaults.GetString(name, all_keys = all_keys)
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 130, in GetString
v = self._cache[_key(name)]
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 247, in _cache
self._cache_dict = self._Read()
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 251, in _Read
d = self._ReadPickle()
File "/home/is/Works/5.1/.repo/repo/git_config.py", line 269, in _ReadPickle
return pickle.load(fd)
File "/usr/lib64/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib64/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib64/python2.7/pickle.py", line 886, in load_proto
raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 4
i don't kown what is wrong, repo run well on ubuntu 15.04, can anyone give me a hand?
Offline
also i remove package python, so only python2 in my system, but nothing has changed
Offline
Did you find https://github.com/fantasyfly/git-repo/issues/168 and did it work?
Offline
Did you find https://github.com/fantasyfly/git-repo/issues/168 and did it work?
thanks a lot, it is very useful
Offline
Please use code tags when pasting terminal output.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online