Leo 5.3 was working fine for me for quite some time.
Without any (known) changes Leo stopped working :-(
Here are the relevant tracebacks
<TB-01>
Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. Alle Rechte vorbehalten.
PS C:\Users\Viktor> cd worklogs
PS C:\Users\Viktor\worklogs> leo wl2016.leo
leoID=VIRA2015 (in C:\Users\Viktor\.leo)
reading settings in
C:\Users\Viktor\Programs\leo53\leo\config\leoSettings.leo
reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
reading settings in C:\Users\Viktor\worklogs\wl2016.leo
** isPython3: True
Leo 5.3-final, build 20160412153848, Tue Apr 12 15:38:48 CDT 2016
Not running from a git repo
Python 3.5.1, PyQt version 5.6.0
Windows 10 AMD64 (build 10.0.10586) SP0
Traceback (most recent call last):
File "C:\Users\Viktor\Programs\leo53\launchLeo.py", line 8, in <module>
leo.core.runLeo.run()
File "C:\Users\Viktor\Programs\leo53\leo\core\runLeo.py", line 63, in run
g.app.loadManager.load(fileName, pymacs)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2076, in
load
ok = lm.doPostPluginsInit()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2418, in
doPostPluginsInit
c = lm.loadLocalFile(fn, gui=g.app.gui, old_c=None)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2656, in
loadLocalFile
c = lm.openFileByName(fn, gui, old_c, previousSettings)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2705, in
openFileByName
lm.createMenu(c, fn)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2714, in
createMenu
g.app.recentFilesManager.updateRecentFiles(fn)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 3138, in
updateRecentFiles
if (munge(fileName) == munge(name) or
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 3128, in
munge
return g.os_path_finalize(name or '').lower()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoGlobals.py", line 5910,
in os_path_finalize
path = os.path.abspath(path)
File "C:\Python35\lib\ntpath.py", line 535, in abspath
path = _getfullpathname(path)
ValueError: _getfullpathname: embedded null character
PS C:\Users\Viktor\worklogs>
</TB-01>
Then I tried to call Leo 5.3 w/o an explicit outline. - Same result:
<TB-02>
PS C:\Users\Viktor\worklogs> leo
leoID=VIRA2015 (in C:\Users\Viktor\.leo)
reading settings in
C:\Users\Viktor\Programs\leo53\leo\config\leoSettings.leo
reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
Using default leo file name:
C:\Users\Viktor\.leo\workbook.leo
** isPython3: True
Leo 5.3-final, build 20160412153848, Tue Apr 12 15:38:48 CDT 2016
Not running from a git repo
Python 3.5.1, PyQt version 5.6.0
Windows 10 AMD64 (build 10.0.10586) SP0
Traceback (most recent call last):
File "C:\Users\Viktor\Programs\leo53\launchLeo.py", line 8, in <module>
leo.core.runLeo.run()
File "C:\Users\Viktor\Programs\leo53\leo\core\runLeo.py", line 63, in run
g.app.loadManager.load(fileName, pymacs)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2076, in
load
ok = lm.doPostPluginsInit()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2429, in
doPostPluginsInit
c1 = lm.openEmptyWorkBook()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2491, in
openEmptyWorkBook
c = lm.loadLocalFile(fn, gui=g.app.gui, old_c=None)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2656, in
loadLocalFile
c = lm.openFileByName(fn, gui, old_c, previousSettings)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2705, in
openFileByName
lm.createMenu(c, fn)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2714, in
createMenu
g.app.recentFilesManager.updateRecentFiles(fn)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 3138, in
updateRecentFiles
if (munge(fileName) == munge(name) or
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 3128, in
munge
return g.os_path_finalize(name or '').lower()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoGlobals.py", line 5910,
in os_path_finalize
path = os.path.abspath(path)
File "C:\Python35\lib\ntpath.py", line 535, in abspath
path = _getfullpathname(path)
ValueError: _getfullpathname: embedded null character
PS C:\Users\Viktor\worklogs>
</TB-02>
I even tried to change Leo back to version 5.1. - Unfortunately a similar
result:
<TB-03>
PS C:\Users\Viktor\worklogs> leo
leoID=VIRA2015 (in C:\Users\Viktor\.leo)
reading settings in
C:\Users\Viktor\Programs\leo53\leo\config\leoSettings.leo
reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
Using default leo file name:
C:\Users\Viktor\.leo\workbook.leo
** isPython3: True
Leo 5.3-final, build 20160412153848, Tue Apr 12 15:38:48 CDT 2016
Not running from a git repo
Python 3.5.1, PyQt version 5.6.0
Windows 10 AMD64 (build 10.0.10586) SP0
Traceback (most recent call last):
File "C:\Users\Viktor\Programs\leo53\launchLeo.py", line 8, in <module>
leo.core.runLeo.run()
File "C:\Users\Viktor\Programs\leo53\leo\core\runLeo.py", line 63, in run
g.app.loadManager.load(fileName, pymacs)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2076, in
load
ok = lm.doPostPluginsInit()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2429, in
doPostPluginsInit
c1 = lm.openEmptyWorkBook()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2491, in
openEmptyWorkBook
c = lm.loadLocalFile(fn, gui=g.app.gui, old_c=None)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2656, in
loadLocalFile
c = lm.openFileByName(fn, gui, old_c, previousSettings)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2705, in
openFileByName
lm.createMenu(c, fn)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 2714, in
createMenu
g.app.recentFilesManager.updateRecentFiles(fn)
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 3138, in
updateRecentFiles
if (munge(fileName) == munge(name) or
File "C:\Users\Viktor\Programs\leo53\leo\core\leoApp.py", line 3128, in
munge
return g.os_path_finalize(name or '').lower()
File "C:\Users\Viktor\Programs\leo53\leo\core\leoGlobals.py", line 5910,
in os_path_finalize
path = os.path.abspath(path)
File "C:\Python35\lib\ntpath.py", line 535, in abspath
path = _getfullpathname(path)
ValueError: _getfullpathname: embedded null character
PS C:\Users\Viktor\worklogs>
</TB-03>
Any ideas?
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.