I do my development on a MacBook Pro, and when I have an error in a callback in my server app, I get a Javascript error message to my console, eg:
2019-12-11 10:59:04,070 error handling message Message ‘PATCH-DOC’ (revision 1) content: {‘events’: [{‘kind’: ‘ModelChanged’, ‘model’: {‘type’: ‘Selection’, ‘id’: ‘1413’}, ‘attr’: ‘indices’, ‘new’: }], ‘references’: }: IndexError(‘list index out of range’,)
A colleague of mine ran it on his RHEL7 machine and got a “normal” traceback, like (this may not be the same error, but gives the flavour):
File “heatmap/EO-plotsDisplays/python/renderFocalPlane.py”, line 529, in get_raft_content
for raft in range(len(raft_list)):
UnboundLocalError: local variable ‘raft_list’ referenced before assignment
That was so much more useful! Is there a flag or something to get this form of traceback on the Mac?
This is with bokeh 1.2.
Thanks,
Richard

