Menu Bug in Endgame:Singularity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
singularity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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-
numpy 1:1.3.0:0-3build1
Command line output:
Traceback (most recent call last):
File "/usr/share/
return func(*args, **kwargs)
File "/usr/share/
self.
File "/usr/share/
return self.call_
File "/usr/share/
handler(event)
File "/usr/share/
mins_passed = g.pl.give_
File "/usr/share/
built_item = item.work_on(time = mins_passed)
File "/usr/share/
spent, self.cost_paid = self.calculate_
File "/usr/share/
least_complete = self.min_
File "/usr/share/
return complete[
ValueError: zero-size array to ufunc.reduce without identity
I could verify the issue under 11.10. Loading MenuBug.sav results in permanent popping up of the menu, whereas other saves function as expected.
This issue was already reported upstream: https:/ /code.google. com/p/endgame- singularity/ issues/ detail? id=107