0
Planned

Online reader does not work for PDF e-books

Stefaan Neyts 9 years ago updated by Tom 8 years ago 7

Hi Ubooquity forum


I've installed the latest Ubooquity on Debian 8 with Oracle Java 8. It is running in the background and serving on port 2202.


All my e-books are in PDF format and put in a folder hierarchy. Ubooquity displays them correctly. Downloading an e-book is working correctly.


The issue is when I click to read the book. Then the display is broken (screenshot).


Image 101


Can somebody help me to get this working?


Kind regards


Stefaan Neyts

Lead Java Developer

Duo nv

Belgium


0
Answered

Wrong cover under ipad but ok on desktop

Kenji 9 years ago updated by Tom 8 years ago 6

Hello

I have a problem with my ipad air 2 (ios 9.3.2) when I look under ubooquity safari, chrome, or mobile ical I have a random covers, and somestimie all is ok,

when i refresh page, covers random again, but sometimes no.

I try to empty the base but the problem is still present.

The server is on Synology DSM 6, but the problem also occurs in DSM 5 on another nas

When I test under Windows 10, I have no problem.

thanks


Ubooquity version:1.10.1 built on 2016-05-10 at 20:36
Java version:1.8.0_92
Java vendor:Oracle Corporation
Java VM name:Java HotSpot(TM) 64-Bit Server VM
OS name:Linux
OS version:3.10.77
OS architecture:amd64
Number of processors:4
Max memory:910 MB
Free memory:403 MB
Total memory:639 MB

0
Under review

Error in loading database

synobooks 9 years ago updated 9 years ago 9

Hi,


I was reading my pdf books halfway on my tablet and the wifi connection got disrupted. After resumption of my wifi connection, I am unable to login back to ubooquity. The webpage would show "Error_timed_out". I am unable to get back into ubooquity unless I shut down and reboot the whole server.


It consistently happens whenever i am in the midst of reading a pdf file and the net connection gets disrupted.


Could you add a code to auto logout should there be inactivity for more than 15 mins? It would then prevent the whole server from hanging because the database can't be read.


The following log shows:


20160529 14:56:01 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20160529 14:56:04 [main] ERROR com.ubooquity.data.database.c - Cound not get number of existing tables
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]
   at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.(Database.java:260) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:108) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:92) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at com.ubooquity.data.database.c.g(SourceFile:121) [Ubooquity.jar:1.10.0]
   at com.ubooquity.data.database.c.(SourceFile:47) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Ubooquity.main(SourceFile:258) [Ubooquity.jar:1.10.0]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
   at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.10.0]
20160529 14:56:06 [main] ERROR com.ubooquity.data.database.c - Could not configure collation strength
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]
   at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.(Database.java:260) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:108) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:92) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at com.ubooquity.data.database.c.h(SourceFile:144) [Ubooquity.jar:1.10.0]
   at com.ubooquity.data.database.c.(SourceFile:48) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Ubooquity.main(SourceFile:258) [Ubooquity.jar:1.10.0]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
   at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.10.0]
20160529 14:56:08 [main] ERROR com.ubooquity.data.database.b - Cound not create COMIC table
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]
   at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.(Database.java:260) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:108) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:92) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at com.ubooquity.data.database.b.e(SourceFile:610) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.database.c.(SourceFile:57) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Ubooquity.main(SourceFile:258) [Ubooquity.jar:1.10.0]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
   at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.10.0]
20160529 14:56:08 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-187]
   at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.getExceptionAlreadyInUse(FileLock.java:461) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lockFile(FileLock.java:355) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.store.FileLock.lock(FileLock.java:135) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.open(Database.java:634) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.openDatabase(Database.java:266) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Database.(Database.java:260) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:60) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.openSession(Engine.java:167) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:128) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.Engine.createSession(Engine.java:26) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:347) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:108) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:92) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:385) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:227) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199) ~[h2-1.4.187.jar.5592702856121964741.tmp:1.4.187]
   at com.ubooquity.data.database.b.e(SourceFile:610) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.database.c.(SourceFile:57) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.Ubooquity.main(SourceFile:258) ~[Ubooquity.jar:1.10.0]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
   at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.10.0]
   at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.10.0]



Appreciate your help

0
Answered

scanner comics stop on synology ds213

Ghile79 9 years ago updated by Tom 9 years ago 4

Hi,

the scanner comics stop on my synology ds213, after i have installed rel. 1.10.1


20160527 15:20:30 [Scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread

java.lang.OutOfMemoryError: Java heap space

at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75) ~[na:1.8.0_91]


at java.awt.image.Raster.createPackedRaster(Raster.java:467) ~[na:1.8.0_91]
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032) ~[na:1.8.0_91]
at java.awt.image.BufferedImage.<init>(BufferedImage.java:333) ~[na:1.8.0_91]
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:557) ~[na:1.8.0_91]
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:541) ~[na:1.8.0_91]
at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:189) ~[na:1.8.0_91]
at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:204) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67) ~[na:1.8.0_91]
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014) ~[na:1.8.0_91]
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186) ~[na:1.8.0_91]
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318) ~[na:1.8.0_91]
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296) ~[na:1.8.0_91]
at java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:339) ~[na:1.8.0_91]
at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:282) ~[na:1.8.0_91]
at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.toRGBImageAWT(PDColorSpace.java:282) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.color.PDICCBased.toRGBImage(PDICCBased.java:196) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.from8bit(SampledImageReader.java:252) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:138) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:340) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:781) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:62) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94) ~[pdfbox-2.0.0.jar.6697043228584604463.tmp:2.0.0]
20160527 15:23:07 [main] INFO com.ubooquity.c - Stopping internal server..

.20160527 15:23:07 [main] INFO com.ubooquity.data.feeder.a - Aborting content scan...

20160527 15:23:07 [main] INFO com.ubooquity.data.feeder.a - Waiting for scanner thread to stop

20160527 15:23:07 [main] INFO com.ubooquity.data.feeder.a - Scanner thread stopped

20160527 15:23:07 [main] INFO com.ubooquity.c - Internal server stopped

20160527 15:23:07 [Thread-3] INFO com.ubooquity.Ubooquity - Ubooquity has closed.


Any ideas what I should do?


Thanks

0
Under review

Wrong cover image for mobi books

Trigisdead 9 years ago updated by Puneet 6 years ago 4

When adding Mobi formatted eBooks that contain multiple images, Ubooquity does not correctly identify and use the cover image, but instead, seems to choose a random image from the book.

0
Not a bug

Interrupted while sending response (perhaps the client stopped the download) - java.net.SocketException - Connection reset by peer: socket write error

Skylar 9 years ago updated by Stu Taylor 8 years ago 4

The last couple of days, whenever someone from outside my local network tries to read my comics, they get stuck at the loading screen. Books still seem to work okay, but comics have been an issue. I was able to confirm with one of my users that they were able to read my comics as recently as Thursday 5/19.I checked the logs and have seen several entries of the following error:


20160522 11:13:47 [pool-1-thread-2] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - java.net.SocketException - Connection reset by peer: socket write error



I've tried rebuilding my ubooquity-4.h2.db file, but that didn't seem to make any difference. I also tried clearing my Java cache, as well as several reboots.

I'm running Windows7 x64, Java 8 Update 91, and Ubooquity 1.10.1.

0
Under review

What libraries does ubooquity need to extract files?

carlos 9 years ago updated by Tom 8 years ago 3
I get the following errors:
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/Charis SIL.css to /config/fonts/Charis SIL.css
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-B.woff to /config/fonts/CharisSIL-B.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-BI.woff to /config/fonts/CharisSIL-BI.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-I.woff to /config/fonts/CharisSIL-I.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/CharisSIL-R.woff to /config/fonts/CharisSIL-R.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/Fira Sans.css to /config/fonts/Fira Sans.css
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-Bold.woff to /config/fonts/FiraSans-Bold.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-BoldItalic.woff to /config/fonts/FiraSans-BoldItalic.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-Italic.woff to /config/fonts/FiraSans-Italic.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/FiraSans-Regular.woff to /config/fonts/FiraSans-Regular.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-bold.woff to /config/fonts/texgyrepagella-bold.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-bolditalic.woff to /config/fonts/texgyrepagella-bolditalic.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-italic.woff to /config/fonts/texgyrepagella-italic.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/texgyrepagella-regular.woff to /config/fonts/texgyrepagella-regular.woff
20160517 11:35:01 [main] ERROR com.ubooquity.f.a - Could not extract file: fonts/Tex Gyre Pagella.css to /config/fonts/Tex Gyre Pagella.css
0
Not a bug

Unable to share subset of directory

synobooks 9 years ago updated by Tom 9 years ago 1

When I tried to add a subset of directory under the books shared directory, it wouldn't allow me to add another user.


i.e

Shared directory:

/volume1/books/morebooks User1

/volume1/books/morebooks/read User2


when trying to add permissions for user2, the following error appears:

Preferences could not be modified.
Directories can not contain one another.


Why can't I only share a subset of folders to user2?

0
Answered

Scanner stops on Synology 216j

Blern Jalkeby 9 years ago updated by Sergio Antonio Delgado Quero 8 years ago 10

Hi, I'm desperatly trying to get this to run on my NAS and it installs and runs (with GUI) as it should. However the scanner always borks up after scanning 50ish comics.


20160511 06:22:21 [Scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread
java.lang.UnsatisfiedLinkError: no javalcms in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864) ~[na:1.8.0_60]
   at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[na:1.8.0_60]
   at java.lang.System.loadLibrary(System.java:1122) ~[na:1.8.0_60]
   at sun.java2d.cmm.lcms.LCMS$1.run(LCMS.java:210) ~[na:1.8.0_60]
   at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_60]
   at sun.java2d.cmm.lcms.LCMS.getModule(LCMS.java:203) ~[na:1.8.0_60]
   at sun.java2d.cmm.lcms.LcmsServiceProvider.getModule(LcmsServiceProvider.java:34) ~[na:1.8.0_60]
   at sun.java2d.cmm.CMMServiceProvider.getColorManagementModule(CMMServiceProvider.java:31) ~[na:1.8.0_60]
   at sun.java2d.cmm.CMSManager.getModule(CMSManager.java:76) ~[na:1.8.0_60]
   at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:783) ~[na:1.8.0_60]
   at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:1017) ~[na:1.8.0_60]
   at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.readICCProfileSafe(Unknown Source) ~[imageio-jpeg-3.1.0.jar.1353531696261016644.tmp:3.1.0]
   at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.getEmbeddedICCProfile(Unknown Source) ~[imageio-jpeg-3.1.0.jar.1353531696261016644.tmp:3.1.0]
   at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source) ~[imageio-jpeg-3.1.0.jar.1353531696261016644.tmp:3.1.0]
   at javax.imageio.ImageIO.read(ImageIO.java:1448) ~[na:1.8.0_60]
   at javax.imageio.ImageIO.read(ImageIO.java:1352) ~[na:1.8.0_60]
   at com.ubooquity.fileformat.cbr.a.a(SourceFile:89) ~[Ubooquity.jar:1.10.1]
   at com.ubooquity.f.a.a(SourceFile:41) ~[Ubooquity.jar:1.10.1]
   at com.ubooquity.data.feeder.b.a(SourceFile:63) ~[Ubooquity.jar:1.10.1]
   at com.ubooquity.data.feeder.a.b(SourceFile:531) ~[Ubooquity.jar:1.10.1]
   at com.ubooquity.data.feeder.a.c(SourceFile:470) ~[Ubooquity.jar:1.10.1]
   at com.ubooquity.data.feeder.a.b(SourceFile:35) ~[Ubooquity.jar:1.10.1]
   at com.ubooquity.data.feeder.a$1.run(SourceFile:123) ~[Ubooquity.jar:1.10.1]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60]


Any ideas what I should do?

0
Fixed

Error when scanning library

synobooks 9 years ago updated by Tom 8 years ago 9

I was trying to get Ubooquity to rebuild my library after upgrading to the new version 1.10 but it is unable to index beyond this book


Clearing the database and reindexing, it still gets stuck on this book.


20160510 01:58:51 [Scanner thread] INFO com.ubooquity.fileformat.pdf.b - Reading metadata of pdf file: /xxx/xxx/xxxx/xxxxx/x.pdf

20160510 01:58:52 [Scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread

java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
   at org.apache.pdfbox.pdmodel.encryption.PDEncryption.(PDEncryption.java:96) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at org.apache.pdfbox.pdfparser.PDFParser.prepareDecryption(PDFParser.java:282) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:199) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:249) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:847) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:803) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:757) ~[pdfbox-2.0.0.jar.8584131639923899513.tmp:2.0.0]
   at com.ubooquity.fileformat.pdf.b.a(SourceFile:34) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.feeder.a.b(SourceFile:382) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.feeder.a.a(SourceFile:212) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.feeder.a.b(SourceFile:316) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.feeder.a.a(SourceFile:35) ~[Ubooquity.jar:1.10.0]
   at com.ubooquity.data.feeder.a$1.run(SourceFile:116) ~[Ubooquity.jar:1.10.0]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_92]
Caused by: java.lang.ClassNotFoundException: Failure to load: org.bouncycastle.jce.provider.BouncyCastleProvider
   at com.ubooquity.e.c.loadClass(SourceFile:992) ~[Ubooquity.jar:1.10.0]
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_92]
... 14 common frames omitted


Please assist.