Public bug reported:
In the attached saved game (MenuBug.sav), the main menu keeps popping
up, making the game unplayable. Running from the command line (see
below) gives "ValueError: zero-size array to ufunc.reduce without
identity" in buyable.py.
Steps to repeat:
1) Download MenuBug.sav
2) Save to ~/.endgame/saves
3) Start singularity and load the game MenuBug
Package Details:
singularity 0.30-2
Ubuntu 10.04
python 2.65.0ubuntu1
pygame 1.9.1release-0ubuntu1
numpy 1:1.3.0:0-3build1
Command line output:
Traceback (most recent call last):
File "/usr/share/games/singularity/code/safety.py", line 58, in safe_call
return func(*args, **kwargs)
File "/usr/share/games/singularity/code/graphics/dialog.py", line 180, in show
self.handle(pygame.event.Event(pygame.USEREVENT))
File "/usr/share/games/singularity/code/graphics/dialog.py", line 306, in
handle
return self.call_handlers(handlers, event)
File "/usr/share/games/singularity/code/graphics/dialog.py", line 318, in
call_handlers
handler(event)
File "/usr/share/games/singularity/code/screens/map.py", line 490, in on_tick
mins_passed = g.pl.give_time(secs)
File "/usr/share/games/singularity/code/player.py", line 321, in give_time
built_item = item.work_on(time = mins_passed)
File "/usr/share/games/singularity/code/buyable.py", line 191, in work_on
spent, self.cost_paid = self.calculate_work(*args, **kwargs)
File "/usr/share/games/singularity/code/buyable.py", line 168, in
calculate_work
least_complete = self.min_valid(pct_complete)
File "/usr/share/games/singularity/code/buyable.py", line 145, in min_valid
return complete[self.total_cost > 0].min()
ValueError: zero-size array to ufunc.reduce without identity
** Affects: singularity (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/931037
Title:
Menu Bug in Endgame:Singularity
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/singularity/+bug/931037/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs