[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #11143] weechat.plugin.path used as search path for

From: Jani Kesänen
Subject: [Weechat-dev] [task #11143] weechat.plugin.path used as search path for /plugin load
Date: Mon, 16 May 2011 09:24:09 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1


                 Summary: weechat.plugin.path used as search path for /plugin
                 Project: WeeChat
            Submitted by: jkesanen
            Submitted on: Mon 16 May 2011 09:24:08 AM GMT
                Category: plugins
         Should Start On: Mon 16 May 2011 12:00:00 AM GMT
   Should be Finished on: Thu 16 May 2030 12:00:00 AM GMT
                Priority: 1 - Later
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: 



1. On 0.3.5 "/plugin load" does not use weechat.plugin.path as a search path
for plugins. Apparently it is used only for autoloading, but for the sake of
consistency it should be used while manually loading too.

2. Perhaps autoload should only search for plugins from directory defined by

In my real world use case the system WeeChat (under /usr) and its libraries
are in version 0.3.3, but in my home directory I have version 0.3.5 installed.
When starting WeeChat 0.3.5, it tries to load old plugins from the system
directory (/usr/lib/weechat/plugins) even if weechat.plugin.path points to my
home (/home/test/usr/lib/weechat/plugins)

Example behavior for 1:

> /set weechat.plugin.path /home/test/usr/lib/weechat/plugins
| Option changed: weechat.plugin.path = "/home/test/usr/lib/weechat/plugins"

> /plugin load irc
| Error: API mismatch for plugin "/usr/lib/weechat/plugins/irc.so" (current
API: "20110428-01", plugin API: "20090614-02"), failed to load


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]