setting leoID from os.getenv('USER'): 'vitalije'
reading settings in
/home/vitalije/programi/leo/trunk-git/leo/config/leoSettings.leo
reading settings in
/home/vitalije/programi/leo/trunk-git/leo/config/myLeoSettings.leo
reading settings in
/home/vitalije/programi/leo/trunk-git/leo/core/LeoPyRef.db
** isPython3: False
Leo 5.5, build 20170624181042, Sat Jun 24 18:10:42 CDT 2017
Git repo info: branch = sqlite-format, commit = 1e6da9e97999
Python 2.7.6, PyQt version 4.8.6
linux2
wrote recent file: /home/vitalije/.leo/.leoRecentFiles.txt
vitalije@phenom:~/programi/leo/trunk-git$ python launchLeo.py
leo/test/unitTest.leo
setting leoID from os.getenv('USER'): 'vitalije'
reading settings in
/home/vitalije/programi/leo/trunk-git/leo/config/leoSettings.leo
reading settings in
/home/vitalije/programi/leo/trunk-git/leo/config/myLeoSettings.leo
reading settings in
/home/vitalije/programi/leo/trunk-git/leo/test/unitTest.leo
** isPython3: False
Leo 5.5, build 20170624181042, Sat Jun 24 18:10:42 CDT 2017
Git repo info: branch = sqlite-format, commit = 1e6da9e97999
Python 2.7.6, PyQt version 4.8.6
linux2
.saved: save-new-test.py
....setting leoID from os.getenv('USER'): 'vitalije'
....................test of at.printError: La Peña
..............s...........................
End of leoAtFile tests
..............sssss........................................
End of leoColor tests
.............................
End of leoCommands tests
........
End of leoConfig tests
......................................s..
.....ss.....................................s..s.................................................................................................sss....sss...
End of typing tests
.
End of leoEditCommands tests.
............
End of leoFileCommands tests.
.....
End of leoFind tests.
.............
End of leoFrame tests.
........................................................................
End of leoGlobals tests.
.sss
End of leoGui tests.
...............................................................................................................................
End of leoImport tests.
.......
End of leoKeys tests.
........................................
End of leoNodes tests.
....................ss..s..ss.....EEEEEE...........................................................
End of leoUndo tests.
.............................................................................................................................................................
End of plugins unit tests
.@test print redraw count: 654
..all unit tests done
..
======================================================================
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test rst3Test @no-head
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vitalije/programi/leo/trunk-git/leo/core/leoTest.py", line
211, in runTest
builtins.execfile(scriptFile, d)
File "/home/vitalije/.leo/scriptFile.py", line 6, in <module>
rst3Test(c,p)
File "<string>", line 14, in __init__
File "<string>", line 54, in run
File "<string>", line 43, in clean
AttributeError: 'NoneType' object has no attribute 'replace'
======================================================================
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test rst3Test default
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vitalije/programi/leo/trunk-git/leo/core/leoTest.py", line
211, in runTest
builtins.execfile(scriptFile, d)
File "/home/vitalije/.leo/scriptFile.py", line 6, in <module>
rst3Test(c,p)
File "<string>", line 14, in __init__
File "<string>", line 54, in run
File "<string>", line 43, in clean
AttributeError: 'NoneType' object has no attribute 'replace'
======================================================================
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test rst3Test doc_only_mode (set in headline)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vitalije/programi/leo/trunk-git/leo/core/leoTest.py", line
211, in runTest
builtins.execfile(scriptFile, d)
File "/home/vitalije/.leo/scriptFile.py", line 7, in <module>
rst3Test(c,p)
File "<string>", line 14, in __init__
File "<string>", line 54, in run
File "<string>", line 43, in clean
AttributeError: 'NoneType' object has no attribute 'replace'
======================================================================
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test rst3Test doc_only_mode (set in options doc part)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vitalije/programi/leo/trunk-git/leo/core/leoTest.py", line
211, in runTest
builtins.execfile(scriptFile, d)
File "/home/vitalije/.leo/scriptFile.py", line 7, in <module>
rst3Test(c,p)
File "<string>", line 14, in __init__
File "<string>", line 54, in run
File "<string>", line 43, in clean
AttributeError: 'NoneType' object has no attribute 'replace'
======================================================================
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test rst3Test show_leo_directives=False
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vitalije/programi/leo/trunk-git/leo/core/leoTest.py", line
211, in runTest
builtins.execfile(scriptFile, d)
File "/home/vitalije/.leo/scriptFile.py", line 7, in <module>
rst3Test(c,p)
File "<string>", line 14, in __init__
File "<string>", line 54, in run
File "<string>", line 43, in clean
AttributeError: 'NoneType' object has no attribute 'replace'
======================================================================
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test rst3Test unicode characters
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vitalije/programi/leo/trunk-git/leo/core/leoTest.py", line
211, in runTest
builtins.execfile(scriptFile, d)
File "/home/vitalije/.leo/scriptFile.py", line 10, in <module>
rst3Test(c,p)
File "<string>", line 14, in __init__
File "<string>", line 54, in run
File "<string>", line 43, in clean
AttributeError: 'NoneType' object has no attribute 'replace'
----------------------------------------------------------------------
Ran 904 tests in 94.022s
FAILED (errors=6, skipped=25)
These are the results of running unit tests. I don't know if those six
failing tests are supposed to fail on my machine or they signalize that I
broke something. @Edward please look at the results.
>
> Your file format supports p.v.u too?
>
> Cheers -Terry
>
> Yes it does. I actually stored in database all ivars of VNode class
defined above the line that says that following attributes will never be
written in file.
v.gnx, v.h, v.b, v.children, v.parents, v.iconVal, v.statusBits and v.u
are all stored in table vnodes.
Children and parents are represented as a space joined list of gnx-s of
children/parent nodes.
v.u is stored as pickle.dumps(v.u). I am not sure if it is enough
compatible with the present scheme of storing v.u. I saw that there is some
kind of filtering applied in normal Leo write and read code. I don't recall
that I used ua recently and I don't posses any test Leo documents to check
if it behaves the same way the old code does.
But I suppose that Leo tree contains the same v.u dictionary it used to
have at the moment of storing in database, providing that pickle.dumps(v.u)
succeed.
@Offray Vladimir Luna Cárdenas thank you for support. I remember that you
and I have shared very similar ideas in the past on this forum regarding
use of sqlite and fossil in combination with Leo.
Vitalije
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.