raise ValueError("Had a match with incorrect length: %s", match)

Bug #833438 reported by quimera999 on 2011-08-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
enjuewemela
Undecided
Unassigned

Bug Description

Ubuntu 11.04.
python 2.7.
pyglet 1.1.4.
enjuewemela 0.4.1-0.

traceback:
Traceback (most recent call last):
  File "/usr/bin/enjuewemela", line 42, in <module>
    main.start()
  File "/usr/share/enjuewemela/enjuewemela/main.py", line 70, in start
    director.run(sc)
  File "/usr/share/enjuewemela/enjuewemela/cocos/cocos/director.py", line 451, in run
    event_loop.run()
  File "/usr/lib/pymodules/python2.7/pyglet/app/xlib.py", line 93, in run
    sleep_time = self.idle()
  File "/usr/lib/pymodules/python2.7/pyglet/app/__init__.py", line 187, in idle
    dt = clock.tick(True)
  File "/usr/lib/pymodules/python2.7/pyglet/clock.py", line 700, in tick
    return _default.tick(poll)
  File "/usr/lib/pymodules/python2.7/pyglet/clock.py", line 303, in tick
    item.func(ts - item.last_ts, *item.args, **item.kwargs)
  File "/usr/share/enjuewemela/enjuewemela/games.py", line 580, in f
    func(*args, **kwargs)
  File "/usr/share/enjuewemela/enjuewemela/games.py", line 567, in _after_user_move
    self._matches(m, from_user=False)
  File "/usr/share/enjuewemela/enjuewemela/games.py", line 442, in _matches
    slot = logic_board.get_center(pack)
  File "/usr/share/enjuewemela/enjuewemela/logic_board.py", line 320, in get_center
    raise ValueError("Had a match with incorrect length: %s", match)
ValueError: ('Had a match with incorrect length: %s', ((1, 5), (3, 5), (2, 5), (1, 4), (0, 4), (3, 4), (2, 7), (2, 6), (2, 4)))

ccanepa (ccanepacc) wrote :

Similar error, enjuewemela vs 4.1 , game mode crazy, after the traceback the game window was visible but irresponsive to clicks over the jewels.

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 295, in 'calling callback function'
  File "D:\hg_externals\pyglet-1.1.4\pyglet\app\win32.py", line 84, in _timer_func
    sleep_time = self.idle()
  File "D:\hg_externals\pyglet-1.1.4\pyglet\app\__init__.py", line 187, in idle
    dt = clock.tick(True)
  File "D:\hg_externals\pyglet-1.1.4\pyglet\clock.py", line 700, in tick
    return _default.tick(poll)
  File "D:\hg_externals\pyglet-1.1.4\pyglet\clock.py", line 303, in tick
    item.func(ts - item.last_ts, *item.args, **item.kwargs)
  File "C:\Python26\share\enjuewemela\enjuewemela\games.py", line 585, in f
    func(*args, **kwargs)
  File "C:\Python26\share\enjuewemela\enjuewemela\games.py", line 572, in _after_user_move
    self._matches(m, from_user=False)
  File "C:\Python26\share\enjuewemela\enjuewemela\games.py", line 447, in _matches
    slot = logic_board.get_center(pack)
  File "C:\Python26\share\enjuewemela\enjuewemela\logic_board.py", line 320, in get_center
    raise ValueError("Had a match with incorrect length: %s", match)
ValueError: ('Had a match with incorrect length: %s', ((2, 4), (3, 5), (2, 5), (3, 4), (2, 6), (2, 3), (4, 6), (3, 6)))

attached screenshot

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments