It's not my fault! - Han Solo

SInce I'd been mucking with the tnodes in .leo files, I thought surely
I'd introduced this, but then I reverted to trunk revision 1236, and
it was still there.  What happens: I start leo like so:
PYTHONPATH=`pwd` python leo/core/runLeo.py
Then I open the leo/test/unitTest.leo file, and use Alt-4 to run all
the tests, and they all succeed.  But then I try to exit leo, and I
get the errors appended, copied from the console starting at the point
where unitTest.leo declares success.

Since this isn't my fault(TM), should I ignore this problem during the
development of what I'm actually working on? (Which is an @verbatim
directive to use with, among other things, @shadow and the haraam
files of the infidel non-leonine containing "<<" and ">>" on the same
line.)  I've utterly no clue how to produce a vnode object that
doesn't have a t attribute, unless unified_nodes is true, and it
surely is not:
[EMAIL PROTECTED] trunk]$ grep -R 'unified_nodes *=' .
./leo/core/leoGlobals.py:unified_nodes = False


[successful unitTest.leo output elided]
Ran 525 tests in 257.799s

OK
wrote recent file: /home/sps/.leo/.leoRecentFiles.txt
wrote recent file: /home/sps/.leo/.leoRecentFiles.txt
exception executing command
Traceback (most recent call last):

  File "/home/sps/Bzr/trunk/leo/core/leoCommands.py", line 319, in
doCommand
    val = command(event)

  File "/home/sps/Bzr/trunk/leo/core/leoApp.py", line 424, in onQuit
    if not g.app.closeLeoWindow(w):

  File "/home/sps/Bzr/trunk/leo/core/leoApp.py", line 259, in
closeLeoWindow
    c.endEditing() # Commit any open edits.

  File "/home/sps/Bzr/trunk/leo/core/leoCommands.py", line 7178, in
endEditing
    c.frame.tree.endEditLabel()

  File "/home/sps/Bzr/trunk/leo/core/leoFrame.py", line 2462, in
endEditLabel
    self.onHeadChanged(p)

  File "/home/sps/Bzr/trunk/leo/core/leoFrame.py", line 2376, in
onHeadChanged
    p.initHeadString(s)

  File "/home/sps/Bzr/trunk/leo/core/leoNodes.py", line 1526, in
initHeadString
    p.v.initHeadString(s,encoding)

  File "/home/sps/Bzr/trunk/leo/core/leoNodes.py", line 764, in
setHeadString
    v.t._headString = g.toUnicode(s,encoding,reportErrors=True)

AttributeError: 'vnode' object has no attribute 't'




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to