Issue #6 wontfix

TNT Crash

Francisco Caballero
created an issue

{{{

!python

Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 477, in run self.target(*self.args, **self.kwargs) File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 407, in run self.guiHandle.updated(self._friendsTL.append(latest_status)) File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 165, in append update_length = self._appendThreaded(twitt_list, db_conn) File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 239, in _appendThreaded twitt_thread = [self.messages[tid]] + self._resolveThread(self.messages[tid].in_reply_to) File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 272, in _resolveThread self.index.pop(twitt.index) IndexError: pop index out of range }}}

http://dpaste.com/hold/171413/

Comments (3)

  1. Francisco Caballero reporter
    fcaballero ~  $  ./Desktop/TNT/tnt/tty.py 
    ──> Starting Tnt Engine
    ──> Starting Application
    ──> Loading Config
    ──> Command Mode ON
    23:36:40 10402852690 : Constanza Welschen @mcwelschen : mi estomago reclama la cena... pero maaal
    test
    23:37:57 10402902211 : fjcaballero @fjcero : test
    :reply 10402902211 test 2
    23:37:57 10402902211 : fjcaballero @fjcero : test
    23:39:58 10402981204 : └─>  fjcaballero @fjcero : @fjcero test 2
    :reply 10402981204 test 3
    Exception in thread Thread-1:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.6/threading.py", line 477, in run
        self.__target(*self.__args, **self.__kwargs)
      File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 407, in run
        self.guiHandle.updated(self._friendsTL.append(latest_status))
      File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 165, in append
        update_length = self._appendThreaded(twitt_list, db_conn)
      File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 239, in _appendThreaded
        twitt_thread = [self.messages[tid]] + self._resolveThread(self.messages[tid].in_reply_to)
      File "/home/fcaballero/Desktop/TNT/tnt/tnt.py", line 272, in _resolveThread
        self.index.pop(twitt.index)
    IndexError: pop index out of range
    

    Cuando respondo varios threads se corta. Cuando se hacen dos o mas replies en el mismo hilo, no sobre el mismo mensaje, sino sobre el mismo hilo.

  2. Log in to comment