semantic-sql icon indicating copy to clipboard operation
semantic-sql copied to clipboard

Left over intermediate artefacts

Open joeflack4 opened this issue 3 years ago • 5 comments

Overview

I ran: semsql make doid.db, and these files remained afterwards:

  1. .template.db: Appears the CWD (current working directory) from where I'm running the command. It might be that this is because one of the commands failed, but I'm not sure.
  2. .template.db.tmp (edit: 2023/04/27: Also seeing these files; not sure which SemSQL version this started appearing in though.)
  3. doid-relation-graph.tsv.gz: Appears in the directory where my .db file is created, and the.owl file used to create that file is located.

Replicating this issue

  1. Have semsql
  2. Download and unzip doid.owl.zip
  3. Run semsql make doid.db from unzipped directory, or use the dockerized version.

joeflack4 avatar Aug 10 '22 15:08 joeflack4

@matentzn FYI

joeflack4 avatar Aug 10 '22 15:08 joeflack4

i think i'm only still experiencing left over .template.db. But it may be because a script is not completing successfully. or perhaps it does it every time, I'm not sure.

joeflack4 avatar Sep 23 '22 19:09 joeflack4

@hrshdhgd what do you think regarding this issue?

matentzn avatar Apr 28 '23 10:04 matentzn

.template.db: Appears the CWD (current working directory) from where I'm running the command. It might be that this is because one of the commands failed, but I'm not sure.

.template.db is an intermediary file that gets generated each time semsql makes a .db file. It remains after successful db file generation

doid-relation-graph.tsv.gz: Appears in the directory where my .db file is created, and the.owl file used to create that file is located.

This again is relation-graph generating the tsv file which eventually gets converted to the sqlite db file

@joeflack4 , why can't you get the latest version of semsql installed?

hrshdhgd avatar May 01 '23 16:05 hrshdhgd

That was a while ago. I have it so that semsql works inside and outside of Docker on my machine now, but I usually use the dockerized version since it's been easier to keep up-to-date. I edited out the version related information from the top of the issue.

joeflack4 avatar May 01 '23 21:05 joeflack4