This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
RuntimeError: Gui(id=0278) is only 854x528, but its children are 466x608 #7
Comments
It's not in a stable state. I had to push an emergency fix this morning. I've also been switching from pygame to pyglet for the client so in the middle of that rewrite.
Server should be fine though. Client is a work in progress.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: SwagNaut <notifications@github.com>
Sent: Tuesday, October 16, 2018 6:21:55 PM
To: stolencatkarma/CataclysmLD
Cc: Subscribed
Subject: [stolencatkarma/CataclysmLD] RuntimeError: Gui(id=0278) is only 854x528, but its children are 466x608 (#7)
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#7>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIJo2UdkrzASrOz6qS4HOCLGg3yslJVjks5ullwDgaJpZM4XicDi>.
|
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. |
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.
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.
The text was updated successfully, but these errors were encountered: