[Eric] problem with debugger

luigi curzi luigi_curzi at yahoo.it
Sat Feb 7 18:25:19 GMT 2009


Il giorno Sat, 7 Feb 2009 13:17:31 +0100
Detlev Offenbach <detlev at die-offenbachs.de> ha scritto:

> On Donnerstag, 5. Februar 2009, luigi curzi wrote:
> > Il giorno Thu, 15 Jan 2009 19:38:46 +0100
> >
> > Detlev Offenbach <detlev at die-offenbachs.de> ha scritto:
> > > On Donnerstag, 15. Januar 2009, Luigi Curzi wrote:
> > > > when i try to debug an application i receive this error:
> > > > The debugged program raised the exception unhandled OSError
> > > > "[Errno 11] Resource temporarily unavailable:
> > > > '/home/luigi/progetti/BitSlaiser'" File:
> > > > /usr/lib/python2.5/site-packages/pkg_resources.py, Line: 1659
> > > >
> > > > and eric highlights line 659 in pkg_resources.py:
> > > > else:
> > > >             # scan for .egg and .egg-info in directory
> > > >             for entry in os.listdir(path_item):
> > >
> > > The eric debugger seems to have problems with compressed eggs. Is
> > > there any body who can help with this?
> >
> > in the meantime, what can i do if i want to use debugger (i need
> > it)?
> >
> > thanks in advice
> > Luigi
> 
> Try to uncompress the egg. It is basically a zip file. You should put
> the contents into a directory with the same name as the compressed
> egg.
> 
> Detlev

i discovered that the problem only appears (for the moment) when i
import "scikits.audiolab" (a module for audio).
i tried to uncompress (or use easy_install -Z scikits.audiolab), but
didn't work;
reading this discussion:
https://mail.enthought.com/pipermail/enthought-dev/2008-January/012021.html 
maybe is the problem in this line in
"/usr/lib/python2.5/site-packages/scikits.audiolab-0.10.1-py2.5-linux-i686.egg/scikits/init.py":
__import__('pkg_resources').declare_namespace(__name__)
?

that seems to break some functionality of ides.
in fact, if i comment out that line, debug works, but i don't know if
application works, because, now it is broken and i can't test it.

do i compromise something deleting that line ? 

i hope it is useful.

ciao
Luigi
-- 
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Io sono 
lo sbaglio, il momento di confusione, l'inopportuno

		Non sono niente.
	      Non sarò mai niente.
	Non posso volere d'essere niente.
A parte questo, ho in me tutti i sogni del mondo.

					F. Pessoa
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*



More information about the Eric mailing list