[Eric] doctest.py problem on eric5

Detlev Offenbach detlev at die-offenbachs.de
Mon Aug 15 18:17:57 BST 2011


On Samstag, 13. August 2011, Algis Kabaila wrote:
> Hi,
> 
> I've just installed a stable eric5-5.1.4 (rev 70d7137b615c). When testing
> upgrade of a pypi package, an old problem arouse: on eric testing a program
> with doctest.py causes problems that do not occur when staring the same
> test program from the CLI. The test program runs without complaints from
> CLI as shown below.
> 
> ak at supremo:/dat/work/py3/vectors32$ python3  vectors32-tst/testVectors32.py
> vectors32 module verification:
> If no errors reported, all is well.
> ak at supremo:/dat/work/py3/vectors32$
> 
> The module tested is vectors32 and is installed on my system.  When running
> the same program on eric5, an exception is raised by the  debugger:
> 
> The debugger program raised an exception
> Attribute Error
> "'Async File' object has no attribute 'encoding'"
> File /usr/lib/python3.2/doctest.py
> Line 1361
> 
> I attach a tar ball of the module, which can be used to install the module
> in the standard location
> 
> ak at supremo:/dat/work/py3/vectors32$ ls
> /usr/local/lib/python3.2/dist-packages/ vectors32 
> vectors32-0.0.5.egg-info
> ak at supremo:/dat/work/py3/vectors32$
> 
> The error is raised consistently. While this is not a big deal in the
> otherwise excellent program, I thought it would be good to eliminate it.
> 
> Of couse, there is  a good chance that  my configuration is faulty.  If
> that is the case, can you help me to configure eric5 better?
> 
> Regards,
> 
> OldAl.

Hi Al,

the eric debugger backend uses a file like wrapper for the network sockets. It 
seems I have to implement some more attributes and methods. I'll look into 
these within the next days.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list