Traceback with revision 5547

22 views
Skip to first unread message

Viktor Ransmayr

unread,
Dec 28, 2012, 3:36:08 PM12/28/12
to leo-e...@googlegroups.com
Hello Leo-Community,

after upgrading to rev. 5547 I see the following traceback when starting any Leo-Outline:

<log>

Leo Log Window
Leo 4.11 devel, build 5547, 2012-12-25 20:58:27
Python 3.2.2, qt version 4.8.0
Windows 6, 1, 7601, 2, Service Pack 1
leoID=VR20100603 (in D:\Users\Viktor Ransmayr\.leo)
load dir: D:\Branches\leo-editor\leo\core
global config dir: D:\Branches\leo-editor\leo\config
home dir: D:\Users\Viktor Ransmayr
reading settings in D:\Branches\leo-editor\leo\config\leoSettings.leo
reading settings in D:\Users\Viktor Ransmayr\.leo\myLeoSettings.leo
reading settings in D:\Users\Viktor Ransmayr\Documents\WL2012.leo
syntax error importing plugin: leo.plugins.quicksearch                        <- ???
loadOnePlugin: can not load enabled plugin: leo.plugins.quicksearch  <- ???
reading: D:\Users\Viktor Ransmayr\Documents\WL2012.leo

</log>

With kind regards,

Viktor

Terry Brown

unread,
Dec 28, 2012, 4:03:42 PM12/28/12
to leo-e...@googlegroups.com
On Fri, 28 Dec 2012 12:36:08 -0800 (PST)
Viktor Ransmayr <viktor....@gmail.com> wrote:

> Hello Leo-Community,
>
> after upgrading to rev. 5547 I see the following traceback when starting

Try 5548, I just applied the fix below. Cheers -Terry

=== modified file 'leo/plugins/quicksearch.py'
--- leo/plugins/quicksearch.py 2012-12-23 19:50:49 +0000
+++ leo/plugins/quicksearch.py 2012-12-28 21:01:59 +0000
@@ -270,9 +270,8 @@
#@+node:ville.20121223213319.3670: ** dumpfocus
def dumpfocus():
f = QtGui.QApplication.instance().focusWidget()
- g.es("Focus: " + `f`)
- print("Focus: " + `f`)
-
+ g.es("Focus: " + 'f')
+ print("Focus: " + 'f')
#@+node:ville.20090314215508.2: ** class LeoQuickSearchWidget (QWidget)
class LeoQuickSearchWidget(QtGui.QWidget):

Terry Brown

unread,
Dec 28, 2012, 4:08:08 PM12/28/12
to leo-e...@googlegroups.com
On Fri, 28 Dec 2012 15:03:42 -0600
Terry Brown <terry_...@yahoo.com> wrote:

> - print("Focus: " + `f`)
> -
> + g.es("Focus: " + 'f')

Which I just realized didn't make sense, it should be
g.es("Focus: " + repr(f))

but that's ok, Ville can fix it when he needs it.

Cheers -Terry
Reply all
Reply to author
Forward
0 new messages