The following forum message was posted by darrellrmay at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4560990:

I encounter this too with my version is  " PyDev for Eclipse    
2.1.0.2011052613"
running on Ubuntu.


If you look in this version at pydevd.py on line 404, you have:

            for tId in self.RUNNING_THREAD_IDS.keys():
                try:
                    if not DictContains(foundThreads, tId):
                        self.processThreadNotAlive(tId)
                except:
                    sys.stderr.write('Error iterating through %s (%s) - %s\n'
% (foundThreads, foundThreads.__class__, dir(foundThreads)))
                    raise

processThreadNotAlive is the method that modifies RUNNING_THREAD_IDS.

They need to fix this by either making a copy of that list and iterate over
that, or make a list of thread id's that we want to delete, and delete them
after this loop iteration.
You can't change this list while iterating over it.

I'm going to patch it tonight and test it.





------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to