Just downloaded the zip of the latest leo, and installed python26
the windows installer dies with an error so I followed the advice to
use the zip instead.
But when I start up leo with
c:\python26\pythonw launchleo,py
I get this
Error: 1
<type 'exceptions.TypeError'> Exception in Tk callback
Function: <function add_commandCallback at 0x02BD8EF0> (type: <type
'function'>)
Args: ()
Traceback (innermost last):
File "C:\Leo\leo\extensions\Pmw\Pmw_1_3\lib\PmwBase.py", line 1747,
in __call__
return apply(self.func, args)
File "C:\Leo\leo\core\leoCommands.py", line 5844, in add_commandCallback
val = command()
File "C:\Leo\leo\core\leoMenu.py", line 1613, in recentFilesCallback
c.openRecentFile(name)
File "C:\Leo\leo\core\leoCommands.py", line 1053, in openRecentFile
ok, frame = g.openWithFileName(fileName,c)
File "C:\Leo\leo\core\leoGlobals.py", line 2208, in openWithFileName
c.updateRecentFiles(relativeFileName or fileName)
File "C:\Leo\leo\core\leoCommands.py", line 1086, in updateRecentFiles
frame.menu.createRecentFilesMenuItems()
File "C:\Leo\leo\core\leoMenu.py", line 1599, in createRecentFilesMenuItems
self.deleteRecentFilesMenuItems(recentFilesMenu)
File "C:\Leo\leo\core\leoMenu.py", line 1624, in deleteRecentFilesMenuItems
self.delete_range(menu,0,toDrop)
File "C:\Leo\leo\core\leoTkinterMenu.py", line 125, in delete_range
return menu.delete(n1,n2)
File "c:\Python26\lib\lib-tk\Tkinter.py", line 2672, in delete
if 'command' in self.entryconfig(i):
File "c:\Python26\lib\lib-tk\Tkinter.py", line 2682, in entryconfigure
return self._configure(('entryconfigure', index), cnf, kw)
File "c:\Python26\lib\lib-tk\Tkinter.py", line 1187, in _configure
cnf[x[0][1:]] = (x[0][1:],) + x[1:]
<type 'exceptions.TypeError'>: can only concatenate tuple (not "str") to tuple
--
Graham Chiu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---