Cannot start Ubooquity from command line
I'm running Ubooquity on a Mac mini. Generally it works fine but periodically it will crash requiring me to go and restart it. I'm trying to set up a cron job to check on it every so often and restart if need be but am running into a problem.
If I double-click Ubooquity.jar from the OS X GUI it launches fine. If I try to start it via Terminal though, I get this:
Computer:Ubooquity user$ java -jar Ubooquity.jar -webadmin
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ubooquity/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Any ideas?
Feature: add Ratings to comics
Since you plan to add a read status to comics, I believe this would be fairly easy to implement
I'm assuming you are going to have a table keeping track of the reading status of each comics for each user.
You could add in the same table, a column keeping track of comic's rating by user. This way we could have new benefits:
1: when opening the comics, provide ratings in the details window(and if the user has not put any rating, ubooquity could compute an average for all users)
2: folder (or any grouping), could display an average of the ratings for all comics within the folder/group below the image (again: display average for the connected user or the average over all users if no user ratings are available)
3: (in a future) a new sorting criteria for comics
Scanning for ebooks hangs
I seem to have a problem with scanning ebooks after setting up a new instance of Ubooquity. Libraries that work fine don't anymore, and I'm not quite sure how to debug this. The only difference to my setup is that I'm using LXC instead of docker now, as far as I know.
On the initial scan, the scanner thread works fine initially, but than hangs at always the same book. If I delete that book, it will work for a few more, but than hangs on another one again. Restarting doesn't help, it'll hang on the same book again.
This is the log message where it hangs:
[Scanner thread] INFO com.ubooquity.fileformat.epub.b - Reading metadata of epub file:
Since all my books worked before, I guess its something with my setup, but I have no idea how to figure out why Ubooquity can't read the metadata of certain books. I've enabled the --debug option, but that doesn't seem to give me more output. I've also tried to send a signal ( kill -9 1149
) to the java process to get a stack trace, but nothing happened.
Any ideas what I can do to figure out what's wrong?
Comic covers are smooshed together in my library
A month ago I made some changes to the comic cover width and height but found it too large in the cover preview panel. So I reverted back to the measurements as shown in this screenshot. However, it appears to have no effect. Any idea how I can stop this cover overlapping?
edit: So while writing this I've checked again and it appears to be correcting the cover size in some cases but there are still large chunks of covers overlapping.
20161102 01:33:18 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path
I am running Ubooquity 1.9.1 on Ubuntu 14.04 LTS with my files located on a FreeNAS box. When I start a scan, Ubooquity logs a warning and inserts a path that doesn't exist. I have nearly 1TB of files in the Comics folder but Ubooquity only finds one comic in a folder that doesn't exist. Is there a cache file that needs to be deleted somewhere? I have cleared the comics data several times without any change. Thanks for any help in this matter.
20161102 01:33:18 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path /home/bob/smb:/10.0.0.18/stuff/Comics (ignore this warning if you just added a new root directory)
20161102 01:33:18 [Scanner thread] INFO com.ubooquity.data.database.b - Inserting/updating comic entry in database : /home/bob/smb:/10.0.0.18/stuff/Comics
20161102 01:33:18 [Scanner thread] INFO com.ubooquity.data.database.b - Inserting/updating comic entry in database : /home/bob/smb:/10.0.0.18/stuff/Comics/Unknown
20161102 01:33:18 [Scanner thread] INFO com.ubooquity.data.database.b - Inserting/updating comic entry in database : /home/bob/smb:/10.0.0.18/stuff/Comics/Unknown/Daredevil #158 (2)
20161102 01:33:18 [Scanner thread] INFO com.ubooquity.b.c - Reading metadata of comic file: /home/bob/smb:/10.0.0.18/stuff/Comics/Unknown/Daredevil #158 (2)/Daredevil #158 - Unknown.cbr
20161102 01:33:18 [pool-1-thread-17] INFO com.ubooquity.c - Internal server started. Listening on port 2202
Issue when re-indexing formerly unaccessable files
When Ubooquity hits files that it can't open (in a directory it can read), it creates a 'non-thumbnail' (with just the ubooquity logo). Once the permissions on such a file are fixed and read access granted, Ubooquity doesn't re-create that thumbnail, and it doesn't update the metadata in that file.
I think it would probably be best if Ubooquity would just ignore such files, and only put it in it's database once it can actually read the files. Or maybe display a special thumbnail with an error message.
Navigation improvment idea
When searching for a comic, or when accessing it through the "latest comic" section, and when we click on the comic and have 2 menus: download and read.
It would be nice to add a button to "Go to the collection" (or the folder containing the comic depending on how the navigation is done in ubooquity). This button would avoid navigating through each page when we remember a title or when we want to see the rest of the collection
Better yet: in the informations, we have the collection and the number of the issue. If you could make an hyperlink with the collection to navigate directly to its folder that would be awsome
Using GPL'd libraries?
Three of the libraries used in ubooquity are under the GPLv2 or GPLv3 licenses, which are not as permissive to developers as say BSD, Apache, MIT, etc. are.
They require any software they are used in to be open source.
Comic Label Error
A bit of an odd one, I'm not sure if it's a bug or something else and I've not found anyone with the same issue.
Some of my nicely scrapped comics are only displaying the comic story title instead of Series Name and Number (Year).

Is there anyway to change/toggle this as i would prefer the "Series Name #Number (Year)" as the story title can be very long sometimes and sometimes just looks bad.
remove file numbers
Hi,
Is there any way to remove the file numbers from in front of the cover icons?
Many Thanks.
Porph!
Customer support service by UserEcho