[Eric] Debug fails - unicode error

Milos Prudek prudek at bvx.cz
Fri Aug 14 08:41:55 BST 2009


While stepping through a short Python script that uses the BeautifulSoup 
library I got this error in eric:

The debugged program raised the exception unhlandled TypeError "unbound method 
__unicode__() must be called with NavigableString as first argument (got 
nothing instead)"

and then another window saying: The program being debugged has terminated 
unexpectedly.

The error appeared after I stepped into this line of my source:
a_name=row('td')[1]('b')[0].contents[0]

The python script in question runs pefectly without Eric. Something in Eric or 
BeautifulSoup makes Eric stop the debugging, probably because Eric cannot 
display the "a_name" variable.

I run Eric 4.1.1

Is this a known issue?

-- 
Milos Prudek


More information about the Eric mailing list