vuvova / gdb-tools

Various tools to improve the gdb experience
BSD 3-Clause "New" or "Revised" License
123 stars 17 forks source link

Help fails to load on FreeBSD with Python 3.6 #11

Closed kiwichris closed 5 years ago

kiwichris commented 5 years ago

The help.md fails to load with Python 3.6 because of ...

.. the fourth \xe2\x80\x94 boolean OR. Just like in C, AND and OR

The error is:

Traceback (most recent call last):
  File "<string>", line 7, in <module>
  File "/opt/work/chris/gdb/duel/__init__.py", line 5, in <module>
    from duel.help import *
  File "/opt/work/chris/gdb/duel/help.py", line 15, in <module>
    with open(__file__.rstrip("pyc") + "md") as f: LONGHELP = ''.join(f)
  File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
vuvova commented 5 years ago

already fixed in e33cb869dc796d8ce294d97a4a53e59b0f21a683

vuvova commented 5 years ago

I've released a new version with this fix

kiwichris commented 5 years ago

Oh sorry, I did not check the repo. Thanks for the update.