[comixed] Re: ComiXed 0.7.0-rc2 is now available

  • From: "Darryl L. Pierce" <mcpierce@xxxxxxxxx>
  • To: comixed@xxxxxxxxxxxxx
  • Date: Wed, 16 Sep 2020 11:17:07 -0400

On Tue, Sep 15, 2020 at 4:22 PM Jim Dinda <jim@xxxxxxxxx> wrote:
<snip>

Website comes up, everything seems to be working, but when I try to do the 
following, it does not work as expected:

1. start with a clean/new database
2. have one folder with comics in them organized by Comixed previously 
(default folder structure).
3. have another folder with other comics just flat (no folder structure).

My goal is to:

1. import each of the two existing folders
2. organize the library into a new folder with the default folder structure
3. in the future, import more comics from an import folder and then, organize 
the library again to put them all into the library folder organized using the 
default structure.

However ... this is what happens:

1. import the 1st folder described above.  Import process works correctly and 
comics are added to the database (but not moved)
2. import the 2nd folder described above.  The import process is a little 
weird.  At 1st, when I click import nothing happens, but if I go to "comics", 
and then back to import, the "import" starts.

There can be a slight lag depending on how many comics are being
imported from any directory. The long and short of it is, for each
comic being imported, a task is created in the database to start that
process. This is done by the TaskManager which, currently, can only do
five tasks in parallel. So while it's doing the task of enqueueing the
import tasks for each comic, it can't actually start importing.

3. once the 2nd import completes, I go to the "Library" page, put in the path 
of the library folder and click "Organize library"
4. for some reason, all of the comics in the 1st folder imported are moved 
into the default folder structure in the new library folder, but NONE of the 
comics in the 2nd folder are moved (all are still browsable in the app).
5. when I look at the java messages running on the server, I can see that it 
seems to be looping around and trying to move the folders in the 1st folder 
over and over again (even though they are already moved).  Even if I kill the 
process and relaunch, it seems to be looping around and "moving" the files 
again and again.

Can you paste the task audit log entry for this task in a reply for
me, please? If a task fails, it shouldn't be getting rerun. The task
manager is supposed to delete all tasks from the database after
they're run, even if they fail and throw an exception. But if it's an
unhandled exception then it might be getting past that cleanup.

I hope that is clear.  Please let me know if I can provide any more 
details/log files/etc.

Yes, just a few questions for clarification but otherwise well described.

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." -
Gord Downie

Other related posts: