Hello Edward,
I receive the following traceback, when opening my default working outline:
<traceback>
PS C:\Users\Viktor\worklogs> leo wl2015.leo
leoID=VIRA2015 (in C:\Users\Viktor\.leo)
reading settings in
C:\Users\Viktor\Programs\leo-editor-master\leo\config\leoSettings.leo
reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
reading settings in C:\Users\Viktor\worklogs\wl2015.leo
error parsing C:\Users\Viktor\worklogs\wl2015.leo
Traceback (most recent call last):
File "C:\Python34\lib\xml\sax\expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
xml.parsers.expat.ExpatError: no element found: line 1, column 639791
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"C:\Users\Viktor\Programs\leo-editor-master\leo\core\leoFileCommands.py",
line 1340, in parse_leo_file
parser.parse(theFile) # expat does not support parseString
File "C:\Python34\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python34\lib\xml\sax\xmlreader.py", line 125, in parse
self.close()
File "C:\Python34\lib\xml\sax\expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "C:\Python34\lib\xml\sax\expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "C:\Python34\lib\xml\sax\handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:639791: no element found
error parsing C:\Users\Viktor\worklogs\wl2015.leo
Traceback (most recent call last):
File "C:\Python34\lib\xml\sax\expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
xml.parsers.expat.ExpatError: no element found: line 1, column 639791
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"C:\Users\Viktor\Programs\leo-editor-master\leo\core\leoFileCommands.py",
line 1340, in parse_leo_file
parser.parse(theFile) # expat does not support parseString
File "C:\Python34\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python34\lib\xml\sax\xmlreader.py", line 125, in parse
self.close()
File "C:\Python34\lib\xml\sax\expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "C:\Python34\lib\xml\sax\expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "C:\Python34\lib\xml\sax\handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:639791: no element found
** isPython3: True
Leo 5.1-b1, build 20150405093635, Sun Apr 5 09:36:35 CDT 2015
Not running from a git repo
Python 3.4.3, PyQt version 5.4.1
Windows 8 AMD64 (build 6.2.9200)
wrote recent file: C:\Users\Viktor\.leo\.leoRecentFiles.txt
PS C:\Users\Viktor\worklogs>
</traceback>
When inspecting the outline with Vim it looks like the whole outline has
been 'overwritten' with
<hex-dump>
0000000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
...
009c320: 0000 0000 0000 0000 0000 0000 0000 000d ................
009c330: 0a .
</hex-dump>
This outline just contained plain text & URL-Links, nothing fancy. - Any
ideas how to prevent something similar in the future?
With kind regards,
Viktor
--
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.