Hey Ralf,

can you give me the output of "py.test --version"?
And when exactly is searchproc_flymake.py created and removed?
(the looponfail-detection code should be robust against file
removals but maybe there is a race condition)

holger

On Wed, Apr 13, 2011 at 16:15 +0200, sch...@gmail.com wrote:
> py.test --looponfail did fail with the following traceback:
> 
> ####################################### waiting for changes 
> ########################################
> ### Watching:   /home/ralf/bbot/py-nextbot/nextbot/core
> Traceback (most recent call last):
>   File "/home/ralf/local/bin/py.test", line 9, in <module>
>     load_entry_point('pytest==2.0.2', 'console_scripts', 'py.test')()
>   File "/home/ralf/local/lib/python2.7/site-packages/_pytest/core.py", line 
> 448, in main
>     exitstatus = hook.pytest_cmdline_main(config=config)
>   File "/home/ralf/local/lib/python2.7/site-packages/_pytest/core.py", line 
> 402, in __call__
>     return self._docall(methods, kwargs)
>   File "/home/ralf/local/lib/python2.7/site-packages/_pytest/core.py", line 
> 413, in _docall
>     res = mc.execute()
>   File "/home/ralf/local/lib/python2.7/site-packages/_pytest/core.py", line 
> 331, in execute
>     res = method(**kwargs)
>   File "/home/ralf/local/lib/python2.7/site-packages/xdist/plugin.py", line 
> 56, in pytest_cmdline_main
>     looponfail_main(config)
>   File "/home/ralf/local/lib/python2.7/site-packages/xdist/looponfail.py", 
> line 26, in looponfail_main
>     statrecorder.waitonchange(checkinterval=2.0)
>   File "/home/ralf/local/lib/python2.7/site-packages/xdist/looponfail.py", 
> line 195, in waitonchange
>     changed = self.check()
>   File "/home/ralf/local/lib/python2.7/site-packages/xdist/looponfail.py", 
> line 213, in check
>     del statcache[path]
> KeyError: 
> local('/home/ralf/bbot/py-nextbot/nextbot/core/searchproc_flymake.py')
> 
> 
> I'm using flymake in emacs, and searchproc_flymake.py is a temporary
> file generated by flymake.
> 
> cheers,
> -- ralf
> _______________________________________________
> py-dev mailing list
> py-dev@codespeak.net
> http://codespeak.net/mailman/listinfo/py-dev
> 
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to