Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the client and change the server to "local" #9

Open
GoogleCodeExporter opened this issue Jul 17, 2015 · 0 comments
Open

Run the client and change the server to "local" #9

GoogleCodeExporter opened this issue Jul 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi.

When I run the client and change the server to "local", the game throw this 
exception:

md@speccy-Ideapad-Z570 /tmp/galaxymageredux-read-only $ python run_client.py 
Unhandled Error
Traceback (most recent call last):
  File "/tmp/galaxymageredux-read-only/lib/client_states.py", line 23, in __init__
    SLG.main_server_port)
  File "/tmp/galaxymageredux-read-only/lib/net.py", line 147, in __init__
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/tmp/galaxymageredux-read-only/lib/net.py", line 171, in run_updater
    self.update()
  File "/tmp/galaxymageredux-read-only/lib/client_states.py", line 58, in update
    self.cur_state.update()
  File "/tmp/galaxymageredux-read-only/lib/client_states.py", line 89, in update
    self.event_handler.update()
  File "/tmp/galaxymageredux-read-only/lib/event.py", line 267, in update
    self.handle_event(event)
  File "/tmp/galaxymageredux-read-only/lib/event.py", line 235, in handle_event
    if self.gui and self.gui.handle_mousemotion(event.rel):
  File "/tmp/galaxymageredux-read-only/lib/gui/app.py", line 79, in handle_mousemotion
    if i.handle_mousemotion(change):
  File "/tmp/galaxymageredux-read-only/lib/gui/container.py", line 77, in handle_mousemotion
    app.App.handle_mousemotion(self, change)
  File "/tmp/galaxymageredux-read-only/lib/gui/app.py", line 79, in handle_mousemotion
    if i.handle_mousemotion(change):
  File "/tmp/galaxymageredux-read-only/lib/gui/widget.py", line 161, in handle_mousemotion
    self._mhover = self.mouse_on_me()
  File "/tmp/galaxymageredux-read-only/lib/gui/widget.py", line 103, in mouse_on_me
    return bool(self.get_rect_with_padding().collidepoint(self.parent.get_mouse_pos()))
  File "/tmp/galaxymageredux-read-only/lib/gui/widget.py", line 97, in get_rect_with_padding
    return pygame.Rect(self.get_pos(), self.get_size_with_padding())
  File "/tmp/galaxymageredux-read-only/lib/gui/widget.py", line 89, in get_size_with_padding
    w,h = self.get_size()
  File "/tmp/galaxymageredux-read-only/lib/gui/button.py", line 11, in get_size
    return self.get_text_size(self.text)
  File "/tmp/galaxymageredux-read-only/lib/gui/widget.py", line 295, in get_text_size
    for t in text.split('\n'):
exceptions.AttributeError: 'MenuEntry' object has no attribute 'split'




Original issue reported on code.google.com by [email protected] on 8 Feb 2013 at 12:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant