Greetings!
My mistake but I had one file out of 27 open in an editor when I tried to create a new database across the file set.
Got the error message that basex 10.0 could not find (file-name), so I chose ok.
Apparently basex failed at that point and did not skip the open file. No database was created.
Not a problem because I closed the file and re-ran new but curious if that is the expected behavior?
Or should it skip the locked file?
Thanks for all the hard work!
Patrick
Hi Patrick,
If files are locked, it should usually be no problem to open them. Could you possibly describe to us how we can reproduce this behavior?
Thanks in advance Christian
On Fri, Aug 5, 2022 at 1:16 AM Patrick Durusau patrick@durusau.net wrote:
Greetings!
My mistake but I had one file out of 27 open in an editor when I tried to create a new database across the file set.
Got the error message that basex 10.0 could not find (file-name), so I chose ok.
Apparently basex failed at that point and did not skip the open file. No database was created.
Not a problem because I closed the file and re-ran new but curious if that is the expected behavior?
Or should it skip the locked file?
Thanks for all the hard work!
Patrick
-- Patrick Durusau patrick@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)
Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.net Twitter: patrickDurusau
Christian,
Sorry for the delayed response!
I got around it at the time by dropping and regenerating the database.
Today I created test files that while "open" in another application, database was successfully created.
If I have a pending edit (file not saved) BaseX picks that up but says:
Error: Resource "/persist/home/patrick/working/test/matt1/.#matt1.xml (No such file or directory" not found
In that case the database is NOT created. Probably shouldn't be.
Try having a an edit on one of the open files (this is on Debian).
Thanks for all the hard work!
Patrick
On 8/5/22 03:03, Christian Grün wrote:
Hi Patrick,
If files are locked, it should usually be no problem to open them. Could you possibly describe to us how we can reproduce this behavior?
Thanks in advance Christian
On Fri, Aug 5, 2022 at 1:16 AM Patrick Durusau patrick@durusau.net wrote:
Greetings!
My mistake but I had one file out of 27 open in an editor when I tried to create a new database across the file set.
Got the error message that basex 10.0 could not find (file-name), so I chose ok.
Apparently basex failed at that point and did not skip the open file. No database was created.
Not a problem because I closed the file and re-ran new but curious if that is the expected behavior?
Or should it skip the locked file?
Thanks for all the hard work!
Patrick
-- Patrick Durusau patrick@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)
Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.net Twitter: patrickDurusau
basex-talk@mailman.uni-konstanz.de