[Stackless] IDLE 3.1 from SVN fails
Ariel Ben Yehuda
ariel.bys at gmail.com
Tue Dec 8 17:02:29 CET 2009
I just compiled Stacl;ess 3.1 from SVN (tests are fine), but IDLE crashes
with little explanation about a second after I press Ctrl+Space
$ make test
running build
running build_ext
building dbm using gdbm
running build_scripts
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -E -bb ./Lib/test/regrtest.py -l
...
test_codecmaps_cn
test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_hk
test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_jp
test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_kr
test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_tw
test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled
...
test_curses
test_curses skipped -- Use of the `curses' resource not enabled
...
test_distutils
unknown, 0: Warning: using regular magic file `/etc/magic'
unknown, 0: Warning: using regular magic file `/etc/magic'
...
test_kqueue
test_kqueue skipped -- test works only on BSD
...
test_nis
test_nis skipped -- test_nis hangs on Solaris
test_normalization
test_normalization skipped -- Use of the `urlfetch' resource not enabled
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
Expecting 's_push: parser stack overflow' in next line
s_push: parser stack overflow
test_pep277
test_pep277 skipped -- test works only on NT+
...
test_smtpnet
test_smtpnet skipped -- Use of the `network' resource not enabled
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_startfile
test_startfile skipped -- module os has no attribute startfile
...
test test_telnetlib failed -- Traceback (most recent call last):
File "/home/ariel/stackless-31/Lib/test/test_telnetlib.py", line 409, in
test_debuglevel
self._test_debuglevel([a, EOF_sigil], b)
File "/home/ariel/stackless-31/Lib/test/test_telnetlib.py", line 389, in
_test_debuglevel
txt = telnet.read_all()
File "/home/ariel/stackless-31/Lib/telnetlib.py", line 325, in read_all
self.fill_rawq()
File "/home/ariel/stackless-31/Lib/telnetlib.py", line 516, in fill_rawq
buf = self.sock.recv(50)
socket.error: [Errno 104] Connection reset by peer
...
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tk
test_tk skipped -- Use of the `gui' resource not enabled
test_tokenize
test_trace
test_traceback
test_ttk_guionly
test_ttk_guionly skipped -- Use of the `gui' resource not enabled
...
test_uuid
WARNING: uuid.getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
WARNING: uuid._unixdll_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly.
...
test_winreg
test_winreg skipped -- No module named winreg
test_winsound
test_winsound skipped -- Use of the `audio' resource not enabled
...
test_xmlrpc_net
test_xmlrpc_net skipped -- Use of the `network' resource not enabled
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long
time to run
...
311 tests OK.
1 test failed:
test_telnetlib
23 tests skipped:
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
test_codecmaps_kr test_codecmaps_tw test_curses test_kqueue
test_nis test_normalization test_ossaudiodev test_pep277
test_smtpnet test_socketserver test_startfile test_timeout test_tk
test_ttk_guionly test_urllib2net test_urllibnet test_winreg
test_winsound test_xmlrpc_net test_zipfile64
Those skips are all expected on linux2.
make: [test] Error 1 (ignored)
./python -E -bb ./Lib/test/regrtest.py -l
...
Exactly the same messages as before
...
test_zlib
311 tests OK.
1 test failed:
test_telnetlib
23 tests skipped:
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
test_codecmaps_kr test_codecmaps_tw test_curses test_kqueue
test_nis test_normalization test_ossaudiodev test_pep277
test_smtpnet test_socketserver test_startfile test_timeout test_tk
test_ttk_guionly test_urllib2net test_urllibnet test_winreg
test_winsound test_xmlrpc_net test_zipfile64
Those skips are all expected on linux2.
make: *** [test] Error 1
# make altinstall
...
# exit
$ idle3 # Then Ctrl-Space
Traceback (most recent call last):
File "/usr/local/bin/idle3", line 5, in <module>
main()
File "/usr/local/lib/python3.1/idlelib/PyShell.py", line 1420, in main
root.mainloop()
File "/usr/local/lib/python3.1/tkinter/__init__.py", line 1009, in
mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: illegal
encoding
--
Debian Squeeze
- Ariel Ben-Yehuda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20091208/be5a4d1a/attachment.htm>
More information about the Stackless
mailing list