rffrasca / PDFKeeper

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

Multiple file additions #28

Closed tresero closed 3 months ago

tresero commented 3 months ago

Is there any way to add entire directories/subdirectories?

tresero commented 3 months ago

Even manually adding files doesn't add any. Database opens, so that's not the issue, but no documents ever show up.

rffrasca commented 3 months ago

Yes, you can add directories of PDF documents. You add them using the Upload folder that gets created on the Desktop and in the Downloads folder. The help file contains two topics that cover this "Uploading PDF Documents from outside of PDFKeeper" and "Uploading PDF Documents using Upload Profile Folders".

After adding manually and no documents show up the list. Select the Documents menu and then Find. Next, select All Documents and see if that returns the documents that were added.

tresero commented 3 months ago

None of that works. Always zero files.

Not to mention, not responding for hours. If it's adding something, I don't know. I let it go overnight.

image

tresero commented 3 months ago

I also opened the database and there are zero records.

image

rffrasca commented 3 months ago

How large is the PDF and is it an image or text based?

In your screen capture, I can see the upload process is showing on the status bar as running but, the upload runs asynchronously so not to hang the UI.

Is it possible to get a sample PDF that does not contain any personal information?

tresero commented 3 months ago

I've tried text and OCR'd, even the text one doesn't show, it's only 90k Here is one that is text and small

AI as an Instrument of Musical Innovation.pdf

rffrasca commented 3 months ago

The sample document uploaded in seconds. I tried with a brand-new database and a database from an older version with some documents already in it. The version of PDFKeeper used for the test is 9.1.4 and the OS is Win10 22H2. image

Can you try uploading again? But this time, open an Explorer Window to C:\Users\Jon\AppData\Roaming\Robert F. Frasca\PDFKeeper\UploadStaging. When the upload begins, the PDF with updated XMP metadata will get staged to that folder along with an XML. After the PDF is uploaded successfully, it will be deleted. Let me know what you see.

tresero commented 3 months ago

That worked, but I had to actually search for a document before they showed up. More of a UI thing I guess.

Thanks, I'll try some others and see what happens. Are there any specific limits?

rffrasca commented 3 months ago

The UI doesn't open directly to a view; however, you can have it open showing flagged documents on startup.

The reason why the UI doesn't open showing all documents is because PDFKeeper is also designed for client server using Oracle and these databases have the potential to contain 1000's of documents.

In the meantime, you can go into Find and select all documents after opening PDFKeeper, the list will refresh after every insert, update, and delete. What I can do is add a setting that will show all documents on startup if you like?

As far as limits go, SQLite does have a storage limit but, it is very large and shouldn't be a concern. Here is the link: https://www.sqlite.org/limits.html.

tresero commented 3 months ago

Thanks! and you can add if easy, if not, no worries.