A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20110105/a88e17e3/attachment.html below:

<div class="gmail_quote">On Wed, Jan 5, 2011 at 17:56, Brian Curtin <span dir="ltr">&lt;<a href="mailto:brian.curtin@gmail.com">brian.curtin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jan 5, 2011 at 17:47, Terry Reedy <span dir="ltr">&lt;<a href="mailto:tjreedy@udel.edu" target="_blank">tjreedy@udel.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

To test Brett&#39;s test running instruction, I ran<br>


python -m test # not ./Python!<br>
in a Command Prompt window<br>
---<br>
Microsoft Windows XP [Version 5.1.2600]<br>
<br>
== CPython 3.2b2 (r32b2:87398, Dec 19 2010, 22:51:00)<br>
   [MSC v.1500 32 bit (Intel)]<br>
==   Windows-XP-5.1.2600-SP3 little-endian<br>
==   c:\docume~1\terry\locals~1\temp\test_python_3528<br>
[  1/351] test_grammar<br>
...<br>
[ 10/351] test___all__<br>
Warning -- os.environ was modified by test___all__<br>
[ 11/351] test___future__<br>
...<br>
[ 37/351] test_capi<br>
<br>
Window hangs, can only close.<br>
Error popup says &quot;python.exe has encountered a problem...&quot;<br>
at 000a03f7 in python32.dll<br>
<br>
RUN 2, same command, I get<br>
[ 37/351] test_capi<br>
test test_capi failed -- Traceback (most recent call last):<br>
  File &quot;C:\Programs\Python32\lib\test\test_capi.py&quot;, line 50, in test_no_FatalEr<br>
ror_infinite_loop<br>
    b&#39;Fatal Python error:&#39;<br>
AssertionError: b&quot;Fatal Python error: PyThreadState_Get: no current thread\r\n\r<br>
\nThis application has requested the Runtime to terminate it in an unusual way.\<br>
nPlease contact the application&#39;s support team for more information.&quot; != b&#39;Fatal<br>
 Python error: PyThreadState_Get: no current thread&#39;<br>
<br>
and it continued on with test_cfgparser, etc, so crashing rather than mere failure is intermitant.<br>
<br>
BUT process then stopped (hung, no error popup) at<br>
[ 67/351] test_concurrent_futures<br>
Traceback (most recent call last):<br>
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\forking.py&quot;, line 369, in main<br>
    prepare(preparation_data)<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\forking.py&quot;, line 477, in prepa<br>
re<br>
    assert main_name not in sys.modules, main_name<br>
AssertionError: __main__<br>
<br>
RUN 3<br>
 python -m test -x test_capi test_concurrent_futures<br>
<br>
went further, more failed tests, then process started repeatedly (hundred of times) outputting<br>
<br>
    assert main_name not in sys.modules, main_name<br>
AssertionError: __main__<br>
Traceback (most recent call last):<br>
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\forking.py&quot;, line 369, in main<br>
    prepare(preparation_data)<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\forking.py&quot;, line 477,<br>
<br>
Occasionally a new test would start in between this stuff. It ended with test_sax. I cannot say when it began because the volume overfilled the output buffer.<br>
<br>
[306/349] test_ttk_guionly # and test_tk<br>
test_ttk_guionly skipped -- ttk not available: Can&#39;t find a usable init.tcl in t<br>
he following directories:<br>
    C:/Programs/Python32/lib/tcl8.5 C:/Programs/lib/tcl8.5 C:/lib/tcl8.5 C:/Prog<br>
rams/library C:/library C:/tcl8.5.9/library C:/tcl8.5.9/library<br>
This probably means that Tcl wasn&#39;t installed properly.<br>
<br>
Funny, IDLE works fine. In any case, I did a standard install from the distributed installer.<br>
<br>
Something is definitely not ready for final release. The final mishmash:<br>
<br>
[349/349] test_zlib<br>
295 tests OK.<br>
11 tests failed:<br>
    test_datetime test_difflib.bak test_ftplib test_lib2to3<br>
    test_multiprocessing test_os.bak test_pep277 test_pkgutil<br>
    test_posixpath test_runpy test_tcl<br>
2 tests altered the execution environment:<br>
    test___all__ test_site<br>
41 tests skipped:<br>
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp<br>
    test_codecmaps_kr test_codecmaps_tw test_crypt test_curses<br>
    test_dbm_gnu test_dbm_ndbm test_epoll test_fcntl test_fork1<br>
    test_gdb test_grp test_ioctl test_kqueue test_largefile test_nis<br>
    test_openpty test_ossaudiodev test_pipes test_poll test_posix<br>
    test_pty test_pwd test_readline test_resource test_smtpnet<br>
    test_socketserver test_syslog test_threadsignals test_timeout<br>
    test_tk test_ttk_guionly test_urllib2net test_urllibnet test_wait3<br>
    test_wait4 test_winsound test_xmlrpc_net test_zipfile64<br>
4 skips unexpected on win32:<br>
    test_gdb test_readline test_tk test_ttk_guionly<br>
Traceback (most recent call last):<br>
  File &quot;C:\Programs\Python32\lib\test\support.py&quot;, line 468, in temp_cwd<br>
    yield os.getcwd()<br>
  File &quot;C:\Programs\Python32\lib\test\__main__.py&quot;, line 13, in &lt;module&gt;<br>
    regrtest.main()<br>
  File &quot;C:\Programs\Python32\lib\test\regrtest.py&quot;, line 704, in main<br>
    sys.exit(len(bad) &gt; 0 or interrupted)<br>
SystemExit: True<br>
<br>
During handling of the above exception, another exception occurred:<br>
<br>
Traceback (most recent call last):<br>
  File &quot;C:\Programs\Python32\lib\runpy.py&quot;, line 160, in _run_module_as_main<br>
    &quot;__main__&quot;, fname, loader, pkg_name)<br>
  File &quot;C:\Programs\Python32\lib\runpy.py&quot;, line 73, in _run_code<br>
    exec(code, run_globals)<br>
  File &quot;C:\Programs\Python32\lib\test\__main__.py&quot;, line 13, in &lt;module&gt;<br>
    regrtest.main()<br>
  File &quot;C:\Programs\Python32\lib\contextlib.py&quot;, line 46, in __exit__<br>
    self.gen.throw(type, value, traceback)<br>
  File &quot;C:\Programs\Python32\lib\test\support.py&quot;, line 472, in temp_cwd<br>
    rmtree(name)<br>
  File &quot;C:\Programs\Python32\lib\test\support.py&quot;, line 198, in rmtree<br>
    shutil.rmtree(path)<br>
  File &quot;C:\Programs\Python32\lib\shutil.py&quot;, line 287, in rmtree<br>
    onerror(os.rmdir, path, sys.exc_info())<br>
  File &quot;C:\Programs\Python32\lib\shutil.py&quot;, line 285, in rmtree<br>
    os.rmdir(path)<br>
WindowsError: [Error 32] The process cannot access the file because it is being<br>
used by another process: &#39;c:\\docume~1\\terry\\locals~1\\temp\\test_python_2372&#39;<br>
<br>
Traceback (most recent call last):<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\util.py&quot;, line 261, in _run_fin<br>
alizers<br>
    finalizer()<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\util.py&quot;, line 200, in __call__<br>
<br>
    res = self._callback(*self._args, **self._kwargs)<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\pool.py&quot;, line 492, in _termina<br>
te_pool<br>
    p.terminate()<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\process.py&quot;, line 137, in termi<br>
nate<br>
    self._popen.terminate()<br>
AttributeError: &#39;NoneType&#39; object has no attribute &#39;terminate&#39;<br>
<br>
C:\Programs\Python32&gt;Traceback (most recent call last):<br>
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;C:\Programs\Python32\lib\multiprocessing\forking.py&quot;, line 368, in main<br>
    preparation_data = load(from_parent)<br>
EOFError<br><font color="#888888">
<br>
-- <br>
Terry Jan Reedy</font></blockquote><div><br></div></div></div><div><a href="http://bugs.python.org/issue9116" target="_blank">http://bugs.python.org/issue9116</a> covers this issue.</div><div><br></div><div>The reason it doesn&#39;t fail on any of the build slaves is because they modify a registry value for Windows Error Reporting to not display the pop-up window, or at least mine does. I think I got the idea from one of the other Windows build slave maintainers.</div>

</div>


</blockquote></div><br><div>Sorry, should have specified -- that issue only covers the test_capi failure.</div>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4