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
If you start turses without a config file, then it starts fine. But when later you exit it and start again, then it crashes with:
Traceback (most recent call last):
File "/nix/store/sq21f09xlsm7bjd6vrihl9zg49alsvpr-python3.6-turses-0.3.1/bin/.turses-wrapped", line 12, in <module>
sys.exit(main())
File "/nix/store/sq21f09xlsm7bjd6vrihl9zg49alsvpr-python3.6-turses-0.3.1/lib/python3.6/site-packages/turses/cli.py", line 146, in main
configuration.load()
File "/nix/store/sq21f09xlsm7bjd6vrihl9zg49alsvpr-python3.6-turses-0.3.1/lib/python3.6/site-packages/turses/config.py", line 504, in load
self._init_config()
File "/nix/store/sq21f09xlsm7bjd6vrihl9zg49alsvpr-python3.6-turses-0.3.1/lib/python3.6/site-packages/turses/config.py", line 513, in _init_config
self.parse_config_file(self.config_file)
File "/nix/store/sq21f09xlsm7bjd6vrihl9zg49alsvpr-python3.6-turses-0.3.1/lib/python3.6/site-packages/turses/config.py", line 716, in parse_config_file
self._parse_styles(conf)
File "/nix/store/sq21f09xlsm7bjd6vrihl9zg49alsvpr-python3.6-turses-0.3.1/lib/python3.6/site-packages/turses/config.py", line 760, in _parse_styles
conf.get(SECTION_STYLES, style), 'utf-8')
TypeError: decoding str is not supported
This error was fixed in louipc/turses@be0961b?diff=split but it's not part of tool official releases. (Note that the original upstream repo no longer exists; so we should switch to louipc fork of it.
Steps to reproduce
nix-env -f . -i python3.6-turses
turses
close it with "q".
turses
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
Issue description
If you start
turses
without a config file, then it starts fine. But when later you exit it and start again, then it crashes with:This error was fixed in louipc/turses@be0961b?diff=split but it's not part of tool official releases. (Note that the original upstream repo no longer exists; so we should switch to
louipc
fork of it.Steps to reproduce
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
The text was updated successfully, but these errors were encountered: