Re: Error when saving a file

2014-09-05 Thread Edward K. Ream
On Fri, Sep 5, 2014 at 12:14 PM, Fidel N wrote: > Just been editing the .leo file, removed the node with 200k lines, did the > replace all, and this time it works. Great :-) Thanks for the confirmation. Edward -- You received this message because you are subscribed to the Google Groups "leo-e

Re: Error when saving a file

2014-09-05 Thread Fidel N
Just been editing the .leo file, removed the node with 200k lines, did the replace all, and this time it works. Also, saving files is working again... And I figured out the reason why "c.frame.body" was around the replace all command, is because I was replacing exactly that text... -_- Thanks for y

Re: One (or is it two?) fatal flaw/s in QTextEdit

2014-09-05 Thread Edward K. Ream
On Saturday, August 30, 2014 6:00:17 PM UTC-5, Edward K. Ream wrote: > The following behavior can be observed, on both Ubuntu and Windows, using slight variant of Terry's benchmark script. I have just reported this bug: https://bugreports.qt-project.org/browse/QTBUG-41153 EKR -- You receive

Re: Error when saving a file

2014-09-05 Thread Edward K. Ream
On Fri, Sep 5, 2014 at 6:54 AM, Fidel N wrote: > I have been using both with Dropbox (find replace all and saving files) ever > since I started with Leo, and they never failed What happens when you do the same replace-all on a rev before the recent work, say a rev from 29 August? Edward -- You

Re: Leo script to safely replace body.x with body.wrapper.x

2014-09-05 Thread Edward K. Ream
On Fri, Sep 5, 2014 at 6:58 AM, Edward K. Ream wrote: > Here is a script to replace body.x with body.wrapper.x for all x in the > WrapperAPI except __init__. Here is an improved script that stresses the gc less and produces clearer messages: ''' A script to replace body.x with body.wrapper.x for

Leo script to safely replace body.x with body.wrapper.x

2014-09-05 Thread Edward K. Ream
Here is a script to replace body.x with body.wrapper.x for all x in the WrapperAPI except __init__. The script is *not undoable* to save massive amounts of memory. This is bleeding-edge code: please run on an already-saved .leo file, and take all other reasonable precautions. If replace is Fal

Re: Error when saving a file

2014-09-05 Thread Fidel N
I have been using both with Dropbox (find replace all and saving files) ever since I started with Leo, and they never failed The fact that this is a new error that appeared just after updating Leo, and "c.frame.body.wrapper" appears several times on the shell error log, makes me very inclined to t

Re: Error when saving a file

2014-09-05 Thread Edward K. Ream
On Fri, Sep 5, 2014 at 2:04 AM, Fidel N wrote: > Hi, I was trying to save my file (which is only open once), and got this > error on the log pane, it wont save: > > MemoryError Hmmm. The replace-all command is, iirc, undoable, which might, I suppose, require huge amounts of memory. Also, I see

Re: Error when saving a file

2014-09-05 Thread Fidel N
Find / Replace all is neither working, seems a related problem, since they both are "memory error". This error I get in the shell (not the log). Here is the full report: -- You received this message because you are subscribed to the Google Groups "leo-editor"

Error when saving a file

2014-09-05 Thread Fidel N
Hi, I was trying to save my file (which is only open once), and got this error on the log pane, it wont save: MemoryError exception executing command Traceback (most recent call last): File "D:\Dropbox\INSTALLED\LEO EDITOR\leo-editor\leo-editor\leo\core\leoCommands.py", line 567, in doComma