[py-dev] py.test --looponfailing started failing on Windows...
holger krekel
holger at merlinux.de
Sat Jul 5 10:31:18 CEST 2008
Hi Baptiste,
thanks for your good report. Debugging such issues is often
tedious. but let's try. I assume that you have no changes
to the system or the python version that you are aware of.
Before doing anything more, please do a "py/bin/py.cleanup"
on your complete project - this erases all .pyc files.
and check if the problem goes away.
then ...
On Sat, Jul 05, 2008 at 10:03 +0200, Baptiste Lepilleur wrote:
> File "E:\prg\py\App\sbuilder\build\src\sbuilder\testing\py.test.py", line 4, in <module>
> py.test.cmdline.main()
> File "c:\Python25\lib\site-packages\py\test\cmdline.py", line 15, in main
> failures = session.main()
> File "C:\Python25\lib\site-packages\py\test\terminal\remote.py", line 82, in main
> failures = self.run_remote_session(failures)
> File "C:\Python25\lib\site-packages\py\test\terminal\remote.py", line 111, in run_remote_session
> return channel.receive()
> File "C:\Python25\lib\site-packages\py\execnet\channel.py", line 175, in receive
> raise self._getremoteerror() or EOFError()
> EOFError
>
> I enabled the gateway trace I found:
> **** execnet-debug-3420:
> sending gateway bootstrap code
> Channel(3).__del__
> sent -> <Message.CHANNEL_LAST_MESSAGE channelid=3 ''>
> Channel(5).__del__
> sent -> <Message.CHANNEL_LAST_MESSAGE channelid=5 ''>
> sent -> <Message.CHANNEL_OPEN channelid=1 len=111>
> sent -> <Message.CHANNEL_DATA channelid=1 len=456>
> leaving <Thread(receiver, started daemon)>
> ====================cleaning up====================
> Channel(1).__del__
>
>
> *** execnet-debug-2308
> Traceback (most recent call last):
> File "<string>", line 359, in _thread_receiver
> File "<string>", line 626, in readfrom
> ValueError: bad data format
Can you go to py/execnet/message.py:43 and add some more info
to the exception string and report back what you get?
best,
holger
--
collaborative expert contracting: http://merlinux.eu
pylib py.test/greenlets/svn APIs: http://pylib.org
PyPy Python/Compiler tool chain: http://codespeak.net/pypy
More information about the py-dev
mailing list