On Fri, 23 May 2014 08:12:03 -0500
Kent Tenney wrote:
> I've also been seeing this with real files, if changed outside
> Leo, refresh from disk fails, the .py file has it's contents
> duplicated.
I *think* this is a known issue, certainly needs fixing.
https://github.com/leo-editor/leo-editor/issues/9
is similar but probably unrelated, maybe the @auto specific report is
on launchpad still.
Cheers -Terry
> A minimal @auto file:
>
> @auto z.py
> pass
> @others
> foo
> class foo:
>@others
>def __init__():
> pass
>
> - save Leo file, creates z.py
> - refresh from disk z.py
>
> log:
>
> saved: foo.leo
> created: /home/ktenney/develop/z.py
> saved: foo.leo
> reading: @auto z.py
>
> Error: @auto did not import @auto z.py perfectly
> The clean-all-lines command may help fix whitespace problems
> first mismatched line: 15 (original) = 3 (imported)
>
> Original file...
>
>
> Imported file...
>
>1 u'def __init__():\n'
>2 u' pass\n'
>3 u'class foo:\n'
>4 u'def __init__():\n'
>5 u' pass\n'
>
> errors inhibited read @auto /home/ktenney/develop/z.py
>
> finished
>
--
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.