Hi Khanh,

Thanks for sharing this. It looks like it will be an interesting project after debug. On my PC (Win10) it fails early at [12] in formatters.py with:
FileNotFoundError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\IPython\core\formatters.py in __call__(self, obj)
339 pass
340 else:
→ 341 return printer(obj)
342 # Finally look for special method names
343 method = get_real_method(obj, self.print_method)

At [3] KeyError exception at 338 is passed 9 times
At [10] KeyError exception at 338 is passed 9 times
At [12] KeyError exception at 338 is passed 3 times and then throws the error above.

I have no physical printer connected if that matters. I am unfamiliar with “class BaseFormatter(Configurable):” so I am uncertain as to what it is trying to do.

Regards,

Dave

Retired and living my golden years in a world full of angry people.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store