Hi all Scenario: I am trying to add a file *while a query is being run through the rest api*. Everything is working fine if no query is being run. Am I trying to do something that isn't supported?
The command is: /opt/basex/bin/basex -v -c"OPEN dbname;ADD $fname.xml" The command exits with the message: Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 11.0 beta Java: Ubuntu, 11.0.20.1 OS: Linux, amd64 Stack Trace: java.lang.RuntimeException: dbname: lock file does not exist. at org.basex.util.Util.notExpected(Util.java:68) at org.basex.data.DiskData.finishUpdate(DiskData.java:246) at org.basex.core.cmd.ACreate.update(ACreate.java:97) at org.basex.core.cmd.Add.run(Add.java:56) at org.basex.core.Command.run(Command.java:233) at org.basex.core.Command.execute(Command.java:93) at org.basex.api.client.LocalSession.execute(LocalSession.java:131) at org.basex.api.client.Session.execute(Session.java:36) at org.basex.core.CLI.execute(CLI.java:94) at org.basex.core.CLI.execute(CLI.java:78) at org.basex.core.CLI.execute(CLI.java:65) at org.basex.BaseX.<init>(BaseX.java:82) at org.basex.BaseX.main(BaseX.java:44) Thanks as always Csaba