I tried using import pdb right before the exception and runing
set_trace, but it just displayed next command and finished. This code
is executed in separate thread (ususally operations on serial port
take a while, so I have to do it on seperate thread).

2009/3/26 Filip Gruszczyński <grusz...@gmail.com>:
>> Hmm, sys.path is None? I'd use a debugger to see the difference between
>> the working and not working case.
>
> I don't exactly know, how to achieve this. Our server is run through a
> bash script with runfcgi command. Should I put somwhere pdb import and
> try to start inside the code?
>
> Strangely, when I just run manage runserver, the serial connection
> seems to be working fine.
>
> --
> Filip Gruszczyński
>



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to