Re: Leo's 5.7 docs are complete

2018-02-02 Thread Edward K. Ream
On Fri, Feb 2, 2018 at 12:00 AM, Matt Wilkie wrote: Installing Leo with Pip section has Python 2 and Python 3 mixed up. I > created a branch, ` > ​​ > i > ​​ > nstall-docs-mhw` and committed an alternative wording > ​Matt, this is brilliant! You have created a new workflow

An better way to find issues

2018-02-02 Thread Edward K. Ream
In some previous post, don't remember where, I said that I focus on immediate tasks by filtering *out *various tasks: is:issue is:open -label:Waiting -label:lvl:minor etc. There is an easier way: is:issue is:open milestone:5.8 This works because I only add a milestone to issues that I

Re: Mermaid flowcharts from Leo subtree in Leo Vue

2018-02-02 Thread Joe Orr
Forgot to add, the examples are kind of contrived. I don't have any good real world examples yet but I think I eventually will. If anyone can suggest better examples that would be great. Joe On Thursday, February 1, 2018 at 2:50:26 PM UTC-5, Joe Orr wrote: > > Added a new feature which might

Re: NEW: geotag.py

2018-02-02 Thread lewis
For my own learning I have used an example to show that I can change a str type to bytes with b = g.toEncodedString(my_string) and confirmed the change with the type() function. But from the log I can't recognise what the str is that needs changing in line 184: [snip] File

Leo now supports TreePad files

2018-02-02 Thread Edward K. Ream
Rev b47c3e3 completes #674: Add a treepad importer . Leo now has TreePad importer and writer plugins, so @auto whatever.hjt works for TreePad files. The code has been only slightly tested. Please reopen the issue if necessary. Edward --

Re: NEW: geotag.py

2018-02-02 Thread Edward K. Ream
On Friday, February 2, 2018 at 7:03:53 AM UTC-6, lewis wrote: > File > "C:\Users\lewis\AppData\Local\Programs\Python\Python36\lib\socketserver.py", > line 775, in write > self._sock.sendall(b) > TypeError: a bytes-like object is required, not 'str' > > Can you explain how to identify

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Edward K. Ream
On Friday, February 2, 2018 at 12:11:19 PM UTC-6, Edward K. Ream wrote: My original system contains c:\Anaconda2 and c:\Anaconda3. I installed > virtualenv with both pip2 and pip3. > > I did a virtualenv c:\Env\Test which only partially worked as expected. > No scripts were installed. No

Re: [QA]Advices for Leo documentation in Chinese translated version?

2018-02-02 Thread Zoom.Quiet
On Fri, Feb 2, 2018 at 12:44 AM, Edward K. Ream wrote: > On Thu, Feb 1, 2018 at 8:28 AM, OMlalala wrote: > >> I want to make Chinese version Doc for spread the perfect Leo, any advice? > > > That's great news. Please tell us when you have the docs

Re: NEW: geotag.py

2018-02-02 Thread Terry Brown
On Fri, 2 Feb 2018 05:30:12 -0800 (PST) "Edward K. Ream" wrote: > > "C:\Users\lewis\AppData\Local\Programs\Python\Python36\lib\socketserver.py", > > > > line 775, in write > > self._sock.sendall(b) > > TypeError: a bytes-like object is required, not 'str' > > > > Can

Re: [QA]Advices for Leo documentation in Chinese translated version?

2018-02-02 Thread OMlalala
Dear @Edward K. Ream and @Matt Wilkie, You are so kind, thank you all. When I finished first step, I will reply this mail :) -- OMlalala -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Edward K. Ream
My original system contains c:\Anaconda2 and c:\Anaconda3. I installed virtualenv with both pip2 and pip3. I did a virtualenv c:\Env\Test which only partially worked as expected. No scripts were installed. No obvious way to do deactivate. Worse, C:\Anaconda3 no longer contains python.exe.

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Edward K. Ream
On Fri, Feb 2, 2018 at 1:00 PM, Terry Brown wrote: p.s. I just recently saw a tweet that claimed you could create a > Python 1.0 environment, which prompted a "Wait, what?" tweet from > Guido, but I'm not sure if that's true or an old April Fool's gag. > ​Hehe. Edward

Re: Which mailing list?

2018-02-02 Thread Edward K. Ream
On Fri, Feb 2, 2018 at 1:41 PM, Terry Brown wrote: > Leo has two mailing lists, the one most everyone uses: > > leo-editor > > and > > leo-editor-users > ​I think the unused group should be deleted. Edward

Which mailing list?

2018-02-02 Thread Terry Brown
Leo has two mailing lists, the one most everyone uses: leo-editor and leo-editor-users I notice the difference because for some odd reason I only see my own posts on the latter. No matter. But I wonder if there's any useful

Re: NEW: geotag.py

2018-02-02 Thread lewis
Hi Terry, Thanks for the fix. I see you also updated the encoding for the Quit button ("TERMINATING SERVER"). I thought I might be spending an afternoon learning how to use git diff :) Maybe soon I have updated the docstring using the instructions from this thread and attached the file.

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Terry Brown
On Fri, 2 Feb 2018 10:11:19 -0800 (PST) "Edward K. Ream" wrote: > My original system contains c:\Anaconda2 and c:\Anaconda3. I > installed virtualenv with both pip2 and pip3. Hmm, if Anaconda's the source of Python on your system, not sure if it makes sense to install

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Edward K. Ream
On Fri, Feb 2, 2018 at 12:43 PM, Terry Brown wrote: Hmm, if Anaconda's the source of Python on your system, not sure if it > makes sense to install virtualenv "in" Anaconda. conda can manage > environments itself, like virtualenv, and I'd expect things to get > weird if

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Edward K. Ream
On Fri, Feb 2, 2018 at 12:58 PM, Terry Brown wrote: > > > Won't I have to install lots of packages if I use miniconda? > > I guess it would be interesting to know exactly what's on the list of > packages you'd need. > ​ it would indeed be good to know what the minimal

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Edward K. Ream
On Friday, February 2, 2018 at 12:11:19 PM UTC-6, Edward K. Ream wrote: > This is totally unacceptable. Heh. This has turned into a lucky break. I replaced both Anaconda2 and Anaconda3 with (32-bit) Miniconda3. I chose 32-bit so that the spell checker will work. I created python2 and

Re: Mermaid flowcharts from Leo subtree in Leo Vue

2018-02-02 Thread Offray Vladimir Luna Cárdenas
Joe, This is really cool. Leo Vue is so cool that I think it should be renamed Leo Web, because it's exploring what can be done when the ideas behind Leo start a deep talk with the web technologies, including improved interactivity and rendering, a search that many of us have been  looking for so

Re: Installing virtualenv has destroyed my python 3 installation

2018-02-02 Thread Terry Brown
On Fri, 2 Feb 2018 14:02:08 -0800 (PST) "Edward K. Ream" wrote: > The only strange thing so far is that the Miniconda installer > recommended *not* putting Miniconda3 on the path. Actually, it's > essential to do so, unless you use the Miniconda console. And you > have to

Re: Leo's 5.7 docs are complete

2018-02-02 Thread Matt Wilkie
I took a stab at "this could be improved". Some things are better but it's not 'all good'. Pushed to ec8cd249b Here's a snapshot of the outline (wishlist: copy and paste headline structure only from Leo

Re: No pyinstaller files for Windows

2018-02-02 Thread Matt Wilkie
> ​Windows and Linux are fully supported. MacOS less so because I've never > gotten a brew recipe to work. > Are there any Mac users who can attempt installing via Mini- or Anaconda and report on that? Maybe they've solved the problems for us. matt -- You received this message because

Re: No pyinstaller files for Windows

2018-02-02 Thread Matt Wilkie
> The pyinstaller2 script fails on Windows 10 with this message: > > PyInstaller.compat.FileNotFoundError: Path or glob > "C:\anaconda2\Library\bin\qml\Qt" not found or matches no files. > For me on Win10 pyinstaller "just worked". Invocation: pyinstaller --clean --win-private-assemblies

Saving to a file that is open somewhere else

2018-02-02 Thread Israel Hands
I often find myself working on a file in dropbox that is open somewhere else. The result being that when I save I get a 'copy of the file'. And using file compare I can generally work out what changes need to be merged to get everything back in sync. I'm sure there is a Git solution but I