You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having above errors decompiling a specific file. "parse error" happens with 2.7 bytecode, "internal grammar-rule bug" with the 2.5 one.
How to Reproduce
Files were extracted from GenFds.exe from the UEFI Development Kit, versions UDK2010.SR1.UP1.P1 and UDK2014.
I used:
uncompyle6 -t FdfParser.pyc >FdfParser.pyt
Output is
# file FdfParser.pyc
# Deparsing stopped due to parse error
and
# file FdfParser.pyc
# Deparsing hit an internal grammar-rule bug
I attached both extracted files and the output here: FdfParser_bug.zip. Source from the recent edk2 tree is added too but it probably does not match the .pyc files which are older. You can find the past versions in the edk2 tree by switching the git branch.
Expected behavior
No errors and output close to the original
Environment
uncompyle6 3.2.5 (just pulled today and did pip install -e .)
Python 2.7.10 from python.org (x86)
OS: windows 10 1809
The text was updated successfully, but these errors were encountered:
In the future please isolate to one issue per bug, rather than one issue for everything you happen to be working on.
Also, please reduce the size of the source code to just the function that is failing and further try removing statements extraneous source-code lines to get a small function that exhibits the behavior.
This is all spelled out in the instructions for how to report a bug.
Description
Having above errors decompiling a specific file. "parse error" happens with 2.7 bytecode, "internal grammar-rule bug" with the 2.5 one.
How to Reproduce
Files were extracted from GenFds.exe from the UEFI Development Kit, versions UDK2010.SR1.UP1.P1 and UDK2014.
I used:
Output is
and
I attached both extracted files and the output here: FdfParser_bug.zip. Source from the recent edk2 tree is added too but it probably does not match the .pyc files which are older. You can find the past versions in the edk2 tree by switching the git branch.
Expected behavior
No errors and output close to the original
Environment
uncompyle6 3.2.5 (just pulled today and did
pip install -e .
)Python 2.7.10 from python.org (x86)
OS: windows 10 1809
The text was updated successfully, but these errors were encountered: