1) what have you been doing

Trying to save an inifile to disk with
::ini::commit

2) what did you expect to happen

Inifile shoud be written to file

3) what happened.

file5 is not an open INI file
    while executing
"_valid_ns $fh"
    (procedure "close" line 2)
    invoked from within
"close $channel"
    (procedure "::ini::commit" line 33)
    invoked from within
"::ini::commit $ini"
    (file "inifilebug.tcl" line 7)


4) how can we reproduce this issue, if applicable.
 Try following tcl script:

---------
package require inifile
package require fileutil
::fileutil::touch "/tmp/test.ini"
set ini [::ini::open "/tmp/test.ini"]
::ini::set $ini "section" "key" "value"
::ini::commit $ini
-------

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1000730

Title:
  inifile parser in tcllib

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tcllib/+bug/1000730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to