Re: quicksearch plugin and python 3

31 views
Skip to first unread message

Viktor Ransmayr

unread,
Dec 29, 2012, 3:37:28 PM12/29/12
to leo-e...@googlegroups.com
Hello Martin,

Am Samstag, 29. Dezember 2012 07:06:47 UTC+1 schrieb Martin Towner:
Hello Leo'ers - 
I'm usually running Leo using python 3, rather than 2, but I'm getting a load error with the quicksearch.py plugin. I was wondering if its just me, or if I need to tweak anything?
I start Leo with a shell script:

#!/bin/bash
cd ./Leo
screen python3 ./launchLeo.py

And I get the following, with no Nav tab appearing in the UI:

Leo Log Window
Leo 4.11 devel, build 5547, 2012-12-27 02:53:48 -0600
Python 3.2.3, qt version 4.8.2
linux2
setting leoID from os.getenv('USER'): 'mtowner'
load dir: /home/mtowner/Leo/leo/core
global config dir: /home/mtowner/Leo/leo/config
home dir: /home/mtowner
reading settings in /home/mtowner/Leo/leo/config/leoSettings.leo
reading settings in /home/mtowner/.leo/myLeoSettings.leo
Using default leo file name:
/home/mtowner/.leo/workbook.leo
syntax error importing plugin: leo.plugins.quicksearch
loadOnePlugin: can not load enabled plugin: leo.plugins.quicksearch

but I cant find anything more informative about whats causing the problem (possibly because I'm a bit of a Leo newbie!)
This happens if quicksearch.py is called from LeoSettings.leo or myLeoSettings.leo. The leoscreen plugin is also enabled in myLeoSettings, everything else is default install. If I change my shell script to use python not python3, all is ok, no load errors and the Nav tab is present. I'm running Linux Mint Debian x32, python 3.3
 
I posted a similar question in another thread and it returned an initial/ preliminary fix in revision 5548.

I did upgrade to this revision and I do not experience any issues with my Leo-Installation ...

With kind regards,

Viktor

Martin Towner

unread,
Dec 29, 2012, 8:01:02 PM12/29/12
to leo-e...@googlegroups.com
Great, thanks Viktor - I'm now running rev 5548, and it's all fine with no errors.

Cheers

Martin
Reply all
Reply to author
Forward
0 new messages