After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 658832 - tests fail even applying "Ship tests/te_ST@nouppera in release tarballs for tests to succeed" patch
tests fail even applying "Ship tests/te_ST@nouppera in release tarballs for t...
Status: RESOLVED INCOMPLETE
Product: pygobject
Classification: Bindings
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-12 15:21 UTC by Pacho Ramos
Modified: 2012-09-23 21:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2011-09-12 15:21:11 UTC
Even applying:
http://git.gnome.org/browse/pygobject/patch/?id=c4cdb76adf2969e0b5a97495e5947d0595c0d629

tests keep failing:

test_scrolledwindow (test_overrides.TestGtk) ... ok
test_table (test_overrides.TestGtk) ... ok
test_text_buffer (test_overrides.TestGtk) ... ok
test_text_iter (test_overrides.TestGtk) ... ok
test_tree_model (test_overrides.TestGtk) ... ok
test_tree_path (test_overrides.TestGtk) ... ok
test_tree_selection (test_overrides.TestGtk) ... ok
test_tree_store (test_overrides.TestGtk) ... ok
test_tree_view_column (test_overrides.TestGtk) ... ok
test_uimanager (test_overrides.TestGtk) ... ok
test_widget_drag_methods (test_overrides.TestGtk) ... ok
test_default_font_description (test_overrides.TestPango) ... ok
test_font_description (test_overrides.TestPango) ... ok

======================================================================
ERROR: setUpClass (test_gi.TestEnum)
----------------------------------------------------------------------
Traceback (most recent call last):
  • File "/var/tmp/portage/dev-python/pygobject-2.28.6/work/pygobject-2.28.6-2.7/tests/test_gi.py", line 980 in setUpClass
    '-c', '-f', 'UTF-8', os.path.join(cls.locale_dir, 'te_ST.UTF-8@nouppera')])
  • File "/usr/lib64/python2.7/subprocess.py", line 504 in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['localedef', '-i', '/var/tmp/portage/dev-python/pygobject-2.28.6/work/pygobject-2.28.6-2.7/tests/te_ST@nouppera', '-c', '-f', 'UTF-8', '/var/tmp/portage/dev-python/pygobject-2.28.6/temp/tmpw8uFKH/te_ST.UTF-8@nouppera']' returned non-zero exit status 4

----------------------------------------------------------------------
Ran 327 tests in 6.376s

FAILED (errors=1)
make[2]: *** [check-local] Error 1
make[2]: se sale del directorio `/var/tmp/portage/dev-python/pygobject-2.28.6/work/pygobject-2.28.6-2.7/tests'
make[1]: *** [check-am] Error 2
make[1]: se sale del directorio `/var/tmp/portage/dev-python/pygobject-2.28.6/work/pygobject-2.28.6-2.7/tests'
make: *** [check-recursive] Error 1

Thanks a lot for your help
Comment 1 Martin Pitt 2012-04-22 15:44:10 UTC
This looks like a problem with localedef. What output do you get if you run

  localedef -i tests/te_ST@nouppera  -c -f UTF-8 /tmp/te_ST.UTF-8@nouppera

in the pygobject source tree?
Comment 2 Tobias Mueller 2012-09-23 21:19:29 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!