Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash due to missing tmp/ans.txt #142

Open
waarmond opened this issue Jun 6, 2024 · 4 comments
Open

crash due to missing tmp/ans.txt #142

waarmond opened this issue Jun 6, 2024 · 4 comments

Comments

@waarmond
Copy link

waarmond commented Jun 6, 2024

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?

@jeevan-wang
Copy link
Collaborator

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

@waarmond
Copy link
Author

waarmond commented Jun 7, 2024

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

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

@jeevan-wang
Copy link
Collaborator

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

@jeevan-wang
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants