Coder Social home page Coder Social logo

Comments (4)

PetrGasparik avatar PetrGasparik commented on August 15, 2024

more stacktrace:

File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\views\create_character_view\choose_character_stats_view.py", line 58, in keypress
self.on_confirm(self.stats)
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\event_handler.py", line 10, in call
callback(*args, **kwargs)
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses_init
.py", line 146, in
player_name, race, class_, stats
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses_init_.py", line 189, in _create_character
self.switch_to_game_view(player)
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses_init
.py", line 175, in _switch_to_game_view
self.switch_view(view)
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses_init
.py", line 180, in _switch_view
self.view.start()
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\views\game_view_init
.py", line 162, in start
x=0,
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\views\game_view\character_sheet_window.py", line 32, in init
self.sync()
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\views\game_view\character_sheet_window.py", line 43, in sync
self._sync_exp()
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\views\game_view\character_sheet_window.py", line 66, in _sync_exp
self._render_progress_bar()
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\views\game_view\progress_bar_window.py", line 75, in _render_progress_bar
self._progress_bar.set_position(self._cur_pos, self._max_pos)
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\widgets\progress_bar.py", line 44, in set_position
if self.time_left and self._show_time:
File "C:\Users\pegas\AppData\Roaming\Python\Python37\site-packages\pqcli\ui\curses\widgets\progress_bar.py", line 28, in time_left
speed = (pos_now - pos_then) / (time_now - time_then).total_seconds()
ZeroDivisionError: float division by zero

from pq-cli.

rr- avatar rr- commented on August 15, 2024

Fixed on master.

from pq-cli.

PetrGasparik avatar PetrGasparik commented on August 15, 2024

I see, I prepared exactly the same PR just now :))

from pq-cli.

PetrGasparik avatar PetrGasparik commented on August 15, 2024

thank you, @rr-

from pq-cli.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.