Your comments

According to the error message you posted, the problem happens even before Ubooquity tries to start.

Perhaps some user permissions changed on your system.


Java (which in turns run Ubooquity) is not supposed to require root permission to run. So I guess that your problem is a symptom of some Linux user or group permissions modification.

But I'm not an expert on that matter, perhaps some other users with more practice will be able to provide more help.

No, sorry.

From a technical point of view it doesn't make sense to use an extension for another.

Last time I checked (one or two years ago), there was no usable Java libraries that allowed 7-zip file extraction.

Some progress seems to have been made since then, I'll take a look at the available libraries and add 7-zip support if they work well enough.


By the way, the correct extension for 7-zip compressed files is "cb7", not "cbr". "cbr" is for RAR compressed files.

The old PDF rendering library I am using (JPedal free) seems to be broken by recent Java versions.

I am working on replacing it.

The fix consist in renaming the image so that they are properly sorted.

It's done by adding zeros in front of the numbers: 01, 02, 03 instead of 1, 2, 3.


But it's quite tiresome. You could also wait for me to implement the new sorting method in Ubooquity (be you'll have to be patient).

You have to provide the full path of the file, including the file name.

Something like:

/volume1/homes/test/Ubooquity/keystore.jks

My guess is that some of your comics contain badly named files.

If you open one of the "messed up" CBR with an archive tool (Winrar, 7-zip...), you'll probably find files named like that:


page-1.jpg

page-2.jpg

...

page-10.jpg

page-11.jpg


But Ubooquity sorts them alphabetically, so it will serve them in this order:


page-1.jpg

page-10.jpg

page-11.jpg

page-2.jpg


I'll probably try to implement natural sort order for comic pages at some point in the future.


If you problem is not caused by file names, let meknow so that we can investigate further.

I really want to fix this problem but I have not been able to reproduce it on my side and I have still no idea of the cause.That's why I need database and preferences files from an installation that has the issue. (see my answer to Adam, just above your message)


If you can send me these two files (the password is not necessary), I'll be happy to investigate and hopefully fix it in the next release.

Hi Jeremy,


Yes, updating to Java 8 is a good idea. Java 7 is now quite old, and is not even supported by Oracle anymore (support ended a year ago).


But to be honest, it will probably not change anything for your usage Ubooquity (and I hope it won't reintroduce the bug you encountered).

The PDF rendering library used by Ubooquity (Jpedal) is very old anyway, and I will probably replace it by something else at some point (although finding a good, free, Java PDF rendering library is quite hard).

A few questions to help me investigate:


  • Where you using the exact same Ubooquity version before the reinstallation (1.9.1) ?
  • Where you using the exact same Java version before the reinstallation (1.7.0_91) ?
  • Anything else has changed apart from DSM 6 ?