Message324779
Idle is unable to import unittest. and raises an attributeError.
Output of the Python shell Idle is included in the file bug idle.
several files raise this exception
on of them is included in this report
the Trace for Idle is as follows :
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "copyright", "credits" or "license()" for more information.
>>>
[DEBUG ON]
>>>
RESTART: /home/odile/Documents/dev_logiciels/pyhton/openclassrooms/labyrinthe/roboc2/test/test_carte.py
Traceback (most recent call last):
File "/home/odile/Documents/dev_logiciels/pyhton/openclassrooms/labyrinthe/roboc2/test/test_carte.py", line 5, in <module>
import unittest
File "<frozen importlib._bootstrap>", line 968, in _find_and_load
File "<frozen importlib._bootstrap>", line 148, in __enter__
File "<frozen importlib._bootstrap>", line 174, in _get_module_lock
File "<frozen importlib._bootstrap>", line 59, in __init__
File "<frozen importlib._bootstrap>", line 59, in __init__
File "/usr/lib/python3.6/bdb.py", line 51, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib/python3.6/bdb.py", line 69, in dispatch_line
self.user_line(frame)
File "/usr/lib/python3.6/idlelib/debugger.py", line 24, in user_line
self.gui.interaction(message, frame)
AttributeError: '_ModuleLock' object has no attribute 'name'
[DEBUG ON]
Idle version is 3.6.5 |
|
Date |
User |
Action |
Args |
2018-09-07 18:30:27 | piscvau@yahoo.fr | set | recipients:
+ piscvau@yahoo.fr, terry.reedy |
2018-09-07 18:30:27 | piscvau@yahoo.fr | set | messageid: <1536345027.41.0.56676864532.issue34609@psf.upfronthosting.co.za> |
2018-09-07 18:30:27 | piscvau@yahoo.fr | link | issue34609 messages |
2018-09-07 18:30:27 | piscvau@yahoo.fr | create | |
|