Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

RuntimeError: Gui(id=0278) is only 854x528, but its children are 466x608 #7

Closed
SwagNaut opened this issue Oct 16, 2018 · 3 comments
Closed

Comments

@SwagNaut
Copy link

I just downloaded the lastest build. Then I installed all the required packages with pip.
I could start a server just fine, it even says "Started up Cataclysm: Looming Darkness Server".

But when I try to start the client, I get this:

C:\Programme 2\CataclysmLD-master\CataclysmLD-master>python client.py Swag Naut
Loaded gfx folder gfx/background
Loaded gfx folder gfx/scrollbox/vbar/backward
Loaded gfx folder gfx/scrollbox/vbar/forward
Loaded gfx folder gfx/scrollbox/vbar/decoration
Loaded gfx folder gfx/scrollbox/vbar/grip
Loaded gfx folder gfx/scrollbox/frame/decoration
total TILE_TYPES loaded: 8388
total ITEM_TYPES loaded: 922
total RECIPE_TYPES loaded: 4
HEAD_0
TORSO_0
ARM_LEFT
ARM_RIGHT
LEG_LEFT
LEG_RIGHT
FOOT_LEFT
FOOT_RIGHT
HAND_LEFT
HAND_RIGHT
survivor
added localhost:6317
added 162.211.66.247:6317
Traceback (most recent call last):
File "client.py", line 473, in
client = Client(args.first_name, args.last_name)
File "client.py", line 252, in __init__
self.LoginWindow = LoginWindow()
File "client.py", line 191, in __init__
self.gui.add(self.grid)
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\containers.py", line 501, in add
self.add_front(widget)
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\containers.py", line 505, in add_front
self.insert(widget, layer)
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\containers.py", line 514, in insert
self._repack_and_regroup_children()
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\helpers.py", line 90, in wrapped_method
method(self, *args, **kwargs)
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\widget.py", line 1475, in _repack_and_regroup_children
self._repack()
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\helpers.py", line 90, in wrapped_method
method(self, *args, **kwargs)
File "C:\Users\philb\AppData\Roaming\Python\Python37\site-packages\glooey\root.py", line 92, in _repack
self.claimed_width, self.claimed_height,
RuntimeError: Gui(id=0278) is only 854x528, but its children are 466x608.

(I copied the whole error just to be sure I got the important bit)

I don't know exactly caused this error, it may be entirely my fault. But maybe it somehow helps.
I can't wait to play this with a couple of friends or even other people online.

@stolencatkarma
Copy link
Owner

stolencatkarma commented Oct 16, 2018 via email

@gcopeland
Copy link
Contributor

gcopeland commented Oct 17, 2018

Oh ya... I forgot to make a note of this in my pull request. I changed the window size to allow the widget to fit and this resolved the issue.

@stolencatkarma
Copy link
Owner

latest patch fixes this. thanks for the feedback.

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

No branches or pull requests

3 participants