Skip to content

Question: Which lz4 program / version? And wrong variable in planize.py #6

@ecm-pushbx

Description

@ecm-pushbx

I'm trying to debug my LZ4 depacker replacement in #4

I found that I had to invoke planize.py using the command python2 planize.py as it is not marked as executable and does not have a hashbang header. So far so good. However, it produced this error:

$ python2 planize.py 
Traceback (most recent call last):
  File "planize.py", line 65, in <module>
    print 'Failed to compress {}'.format(outfile)
NameError: name 'outfile' is not defined

The NameError is due to using a variable that is not defined anywhere. However, that's not important. What's worse is that the LZ4 program that I compiled from cloning the current https://github.com/lz4/lz4 does not recognise an -s switch and also seems to be doing something different on the -c switch than what planize.py appears to expect.

So which version and which program are you actually using for lz4 here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions