Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335099 - dev-python/pyenchant-1.6.2 fails test
Summary: dev-python/pyenchant-1.6.2 fails test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-29 04:31 UTC by Nikoli
Modified: 2010-10-23 12:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2010-08-29 04:31:23 UTC
>>> Source compiled.
 * Testing of dev-python/pyenchant-1.6.2 with CPython 2.6...
PYTHONPATH=build-2.6/lib python2.6 setup.py build -b build-2.6 test
running build
running build_py
running egg_info
writing pyenchant.egg-info/PKG-INFO
writing eager_resources to pyenchant.egg-info/eager_resources.txt
writing top-level names to pyenchant.egg-info/top_level.txt
writing dependency_links to pyenchant.egg-info/dependency_links.txt
reading manifest file 'pyenchant.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools/pyenchant-bdist-win32-sources'
writing manifest file 'pyenchant.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running test
running build_ext
Test pyenchant running inside a py2exe executable. ... ok
test_GetSetParam (enchant.tests.TestBroker) ... ok
Test that the en_US language is available. ... ok
Test whether all advertised languages are in fact available. ... ok
Test that provider ordering works correctly. ... ok
Test whether all advertised providers are in fact available. ... ok
Test that unicode language tags are accepted ... ok
Test adding/removing from default user dictionary. ... ok
Test behaviour of default language selection. ... ok
Test that the en_US language is available through default broker. ... ok
Test that the dict's broker is set correctly. ... ok
Test that check() works on some common words. ... ok
Test that adding words to the session works as required. ... ok
Test that suggest() gets simple suggestions right. ... ok
Test whether suggest() hangs on some inputs (Bug #1404196) ... ok
Test that the dict's tag is set correctly. ... ok
Test checking/suggesting for unicode strings ... ok
Test functionality of DictWithPWL using exclude list. ... ok
Test functionality of DictWithPWL. ... ok
Test functionality of DictWithPWL using transient dicts. ... ok
Test our pure-python PWL implementation. ... ok
Test that unicode chars in PWL paths are accepted. ... ERROR
Test that unicode PWL filenames are accepted. ... ok
Test that adding words to a PWL works correctly. ... ok
Test that basic checking works for PWLs. ... ok
Test getting suggestions from a PWL. ... ok
Test that all our docstrings are error-free. ... ok
Test a basic run of the SpellChecker class. ... ok
Testcases for bug #2785373. ... ok
Test SpellChecker with a character array as input. ... ok
Test SpellChecker with the 'chunkers' argument. ... ok
Test SpellChecker with the 'chunkers' and 'filters' arguments. ... ok
test_default_language (enchant.checker.tests.TestChecker) ... ok
Test SpellChecker with the 'filters' argument. ... ok
Test checker loop with PWL. ... ok
Test SpellChecker with a unicode string. ... ok
Simple regression test for basic white-space tokenization. ... ok
Test special-char-stripping edge-cases in basic_tokenize. ... ok
Test wrapping of one tokenizer with another. ... ok
Check for tokenization regressions identified in bug #1591450. ... ok
Testcases for bug #2785373 ... ok
Test tokenizing some Finnish text. ... ok
Simple regression test for English tokenization. ... ok
Test tokenization of a basic unicode string. ... ok
Test tokenization with unicode combining symbols. ... ok
Test tokenization of UTF8-encoded bytes (bug #2500184). ... ok
Test several filters combined ... ok
Test filtering of email addresses ... ok
Test filtering of URLs ... ok
Test filtering of WikiWords ... ok

======================================================================
ERROR: Test that unicode chars in PWL paths are accepted.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/portage/dev-python/pyenchant-1.6.2/work/pyenchant-1.6.2/enchant/tests.py", line 405, in test_UnicodeCharsInPath
    d = request_pwl_dict(self._path())
  File "/var/tmp/portage/portage/dev-python/pyenchant-1.6.2/work/pyenchant-1.6.2/enchant/tests.py", line 284, in _path
    if not os.path.exists(nm):
  File "/usr/lib64/python2.6/genericpath.py", line 18, in exists
    st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-74: ordinal not in range(128)

----------------------------------------------------------------------
Ran 50 tests in 8.920s

FAILED (errors=1)
 * ERROR: dev-python/pyenchant-1.6.2 failed:


Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
Timestamp of tree: Sat, 28 Aug 2010 09:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="7zip X a52 aac acl acpi akonadi alsa amd64 amr amrnb amrwb ares atm audiofile bash-completion bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli consolekit cracklib crypt css cups cxx dbus divx djvu dri dts dv dvd dvdr dvdread emboss encode exif ffmpeg firefox flac fluidsynth fontconfig fortran gd geoip gif gimp glitz gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk hal handbook iconv id3tag idn ieee1394 imagemagick imap imlib ipv6 jbig jpeg jpeg2k kde kipi kontact ladspa lame laptop lcms libproxy libsamplerate libwww lm_sensors lzma lzo mad matroska md5sum mikmod mmx mmxext mng modplug modules mp3 mp4 mpeg mtp mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs nvidia obex ogg openal opencore-amr openexr opengl openmp pam pango pcre pdf perl pg-intdatetime phonon plasma pm-utils png ppds pppd qt3support qt4 quicktime rar raw readline reflection reiserfs sasl scanner schroedinger semantic-desktop session smp sndfile socks5 speex spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs taglib theora threads thumbnail tiff truetype tta udev unicode upnp usb userlocales v4l v4l2 vaapi vcd vdpau vorbis vpx wavpack webkit wifi wma wmf wps x264 xcb xcomposite xface xml xmp xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-text/enchant-1.6.0 was built with the following:
USE="aspell hunspell (multilib) test -zemberek"
Comment 1 Nikoli 2010-10-19 18:46:43 UTC
1.6.3 passes tests fine :)