jimmejardine / qiqqa-open-source

The open-sourced version of the award-winning Qiqqa research management tool for Windows
GNU General Public License v3.0
366 stars 60 forks source link

Managing Libraries #309

Open Douglas-Taylor opened 3 years ago

Douglas-Taylor commented 3 years ago

Hi everyone A few questions about libraries:

  1. How do I create (or delete) a library?
  2. How do I rename or edit a library?
  3. How do I get the library descriptor to show the actual number of documents in a library (for example I have an empty library showing 2250 docs)? As usual, all help would be greatly appreciated. Thanks Douglas
GerHobbelt commented 3 years ago
  1. Create new lib: Home tab > Libraries > Create/Join Intranet Library

    Then in the dialog give the library a name. As a workaround, assign the library a sync directory on your local disk in a spot where you don't mind having the sync lib created (which won't be updated unless you use the sync functionality, so won't take up space until you do).

    Personally, I use a separate directory tree on the data drive on my machine for this: D:\Qiqqa.sync-points\xyz where xyz is the name of your new library.

  2. Deleting of a library is not available via the GUI at the moment. (For those of us who don't mind hacking around a bit: every library is stored in a subdirectory of the "Qiqqa Base Directory" which is also mentioned in the startup dialog when you start Qiqqa. The directory names are GUID-based, so rather cryptic, but if you can find the directory which stores your library in there and delete it.

    WARNING: this is not for the faint of heart and non-recoverable, so caveat emptor and all that when you try this.

  3. Library rename is only possible in the latest v83 experimental releases and then only via a very hacky route, sorry. (Sync Manager dialog > edit line. Not a very usable UI there, though. Sorry.)

  4. When your lib is empty, it should show that automatically, so this is kinda weird. OR you had a library where you removed all the PDFs from the documents/ directory, ending up with a database full of metadata and all PDF links broken, in which case those PDF icons in the library (articles) list view are semi-opaque.

    While I seen a report like this before, I'm curious what you're seeing and how you know for sure that the library is empty. This would require some further diagnosing...

    (Incidentally, a b0rked library can be recovered (at least when the trouble is lost links to PDFs i.e. PDFs missing from the lib) by going to the library's tab > Add PDF's or References > Recover unregistered PDFs in this library.

    That recovery process will scan the library's directory tree and pick up and insert every PDF it finds in there in an attempt to recover a library. I've used that one quite a few times as I had several completely broken libraries from back in the day that Qiqqa was commercial (and had a tendency to screw up my libs at random 😢 )

GerHobbelt commented 3 years ago

Re item 3:

How do I get the library descriptor to show the actual number of documents in a library (for example I have an empty library showing 2250 docs)?

See #331: it turns out the reported library document counts in the UI included DELETED entries, which can, for example, come into existence by moving documents from one library to the other: they are flagged as 'deleted' in the source library and not entirely erased there for potential recovery of records later on.

Fix is referenced there (#331) and will be published in the next release.

Douglas-Taylor commented 3 years ago

Brilliant, thanks Ger. I a look forward to at least understanding how many docs I do have in my libraries.

On Thu, 3 Jun 2021, 19:56 Ger Hobbelt, @.***> wrote:

Re item 3:

How do I get the library descriptor to show the actual number of documents in a library (for example I have an empty library showing 2250 docs)?

See #331 https://github.com/jimmejardine/qiqqa-open-source/issues/331: it turns out the reported library document counts in the UI included DELETED entries, which can, for example, come into existence by moving documents from one library to the other: they are flagged as 'deleted' in the source library and not entirely erased there for potential recovery of records later on.

Fix is referenced there (#331 https://github.com/jimmejardine/qiqqa-open-source/issues/331) and will be published in the next release.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jimmejardine/qiqqa-open-source/issues/309#issuecomment-854102108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQPHV6YYG2WGNIXIEB3AJVDTQ7F6RANCNFSM4YRLM7PA .

sadiogo commented 1 month ago

I'm using v83.0.7656.6401 and I noticed that when I delete a pdf from the library using the UI, not only does that pdf still show in the Home tab count (which I saw already has a fix), but a copy of the pdf remains in the document folder of the library. The only way to remove the pdf from the document folder is manually deleting it? In that case, I have to do this before removing it from the library using the UI, right? Or else I won't be able to quickly find the pdf in the document folder using Open>Open in Windows Explorer (Qiqqa renames the file in the document folder).

If I manually delete the pdf in the folder being watched, will the pdf be removed altogether (from the library and document folder)?

What is the difference between the sync directory (which we define when creating an intranet library) and watch folders? I've noticed that Qiqqa copies all pdfs from a watch folder to the document folder of the library. So I essentially have a two copies of every pdf, one in the watch folder and one library document folder. Is this the normal behavior? Would the same thing (duplication) happen if I add PDFs from a folder to the library instead of watching that folder? If I synchronize a library, will it create another entire copy of my library in the sync folder? In this case, will I have a copy of every pdf in the watch folder, in my library and in the sync folder?

In the version I'm using, I was still unable to rename the library using the Sync Manager dialog > edit line. When I click that, I get the message "Sorry! Method has not been implemented yet!". Maybe because I tried to rename the Guest library?