rffrasca / PDFKeeper

Open Source PDF Document Management
https://www.pdfkeeper.org/
GNU General Public License v3.0
110 stars 11 forks source link

SingleUserDatabaseSetup command script fails with "The system cannot find the file specified". #18

Closed rffrasca closed 11 months ago

rffrasca commented 12 months ago

Discussed in https://github.com/rffrasca/PDFKeeper/discussions/14

Originally posted by **JBSmo** November 20, 2023 I am evaluating your software to see if it will work for a repository of PDF documents that were created by a CAD program. Although I'm evaluating it on my personal computer, the intended end use is on a computer with no internet access whatsoever. To that end, I've tried downloading and then running the SingleUserDatabaseSetup windows command script, which fails with "the system cannot find the file specified". I figure this is the SqliteDatabaseSetup.sql file. Is that correct? Is it possible to get a local copy of this file? Perhaps a larger (and more pertinent) question would be: Can this software be used on such an isolated system? Thanks for your attention!
rffrasca commented 12 months ago

SingleUserDatabaseSetup.cmd is designed to be run from the help file. Saving the script to another location and running it will cause this error as the script cannot find sqlite3.exe and SqliteDatabaseSetup.sql. The only way to address this is by making a note in the "Setup Single-User Database" help file instructing the user to select Run when prompted.

The same note will need to be added to the following help file topics that link command scripts:

rffrasca commented 11 months ago

PDFKeeper 9.1.0 was released today.