This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 23 - Pages: 2 [ Previous | 1 2 ] - Last Post: 16 Jul 21, 21:05 Last Post By: JeffTucker
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: THM file console error
Posted: 27 Jun 21, 21:14   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
THM's are a minefield. I hate to think what the internal coding looks like - this stuff was added a long, long time ago, and has always been precarious, at best.

Of course, I can't wait to get variants for representing images.
davidekholm

Posts: 3,474
Registered: 18-Oct-2002
Re: THM file console error
Posted: 28 Jun 21, 12:14   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Yes, the THM management code needs a complete rewrite I'd say. It should basically be handled like cached thumbnails under .jalbum/.cache. You can try the current beta core now, it should at least not give any nullpointer exceptions.
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: THM file console error
Posted: 28 Jun 21, 13:14   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Yes, the persistent nullpointer errors seem to be gone, along with the long processing delay I was running into. I'll keep an eye on it....
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: THM file console error
Posted: 30 Jun 21, 18:51   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Sadly, this has returned in the "sharp" release of jAlbum 24.

Just to make sure, I did a complete reinstall of jAlbum 24, with nothing left behind, not even my default settings. It pops up upon Make Album if there are any THM files in the project.
davidekholm

Posts: 3,474
Registered: 18-Oct-2002
Re: THM file console error
Posted: 30 Jun 21, 21:00   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Just attach any error messages / stack traces. See if the problem goes away if you remove "jdeli-daily.jar" from the lib folder and restart jAlbum.
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: THM file console error
Posted: 30 Jun 21, 21:17   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Yes, the messages vanish. As before, no crashes or stack traces - it was just a couple of lines in the console, as reported in my first post.

I was in the midst of adding PDF support to Atom, and ran into a bizarre, related error - the jAlbum core was consistently misreporting the thumbWidth and thumbHeight for a THM attached to a PDF, but only if the fixed shape filter had been invoked. Puzzled over it for a while, then checked the code in my other skins. Hey, presto, this is an old jAlbum bug that I had forgotten about completely - those other skins clearly showed my workaround. I had simply forgotten about it, since I hadn't dealt with it in a while. One more thing to add to the THM Terrors™ list. ;)
davidekholm

Posts: 3,474
Registered: 18-Oct-2002
Re: THM file console error
Posted: 30 Jun 21, 22:43   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Yes, it's clearly time for a rewrite to the thm file management, but higher on my list right now is to swap the integrated browser to Chromium.
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: THM file console error
Posted: 30 Jun 21, 23:24   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
The THM stuff has been a minefield forever, and most of us have worked around its problems in our skins, even though we sometimes forget that we have done so! It's certainly a clunky mechanism for users, but anyone who's using it for a bunch of PDF's, for example, is used to it by now.

The integrated browser is a much more visible problem.

And I'd rather have core-generated folder thumbnails than a new routine for THM's. :)
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: THM file console error
Posted: 16 Jul 21, 21:05   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Marking as "not answered," so I can find it again. The console error messages persist, unless I remove the offending JAR file from the lib folder.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums