gStore icon indicating copy to clipboard operation
gStore copied to clipboard

crash due to missing tmp/ans.txt

Open waarmond opened this issue 1 year ago • 4 comments

I've built current git master (1.2) and installed it the LSB binary folder of my distro: /usr/bin

Building an example db crashes: gbuild -db watdiv10 -f watdiv.10M.nt

Begin to build database....
sh: line 1: .tmp/ans.txt: No such file or directory
getSystemOutput: Fail to open : .tmp/ans.txt
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string: construction from null is not valid

Since an empty file is sufficient may you please let gStore automatically create it?

waarmond avatar Jun 06 '24 13:06 waarmond

Thank you for your feedback. This is a bug in the version before 1.2. If the .tmp directory is missing in the GSTORE_HOME directory, it will cause an exception. This problem has been fixed in 1.2 latest code, please pull 1.2 latest code

Jeevan620 avatar Jun 07 '24 02:06 Jeevan620

What about looking in the current directory if GSTORE_HOME is unset?

I've got another question: Where may I find the testing data?

  • Generate LUBM500M from https://github.com/wouterbeek/lubm ?
  • for https://github.com/dsg-uwaterloo/watdiv the queries like /home/data/WatDiv/query/C1.sql are missing

waarmond avatar Jun 07 '24 08:06 waarmond

First question: GSTORE_HOME means the current directory(./gStore)

Second question: From here https://swat.cse.lehigh.edu/projects/lubm/ you can find the LUBM data set generation tool and 14 test queries

Jeevan620 avatar Jun 08 '24 00:06 Jeevan620

I guess you have executed the scripts/run_watdiv.sh script, and the path in the script needs to be changed to your own path. For related scripts, refer to docs/test/formal_experiment.tex file. However, this script does not currently work with the current 1.2 version, and we will update it as soon as possible.

Jeevan620 avatar Jun 08 '24 02:06 Jeevan620