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