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

 
 

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

Submitted by:  cyril Mougel <shingara>
Submitted on:  Fri 31 Aug 2007 09:42:36 PM UTC  
 
Category: pluginsSeverity: 3 - Normal
Item Group: otherStatus: Wont Fix
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.2.5IRC nick: shingara

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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 File(s):
   
   
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
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by shingara (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):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 28 Sep 2007 08:46:57 PM UTCflashcodeStatusNone=>Wont Fix
      Assigned toNone=>flashcode
      Open/ClosedOpen=>Closed
    Fri 31 Aug 2007 09:42:36 PM UTCshingaraAttached 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.1-cleanup1