rapt icon indicating copy to clipboard operation
rapt copied to clipboard

WindowsError 206 while extracting Android SDK

Open breqdev opened this issue 8 years ago • 0 comments

While extracting the Android SDK, the following message appeared: Traceback (most recent call last): File "android.py", line 69, in <module> main() File "android.py", line 40, in main install_sdk.install_sdk(iface) File "buildlib\rapt\install_sdk.py", line 258, in install_sdk unpack_sdk(interface) File "buildlib\rapt\install_sdk.py", line 124, in unpack_sdk interface.background(extract) File "buildlib\rapt\interface.py", line 255, in background f() File "buildlib\rapt\install_sdk.py", line 118, in extract zf.extractall(".") File "C:\Python27\lib\zipfile.py", line 1040, in extractall self.extract(zipinfo, path, pwd) File "C:\Python27\lib\zipfile.py", line 1028, in extract return self._extract_member(member, path, pwd) File "C:\Python27\lib\zipfile.py", line 1079, in _extract_member os.mkdir(targetpath) WindowsError: [Error 206] The filename or extension is too long: 'android-sdk-windows\\tools\\lib\\monitor-x86_64\\p2\\org.eclipse.equinox.p2.engine\\profileRegistry\\DefaultProfile.profile\\.data\\org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions'

There were no errors before this. Running on a Windows 10 PC, with Python 2.7.12

breqdev avatar Dec 03 '16 17:12 breqdev