You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I trying to use gitinspector on my repositories. All of them have authors with non ascii chars in its names (we are spanish developers).
Traceback (most recent call last):
File "/Users/matutet/wrkspc.others/gitinspector/gitinspector.py", line 24, in <module>
gitinspector.main()
File "/Users/matutet/wrkspc.others/gitinspector/gitinspector/gitinspector.py", line 206, in main
run.process(repos)
File "/Users/matutet/wrkspc.others/gitinspector/gitinspector/gitinspector.py", line 83, in process
outputable.output(ChangesOutput(summed_changes))
File "/Users/matutet/wrkspc.others/gitinspector/gitinspector/output/outputable.py", line 43, in output
outputable.output_text()
File "/Users/matutet/wrkspc.others/gitinspector/gitinspector/output/changesoutput.py", line 151, in output_text
print(terminal.ljust(i, 20)[0:20 - terminal.get_excess_column_count(i)], end=" ")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 9: ordinal not in range(128)
I am using MacOS. Not tested on other operating systems.
The text was updated successfully, but these errors were encountered:
Hi @matutet. Gitinspector is behaving correctly. If you read traceback you can see that your terminal encoding is set to ascii - as such, it won't be able to display those international unicode characters in your terminal. This has been discussed several times before. See for example issues #122 and #9 for information on how to fix it. You can also redirect to a text file to get rid of the problem.
I trying to use gitinspector on my repositories. All of them have authors with non ascii chars in its names (we are spanish developers).
I am using MacOS. Not tested on other operating systems.
The text was updated successfully, but these errors were encountered: