-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
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
ImportError: Unknown magic number 62215 #36
Comments
The short is we need more information about that specific Magic number and what marshal format it uses. BTW that information now handled by project http://github.com/rocky/python-xdis not this one. So let's review what's in that old issue. wibiti:
SharmaVimarsh:
wibiti
Even though we are on 2.7.11 or 2.7.12, the same thing applies. Note that pycdc barfs on this as well. |
the reproducer is present in bugreport (all needed for debugging is public content) and the .pyc files in question are not mine, do not know how ithey are produced. i can only guess it's from "custom build". the error is reproducible with any .pyc from the tarball. |
In order for this to be a proper bug report that is actionable, I need:
When you have this feel free to reopen in the xdis repo. |
Those Python files are used by dropbox client, there's no "bin/python" just "bin/dropbox" binary:
|
xdis release 2.3.0 can now decode custom dropbox Python binaries with magic number 62215. That's the magic now from an older release of dropbox. I don't imagine uncompyle6 will handle newer releases unless others deal with the decryption aspect needed dropbox's python bytecode. |
seems this old issue still not resolved:
wibiti/uncompyle2#23
to reproduce this, download dropbox linux client and unpack it:
wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86_64-5.4.24.tar.gz
tar xf dropbox-lnx.x86_64-5.4.24.tar.gz
uncompyle6 .dropbox-dist/dropbox-lnx.x86_64-5.4.24/tornado-4.2-py2.7-linux-x86_64.egg/tornado/test/__init__.pyc
i just picked smallest
.pyc
file from the dist, but any file would doThe text was updated successfully, but these errors were encountered: