Megatest

View Ticket
Login
2016-08-30
09:34 Ticket [0bdc2f3f8f] refdb: set does not create sxml files if refdb dir is new status still Open with 3 other changes artifact: aa24a7e7c6 user: tyardeni
2016-08-29
17:42 Ticket [0bdc2f3f8f]: 5 changes artifact: 86e45f0e6e user: tyardeni
17:39 New ticket [0bdc2f3f8f]. artifact: 928e11228b user: tyardeni

Ticket Hash: 0bdc2f3f8f32f0c548ea512a621b2ebf770f0b04
Title: refdb: set does not create sxml files if refdb dir is new
Status: Open Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2016-08-30 09:34:09
Version Found In: 1.61
Description:
creating a new refdb with "refdb set" does not create the required sxml files to be able to open the new refdb via "refdb edit"
User Comments:
tyardeni added on 2016-08-29 23:42:24:

The required files are (with minimum required contents: sheet-names.cfg sxml/_workbook.sxml

(*TOP* (*PI* xml "version=\"1.0\" encoding=\"UTF-8\""))

sxml/_sheets.sxml
(http://www.gnumeric.org/v10.dtd:Sheet )


tyardeni added on 2016-08-30 15:34:09:

On refdb set command if sheet-names.cfg is missing:


$ refdb set db sheet col row data

Error: (open-output-file) cannot open file - No such file or directory: "db/sheet-names.cfg"

        Call history:

        refdb.scm:149: main
        refdb.scm:136: argv
        refdb.scm:64: string->symbol
        refdb-module.scm:702: ##sys#get-keyword
        refdb-module.scm:703: conc
        refdb-module.scm:706: refdb#conf-get-record
        refdb-module.scm:775: conc
        refdb-module.scm:775: file-exists?
        refdb-module.scm:778: dat-lookup
        refdb-module.scm:472: filter
        refdb-module.scm:707: file-exists?
        refdb-module.scm:711: add-sheet
        refdb-module.scm:608: refdb#list-sheets
        refdb-module.scm:603: file-exists?
        refdb-module.scm:609: conc
        refdb-module.scm:609: with-output-to-file               <--