Problem with "@@" headlines?

41 views
Skip to first unread message

John Hutchinson

unread,
Jan 21, 2020, 1:45:33 PM1/21/20
to leo-editor
Hi:

Running the latest verion from Git 

Leo 6.2-b1-devel, devel branch, build b51bcaa8b5
2020-01-05 19:47:27 -0500
Python 3.6.1, PyQt version 5.8.0
Windows 10 AMD64 (build 10.0.18362) SP0

Having a tree

@asis _foo.txt
    @@ Headline
        Some text

and trying to save the file gives the error

exception writing: C:/Users/jrhut/Documents/Active/My Maps/_foo.txt
Traceback (most recent call last):

  File "C:\cygwin64\home\jrhut\src\leo-editor\leo-editor\leo\core\leoAtFile.py", line 1291, in asisWrite
    at.writeAsisNode(p)

  File "C:\cygwin64\home\jrhut\src\leo-editor\leo-editor\leo\core\leoAtFile.py", line 1307, in writeAsisNode
    at.outputFile.write(s)

AttributeError: 'AtFile' object has no attribute 'outputFile'

Removing the "@@" from the headline generates _foo.txt, but I'm looking to include the headline text in the file exported, so not quite what I need.

Thanks for any insights,
=John

Edward K. Ream

unread,
Jan 23, 2020, 11:10:41 AM1/23/20
to leo-editor
On Tue, Jan 21, 2020 at 1:45 PM John Hutchinson <jrhutc...@att.net> wrote:

Having a tree

@asis _foo.txt
    @@ Headline
        Some text

and trying to save the file gives the error [snip]

Thanks for this report. I have just created #1480 for this.

Edward
Reply all
Reply to author
Forward
0 new messages