Re: @button for displaying all parents of a clone to log pane

2019-10-12 Thread Edward K. Ream
On Sat, Oct 12, 2019 at 8:53 AM Brian Theado wrote: But vnode2allPositions is used in the leo-editor by the method > c.cloneFindParents. The vnode2allPositions method has this in its doc > string: > > "Not really all, just all for each of v's distinct immediate parents." > > > I'm guessing it

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Edward K. Ream
On Sat, Oct 12, 2019 at 7:10 AM Viktor Ransmayr wrote: > > @Edward: Has been a deliberate design decision of your side & if yes, > please explain why? > I'm delegating all choices to Matt. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor"

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Arjan
I downgraded to Node.JS 10.16.3, but the error remains the same (`from python Error importing leoApp.py`) I also tried creating a python3.bat file on my PATH, which says `%windir%\system32\cmd.exe /K ""C:\Programs\Anaconda3\Scripts\activate.bat" && %*"`. Now there's no more errors, but still

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Félix
@Arjan Could totally be node 12! maybe its a stretch to think so, but at work we had problems on a bunch of unrelated stuff and using 'LTS' supported version 10 instead of the pre-release 12 fixed it ! ... so I wouldn't be surprised if the beta node 12 was a problem. (node is the engine

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Arjan
Hmm, I'm sure I saw Python 2.7 getting installed, as well as Chocolatey and one or more MS dependencies, perhaps one of those triggered it. But I was just mentioning that message for completeness. As for versions: - VSCode 1.39.1 - Node.JS 12.11.1 -- that seems like the only significant

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Félix
@arjan Yep, it wont work with python2, but I can assure you nodejs does not install nor bundle python2 with itself!. Also what version of Leo and python do you have? I made all run under leo 6.0 final (installed from sources git clone --depth=500 https://github.com/leo-editor/leo-editor) and

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Matt Wilkie
> > PS C:\Users\Viktor\pyve\github\leo-devel> pip install --editable ./devel > > ERROR: File "setup.py" not found. Directory cannot be installed in > editable mode: C:\Users\Viktor\pyve\github\leo-devel\devel > 1 dir too deep. The path needs to

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Matt Wilkie
> > Direct ``pip install >> https://github.com/leo-editor/leo-editor/archive/devel.zip`` >> does *not* >> work. For proper operation Leo relies on presence of certain files outside >> of the standard Python `site-packages` folder

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Matt Wilkie
> > Maybe with Anaconda we need to use a different way to properly invoke the > environment? > I forgot the details of why, but for my cmd shell I use this: > > %windir%\System32\cmd.exe "/K" C:\Programs\Anaconda3\Scripts\activate.bat > This will invoke conda's root or base environment but

Re: For Leo 6.0 on Windows 10 - PyQt 4 or PyQt 5?

2019-10-12 Thread Matt Wilkie
> > Also, I want to run leo headless: so I wonder if theres a way to set the >> 'leo id' without qt. (on first run leo asks for an id ) >> > > Try running `leo-console` (or `python launchLeo.py --gui=console`). > [Later]: doesn't work. Loads npyscreen and then exits. This is probably a >

Re: @button for displaying all parents of a clone to log pane

2019-10-12 Thread SegundoBob
On Saturday, October 12, 2019 at 6:53:41 AM UTC-7, btheado wrote: > > > But vnode2allPositions is used in the leo-editor by the method > c.cloneFindParents. > I missed the restructuring of the Leo-Editor core code that created the separate commands directory. My copy of LeoPyRef.leo was out

Re: For Leo 6.0 on Windows 10 - PyQt 4 or PyQt 5?

2019-10-12 Thread Matt Wilkie
> > I am currently trying to install leo on windows... (I wish the > documentation would be a lot more detailled and precise for this) > Yeah, I hear you. After installing python3 with the official installer, It took me a lot of > googling to figure out that I needed to put python3's path

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Viktor Ransmayr
Hello Matt, Am Samstag, 12. Oktober 2019 17:10:17 UTC+2 schrieb Viktor Ransmayr: > > Am Sa., 12. Okt. 2019 um 15:43 Uhr schrieb Viktor Ransmayr < > viktor.ransm...@gmail.com>: > >> Am Samstag, 12. Oktober 2019 14:10:24 UTC+2 schrieb Viktor Ransmayr: >>> >>> Am Do., 10. Okt. 2019 um 10:30 Uhr

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Viktor Ransmayr
Hello Matt, Am Sa., 12. Okt. 2019 um 15:43 Uhr schrieb Viktor Ransmayr < viktor.ransm...@gmail.com>: > Hello Matt, > > Am Samstag, 12. Oktober 2019 14:10:24 UTC+2 schrieb Viktor Ransmayr: >> >> Am Do., 10. Okt. 2019 um 10:30 Uhr schrieb Matt Wilkie > >: >> >>> I just pushed

Re: @button for displaying all parents of a clone to log pane

2019-10-12 Thread Brian Theado
SegundoBob, > You give a correct implementation of vnode2allPositions(). [...] > The implementation of vnode2allPositions() in leoCommand.py is seriously flawed [...] > But vnode2allPositions() is not used by Leo-Editor core But vnode2allPositions is used in the leo-editor by the method

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Viktor Ransmayr
Hello Matt, Am Samstag, 12. Oktober 2019 14:10:24 UTC+2 schrieb Viktor Ransmayr: > > Hello Matt, hello Edward, > > Am Do., 10. Okt. 2019 um 10:30 Uhr schrieb Matt Wilkie : > >> I just pushed 51ca4f21b956beced0951de02a399e56a070ca01 which contains >> generic install-from-source instructions for

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Arjan
Here's what I got. I did: 1. `cd leointeg`; `git checkout .`; `git pull` 2. npm install added 2 packages from 4 contributors and audited 313 packages in 1.678s Then F5 gives me the extension, but still without a Load File option in the Leo tab. I get this error in the original VSCode window:

Re: docs: Installing Leo from sources (all platforms)

2019-10-12 Thread Viktor Ransmayr
Hello Matt, hello Edward, Am Do., 10. Okt. 2019 um 10:30 Uhr schrieb Matt Wilkie : > I just pushed 51ca4f21b956beced0951de02a399e56a070ca01 which contains > generic install-from-source instructions for all platforms. It might need > some format tuning and perhaps other edting. I think it could

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Edward K. Ream
On Saturday, October 12, 2019 at 6:23:55 AM UTC-5, Edward K. Ream wrote: > > tldr; Pull, run 'npm install' and you're good to go! >> > I did that on Ubuntu. Within VS code I selected the leointeg folder and did F5. I see the LEOINTEG and OUTLINE panes, but I see no folder in the OUTLINE pane.

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Edward K. Ream
On Fri, Oct 11, 2019 at 11:32 PM Félix wrote: > Support for Windows is now fixed! > Thanks. tldr; Pull, run 'npm install' and you're good to go! > Did that, with no errors. git status shows: modified: package-lock.json modified: package.json When I open VS code, the Source

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Edward K. Ream
On Fri, Oct 11, 2019 at 5:28 PM Félix wrote: haha we're both stuck trying to install and run each other's product! > > I installed python 3 (latest from python.org) and leo from sources on > windows, cd into leo's dir and this is what I get : > > D:\prog\leo-editor>py launchLeo.py > Traceback