bugWeeChat - Bugs: bug #20945, Does'nt load a external librarie...

 
 

bug #20945: Does'nt load a external librarie in Ruby Plugin

Submitter:  cyril Mougel <shingara>
Submitted:  Fri 31 Aug 2007 09:42:36 PM UTC
   
 
Category:  plugins Severity:  3 - Normal
Item Group:  other Status:  Wont Fix
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.2.5 IRC nick:  shingara
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 28 Sep 2007 08:23:26 PM UTC, comment #1: 

After several test, I have found why this bug.

Xmpp4R is a libraries obtains with rubygems. So I just need had a line for add this require :

require 'rubygems'

before require 'xmpp4r'. In a normal irb, it's not obligatory

cyril Mougel <shingara>
Fri 31 Aug 2007 09:42:36 PM UTC, original submission:  

I want create a plugin for weechat like jabber_highlight_notify[1]

I know the Ruby so I want use XMPP4R[2] in my weechat Script.

But when I want load my script I have an error :

Ruby error: "#<LoadError: (eval):3:in `require': no such file to load -- xmpp4r/client>"

For example that my script works, I update it for doesn't use Weechat module. It's the without_weechat tags.

I attach too the script with only weechat using and made an error.

I use weechat 0.2.5 and Xmpp4r 0.3.1 in x86 arch.

[1] : http://da.weeno.net/code/irssi/jabber_hilight_notify/
[2] : http://home.gna.org/xmpp4r/

cyril Mougel <shingara>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #13852:  highlight_jabber_notify_without_weechat.rb added by shingara (2KiB - application/octet-stream - Plugin weechat and script update for test it)
file #13853:  highlight_jabber_notify.rb added by shingara (2KiB - application/octet-stream - Plugin weechat and script update for test it)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by shingara (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-09-28 flashcode StatusNone Wont Fix
        Assigned toNone flashcode
        Open/ClosedOpen Closed
    2007-08-31 shingara Attached File- Added highlight_jabber_notify_without_weechat.rb, #13852
        Attached File- Added highlight_jabber_notify.rb, #13853

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code