← Back to team overview

zim-wiki team mailing list archive

Re: Zim 0.49 released !

 

works great here too (Fedora FC13)!

I just had some problems/errors during test.py:


WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead
...
Test File object ... FAIL
...
Test we get a proper index for files store ... ERROR
Test moving and deleting pages in the files store ... ERROR
...
runTest (tests.notebook.TestGetNotebook) ... ERROR
...

======================================================================
ERROR: Test we get a proper index for files store
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/zim-0.49/tests/stores.py", line 278, in setUp
    tmpdir = tests.create_tmp_dir(u'stores_TestFiles_\u0421\u0430\u0439')
  File "/usr/src/zim-0.49/tests/__init__.py", line 61, in create_tmp_dir
    dir = dir.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 27-29: ordinal not in range(128)

======================================================================
ERROR: Test moving and deleting pages in the files store
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/zim-0.49/tests/stores.py", line 278, in setUp
    tmpdir = tests.create_tmp_dir(u'stores_TestFiles_\u0421\u0430\u0439')
  File "/usr/src/zim-0.49/tests/__init__.py", line 61, in create_tmp_dir
    dir = dir.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 27-29: ordinal not in range(128)

======================================================================
ERROR: runTest (tests.notebook.TestGetNotebook)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/zim-0.49/tests/notebook.py", line 28, in runTest
root = Dir(tests.create_tmp_dir(u'notebook_TestGetNotebook_\u0421\u0430\u0439'))
  File "/usr/src/zim-0.49/tests/__init__.py", line 61, in create_tmp_dir
    dir = dir.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-37: ordinal not in range(128)

======================================================================
FAIL: Test File object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/zim-0.49/tests/fs.py", line 188, in testFile
    self.assertRaises(FileWriteError, file.write, 'Overwritten!')
AssertionError: FileWriteError not raised

----------------------------------------------------------------------
Ran 103 tests in 19.532s

FAILED (failures=1, errors=3)

----------------------------------------------------------------------------------------------------------------




... but simply ignoring them, and installing anyway, zim works perfectly!

and boys - it is much faster!!!

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Follow ups