TypeError: integer argument expected, got float

Bug #1185672 reported by Alejandro J. Cura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
typuspocus
Fix Committed
Undecided
Alejandro J. Cura

Bug Description

Traceback (most recent call last):
  File "typuspocus/game.py", line 1312, in <module>
    main()
  File "typuspocus/game.py", line 1309, in main
    g.run( MainMenu(g) )
  File "/home/alecu/pyweek/typuspocus/typuspocus/engine.py", line 29, in run
    scene.run( )
  File "/home/alecu/pyweek/typuspocus/typuspocus/engine.py", line 80, in run
    self.event(event)
  File "typuspocus/game.py", line 1200, in event
    self.do_action(sel)
  File "typuspocus/game.py", line 1205, in do_action
    self.play_history()
  File "typuspocus/game.py", line 1250, in play_history
    result = self.runScene( l )
  File "/home/alecu/pyweek/typuspocus/typuspocus/engine.py", line 63, in runScene
    ret = scene.run()
  File "/home/alecu/pyweek/typuspocus/typuspocus/engine.py", line 80, in run
    self.event(event)
  File "typuspocus/game.py", line 225, in event
    pygame.time.set_timer(CLOCK_TICK, tick_rate)
TypeError: integer argument expected, got float

Related branches

Changed in typuspocus:
assignee: nobody → Alejandro J. Cura (alecu)
status: New → In Progress
Changed in typuspocus:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.