[Eric] debugger and zipped eggs

Darren Dale darren.dale at cornell.edu
Sat Feb 2 16:41:31 GMT 2008


Hi Detlev,

A one liner exposes the problem here (kubuntu gutsy):

import pytz

pdb completes without error, but eric's debugger yields the error I reported 
below.

Darren

On Saturday 02 February 2008 11:18:43 am Detlev Offenbach wrote:
> Hi Darren,
>
> does the script run in the Python debugger (pdb)? Please provide a little
> script I can use to reproduce the problem.
>
> Regards,
> Detlev
>
> On Samstag, 2. Februar 2008, Darren Dale wrote:
> > This morning I was trying to use eric4 to debug a script on a kubuntu
> > box, and I got an error message during the import:
> >
> > The debugged program raised the exception OSError
> > "[Errno 2] No such file or directory: '/home/darren'"
> > File: /usr/lib/python2.5/site-packages/pkg_resources.py, Line: 1659
> >
> > Eric runs the script fine without the debugger. It looks like the
> > debugger is unable to handle scripts that import a package that was
> > installed as a zipped egg:
> >
> > http://projects.scipy.org/pipermail/scipy-user/2007-December/014970.html
> >
> > The problem does not exist on my gentoo box at work. Is it possible for
> > eric's debugger to support zipped eggs?
> >
> > Thanks,
> > Darren
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/eric




More information about the Eric mailing list