Re: Distribution Environment

2016-11-22 Thread 'Terry Brown' via leo-editor
On Tue, 22 Nov 2016 07:25:22 -0800 (PST) Chris George wrote: > Now running Python 3.5.2 and PyQt 5.6.0 and this is what I get. Poking at leoQt - guessing immediately before this traceback it said 'leoQt.py: can not fully import PyQt5.' ? It seems leoQt doesn't

Re: Distribution Environment

2016-11-22 Thread Chris George
Now running Python 3.5.2 and PyQt 5.6.0 and this is what I get. Traceback (most recent call last): > File "./launchLeo.py", line 8, in > leo.core.runLeo.run() > File "/home/chris/leo-editor/leo/core/runLeo.py", line 63, in run > g.app.loadManager.load(fileName, pymacs) > File

Re: Distribution Environment

2016-11-22 Thread Chris George
Progress. The distribution provides PyQt 5.5.1, which is incompatible with Leo for some reason. I buillt PyQt5-5.7, which instantly segfaults Leo. So the sweet spot is PyQt 5.6.0. Now I just need to figure out how to install it. On Tuesday, November 22, 2016 at 5:35:59 AM UTC-8, Chris George

Distribution Environment

2016-11-22 Thread Chris George
I recently switched Linux distributions and now Leo won't run. This is definitely an environment problem, not a Leo problem, but I am stumped. Python 3.5.2 installed, PyQt 5.6.0 installed, pyenchant, docutils, sphinx etc. installed and this is what I get: leoQt.py: can not fully import PyQt5.

ENB: Rewriting the xml and html importers

2016-11-22 Thread Edward K. Ream
This is an engineering notebook post. Feel free to ignore, even if you are a dev ;-) The html importer has been, and always will be, a trivial subclass of the xml importer. As a result, we need only consider the xml importer. *The bad old days* The old xml importer is a perfect example of

Re: The html and xml scanners are broken. Will be fixed today

2016-11-22 Thread Edward K. Ream
On Tuesday, November 22, 2016 at 6:43:52 AM UTC-6, Edward K. Ream wrote: My apologies. I should not have pushed 71ac28235. EKR. > Fixed at ecb9572. These are the old importers. All tests pass. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor"

Re: Rev 9ed5fa1: the spectacular new importer;; abbreviation

2016-11-22 Thread Edward K. Ream
On Monday, November 21, 2016 at 6:14:26 PM UTC-6, Edward K. Ream wrote: > > Tomorrow I'll use importer;; to create real importers. That will reveal > any lingering problems. > I have retired the importer;; abbreviation. The @button make-importer script is significantly better. The c#

Re: A script to replace the importer;; abbreviation

2016-11-22 Thread Edward K. Ream
On Tuesday, November 22, 2016 at 3:05:05 AM UTC-6, Edward K. Ream wrote: > [Recent revs add] @button make-importer to scripts.leo. Lest there be the slightest doubt that patterns are simpler than script substitutions, here is the code that creates the patterns in @button make-importer:

Re: A script to replace the importer;; abbreviation

2016-11-22 Thread Edward K. Ream
On Tuesday, November 22, 2016 at 3:05:05 AM UTC-6, Edward K. Ream wrote: >> it would be simpler and better to have created a script :-) > It was straightforward. Rev 93b9257 adds @button make-importer to scripts.leo. The original script copied the tree using c.k.simulate_command. This

The html and xml scanners are broken. Will be fixed today

2016-11-22 Thread Edward K. Ream
My apologies. I should not have pushed 71ac28235. EKR. -- 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

Re: A script to replace the importer;; abbreviation

2016-11-22 Thread Edward K. Ream
On Tue, Nov 22, 2016 at 1:46 AM, Edward K. Ream wrote: > Now that the importer;; abbreviation is complete, it occurs to me that it > would be simpler and better to have created a script :-) > ​It was straightforward. Rev 93b9257 adds @button make-importer to scripts.leo.