pyton: import pdb (python-Twisted)

Jakub Piotr Cłapa loc at toya.net.pl
Sun Mar 6 08:38:40 CET 2005


Przemek Iskra wrote:
> On Sat, Mar 05, 2005 at 05:58:34PM +0100, Przemek Iskra wrote:
> 
>>twisted tries to import /usr/bin/pdb.py from file
>>/usr/lib/python2.4/site-packages/twisted/application/app.py
>>but should import /usr/share/python2.4/pdb.pyc
>>
>>can someone fix it ? or tell me how to do it...
>>or it's problem with my configuration ?
>>i think this will happen with all programs that import pdb
> 
> i see there was attempt to repair it...
> 
> #v+
> Revision 1.226  2005/02/16 15:11:56  emes
> - reverting last changes.
> 
> Revision 1.225  2005/02/16 08:43:52  emes
> - non-python *.py in /usr/bin were crashing some apps (e.g. twistd)
> #v-
> 
> but what's the right way (TM) to do it ?

Probably fix twisted (remove . from python path or at least move it to 
the end),

-- 
z wyrazami szacunku,
Jakub Piotr Cłapa




More information about the pld-devel-en mailing list