<p>rk@rk-virtual-machine:~/rk356x_linux$ repo init --no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rk356x_linux_release.xml</p><p>/home/rk/rk356x_linux/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses</p><p> import imp</p><p>Get https://gitlab.com/firefly-linux/manifests.git</p><p>Traceback (most recent call last):</p><p> File "/home/rk/rk356x_linux/.repo/repo/main.py", line 531, in <module></p><p> _Main(sys.argv[1:])</p><p> File "/home/rk/rk356x_linux/.repo/repo/main.py", line 507, in _Main</p><p> result = repo._Run(argv) or 0</p><p> File "/home/rk/rk356x_linux/.repo/repo/main.py", line 180, in _Run</p><p> result = cmd.Execute(copts, cargs)</p><p> File "/home/rk/rk356x_linux/.repo/repo/subcmds/init.py", line 399, in Execute</p><p> self._SyncManifest(opt)</p><p> File "/home/rk/rk356x_linux/.repo/repo/subcmds/init.py", line 171, in _SyncManifest</p><p> m._InitGitDir(mirror_git=mirrored_manifest_git)</p><p> File "/home/rk/rk356x_linux/.repo/repo/project.py", line 2271, in _InitGitDir</p><p> ref_dir = mp.config.GetString('repo.reference') or ''</p><p> File "/home/rk/rk356x_linux/.repo/repo/git_config.py", line 131, in GetString</p><p> v = self._cache[_key(name)]</p><p> File "/home/rk/rk356x_linux/.repo/repo/git_config.py", line 248, in _cache</p><p> self._cache_dict = self._Read()</p><p> File "/home/rk/rk356x_linux/.repo/repo/git_config.py", line 254, in _Read</p><p> d = self._ReadGit()</p><p> File "/home/rk/rk356x_linux/.repo/repo/git_config.py", line 299, in _ReadGit</p><p> for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401</p><p>AttributeError: 'str' object has no attribute 'decode'</p>