Hello Edward,

Thanks for your quick feedback!

Here are the new tracebacks, when I call it with an explicit outline
argument

<TB-4>

Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. Alle Rechte vorbehalten.

PS C:\Users\Viktor> cd worklogs
PS C:\Users\Viktor\worklogs> leo wl2016.leo
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\core\\leoGlobals.py'
os_path_finalize 'C:\\Users\\Viktor\\Programs\\leo53\\leo\\core'
os_path_finalize 'C:\\Users\\Viktor'
os_path_finalize 'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config'
os_path_finalize '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
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize 'C:\\Users\\Viktor\\.leo'
os_path_finalize 'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config'
os_path_finalize 'C:\\Users\\Viktor\\worklogs'
os_path_finalize 'C:\\Users\\Viktor\\worklogs\\wl2016.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
os_path_finalize 'C:\\Users\\Viktor\\worklogs\\wl2016.leo'
os_path_finalize
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
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 5912,
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-4>

and when I call Leo without an explicit outline as an argument ...

<TB-5>

PS C:\Users\Viktor\worklogs> leo
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\core\\leoGlobals.py'
os_path_finalize 'C:\\Users\\Viktor\\Programs\\leo53\\leo\\core'
os_path_finalize 'C:\\Users\\Viktor'
os_path_finalize 'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config'
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
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize
'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config\\leoSettings.leo'
os_path_finalize 'C:\\Users\\Viktor\\.leo'
os_path_finalize 'C:\\Users\\Viktor\\Programs\\leo53\\leo\\config'
os_path_finalize 'C:\\Users\\Viktor\\.leo\\workbook.leo'
Using default leo file name:
C:\Users\Viktor\.leo\workbook.leo
os_path_finalize '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
os_path_finalize 'C:\\Users\\Viktor\\.leo\\workbook.leo'
os_path_finalize
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
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 5912,
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-5>

!!! What irritates me is that something changed *without* any (known)
update to Leo *or* Python  !!!

With kind regards,

Viktor



On Tue, Jun 28, 2016 at 4:46 AM, Edward K. Ream <edream...@gmail.com> wrote:

>
>
> On Mon, Jun 27, 2016 at 1:40 PM, Viktor Ransmayr <
> viktor.ransm...@gmail.com> wrote:
>
>> 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>
>>
> ​[snip]​
>
>
>>   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>
>>
> ​
> It seems there is a null character in one of your file names.
>
> True, Leo should probably handle such things.  It might be a change to
> _getfullpathname (that is, a change to Python 3.5) or it might be that
> somehow a null character has found its way into one of your file names.
>
> > ​Any ideas?
>
> Find out what path is actually passed to ​g.os_path_finalize.  You could
> insert a call to g.trace(repr(path)) and see.
>
> Edward​
>
> --
> 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 leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to