← Back to team overview

zim-wiki team mailing list archive

test error under root

 

I know, I know I'm not supposed to run anything under root...
but I <have> to use zim under root, and up to v0.50 no problem was ever present.

Now unfortunately the new zim fails me during test:

...
Test File object ... FAIL
...
...........................................
Test TagsPageTreeStore index interface ...
** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_ref_node: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_iter_has_child: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_ref_node: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_iter_has_child: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_ref_node: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_iter_has_child: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_ref_node: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_iter_has_child: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_ref_node: assertion `VALID_ITER(iter, tree_model)' failed ** (test.py:3426): CRITICAL **: pygtk_generic_tree_model_iter_has_child: assertion `VALID_ITER(iter, tree_model)' failed
ok
Test Equation Editor plugin ... ok
Test Diagram Editor plugin ... ok
======================================================================
FAIL: Test File object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/zim-0.51/tests/fs.py", line 189, in testFile
    self.assertRaises(FileWriteError, file.write, 'Overwritten!')
AssertionError: FileWriteError not raised
----------------------------------------------------------------------
Ran 139 tests in 28.939s
FAILED (failures=1)


The Test File Object doesnt fail instead when test-ing as a normal user.

The pygtk_generic_tree_model* errors are instead present both for the normal user and for root.


I am under Fedora FC13,
gtk2 version 2.20
python version 2.6.4
pygtk2 version 2.17.0
pygobject2 version 2.21.6
pyxdg version 0.17
xdg-utils version 1.0.2


alessandro

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/  Dr.Alessandro Magni
\        Electromagnetics Division
/        INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\        Email magni@xxxxxxxx
/        Tel: 0039-011-3919821  Fax: 0039-011-3919834
\        URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail
\ in high spirits.  -- Robert Louis Stevenson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~