goldsborough/ig

didn't work for me

BMaxV opened this issue · 0 comments

BMaxV commented

Hi,

I'm looking for a visualization tool, tried yours and ran into this error

Traceback (most recent call last):
  File "/home/thisuser/.local/bin/ig", line 10, in <module>
    sys.exit(main())
  File "/home/thisuser/.local/lib/python3.7/site-packages/ig/main.py", line 145, in main
    walk.walk(include_graph, args)
  File "/home/thisuser/.local/lib/python3.7/site-packages/ig/walk.py", line 98, in walk
    includes = get_includes(filename, [path] + args.prefixes)
  File "/home/thisuser/.local/lib/python3.7/site-packages/ig/walk.py", line 51, in get_includes
    for line in source:
  File "/usr/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 1143: invalid start byte

Have a nice day!