09-17-2013 03:01 AM
Hi All,
I've installed a fresh Nuxeo 5.6 DM server and I'm having difficulty previewing imported PNG files.
My platform is Nuxeo 5.6 running on OpenIndiana oi_151a8 with Oracle JDK 7u21. Secure LDAP authentication has been configured, and I'm using an external PostgreSQL 9.1 64bit database. ImageMagick has been installed and image tiling for previewing large images appears to work fine. I've also performed a data import (VCS datastore and PostgreSQL dump) from a Nuxeo 5.6 VM.
What I'm seeing is as follows. First, I drag and drop a PNG file from the local client into a Nuxeo DM workspace. Then when clicking on the PNG to view its properties (e.g. by clicking on its "Summary" tab), I don't get an image preview. The "More -> "Preview" option is also not available, so I also cannot annotate the image. The attached image should illustrate this.
This seems to happen to all imported PNG files. JPEGs on the other hand are fine.
The following error is consistently logged in the Nuxeo server log when I import a PNG via drag and drop:
2013-09-16 22:39:07,098 ERROR [org.nuxeo.ecm.webapp.context.NavigationContextBean] <resetCurrentPath> documentManager not initialized
Does anyone have any pointers as to what is happening here?
Cheers, Dave
09-17-2013 02:27 PM
If you switch to debug mode do you get any additional info in the logs?
09-17-2013 02:38 PM
This is really weird :) Could you do an XML export of your document? It would be helpful to know its type and the detected mime type of the image.
Thanks, Laurent
09-18-2013 10:09 AM
Hi Laurent, Bruce,
09-18-2013 10:43 AM
I've just tested with DM and DAM 5.6 HF-20 and can't reproduce your issue. I took a look at the XML and it looks fine.
09-19-2013 03:29 AM
Hi Laurent,
09-19-2013 02:33 PM
Almost appears as though the PNG mime type is being processed by the wrong FileManagerService plugin. If you're comfortable with XML you could try creating an override for the PNG mimetype with a low order (high priority) to see if this resolves the issue with PNG files. Something like...
<?xml version="1.0"?>
<component name="com.concena.grip.dam.core.filemanager.plugins">
<require>org.nuxeo.ecm.platform.filemanager.service.FileManagerService.Plugins</require>
<require>org.nuxeo.ecm.platform.picture.filemanager.contrib</require>
<extension target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService" point="plugins">
<plugin name="Imageplugin" class="com.nuxeo.ecm.platform.picture.extension.ImagePlugin" order="5">
<filter>image/png</filter>
</plugin> ....
I know you said it was a fresh install, but do you have any customizations on top of your Nuxeo install?
09-22-2013 10:19 AM
Hi Bruce,
09-24-2013 07:43 AM
Update - no change in behaviour with a reinstall of Nuxeo 5.6 using the embedded database and default authentication methods.
09-24-2013 06:15 PM
There is a possibility this is ImageMagick and memory related. Is there sufficient available memory allocated to/available for ImageMagick? Can you convert the PNG in question using ImageMagick on the command line?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.