On Nov 22, 12:48 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> The tkGui plugin is now complete. All unit tests pass. This was a
> completely straightforward project and I don't expect any problems.
There is a problem. I believe this is a known one, since the traceback
looks familiar, I think I already saw it reported at least twice.
--- cut here ---
Traceback (most recent call last):
File "/home/shadow/leo/leo-current/leo/core/leoCommands.py", line
320, in doCommand
val = command(event)
File "/home/shadow/leo/leo-current/leo/core/leoCommands.py", line
590, in open
ok, frame = g.openWithFileName(fileName,c)
File "/home/shadow/leo/leo-current/leo/core/leoGlobals.py", line
2228, in openWithFileName
c.updateRecentFiles(relativeFileName or fileName)
File "/home/shadow/leo/leo-current/leo/core/leoCommands.py", line
1102, in updateRecentFiles
frame.menu.createRecentFilesMenuItems()
File "/home/shadow/leo/leo-current/leo/core/leoMenu.py", line 1596,
in createRecentFilesMenuItems
self.deleteRecentFilesMenuItems(recentFilesMenu)
File "/home/shadow/leo/leo-current/leo/core/leoMenu.py", line 1655,
in deleteRecentFilesMenuItems
self.delete_range(menu,0,toDrop)
File "/home/shadow/leo/leo-current/leo/plugins/tkGui.py", line 6046,
in delete_range
return menu.delete(n1,n2)
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 2668, in delete
if 'command' in self.entryconfig(i):
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 2680, in
entryconfigure
return self._configure(('entryconfigure', index), cnf, kw)
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1187, in
_configure
cnf[x[0][1:]] = (x[0][1:],) + x[1:]
TypeError: can only concatenate tuple (not "str") to tuple
--- cut here ---
It happens when one opens an outline from recent files or from File-
>Open.
It happens when launching leo via "python launchLeo.py" and "python
launchLeo.py --gui=tk", but
it doesn't happen when launching leo via "python launchLeo.py --
gui=qt".
I didn't see this issue earlier, because I was using only the qt
plugin for a while.
I have tried to retrieve a clean trunk branch (instead of updating an
existing one using bzr pull) and run leo via "HOME=/tmp python
launchLeo.py" to elliminate a possible impact of user-specific
settings. I can see that the problem persists.
Are there any known workarounds for this issue at this moment?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---