I haven't seen my first message in the list yet, the forum is probably 
moderated...
Further tests editing the guilty function call:




* File "C:\Python310\lib\site-packages\leo\plugins\leoOPML.py", line 319, 
in writeFile    ok = self.c.fileCommands.write_Leo_file(fileName, 
1)TypeError: FileCommands.write_Leo_file() takes 2 positional arguments but 
3 were given*

So it works with the fileName only, but the result is not an OPML file, not 
even XML (see attachment).

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/d2cfa374-c4ec-4fde-b1a2-d385a0d5a115n%40googlegroups.com.
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo: http://leoeditor.com/leo_toc.html -->
<leo_file xmlns:leo="http://leoeditor.com/namespaces/leo-python-editor/1.1"; >
<leo_header file_format="2"/>
<globals/>
<preferences/>
<find_panel_settings/>
<vnodes>
<v t="mindaxis.20220829145908.1"><vh>newHeadline 1</vh>
<v t="mindaxis.20220829145937.1"><vh>newHeadline 1.1</vh></v>
<v t="mindaxis.20220829145946.1"><vh>newHeadline 1.2</vh></v>
</v>
<v t="mindaxis.20220829145956.1"><vh>newHeadline 2</vh>
<v t="mindaxis.20220829150015.1"><vh>newHeadline2.1</vh></v>
</v>
<v t="mindaxis.20220829150026.1"><vh>newHeadline 3</vh></v>
</vnodes>
<tnodes>
<t tx="mindaxis.20220829145908.1"></t>
<t tx="mindaxis.20220829145937.1"></t>
<t tx="mindaxis.20220829145946.1"></t>
<t tx="mindaxis.20220829145956.1"></t>
<t tx="mindaxis.20220829150015.1"></t>
<t tx="mindaxis.20220829150026.1"></t>
</tnodes>
</leo_file>

Reply via email to