New fails without warning when one file out of 27 is locked

Friday, 5 August 2022 · 3 messages · last reply 16 Aug 2022
PD
Patrick Durusau5 Aug 2022 03:16 #
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 at 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
CG
Christian Grün5 Aug 2022 09:03 #
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
Quoted text · Patrick Durusau · 33 lines
On Fri, Aug 5, 2022 at 1:16 AM Patrick Durusau <patrick at 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 at 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 >
PD
Patrick Durusau16 Aug 2022 00:49 #
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
Quoted text · Christian Grün · 42 lines
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 at 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 at 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 >>
-- Patrick Durusau patrick at 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

⚡Generated with XQuery