Andrew Myckhaylyck
unread,Apr 16, 2011, 2:34:15 PM4/16/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to endgame-singularity
I have played Singularity for a while, and I got Main Menu when I was
trying to enter my base. This error is can be solved by restarting the
game, but I don't want to loose save.
Here my traceback log:
Exception in function show at Sat Apr 16 21:33:36 2011 EEST:
Traceback (most recent call last):
File "/usr/share/singularity/code/safety.py", line 58, in safe_call
return func(*args, **kwargs)
File "/usr/share/singularity/code/graphics/dialog.py", line 200, in
show
result = self.handle(event)
File "/usr/share/singularity/code/graphics/dialog.py", line 327, in
handle
return self.call_handlers(handlers, event)
File "/usr/share/singularity/code/graphics/dialog.py", line 339, in
call_handlers
handler(event)
File "/usr/share/singularity/code/graphics/button.py", line 111, in
handle_event
self.activate_with_sound(event)
File "/usr/share/singularity/code/graphics/button.py", line 124, in
activate_with_sound
self.activated(event)
File "/usr/share/singularity/code/graphics/button.py", line 153, in
activated
self.function(*self.args, **self.kwargs)
File "/usr/share/singularity/code/screens/map.py", line 423, in
open_location
dialog.call_dialog(self.location_dialog, self)
File "/usr/share/singularity/code/graphics/dialog.py", line 94, in
call_dialog
retval = dialog.show()
File "/usr/share/singularity/code/screens/location.py", line 127, in
show
return super(LocationScreen, self).show()
File "/usr/share/singularity/code/graphics/dialog.py", line 200, in
show
result = self.handle(event)
File "/usr/share/singularity/code/graphics/dialog.py", line 327, in
handle
return self.call_handlers(handlers, event)
File "/usr/share/singularity/code/graphics/dialog.py", line 339, in
call_handlers
handler(event)
File "/usr/share/singularity/code/graphics/button.py", line 111, in
handle_event
self.activate_with_sound(event)
File "/usr/share/singularity/code/graphics/button.py", line 124, in
activate_with_sound
self.activated(event)
File "/usr/share/singularity/code/graphics/button.py", line 153, in
activated
self.function(*self.args, **self.kwargs)
File "/usr/share/singularity/code/screens/location.py", line 167, in
open_base
dialog.call_dialog(self.base_dialog, self)
File "/usr/share/singularity/code/graphics/dialog.py", line 94, in
call_dialog
retval = dialog.show()
File "/usr/share/singularity/code/screens/base.py", line 288, in
show
return super(BaseScreen, self).show()
File "/usr/share/singularity/code/graphics/dialog.py", line 186, in
show
Dialog.top.maybe_update()
File "/usr/share/singularity/code/graphics/widget.py", line 303, in
maybe_update
self.update()
File "/usr/share/singularity/code/graphics/widget.py", line 307, in
update
self.prepare_for_redraw()
File "/usr/share/singularity/code/graphics/widget.py", line 299, in
prepare_for_redraw
child.prepare_for_redraw()
File "/usr/share/singularity/code/graphics/widget.py", line 299, in
prepare_for_redraw
child.prepare_for_redraw()
File "/usr/share/singularity/code/graphics/widget.py", line 299, in
prepare_for_redraw
child.prepare_for_redraw()
File "/usr/share/singularity/code/graphics/widget.py", line 286, in
prepare_for_redraw
self.rebuild()
File "/usr/share/singularity/code/screens/base.py", line 345, in
rebuild
(get_chance("news"), get_chance("science"),
File "/usr/share/singularity/code/screens/base.py", line 343, in
get_chance
return g.to_percent(chance.get(group, 0))
File "/usr/share/singularity/code/g.py", line 270, in to_percent
return locale.format("%d%%", raw_percent // 100).decode(encoding)
File "/usr/lib/python2.7/locale.py", line 189, in format
"format specifier, %s not valid") % repr(percent))
ValueError: format() must be given exactly one %char format specifier,
'%d%%' not valid