bugWeeChat - Bugs: bug #36977, Unloaded scripts do not unload...


bug #36977: Unloaded scripts do not unload configuration files

Submitter:  Georgiy T. <sal9000>
Submitted:  Fri 27 Jul 2012 02:03:39 PM UTC
Category:  script API plugins Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.8 IRC nick:  SAL9000
* Mandatory Fields

Add a New Comment Rich Markup

Sun 29 Jul 2012 07:20:28 AM UTC, comment #2: 

And another problem with unhook_all in scripts was fixed as well.

Sebastien Helleu <flashcode>
Group administrator
Fri 27 Jul 2012 02:07:32 PM UTC, comment #1: 

For clarification,

/perl load bugtest.pl
/perl unload bugtest
$ rm bugtest.conf

Georgiy T. <sal9000>
Fri 27 Jul 2012 02:03:39 PM UTC, original submission:  

Loading a script which creates a custom configuration file, then unloading it, removing the configuration file and /reloading recreates the configuration file.

Test script:

    "SAL9000 <gosha.tugai\@gmail.com>",
    '0.1', "N/A",
    "Bug test/reproduction",
    "", ""
my $config_file = weechat::config_new(
my $section = weechat::config_new_section(
    1, 1,
    "", "",
    "", "",
    "", "",
    "", "",
    "", ""
my $opt = weechat::config_new_option(

Georgiy T. <sal9000>


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

Attach Files:

Attached Files
file #26271:  bugtest.pl added by sal9000 (533B - application/octet-stream - Test perl script for bug reproduction)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by sal9000 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen Closed
    2012-07-29 flashcode StatusNone Fixed
        Assigned toNone flashcode
    2012-07-27 sal9000 Attached File- Added bugtest.pl, #26271

    Back to the top

    Powered by Savane 3.12