detox crashes with tox-2.0.1

Issue #244 on hold
Komiya Takeshi created an issue

I got following error from detox.

$ detox
Traceback (most recent call last):
  File "/home/ubuntu/virtualenv/python2.7/bin/detox", line 9, in <module>
    load_entry_point('detox==0.9.4', 'console_scripts', 'detox')()
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
    return ep.load()
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/detox/main.py", line 5, in <module>
    from detox.proc import Detox
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/detox/proc.py", line 10, in <module>
    import tox._config
ImportError: No module named _config

I use detox (HEAD) and tox-2.0.1.

If downgrade tox to 1.9.2, detox works fine.

Comments (4)

  1. Log in to comment