To update your sync app, see below under Run Windows Update for a traditional setup (MSI) installation. If you don’t see the Update Options button, you installed either the Microsoft 365 applications or the OneDrive for work or school sync app through a setup program (MSI). In this case, follow these steps to turn on automatic updates for Microsoft 365 applications, including OneDrive for work or school. DS_Store files in your AOSP folders when using the repo tool.Note: When you choose Update Options but you don't see Enable Updates, this means your updates are managed by a Group Policy. you can use the above modification to your ` git_refs.py` to find out exactly what is the problematic file causing the issue Indeed similar UnicodeDecodeError may happen for many reason, but all my internet search didn't point out the possibility of unwanted. by executing ` find -name ".DS_Store" -delete`. Solution was to just get rid of those files, e.g. DS_Store to one of the folders and in turn that file was picked up by `repo sync` as a reference, which indeed couldn't be handled as such. So i looks like while i was browsing the downloaded files out of curiosity Finder added it's junk. I was able to detect the offending file, which turned out to be ` /Volumes/./AOSP/Nougat_7.0/android/.repo/projects/external/libxml2.git/refs/.DS_Store`. Print(' ref_id as text: %s' % (ref_id), file=sys.stderr) Print(' ref_id as HEX: "%s"' % ref_id.encode("hex"), file=sys.stderr) #just in case text print would fail Print(' under path: %s with name: %s' % (path, name), file=sys.stderr) Print('ref_id cannot be decoded', file=sys.stderr) UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 578: ordinal not in range(128)Īctually after modifying ` git_refs.py` around line 155 from: Self._InitAnyMRef(R_M + )įile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/project.py", line 2370, in _InitAnyMRefįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/git_refs.py", line 57, in symrefįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/git_refs.py", line 64, in _EnsureLoadedįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/git_refs.py", line 85, in _LoadAllįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/git_refs.py", line 137, in _ReadLooseįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/git_refs.py", line 155, in _ReadLoose1 Success = self._FetchHelper(opt, project, *args, **kwargs)įile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/subcmds/sync.py", line 314, in _FetchHelperįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/project.py", line 1271, in Sync_NetworkHalfįile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/project.py", line 2364, in _InitMRef Self._target(*self._args, **self._kwargs)įile "/Volumes/./AOSP/Nougat_7.0/android/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList I've been facing an issue when doing ` repo sync` on Mac, like:Įrror: Cannot fetch platform/external/libxml2 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 578: ordinal not in range(128))įile "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/threading.py", line 810, in _bootstrap_innerįile "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/threading.py", line 763, in run This is not really a question any more, since I've managed to solve it, just posting here so if anyone in the future may face similar issue can find the solution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |