Page 1 of 1

Subsonic Cover art problem :(

PostPosted: Tue Mar 25, 2008 4:03 pm
by djh82uk
Hiya all

Im trying to get subsonic working, it works but I just cannot update any cover art for the albums, I get 2 different error messages in the log.

[2008-03-25 02:36:53,174] WARN CoverArtController - Failed to create thumbnail for /home/djh/samba/music/Sonics, the [1966] Boom/folder.jpg
java.lang.NoClassDefFoundError
at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.cr eateReaderInstance(JPEGImageReaderSpi.java:89)
at javax.imageio.spi.ImageReaderSpi.createReaderInsta nce(ImageReaderSpi.java:296)
at javax.imageio.ImageIO$ImageReaderIterator.next(Ima geIO.java:48
at javax.imageio.ImageIO$ImageReaderIterator.next(Ima geIO.java:472)
at javax.imageio.ImageIO.read(ImageIO.java:1397)
at javax.imageio.ImageIO.read(ImageIO.java:1322)





I also get this error:



[2008-03-25 02:36:52,983] WARN CoverArtController - Failed to create thumbnail for /home/djh/samba/music/Robyn - Robyn (2007)/folder.jpg
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libawt.so: Can't load IA 32-bit .so on a IA 32-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :166
at java.lang.Runtime.loadLibrary0(Runtime.java:822)


Ive shortened them a bit as the log is huge, it's just the same old stuff again.

Cany anyone help?

It was working fine, then It stopped working so I had to remove subsonic and re-install (removed /var/subsonic and put a new subsonic.war in webapps)

DJH

PostPosted: Thu Mar 27, 2008 2:18 pm
by djh82uk
anyone?

DJH

PostPosted: Fri Mar 28, 2008 2:57 am
by djh82uk
Ok, I changed some permissions, and I now get:


Can't create cache file!

anyone help?

PostPosted: Fri Mar 28, 2008 5:18 am
by sindre_mehus
I'm not sure what you refer to, but if Subsonic is unable to create the thumbnail cache directory (typically /var/subsonic/thumbs), you'll see this log entry:

ERROR - Failed to create thumbnail cache /var/subsonic/thumbs

Cheers,
Sindre

PostPosted: Fri Mar 28, 2008 2:15 pm
by djh82uk
hmm, yes it's looking like it has nothing to do with thumbs, it does update the cover art in the folder, names it correctly etc, it just isn't displayed. ANy ideas?

PostPosted: Fri Mar 28, 2008 2:19 pm
by djh82uk
Hmm Im now getting this

I have reset the permissions to user "tomat55"

Exception java.io.IOException
Message Failed to create thumbnail for /home/djh/external/music/Avril Lavigne - Let Go/folder.jpg. null

Still everything works ok, except for displaying cover art

PostPosted: Fri Mar 28, 2008 2:57 pm
by sindre_mehus
Could you please include the stack trace with more detailed info? (See TOMCAT_HOME/subsonic.log)