I've been busy updating plugins so they will work with Python 3.x.
As part of the triage process, I created the following script. It's
on the trunk at rev 2778.
After running it, I was able to assign each plugin to one of the lists
in the script. As you can see, it's easy to check any plugin or group
of plugins:
import glob
import os
tkList = (
'EditAttributes','URLloader','UniversalScrolling','UASearch',
'at_view','chapter_hoist','cleo','graphed','groupOperations','image',
'hoist','keybindings','maximizeNewWindows','mnplugins',
'mod_labels','mod_read_dir_outline','nodenavigator',
'open_with','pie_menus','pluginsTest','rowcol','scheduler',
'script_io_to_body','searchbox','table','tkGui',
)
passList = (
'__init__','UNL','active_path','add_directives','attrib_edit',
'backlink','baseNativeTree',
'codewisecompleter','colorize_headlines','contextmenu',
'ctagscompleter','cursesGui','datenodes','debugger_pudb',
'detect_urls','dtest','initinclass','leo_to_html','leoremote',
'macros','mime','mod_autosave','mod_framesize','mod_scripting',
'mod_speedups','nav_buttons','nav_qt','open_shell',
'plugins_menu','projectwizard','qtGui','qt_main',
'qt_quicksearch','qtframecommands','quicksearch',
'rClickBasePluginClasses','scrolledmessage','setHomeDirectory',
'slideshow','spydershell','testRegisterCommand',
'todo','trace_tags','vim','xemacs',
)
passWithImportProblems = ( # Other than tk input problems.
'ipython',
)
dead = ('LeoN',)
error = ('at_folder','at_produce','niceNosent',)
fail = (
'ConceptualSort','FileActions','Library',
'autocompleter','autotrees',
)
plugins = g.os_path_join(g.app.loadDir,'..','plugins','*.py')
plugins = g.os_path_abspath(plugins)
files = glob.glob(plugins)
files = [g.os_path_abspath(f) for f in files]
files.sort()
os.system('cls') # Clears the screen on Windows.
for fn in files:
m = g.shortFileName(fn)[:-3]
if m in fail: # <-------------- change this to look at various
groups.
fn = 'leo.plugins.%s' % m
try:
__import__(fn)
print('pass',fn)
except ImportError:
print('failed',fn)
except Exception:
print('error',fn)
I'd like to fix the plugins in the fail and error lists tonight or
tomorrow. The ipython problem is probably an installation issue here.
Edward
--
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.