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: pluginsShould Start On: Mon 16 May 2011 12:00:00 AM UTC
Should be Finished on: Thu 16 May 2030 12:00:00 AM UTCPriority: 1 - Later
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Originator Name: Open/Closed: Open
Planned Release: NoneIRC nick: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1