Open
Description
Hi,
I am a bunch of pyc to be decompiled to py. The pyc is compiled by python version 2.7. So i downloaded the python-2.4 branch and setup the same in my python 2.7 env.
Now when I run the uncompyle6, I am getting the below error.
D:\>uncompyle6 -d "D:\Biotion85\mysite\urls.pyc"
# 2020.09.24 21:19:39 Arabian Standard Time
# uncompyle6 version 3.7.4
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.15 (default, May 6 2018, 17:56:56) [MSC v.1500 64 bit (AMD64)]
# Embedded file name: G:\Packages\source\source_8.5.3\mysite\urls.py
# Compiled at: 2020-09-10 16:53:00
Traceback (most recent call last):
File "C:\Program Files (x86)\Python27\Scripts\uncompyle6-script.py", line 11, in <module>
load_entry_point('uncompyle6==3.7.4', 'console_scripts', 'uncompyle6')()
File "build\bdist.win-amd64\egg\uncompyle6\bin\uncompile.py", line 190, in main_bin
File "build\bdist.win-amd64\egg\uncompyle6\main.py", line 327, in main
File "build\bdist.win-amd64\egg\uncompyle6\main.py", line 229, in decompile_file
File "build\bdist.win-amd64\egg\uncompyle6\main.py", line 148, in decompile
File "build\bdist.win-amd64\egg\uncompyle6\semantics\pysource.py", line 2574, in code_deparse
File "build\bdist.win-amd64\egg\uncompyle6\scanners\scanner2.py", line 362, in ingest
IndexError: tuple index out of range
attaching the pyc file for your reference.
urls.pyc.txt
Please help.