I added some print statements in _buffer_loop() for the curl error 56 issue.
Polly 0.93.0 (pre-alpha 3.0) Copyright (C) 2011 Marcelo Hashimoto cache path: /home/***/.cache/polly config path: /home/***/.config/polly data home: /home/***/.local/share/polly initializing... done 1st while loop DEBUG: *** disconnected because of curl error 28 before self.buffer_thread.join() for subdata in data: break 2nd while loop self.buffer_condition.acquire() buffer_finished = self.buffer_finished self.buffer_condition.release() if buffer_finished: break after self.buffer_thread.join() DEBUG: *** will reconnect in 0.25 seconds 1st while loop 1st while loop for subdata in data: break 2nd while loop self.buffer_condition.acquire() buffer_finished = self.buffer_finished deque([([***, ***, ... , ***], 1321411242.826313)]) DEBUG: *** connected successfully self.buffer_condition.release() if buffer_finished: 2nd while loop self.buffer_condition.acquire() self.buffer_condition.wait() for subdata in data: break 2nd while loop self.buffer_condition.acquire() self.buffer_condition.wait() buffer_finished = self.buffer_finished deque([({u'favorited': False, u'in_reply_to_user_id': ***, ... , u'default_profile': True, u'is_translator': False}}, 1321411275.89721)]) self.buffer_condition.release() if buffer_finished: 2nd while loop self.buffer_condition.acquire() self.buffer_condition.wait() buffer_finished = self.buffer_finished deque([({u'favorited': False, u'in_reply_to_user_id': ***, ... , u'default_profile': False, u'following': None}}, 1321411331.817188)]) Exception in thread Thread-54: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib/python2.7/dist-packages/polly/__init__.py", line 241, in run self.callback(*self.args) File "/usr/lib/python2.7/dist-packages/polly/twitter/realtime.py", line 437, in _buffer_loop del data[:] TypeError: unhashable type
^CTraceback (most recent call last): File "/usr/bin/polly", line 332, in <module> Gtk.main() KeyboardInterrupt
I added some print statements in _buffer_loop() for the curl error 56 issue.
Polly 0.93.0 (pre-alpha 3.0) **/.cache/ polly **/.config/ polly **/.local/ share/polly thread. join() condition. acquire( ) finished condition. release( ) thread. join() condition. acquire( ) finished 826313) ]) condition. release( ) condition. acquire( ) condition. wait() condition. acquire( ) condition. wait() finished ({u'favorited' : False, u'in_reply_ to_user_ id': ***, ... , u'default_profile': True, u'is_translator': False}}, 1321411275.89721)]) condition. release( ) condition. acquire( ) condition. wait() finished ({u'favorited' : False, u'in_reply_ to_user_ id': ***, ... , u'default_profile': False, u'following': None}}, 1321411331. 817188) ]) python2. 7/threading. py", line 552, in __bootstrap_inner python2. 7/dist- packages/ polly/_ _init__ .py", line 241, in run callback( *self.args) python2. 7/dist- packages/ polly/twitter/ realtime. py", line 437, in _buffer_loop
Copyright (C) 2011 Marcelo Hashimoto
cache path: /home/*
config path: /home/*
data home: /home/*
initializing... done
1st while loop
DEBUG: *** disconnected because of curl error 28
before self.buffer_
for subdata in data:
break
2nd while loop
self.buffer_
buffer_finished = self.buffer_
self.buffer_
if buffer_finished:
break
after self.buffer_
DEBUG: *** will reconnect in 0.25 seconds
1st while loop
1st while loop
for subdata in data:
break
2nd while loop
self.buffer_
buffer_finished = self.buffer_
deque([([***, ***, ... , ***], 1321411242.
DEBUG: *** connected successfully
self.buffer_
if buffer_finished:
2nd while loop
self.buffer_
self.buffer_
for subdata in data:
break
2nd while loop
self.buffer_
self.buffer_
buffer_finished = self.buffer_
deque([
self.buffer_
if buffer_finished:
2nd while loop
self.buffer_
self.buffer_
buffer_finished = self.buffer_
deque([
Exception in thread Thread-54:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
del data[:]
TypeError: unhashable type
^CTraceback (most recent call last):
File "/usr/bin/polly", line 332, in <module>
Gtk.main()
KeyboardInterrupt