You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/02/02 11:12:01 UTC

DO NOT REPLY [Bug 38479] - Error when uploading an image: /usr/lib/j2sdk1.4.2_09/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38479>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38479





------- Additional Comments From jwkaltz@apache.org  2006-02-02 11:11 -------
> java.lang.UnsatisfiedLinkError: /usr/lib/j2sdk1.4.2_09/jre/lib/i386/libawt.so:
> ...
> at javax.imageio.ImageIO.read(ImageIO.java:1306)
> ...
>
org.apache.lenya.cms.publication.DefaultResourcesManager.addResource(DefaultResourcesManager.java:147)

The "DefaultResourcesManager" uses ImageIO to determine image width and height,
to automagically add this to the resource's meta-data

This fails when the machine has no graphical environment installed.

Maybe a solution in this case is to catch the error and not set the meta-data,
or set it to unknown ?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org