0
Under review
DJVU
Is there any plans to incorporate a DJVU reader to Ubooquity?
Unless I am doing something wrong I cannot read these files with the program?
Thanks
Ian
Customer support service by UserEcho
The online reader is already usable with DJVU files.
What issue did you encounter ?
Altso, in current version of Ubooquity (2.x), the Djvu files have to be in the "Books" category.
thank you for your reply
my files are in the books section. I am using the 2.1.2 2018 version of ubooquity.
If I try to open a DJVU file I get a page not found error. Everything else works fantastic.
thank you for your reply
my files are in the books section. I am using the 2.1.2 2018 version of ubooquity.
If I try to open a DJVU file I get a page not found error. Everything else works fantastic.
If you can send me an example of DJVU file that can't be opened, I'll take a look to try to understand what's wrong. My address: tom 'at' vaemendis.net
I tested the file you sent me: the file is correctly imported and can be read online.
I unfortunately don't know what is the cause of the issue you encounter.
Do you have any error in Ubooquity logs when the "page not found" is displayed ?
I was not able to determine the cause of the issue (since I can't reproduce it on my side).
I will include additional debug logs in the next version, so that we can get more information about the reason some Djvu files can't be opened on your system.
Version 3.0.2 ( https://vaemendis.net/ubooquity/downloads/Ubooquity-3.0.2.zip ) can be configured to activate Djvu specific logs.
This is done by setting the environnement variable DJVU_LOG to true.
Example of command line launch with this configuration, env variable are passed with the -D prefix:
Hi, I have exactly the same problem. When I run the Ubooquity jar file on Windows machine , everything works fine and all type file types, can be read normally. When I run the Ubooquity on Sinology DSM machine (linux), the DJVU files do not open, the error "Page not found" appears. I install version 3.0.2
and below is the log file (not full)
java -DDJVU_LOG=true -jar Ubooquity302.jar --libraryport 2202 --adminport 2203 --remoteadmin
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: 2202, adminport: 2203, remoteadmin: true, host: null, execdir: /var/packages/Ubooquity
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - #############################
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - #############################
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Java version: 21.0.3
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Java vendor: Eclipse Adoptium
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK 64-Bit Server VM
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 16088 MB
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - OS version: 4.4.302+
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Ubooquity 3.0.2 built on 2023-12-28 at 09:54
20241201 03:01:23 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20241201 03:01:23 [main] INFO c.u.pref.PreferencesRepository - Loading preferences...
20241201 03:01:25 [main] INFO com.ubooquity.a - Starting internal server...
20241201 03:01:25 [main] INFO com.ubooquity.a - Reverse proxy prefix is not activated
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.b.a - Scanning directories
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/@eaDir
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/@eaDir/@tmp
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/@eaDir/@tmp/@tmp
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/@eaDir/@tmp/@tmp/webfm
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/@eaDir/@recycle
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/#recycle
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.b.c.a - Reading metadata of djvu file: /volume2/Comics/R2017-04.djvu
20241201 03:01:25 [Scanner thread] WARN com.ubooquity.b.c.a - Problem while reading file: /volume2/Comics/R2017-04.djvu
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/java.awt.Frame.(Frame.java:393)
at com.ubooquity.b.c.b.a(SourceFile:41)
at com.ubooquity.b.c.a.a(SourceFile:38)
at com.ubooquity.a.b.a.a(SourceFile:157)
at com.ubooquity.a.b.a.a(SourceFile:269)
at com.ubooquity.a.b.a.b(SourceFile:92)
at java.base/java.lang.Thread.run(Thread.java:1583)
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/R2017-04.djvu
20241201 03:01:25 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.15; built: 2023-04-11T18:37:53.775Z; git: 5bc5e562c8d05c5862505aebe5cf83a61bdbcb96; jvm 21.0.3+9-LTS
20241201 03:01:25 [Scanner thread] INFO com.ubooquity.b.c.a - Reading metadata of djvu file: /volume2/Comics/R12017-04.djvu
20241201 03:01:25 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@5f14761c{/,null,AVAILABLE,@admin}
20241201 03:01:25 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@33feb805{/,null,AVAILABLE,@library}
20241201 03:01:25 [main] INFO o.e.jetty.server.AbstractConnector - Started library@45cd7bc5{HTTP/1.1, (http/1.1)}{0.0.0.0:2202}
20241201 03:01:25 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@4fd05028{HTTP/1.1, (http/1.1)}{0.0.0.0:2203}
20241201 03:01:25 [main] INFO org.eclipse.jetty.server.Server - Started Server@6f044c58{STARTING}[11.0.15,sto=0] @3744ms
20241201 03:01:25 [main] INFO com.ubooquity.a - Internal server started. Listening on port 2202 (library) and 2203 (admin)
Tyep Q then ENTER to exit
............
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.b.c.a - Reading metadata of djvu file: /volume2/Comics/R2017-09.djvu
20241201 03:26:04 [Scanner thread] WARN com.ubooquity.b.c.a - Problem while reading file: /volume2/Comics/R2017-09.djvu
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/java.awt.Frame.(Frame.java:393)
at com.ubooquity.b.c.b.a(SourceFile:41)
at com.ubooquity.b.c.a.a(SourceFile:38)
at com.ubooquity.a.b.a.a(SourceFile:157)
at com.ubooquity.a.b.a.a(SourceFile:269)
at com.ubooquity.a.b.a.b(SourceFile:92)
at java.base/java.lang.Thread.run(Thread.java:1583)
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : /volume2/Comics/R2017-09.djvu
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Found 3 empty folders
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Deleted empty folders from database. Looking for new ones...
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Found 1 empty folders
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Deleted empty folders from database. Looking for new ones...
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Found 1 empty folders
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Deleted empty folders from database. Looking for new ones...
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Found 1 empty folders
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.a.f - Deleted empty folders from database. Looking for new ones...
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.b.a - Finished scanning directories. Populating caches...
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.b.a - Caches populated
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.b.a - Statistics: [total: 7, added or updated: 7, removed: 0]
20241201 03:26:04 [Scanner thread] INFO com.ubooquity.a.b.a - Scan is complete
20241201 03:26:17 [qtp461001437-75] WARN o.e.j.server.handler.ContextHandler - Unimplemented getRequestCharacterEncoding() - use org.eclipse.jetty.servlet.ServletContextHandler
20241201 03:26:17 [qtp461001437-79] INFO com.ubooquity.provider.e.a - Someone is reading R12017-04
20241201 03:26:17 [qtp461001437-79] ERROR com.ubooquity.f.a - Could not get image from file: /volume2/Comics/R12017-04.djvu
20241201 03:26:17 [qtp461001437-79] WARN com.ubooquity.provider.e.a - Could not extract page 0 from document /volume2/Comics/R12017-04.djvu (NullPointerException)
Thanks
Veskoaz