Traceback (most recent call last):


 "/srv/anaconda3/envs/streamlib/lib/python3.8/site-packages/streamlit/hashing.py", line 339, in to_bytes

b = b"%s:%s" % (tname, self._to_bytes(obj, context))


 "/srv/anaconda3/envs/streamlib/lib/python3.8/site-packages/streamlit/hashing.py", line 595, in _to_bytes

if self._file_should_be_hashed(obj.__code__.co_filename):


 "/srv/anaconda3/envs/streamlib/lib/python3.8/site-packages/streamlit/hashing.py", line 374, in _file_should_be_hashed

filepath, self._get_main_script_directory()


 "/srv/anaconda3/envs/streamlib/lib/python3.8/site-packages/streamlit/hashing.py", line 679, in _get_main_script_directory

main_path = __main__.__file__
AttributeError: module '__main__' has no attribute '__file__'

Traceback (most recent call last):


 "~/src/git-cola/bin/git-cola", line 56, in <module>

sys.exit(main())


 "~/src/git-cola/cola/main.py", line 31, in main

return args.func(args)


 "~/src/git-cola/cola/main.py", line 284, in cmd_cola

view = MainView(context.model, settings=args.settings)


 "~/src/git-cola/cola/widgets/main.py", line 126, in __init__

self.commiteditor = editor = commitmsg.CommitMessageEditor(model, self)


 "~/src/git-cola/cola/widgets/commitmsg.py", line 87, in __init__

self.description = CommitMessageTextEdit()


 "~/src/git-cola/cola/widgets/commitmsg.py", line 574, in __init__

SpellCheckTextEdit.__init__(self, hint, parent)


 "~/src/git-cola/cola/widgets/spellcheck.py", line 132, in __init__

HintedTextEdit.__init__(self, hint, parent)


 "~/src/git-cola/cola/widgets/text.py", line 568, in __init__

self.hint = HintWidget(self, hint)


 "~/src/git-cola/cola/widgets/text.py", line 464, in __init__

self.enable(True)


 "~/src/git-cola/cola/widgets/text.py", line 499, in enable

self._widget.set_value(self._hint, block=True)


 "~/src/git-cola/cola/widgets/text.py", line 576, in set_value

TextEdit.set_value(self, value, block=block)


 "~/src/git-cola/cola/widgets/text.py", line 315, in set_value

self.ext.set_value(value, block=block)


 "~/src/git-cola/cola/widgets/text.py", line 116, in set_value

old_value = self.widget.value()


 "~/src/git-cola/cola/widgets/text.py", line 312, in value

return self.ext.value()


 "~/src/git-cola/cola/widgets/text.py", line 108, in value

return self._get_value(self.widget)


 "~/src/git-cola/cola/widgets/text.py", line 405, in get_value_hinted

hint = widget.hint.value()
AttributeError: 'CommitMessageTextEdit' object has no attribute 'hint'
