Leo 4.11b1 released

116 views
Skip to first unread message

Edward K. Ream

unread,
Oct 31, 2013, 9:23:22 AM10/31/13
to leo-e...@googlegroups.com
Leo 4.11 b1 is now available at: http://sourceforge.net/projects/leo/files/Leo/

I'll announce b1 widely tomorrow, assuming no serious problems are found.

Expect 4.11 b2 or final in one week.

Leo 4.11 contains over a year's work on Leo.  Many thanks to all who have made this release possible.

The highlights of Leo 4.11:
---------------------------

- Leo's tutorials have been rewritten and simplified.
- Greatly improved abbreviations, including templates.
- Clones are now valid anywhere in @file nodes.
- Leo now warns if a .leo file is open elsewhere.
- Leo's IPython bridge now works with IPython 1.x.
- Added support for @testsetup and @testclass.
- Added support for sessions.
- Added colorizing themes.
- A colored border highlights the pane with focus.
- Added support for the clojure, markdown and TypeScript languages.
- Added importers for .ipynb, .otl and vimoutliner files.
- Many new and improved commands, plugins and scripts.
- Dozens of bug fixes and code-level improvements.

Links:
------
Leo: http://leoeditor.com
Docs: http://leoeditor.com/leo_toc.html
Tutorials: http://leoeditor.com/tutorial.html
What's new: http://leoeditor.com/what-is-new.html#leo-4-11
Forum: http://groups.google.com/group/leo-editor
Download: http://sourceforge.net/projects/leo/files/
Bzr http://code.launchpad.net/leo-editor/
Quotes: http://leoeditor.com/testimonials.html

Edward

Matt Wilkie

unread,
Nov 1, 2013, 4:36:22 AM11/1/13
to leo-e...@googlegroups.com

Leo 4.11 b1 is now available at: http://sourceforge.net/projects/leo/files/Leo/

...and a bundle has been uploaded to pypi, which can be installed with `pip install leo`

Caveats:

pip v1.3.1 might not find the most current pacakge, and install an older one instead. You want 4.11b1-build-5020; might need to delete the local cache folder too.

pip v1.4 will say "Could not find a version that satisfies the requirement"  unless you use the `pre` flag to allow pre-releases:

pip install --pre leo

cheers,

-matt


Edward K. Ream

unread,
Nov 1, 2013, 9:11:47 AM11/1/13
to leo-editor
On Fri, Nov 1, 2013 at 3:36 AM, Matt Wilkie <map...@gmail.com> wrote:

Leo 4.11 b1 is now available at: http://sourceforge.net/projects/leo/files/Leo/

...and a bundle has been uploaded to pypi, which can be installed with `pip install leo`

 

​Edward

lewis

unread,
Nov 1, 2013, 7:35:41 PM11/1/13
to leo-e...@googlegroups.com
Using the LeoSetup-4.11-b1.exe installer with Python27 works fine.

However using Python33 it's not so happy. Selecting Start Menu>Leo does not launch Leo, I just see a flash of the splashscreen and it dies.
Same result using the desktop shortcut icon.

The target properties of the desktop icon are:
C:\Python33\pythonw.exe "C:\Program Files (x86)\Leo-4.11-b1\launchLeo.py"

I can run Leo from a console though. Here is the log:
C:\Program Files (x86)\Leo-4.11-b1>launchleo.py

** isPython3: True
Leo 4.11b1, build 5020, 2012-02-26 13:18:08 -0600
Python 3.3.3, qt version 4.8.5
Windows 6, 1, 7601, 2, Service Pack 1
[snip]

Matt Wilkie

unread,
Nov 2, 2013, 10:19:35 PM11/2/13
to leo-e...@googlegroups.com

On Fri, Nov 1, 2013 at 4:35 PM, lewis <lewi...@operamail.com> wrote:
C:\Python33\pythonw.exe "C:\Program Files (x86)\Leo-4.11-b1\launchLeo.py"


Try running from a command shell (note python.exe not pythonw.exe):

C:\Python33\python.exe "C:\Program Files (x86)\Leo-4.11-b1\launchLeo.py"

are there errors reported?

-matt

lewis

unread,
Nov 3, 2013, 12:46:50 AM11/3/13
to leo-e...@googlegroups.com
Matt,

Running from a command shell works fine with no errors.

Thanks
Lewis

Edward K. Ream

unread,
Nov 4, 2013, 3:55:43 AM11/4/13
to leo-editor
On Fri, Nov 1, 2013 at 6:35 PM, lewis <lewi...@operamail.com> wrote:
Using the LeoSetup-4.11-b1.exe installer with Python27 works fine.

However using Python33 it's not so happy. Selecting Start Menu>Leo does not launch Leo, I just see a flash of the splashscreen and it dies.
Same result using the desktop shortcut icon.

​Thanks for this report.  This must be fixed before 4.11final.

Edward

Edward K. Ream

unread,
Nov 4, 2013, 11:07:29 AM11/4/13
to leo-e...@googlegroups.com
On Friday, November 1, 2013 6:35:41 PM UTC-5, lewis wrote:
Using the LeoSetup-4.11-b1.exe installer with Python27 works fine.

However using Python33 it's not so happy. Selecting Start Menu>Leo does not launch Leo, I just see a flash of the splashscreen and it dies.
Same result using the desktop shortcut icon.

Thanks for this report.


> The target properties of the desktop icon are:
> C:\Python33\pythonw.exe "C:\Program Files (x86)\Leo-4.11-b1\launchLeo.py"

These look correct. And they work for me after a clean install.  Note: the initial load of Leo can take quite awhile:  all .py files must be compiled.

For trouble shooting, please do the following:

- Change pythonw.exe to python.exe
- Add an -i option to the target properties.

The effect of this will be to run Leo in a console window, holding the console window open.

This should tell you exactly what is happening.


> Selecting Start Menu>Leo does not launch Leo, I just see a flash of the splashscreen and it dies.

I did find an issue related to the start menu.  If I chose "All Programs" then Leo, there was an old copy of the leo shortcut lying around that didn't work.   And even after deleting the Leo install, there was an old, out-out-date Leo folder accessible from the start menu.  And furthermore, there were differences (from the start menu) between opening Leo and opening Leo for all users.

This is surely confusing, but it may be the result of old installs.

My suggestion:

1. Uninstall b1.
2. Delete everything related to Leo from your start menu, both accessible via "search programs and files" and the "all programs list".  Make sure to delete everything for all users as well as yourself.
3. Reinstall b1.
4. Test.  If problems remain, make the changes above (-i, python.exe), and report the results.

Thanks for your help.

Edward

lewis

unread,
Nov 5, 2013, 8:53:30 AM11/5/13
to leo-e...@googlegroups.com
Hi Edward,

I followed tour suggested steps 1 thru 4.
Selecting Start Menu>Leo still did not launch Leo. Again I just see a flash of the splashscreen and it dies.

Same result using the desktop shortcut icon.

Confirmed that changing target properties from pythonw.exe to python.exe is required to get Leo running.
I found that the -i option was not needed to run the console.

As a variation I tried only adding the -i option:
 C:\Python33\pythonw.exe -i "C:\Program Files (x86)\Leo-4.11-b1\launchLeo.py"
This launches a leo window with no menus , 1 tab named leo, and below the tab, a 1 in the top left hand corner :)
Selecting X to close the tab does not work.
The Leo splash screen displays permanently and doesn't disappear. Closing Leo via X works but the splashscreen lion remains! Only way to kill it is to end the pythonw.exe process.


On an x86 machine running Python33 the behaviour was as above.
console log for x86:

** isPython3: True
Leo 4.11b1, build 5020, 2012-02-26 13:18:08 -0600
Python 3.3.3, qt version 4.8.5
Windows 6, 0, 6002, 2, Service Pack 2

Regards
Lewis

Edward K. Ream

unread,
Nov 5, 2013, 9:25:23 AM11/5/13
to leo-editor
On Tue, Nov 5, 2013 at 7:53 AM, lewis <lewi...@operamail.com> wrote:

Confirmed that changing target properties from pythonw.exe to python.exe is required to get Leo running.

​Very strange.  pythonw.exe works for me.
 
As a variation I tried only adding the -i option:
 C:\Python33\pythonw.exe -i "C:\Program Files (x86)\Leo-4.11-b1\launchLeo.py"
This launches a leo window with no menus , 1 tab named leo, and below the tab, a 1 in the top left hand corner :)
Selecting X to close the tab does not work.
The Leo splash screen displays permanently and doesn't disappear. Closing Leo via X works but the splashscreen lion remains! Only way to kill it is to end the pythonw.exe process.

​I have no idea what is going on.  I'm pretty sure, though, that the install script is correct.  In other words, I see no reason to delay the next release for this.

Edward
Reply all
Reply to author
Forward
0 new messages