> So, sys.path becomes None somewhere before you create the Serial object > in another thread? I'm afraid your options are either 1. add watchpoints > to pdb (http://wiki.python.org/moin/PdbImprovments), or 2. use binary > search principle to insert printfs into the middle of the execution > noodle between the known good and the known bad. > > In your case, I assume, the good one would be the last statement before > creating the thread, and the bad one -- the creation of the Serial > object. But you do want to check this assumption with two more printfs. > I'd also printf sys.path as the first statement in run(), just in case. > If this doesn't reveal the problem, further divide the first or the > second part depending on the printf result till you find the offending > statement.
As soon as I have time at work (you know, how it is with getting things done perfectly done at work), I will try to put serial package right into the project instead of using egg and put some prints into this. This way I might be able to see, what happens inside. -- Filip Gruszczyński --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---