OK, it looks a lot simpler than I first thought:
create file test.leo using session options
leo test.leo --session-save --session-restore
test.leo has one node headline test.leo
save and exit
repeat
leo test.leo --session-save --session-restore
Traceback:
File "/var/fetching/leo-editor/leo/core/leoSessions.py", line 73, in
load_session
fn,unl = unl.split("#") ValueError: need more than 1 value to unpack
On Thu, Nov 20, 2014 at 11:46 AM, Edward K. Ream <[email protected]> wrote:
>
>
> On Thu, Nov 20, 2014 at 6:27 AM, Kent Tenney <[email protected]> wrote:
>>
>> a Leo URI in focused node causes trouble on restore.
>>
>> focus a node with a uri headline:
>> file://data.leo#data.leo-->Sandbox-->1000
>>
>> save and close Leo file
>>
>> reopen with --session-restore option and Leo
>> [crashes in load_snapshot]
>
>
> I'm not sure exactly what you did, but I disabled some munges in
> save_snapshot. Do these fix the problem? They might even break other
> things.
>
> If problems persist, please describe exactly the command-line arguments you
> use (if any), the exact sequence of session commands you use, and the
> contents (if any) of any @session nodes involved. Otherwise I am just
> guessing about what happened.
>
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.