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


bug #36977: Unloaded scripts do not unload configuration files

Submitted by:  Georgiy T. <sal9000>
Submitted on:  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:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.3.8 IRC nick:  SAL9000

Add a New Comment (Rich Markup)

You are not logged in

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


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>
Project AdministratorIn charge of this item.
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)

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

    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.7