bugWeeChat - Bugs: bug #29530, Perl script filename not being...

 
 

bug #29530: Perl script filename not being stored when script is loaded.

Submitted by:  bazerka <bazerka>
Submitted on:  Mon 12 Apr 2010 07:17:36 PM UTC  
 
Category: script API pluginsSeverity: 3 - Normal
Item Group: otherStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.2IRC nick: Bazerka

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 12 Apr 2010 07:17:36 PM UTC, original submission:

If Weechat is linked against perl which is built without multiplicity enabled, when you load a perl script its filename is not stored during registration and this causes errors , for example when upgrading the script with weeget.

<- /perl listfull

perl scripts loaded:
buffers v1.5 - Sidebar with list of buffers
file:
written by "FlashCode <flashcode@flashtux.org>", license: GPL3

<- /infolist perl_script

Infolist 'perl_script', with pointer '' and arguments '':
pointer.......................: ptr 0x801660a60
filename......................: str ''
interpreter...................: ptr 0x80163e9a0
name..........................: str 'buffers'
author........................: str 'FlashCode <flashcode@flashtux.org>'
version.......................: str '1.5'
license.......................: str 'GPL3'
description...................: str 'Sidebar with list of buffers'
shutdown_func.................: str ''
charset.......................: str ''

<- /weeget upgrade

weeget: downloading "buffers.pl"...
perl: script removed: /usr/home/bazerka/.weechat/perl/autoload/buffers.pl
perl: script removed: /usr/home/bazerka/.weechat/perl/buffers.pl
perl: loading script "/usr/home/bazerka/.weechat/perl/buffers.pl"
perl: unable to register script "buffers" (another script already exists with this name)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_is_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_set_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "config_get_plugin", script is not initialized (script: -)
perl: unable to call function "bar_item_new", script is not initialized (script: -)
perl: unable to call function "bar_new", script is not initialized (script: -)
perl: unable to call function "hook_signal", script is not initialized (script: -)
perl: unable to call function "hook_signal", script is not initialized (script: -)
perl: unable to call function "hook_config", script is not initialized (script: -)
perl: unable to call function "bar_item_update", script is not initialized (script: -)
perl: function "register" not found (or failed) in file "/usr/home/bazerka/.weechat/perl/buffers.pl"

bazerka <bazerka>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #20208:  patch-plugins-scripts-perl-weechat_perl_c.txt added by bazerka (581B - text/plain - Patch to fix issue.)

 

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 bazerka (Submitted the item)
  • -unavailable- added by bazerka
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Apr 2010 07:25:49 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sun 18 Apr 2010 12:09:58 PM UTCflashcodeRelease2.1-dev=>0.3.2
    Mon 12 Apr 2010 10:03:56 PM UTCflashcodeStatusNone=>Fixed
      Assigned toNone=>flashcode
    Mon 12 Apr 2010 07:17:36 PM UTCbazerkaAttached File-=>Added patch-plugins-scripts-perl-weechat_perl_c.txt, #20208
      Carbon-Copy-=>Added bazerka

    Back to the top


    Powered by Savane 3.1-cleanup1