On 31 Jan., 13:42, "Edward K. Ream" <[email protected]> wrote:
> 2010/1/31 Edward K. Ream <[email protected]>:
>
> The proximate cause of this problem is a bad directory name:
>
> >> WindowsError: [Error 123] Die Syntax f r den Dateinamen,
> >> Verzeichnisnamen oder die Datentr gerbezeichnung ist falsch: u'C:\
> >> \Dokumente und Einstellungen\\VR\\Eigene Dateien\\Tools\\Leo\\: C:'
>
> That is:
>
> u'C:\ \Dokumente und Einstellungen\\VR\\Eigene Dateien\\Tools\\Leo\\: C:'
>
> This name ends with "\\: C:".  In windows this will always be an
> invalid name.  The question is, how did this name arise?
>
> Could you please put the following trace at the end of computeOutputFileName?
>
> g.trace('openDirectory %s\ndefault_path %s\npath %s' % (
>         repr(openDirectory),repr(default_path),repr(path)))

I made the modification proposed to you in leoRst.py. (To be precise:
I did it in
LeoPyRef.leo - and - I did it before the 'return path' ;-)

When I perform the 'rst3' command on that node I still receive the
exception
and the traceback, but no trace :-( - See attached info from leo log-
pane:

<Log>

Leo Log Window
Leo 4.7 b2, build 2790, January 29, 2010
Python 2.6.2, Tk 8.5, Pmw 1.3
Windows 5, 1, 2600, 2, Service Pack 3
leoID=RV20090910 (in C:\Dokumente und Einstellungen\VR\.leo)
load dir: C:\leo-editor\leo\core
global config dir: C:\leo-editor\leo\config
home dir: C:\Dokumente und Einstellungen\VR
reading settings in C:\leo-editor\leo\config\leoSettings.leo
using menus from: leoSettings.leo
reading settings in C:\Dokumente und Einstellungen\VR\.leo
\myLeoSettings.leo
reading settings in C:\Dokumente und Einstellungen\VR\Eigene Dateien
\Tools\Leo\Leo-4.7-beta-tests.leo
default encoding utf-8
@enabled-plugins found in myLeoSettings.leo
Can not load c:\aspell\bin\aspell-15.dll
reading: C:\Dokumente und Einstellungen\VR\Eigene Dateien\Tools\Leo
\Leo-4.7-beta-tests.leo
saved: Leo-4.7-beta-tests.leo
saved: Leo-4.7-beta-tests.leo
SilverCity not present so no syntax highlighting
exception creating directory: C:\Dokumente und Einstellungen\VR\Eigene
Dateien\Tools\Leo\: C:
Traceback (most recent call last):
  File "C:\leo-editor\leo\core\leoGlobals.py", line 2695, in
makeAllNonExistentDirectories
    os.mkdir(path)
WindowsError: [Error 123] Die Syntax f�r den Dateinamen,
Verzeichnisnamen oder die Datentr�gerbezeichnung ist falsch: u'C:\
\Dokumente und Einstellungen\\VR\\Eigene Dateien\\Tools\\Leo\\: C:'
exception creating directory: C:\Dokumente und Einstellungen\VR\Eigene
Dateien\Tools\Leo\: C:
Traceback (most recent call last):
  File "C:\leo-editor\leo\core\leoGlobals.py", line 2695, in
makeAllNonExistentDirectories
    os.mkdir(path)
WindowsError: [Error 123] Die Syntax f�r den Dateinamen,
Verzeichnisnamen oder die Datentr�gerbezeichnung ist falsch: u'C:\
\Dokumente und Einstellungen\\VR\\Eigene Dateien\\Tools\\Leo\\: C:'
stylesheet not found
 C:\Dokumente und Einstellungen\VR\Eigene Dateien\Tools\Leo
\default.css
@path: C:\Dokumente und Einstellungen\VR\Eigene Dateien\Tools\Leo
open path: C:\Dokumente und Einstellungen\VR\Eigene Dateien\Tools\Leo
wrote: C:\Dokumente und Einstellungen\VR\Eigene Dateien\Tools\Leo
\Leo-4.7-beta-tests\Logs\2010\01\LE-2010-01-31.html
done

</Log>

-- 
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