cancel
Showing results for 
Search instead for 
Did you mean: 

Why do PNG files fail to preview in Nuxeo DM?

davenz_
Confirmed Champ
Confirmed Champ

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

alt text

12 REPLIES 12

Hi Bruce - thanks again for replying, and good suggestion. It certainly has the feel of some external dependency not being quite right. I'll give this a shot and get right back to you.

davenz_
Confirmed Champ
Confirmed Champ

Long overdue update to this thread for completeness – using Nuxeo 5.8 LTS installed on the rapid development branch of OpenIndiana, I no longer see this issue. PNGs can be previewed without problems. The primary difference aside from a more recent Nuxeo version is a later build of ImageMagick (6.8.3.5). I'll posit that this was likely the problem to begin with, as Bruce suggested.

Cheers, Dave

bruce_Grant
Elite Collaborator
Elite Collaborator

Good to hear it's finally resolved - even if it was only solved by the passage of time