I finally have a clue by looking at detailed output where this error occurs.
I see the sequence: 
          d := open("C:/Cygwin/home/ke/db/mkr.ho","d")
          i := open("C:/Cygwin/home/ke/kb/initial.mkr","r")
          v := fetch(d,"variable")
          run time error 190
          dbm database expected
          offending value: file(C:/Cygwin/home/ke/db/mkr.ho)
 
It appears that the code is checking the mode of the last file opened
instead of the mode of the file where fetch failed.

Dick McCullough
From: [email protected]
To: [email protected]
Date: Tue, 3 Nov 2015 08:10:02 -0800
Subject: [Unicon-group] Unicon doesn't remember its GDBM files







Seems to me I encountered this bug last year, and somehow worked around it.
But it's biting me again with the latest Windows binaries.
1) I open GDBM file with mode "d"
2) my fetch fails with error message: "dbm database expected" That error 
message is obviously wrong, and may be taking the rapfor many other kinds of 
errors. I don't know what the real error(s) is/areand don't know how to fix 
this problem. Sometimes I can access the dbm file, and sometimes I get this 
false error. I tried to pin down this problem using the attached program, but 
it didn't help.I still don't see any pattern in the errors.

Dick McCullough

  

                                          

------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group                       
                  
------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to