after reading the changes to @nosent (which I use a lot) and @shadow… I
updated my leo (git-version).
But since then my leo file does not longer load. I admit it is really huge,
14MB, it was growing the last years
and was stable loading over many different versions of leo. Now that
sequence stopped, unfortunately.
I can give an excerpt of the traceback. But it is hard to identify the
exact data where it fails. (on very short
leo files I have no problems.
reading settings in /Users/abc/.leo/workbook.leo
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/difflib.py:437:
UnicodeWarning: Unicode equal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
a[besti+bestsize] == b[bestj+bestsize]:
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/difflib.py:433:
UnicodeWarning: Unicode equal comparison failed to convert both arguments
to Unicode - interpreting them as being unequal
a[besti-1] == b[bestj-1]:
Traceback (most recent call last):
File "/Users/abc/Applications/leo-editor/launchLeo.py", line 8, in
<module>
leo.core.runLeo.run()
File "/Users/abc/Applications/leo-editor/leo/core/runLeo.py", line 81, in
run
g.app.loadManager.load(fileName,pymacs)
File "/Users/abc/Applications/leo-editor/leo/core/leoApp.py", line 1953,
in load
ok = lm.doPostPluginsInit()
File "/Users/abc/Applications/leo-editor/leo/core/leoApp.py", line 2300,
in doPostPluginsInit
c1 = lm.openEmptyWorkBook()
File "/Users/abc/Applications/leo-editor/leo/core/leoApp.py", line 2358,
in openEmptyWorkBook
c = lm.loadLocalFile(fn,gui=g.app.gui,old_c=None)
File "/Users/abc/Applications/leo-editor/leo/core/leoApp.py", line 2554,
in loadLocalFile
c = lm.openFileByName(fn,gui,old_c,previousSettings)
File "/Users/abc/Applications/leo-editor/leo/core/leoApp.py", line 2598,
in openFileByName
ok = lm.readOpenedLeoFile(c,gui,fn,readAtFileNodesFlag,theFile)
File "/Users/abc/Applications/leo-editor/leo/core/leoApp.py", line 2784,
in readOpenedLeoFile
readAtFileNodesFlag=readAtFileNodesFlag)
File "/Users/abc/Applications/leo-editor/leo/core/leoFileCommands.py",
line 906, in openLeoFile
silent=silent)
File "/Users/abc/Applications/leo-editor/leo/core/leoFileCommands.py",
line 755, in getLeoFile
fc.readExternalFiles(fileName)
File "/Users/abc/Applications/leo-editor/leo/core/leoFileCommands.py",
line 858, in readExternalFiles
c.atFileCommands.readAll(c.rootVnode(),partialFlag=False)
File "/Users/abc/Applications/leo-editor/leo/core/leoAtFile.py", line
885, in readAll
at.readOneAtNosentNode(p)
File "/Users/abc/Applications/leo-editor/leo/core/leoAtFile.py", line
1022, in readOneAtNosentNode
new_public_lines,old_private_lines,marker,p=root)
File "/Users/abc/Applications/leo-editor/leo/core/leoShadow.py", line
363, in propagate_changed_lines
x.check_output()
File "/Users/abc/Applications/leo-editor/leo/core/leoShadow.py", line
244, in check_output
junk, sentinel_lines = x.separate_sentinels(wtr.lines, marker)
File "/Users/abc/Applications/leo-editor/leo/core/leoShadow.py", line
681, in separate_sentinels
if marker.isSentinel(line):
File "/Users/abc/Applications/leo-editor/leo/core/leoShadow.py", line
915, in isSentinel
if self.delim1 and s.startswith(self.delim1):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7:
ordinal not in range(128)
And leo does not start - hanging on the splash screen.
As you can see, it is a Mac system, installed with brew, so having leo from
git, py (2.7) + pyqt the
latest from brew. I could certainly go back to the version it worked - I
did a last git pull a few weeks
back, but of course I would like to be on the current leo-development path.
Is there any way to find out which part of the leo file causes the failure.
--
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.