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

Error (list.remove(x): x not in list) #1

Open
lemio opened this issue Jan 29, 2012 · 1 comment
Open

Error (list.remove(x): x not in list) #1

lemio opened this issue Jan 29, 2012 · 1 comment

Comments

@lemio
Copy link

lemio commented Jan 29, 2012

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

@lemio
Copy link
Author

lemio commented Jan 29, 2012

And the browser windows shows a pixelpulse page with the text "Disconnected"...

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