Re: leo core dumps in Ubuntu16.04

2017-10-11 Thread Chris George
Install Anaconda.

That is the surest way to rule out wonky python installations.

Chris

On Wed, Oct 11, 2017 at 4:02 PM, Sudhir Kumar  wrote:

> I installed PyQt4 on my new Ubuntu box (16.04) Checked out leo from git.
> However, it core dumps. In the detail it says python2.7 SIGSEGV in
> strlen(). Very preliminary analysis suggests that it is happening on
> "import leo.core.leoFrame as leoFrame"
>
> Any suggestions what I should do?
>
> Thanks,
> --sudhir
>
>
> --
> 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 https://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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


leo core dumps in Ubuntu16.04

2017-10-11 Thread Sudhir Kumar
I installed PyQt4 on my new Ubuntu box (16.04) Checked out leo from git.
However, it core dumps. In the detail it says python2.7 SIGSEGV in
strlen(). Very preliminary analysis suggests that it is happening on
"import leo.core.leoFrame as leoFrame"

Any suggestions what I should do?

Thanks,
--sudhir

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Window pane layouts lost after Leo update?

2017-10-11 Thread Terry Brown
On Wed, 11 Oct 2017 07:37:22 -0700 (PDT)
Arjan  wrote:

> Ah, good to know about the embed layout option. It was only one
> simple layout, so no problem to recreate. I was mostly asking because
> if layouts generally do persist between updates, I may more
> frequently pull updates to Leo's master branch.

Yes, generally updates should have no effect on stored settings like
that, it was a one time switch,

Cheers -Terry

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Window pane layouts lost after Leo update?

2017-10-11 Thread Arjan
Ah, good to know about the embed layout option. It was only one simple 
layout, so no problem to recreate. I was mostly asking because if layouts 
generally do persist between updates, I may more frequently pull updates to 
Leo's master branch.

Thanks!

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Window pane layouts lost after Leo update?

2017-10-11 Thread Terry Brown
On Wed, 11 Oct 2017 06:45:28 -0700 (PDT)
Arjan  wrote:

> A window pane layout I'd created and saved under Leo 5.5 was lost
> after updating to 5.6. Is this expected? I'm running Leo from a git
> repo and Python 3 (Anaconda); happened on both Linux and Windows.
> 
> Arjan

I think it is expected.  The mechanism behind the c.db data store
changed, which mostly just handles cached files, where the only impact
is a slow open the first time as the cache is rebuilt.  But it also
loses saved metadata like window layouts.

It's a bit late to mention this now, but you can use the layout context
menu item 'Embed layout' to store the layout in a @settings node in the
local outline, you could of used that to carry the layout between the
two systems.  Hopefully it's not too hard to recreate.

Cheers -Terry

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Window pane layouts lost after Leo update?

2017-10-11 Thread Arjan
A window pane layout I'd created and saved under Leo 5.5 was lost after 
updating to 5.6. Is this expected? I'm running Leo from a git repo and 
Python 3 (Anaconda); happened on both Linux and Windows.

Arjan

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Inserting extra newlines separating body text and Leo's xml tags?

2017-10-11 Thread Arjan
Hi all,

I would like to make Leo use a newline before the start and at the end of a 
node's body text, so the t node's xml tags and the body text are always on 
separate lines. This in order to make git diffs easier to read.

Any ideas how/where to do this, or would this need to be in Leo itself? I 
guess a git filter would be an option, but I'd prefer to have Leo handle it 
somehow.

So instead of this:

Body text.

I'd like this:


Body text.


-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.