Re: Using a plugin included in the core distribution
Mario Fernández <[email protected]> Sat, 6 Aug 2011 23:33:24 +0200
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
I (re)discovered the cmd command after sending the email. As for the issue,= I've suggested another possible solution in the tracker. On 06/08/2011, at 23:08, will kahn-greene wrote: > Hi! > = > You're not doing anything wrong. The core plugins are meant to be = > copied into your plugins dir. There's an issue in the tracker for = > looking into ways to change this and make it easier without creating = > problematic edge cases. > = > Regarding logging errors when plugins cannot be loaded, did you run = > "pyblosxom-cmd test" after setting things up? > = > /will > = > = > On 08/06/2011 02:04 PM, Mario Fern=E1ndez wrote: >> Hi, >> = >> I'm trying to port an old blog to the new version of PyBlosxom, namely t= he last snapshot from the git repository. >> = >> I want to include some plugins that are in the core distribution, like p= yfilenamemtime and comments. I've put them in the load_plugins variable, bu= t they weren't loading. After some investigation, I've fixed it by adding t= he dir where the plugin is to 'plugin_dirs', something like py['plugin_dirs= '] =3D [os.path.join(blogdir, 'pyblosxom', 'plugins', 'date')]. I find this= strange. Shouldn't the plugins that are part of the core package be availa= ble per default for importing? Am I doing something wrong? >> = >> On a related note, I think that when plugins cannot be loaded there shou= ld be some kind of logging, as it makes the problem difficult to debug othe= rwise. >> = >> Cheers, >> Mario > = > -------------------------------------------------------------------------= ----- > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. = > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > pyblosxom-users mailing list > pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/pyblosxom-users ---------------------------------------------------------------------------= --- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. = Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1