taskWeeChat - Tasks: task #11143, weechat.plugin.path used as search...

 
 

task #11143: weechat.plugin.path used as search path for /plugin load

Submitted by:  Jani Kesänen <jkesanen>
Submitted on:  Mon 16 May 2011 09:24:08 AM UTC
 
Category:  plugins Should Start On:  Mon 16 May 2011 12:00:00 AM UTC
Should be Finished on:  Thu 16 May 2030 12:00:00 AM UTC Priority:  * 1 - Later
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Originator Name:  Open/Closed:  Open
Planned Release:  None IRC nick: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Mon 16 May 2011 09:24:08 AM UTC, original submission:  

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 weechat.plugin.path.

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

Jani Kesänen <jkesanen>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jkesanen (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9