hachoir_edit is broken

Issue #36 new
y g
created an issue

Either this https://bitbucket.org/haypo/hachoir/src/f45d30cc82db/hachoir-editor/hachoir_editor/fieldset.py is wrong or this is wrong: https://bitbucket.org/haypo/hachoir/wiki/hachoir-editor

The wiki says to create the editor with a string of the filepath, but all of fieldset.py use self.input.stuff where self.input is the file name. So for example this happens:



editor.name Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\python27\lib\site-packages\hachoir_editor\fieldset.py", line 152, in _getName return self.input.name AttributeError: 'unicode' object has no attribute 'name' }}}

Comments (0)

  1. Log in to comment