Hi Gordon,

could you check that it happens also with 1.0.2? 

holger

On Thu, Sep 17, 2009 at 11:07 +1000, Gordon Wrigley wrote:
> This happened, I have no idea why or even who's fault it might be so I
> thought I'd post it here in case it means anything to anyone else. The
> test that was running uses execnet, it also creates a couple of
> additional threads.
> 
> 
> tests/tcp_behavior/test_basic_listen.py:3: test_function FAILTraceback
> (most recent call last)
>   File "/usr/local/bin/py.test", line 8, in <module>
>     load_entry_point('py==1.0.0', 'console_scripts', 'py.test')()
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/cmdline/pytest.py",
> line 5, in main
>     py.test.cmdline.main()
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/cmdline.py",
> line 16, in main
>     exitstatus = session.main()
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/session.py",
> line 125, in main
>     self.sessionfinishes(exitstatus=exitstatus)
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/session.py",
> line 93, in sessionfinishes
>     exitstatus=exitstatus,
>   File "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py",
> line 139, in __call__
>     return mc.execute(firstresult=self.firstresult)
>   File "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py",
> line 23, in execute
>     res = self.execute_method(currentmethod)
>   File "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py",
> line 50, in execute_method
>     return currentmethod(self, *self.args, **self.kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_terminal.py",
> line 259, in pytest_sessionfinish
>     __call__.execute()
>   File "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py",
> line 23, in execute
>     res = self.execute_method(currentmethod)
>   File "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/_com.py",
> line 53, in execute_method
>     return currentmethod(*self.args, **self.kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/test/plugin/pytest_execnetcleanup.py",
> line 30, in pytest_sessionfinish
>     gw.exit()
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/execnet/register.py",
> line 73, in exit
>     super(PopenCmdGateway, self).exit()
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/execnet/gateway.py",
> line 354, in exit
>     self._cleanup.unregister(self)
>   File 
> "/usr/local/lib/python2.6/dist-packages/py-1.0.0-py2.6.egg/py/execnet/gateway.py",
> line 45, in unregister
>     del self._activegateways[gateway]
>   File "/usr/lib/python2.6/weakref.py", line 240, in __delitem__
>     del self.data[ref(key)]
> KeyError: <weakref at 0x86c74dc; to 'SshGateway' at 0x8f76d8c>
> 
> gord...@okum:~$ uname -a
> Linux okum 2.6.28-15-generic #51-Ubuntu SMP Mon Aug 31 13:33:16 UTC
> 2009 i686 GNU/Linux
> gord...@okum:~$ python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import py
> >>> py.version
> '1.0.0'
> _______________________________________________
> py-dev mailing list
> py-dev@codespeak.net
> http://codespeak.net/mailman/listinfo/py-dev
> 

-- 
Metaprogramming, Python, Testing: http://tetamap.wordpress.com
Python, PyPy, pytest contracting: http://merlinux.eu 
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to