nonolith/pixelpulse — Issue #1: Error (list.remove(x): x not in list)
Author: lemio
Created: 2012-01-29 13:04:12+00:00
State: open

I downloaded all libraries for using this application, but now I have this error when I execute one of the files. How can I solve this problem?

(I'm using Ubuntu linux 11.10 with chromium)

Server running at http://127.0.0.1:8888
WARNING:root:404 GET /favicon.ico (127.0.0.1) 0.46ms
ERROR:root:Uncaught exception, closing connection.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 204, in on_connection_close
self.on_close()
File "/var/www/pixelpulse/pixelpulse.py", line 133, in on_close
self.server._onDisconnect(self)
File "/var/www/pixelpulse/pixelpulse.py", line 140, in _onDisconnect
self.clients.remove(client)
ValueError: list.remove(x): x not in list
ERROR:root:Uncaught exception, closing connection.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/httpserver.py", line 353, in _on_headers
self.request_callback(self._request)
File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1204, in __call__
handler._execute(transforms, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 82, in _execute
self._abort()
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 175, in _abort
self.stream.close()
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 180, in close
self._run_callback(self._close_callback)
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 204, in on_connection_close
self.on_close()
File "/var/www/pixelpulse/pixelpulse.py", line 133, in on_close
self.server._onDisconnect(self)
File "/var/www/pixelpulse/pixelpulse.py", line 140, in _onDisconnect
self.clients.remove(client)
ValueError: list.remove(x): x not in list
ERROR:root:Uncaught exception, closing connection.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 199, in _handle_events
self._handle_read()
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 258, in _handle_read
if self._read_from_buffer():
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 325, in _read_from_buffer
self._consume(loc + delimiter_len))
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/httpserver.py", line 353, in _on_headers
self.request_callback(self._request)
File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1204, in __call__
handler._execute(transforms, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 82, in _execute
self._abort()
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 175, in _abort
self.stream.close()
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 180, in close
self._run_callback(self._close_callback)
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 204, in on_connection_close
self.on_close()
File "/var/www/pixelpulse/pixelpulse.py", line 133, in on_close
self.server._onDisconnect(self)
File "/var/www/pixelpulse/pixelpulse.py", line 140, in _onDisconnect
self.clients.remove(client)
ValueError: list.remove(x): x not in list
ERROR:root:Exception in I/O handler for fd 12
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 269, in start
self._handlers[fd](fd, events)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 199, in _handle_events
self._handle_read()
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 258, in _handle_read
if self._read_from_buffer():
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 325, in _read_from_buffer
self._consume(loc + delimiter_len))
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/httpserver.py", line 353, in _on_headers
self.request_callback(self._request)
File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1204, in __call__
handler._execute(transforms, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 82, in _execute
self._abort()
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 175, in _abort
self.stream.close()
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 180, in close
self._run_callback(self._close_callback)
File "/usr/lib/python2.7/dist-packages/tornado/iostream.py", line 230, in _run_callback
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/stack_context.py", line 173, in wrapped
callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 204, in on_connection_close
self.on_close()
File "/var/www/pixelpulse/pixelpulse.py", line 133, in on_close
self.server._onDisconnect(self)
File "/var/www/pixelpulse/pixelpulse.py", line 140, in _onDisconnect
self.clients.remove(client)
ValueError: list.remove(x): x not in list