Open kamiccolo opened 8 years ago
Ugh. I thought I'd squashed all of those "This bit of the standard library doesn't say whether it takes bytes
, unicode
, or either" errors that showed up when I decided to support both Python 2 and Python 3.
Decreasing limit (to actual script size) hits another fan...
Change:
if not accum_find(lexer, [b'-', b'-', b'tar'], limit=380):
Error:
$ python2 ./makeself_safeextract.py -v ../DepthSenseSDK-1.9.0-5-amd64-deb.run
Traceback (most recent call last):
File "./makeself_safeextract.py", line 203, in <module>
main()
File "./makeself_safeextract.py", line 166, in main
offsets = get_offsets(path)
File "./makeself_safeextract.py", line 70, in get_offsets
raise ValueError("Could not find definition of --tar")
ValueError: Could not find definition of --tar
But... that's probably deserve another bug report :P
@kamiccolo Definitely. That one sounds like it's probably a case of "generated using a version of makeself which produces results that are confusingly different".
When you open another bug, please also answer "What version of makeself does the comment header say it was generated with?"
For the record, I haven't forgotten about you. I've just had my time completely dominated by my degree project. I'll start unwinding the backlogged tasks in May.
Mhm. I was trying to write couple of tests which would iterate through different versions of Makeself. But apparently their release/version naming is such a mess >_< Blargh. Basically, picking commit hashes from the log by hand.
Input:
Error:
Package info: