plugin expfolder failing to install

39 views
Skip to first unread message

Israel Hands

unread,
Jun 30, 2015, 1:30:15 PM6/30/15
to leo-e...@googlegroups.com
Leo just gets better, not sure the same can be said for me!
I can't seem to get some plugins to install - the one I would most like to work is expfolder - any thoughts?

ta

Al

Leo Log Window
Leo 5.1-final, build 20150628182415, Sun Jun 28 18:24:15 CDT 2015
Not running from a git repo
Python 3.4.3, PyQt version 4.8.6
Windows 7 AMD64 (build 6.1.7601) SP1
leoID=AGM (in C:\emacs-24.3\.leo)
load dir: C:\Program Files (x86)\leo_510\leo\core
global config dir: C:\Program Files (x86)\leo_510\leo\config
home dir: C:\emacs-24.3
reading settings in C:\Program Files (x86)\leo_510\leo\config\leoSettings.leo
reading settings in C:\emacs-24.3\.leo\myLeoSettings.leo
loadOnePlugin: exception loading plugin: leo.plugins.expfolder
Traceback (most recent call last):
  File "C:\Python34\lib\configparser.py", line 1116, in _unify_values
    sectiondict = self._sections[section]
KeyError: 'Main'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "C:\Program Files (x86)\leo_510\leo\core\leoPlugins.py", line 512, in loadOnePlugin
    init_result = result.init()
  File "C:\Program Files (x86)\leo_510\leo\plugins\expfolder.py", line 55, in init
    textexts.extend(config.get("Main", "TextExtensions").split())
  File "C:\Python34\lib\configparser.py", line 754, in get
    d = self._unify_values(section, vars)
  File "C:\Python34\lib\configparser.py", line 1119, in _unify_values
    raise NoSectionError(section)
configparser.NoSectionError: No section: 'Main'
loadOnePlugin: exception loading plugin: leo.plugins.expfolder


Jacob Peck

unread,
Jun 30, 2015, 1:37:58 PM6/30/15
to leo-e...@googlegroups.com
The file leo/plugins/expfolder.ini no longer appears to be in the repo, so the plugin is bailing when trying to read it's init file.  This is a good sign that the plugin hasn't been workable for ages.

I don't see any author info in the plugin's docstring.  I suppose someone could patch this up to use @settings nodes instead of an .ini file.

-->Jake
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

john lunzer

unread,
Jun 30, 2015, 5:04:32 PM6/30/15
to leo-e...@googlegroups.com
Isn't active-path the successor to expfolder. I remember when I was looking through the plugins and I though expfolder was what I wanted it turned out that active-path did what I was looking for. Maybe check it out.

Israel Hands

unread,
Jul 1, 2015, 10:22:40 AM7/1/15
to leo-e...@googlegroups.com
Thanks Jacob - I now see why it doesn't work. And thanks John, you are exactly right, Activepath is exactly what I want. Thanks for your time guys.

Al
Reply all
Reply to author
Forward
0 new messages