We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c:\ubidumptest\ubidump.py -s 12 1.ubifs ERROR 'module' object has no attribute 'symlink'
When decompressing the ubifs file on the windows system, the creation fails because the windows system does not have symlink
change elif typ == inode.ITYPE_SYMLINK: os.symlink(inode.data, fullpath)
to import platform
elif typ == inode.ITYPE_SYMLINK: if(platform.system()=='Windows'): print("create symlink %s" % fullpath) open(fullpath+'_symlink', 'wb').write('symlink to fullpath') else: os.symlink(inode.data, fullpath)
You can continue to unzip the file
The text was updated successfully, but these errors were encountered:
Ah, thanks, i will wrap os.symlink in an exception handler. And, btw, I noticed os.symlink is only missing on windows in python2
Sorry, something went wrong.
No branches or pull requests
c:\ubidumptest\ubidump.py -s 12 1.ubifs
ERROR 'module' object has no attribute 'symlink'
When decompressing the ubifs file on the windows system, the creation fails because the windows system does not have symlink
change
elif typ == inode.ITYPE_SYMLINK:
os.symlink(inode.data, fullpath)
to
import platform
You can continue to unzip the file
The text was updated successfully, but these errors were encountered: