pq-cli icon indicating copy to clipboard operation
pq-cli copied to clipboard

Crash after character creation.

Open aknight2015 opened this issue 2 months ago • 0 comments

Due to the new way that Python3 handles things I had to install using PipX and I have to use pipx run pqcli to run it. After I get done creating the character it crashes to this: Traceback (most recent call last): File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/bin/pqcli", line 7, in sys.exit(main()) ~~~~^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/main.py", line 88, in main ui.run() ~~~~~~^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/init.py", line 100, in run self._view.keypress(key) ~~~~~~~~~~~~~~~~~~~^^^^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/views/create_character_view/choose_character_stats_view.py", line 58, in keypress self.on_confirm(self._stats) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/event_handler.py", line 10, in call callback(*args, **kwargs) ~~~~~~~~^^^^^^^^^^^^^^^^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/init.py", line 152, in view.on_confirm += lambda stats: self.create_character( ~~~~~~~~~~~~~~~~~~~~~~^ player_name, race, class, stats ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/init.py", line 196, in _create_character self._switch_to_game_view(player) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/init.py", line 182, in _switch_to_game_view self._switch_view(view) ~~~~~~~~~~~~~~~~~^^^^^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/init.py", line 187, in _switch_view self._view.start() ~~~~~~~~~~~~~~~~^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/views/game_view/init.py", line 197, in start self._plot_win = PlotWindow( ~~~~~~~~~~^ player=self._player, ^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... x=0, ^^^^ ) ^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/views/game_view/plot_window.py", line 25, in init self.sync() ~~~~~~~~~^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/views/game_view/plot_window.py", line 46, in sync self._sync_position() ~~~~~~~~~~~~~~~~~~~^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/views/game_view/plot_window.py", line 69, in _sync_position self._render_progress_bar() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/aknight2015/.cache/pipx/eb90a1e636cc619/lib/python3.13/site-packages/pqcli/ui/curses/views/game_view/progress_bar_window.py", line 68, in _render_progress_bar self._progress_bar_win.addnstr( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 0, ^^ ...<2 lines>... min(len(text), self._progress_bar_win.getmaxyx()[1]), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ _curses.error: addnwstr() returned ERR

aknight2015 avatar Nov 16 '25 06:11 aknight2015