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

ValueError: Can only assign sequence of same size #106

Open
r58Playz opened this issue Jun 11, 2019 · 0 comments
Open

ValueError: Can only assign sequence of same size #106

r58Playz opened this issue Jun 11, 2019 · 0 comments

Comments

@r58Playz
Copy link

Output:

019-06-11 14:21:52 [MainThread] [INFO] Mod loader has identified 1 mods to load
Starting internal server...
2019-06-11 14:21:55 [MainThread] [INFO] Mod loader has identified 1 mods to load
No seed set, generated random seed: 308346342251917635352724370416101310883
Server loop running in thread: Thread-1
Listening on 192.168.56.1 1486
Client connecting... ('192.168.56.1', 50289)
Game mode: creative
('192.168.56.1', 50289)'s username is User 859
Traceback (most recent call last):
  File "C:/Users/toshi/MicroHat/applications/games/factories/astrocraft-python/main.py", line 177, in <module>
    start()
  File "C:/Users/toshi/MicroHat/applications/games/factories/astrocraft-python/main.py", line 173, in start
    main(options)
  File "C:/Users/toshi/MicroHat/applications/games/factories/astrocraft-python/main.py", line 142, in main
    pyglet.app.run()
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\app\__init__.py", line 138, in run
    event_loop.run()
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\app\base.py", line 142, in run
    self._run()
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\app\base.py", line 154, in _run
    timeout = self.idle()
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\app\base.py", line 275, in idle
    redraw_all = self.clock.call_scheduled_functions(dt)
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\clock.py", line 346, in call_scheduled_functions
    item.func(now - item.last_ts, *item.args, **item.kwargs)
  File "C:\Users\toshi\MicroHat\applications\games\factories\astrocraft-python\world.py", line 307, in process_queue
    self.packetreceiver.dequeue_packet()
  File "C:\Users\toshi\MicroHat\applications\games\factories\astrocraft-python\client.py", line 107, in dequeue_packet
    blocks.show_block(position)
  File "C:\Users\toshi\MicroHat\applications\games\factories\astrocraft-python\world.py", line 198, in show_block
    self._show_block(position, block)
  File "C:\Users\toshi\MicroHat\applications\games\factories\astrocraft-python\world.py", line 235, in _show_block
    ('t2f/static', texture_data))
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\graphics\__init__.py", line 372, in add
    vlist._set_attribute_data(i, array)
  File "C:\Users\toshi\.virtualenvs\astrocraft-python\lib\site-packages\pyglet\graphics\vertexdomain.py", line 443, in _set_attribute_data
    region.array[:] = data
ValueError: Can only assign sequence of same size
Client User 859 ('192.168.56.1', 50289) crashed.
Client disconnected, ('192.168.56.1', 50289) User 859
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant