tuankhac / share-extras

Automatically exported from code.google.com/p/share-extras
0 stars 0 forks source link

MediaPreviews library allows no previews Alfresco CE 3.4.d and Alfresco CE 3.4.e #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I've been testing MediaPreview with several Alfresco installations, some on 
Linux (SUSE 11.2) some on Windows (Server 2kR2 Win7SP1 64). The symptom is 
always the same:
While Thumbs work fine, I've not managed to get the Previews running for 
formats that require a conversion prior to display (like mpg or avi). ffmpeg is 
installed and working ok when called manually (or when used for rendering 
thumbnails). In the Share GUI, I always get "Preview not currently available.".

Calling the transformation by hand as described in the troubleshooting section, 
I always get the error:

16:17:46,929  ERROR [extensions.webscripts.AbstractRuntime] Exception from 
executeScript - redirecting to status template error: 10140001 Wrapped 
Exception (with status template): 10140010 Failed to execute script 
'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thum
bnail.get.js': No bean named '' is defined
org.springframework.extensions.webscripts.WebScriptException: 10140001 Wrapped 
Exception (with status template): 10140010 Failed to execute script 
'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thum
bnail.get.js': No bean named '' is defined
    at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:758)

Detailed log attached. Another post says that this is due to a bug that has 
been solved in CE 3.4.d (https://issues.alfresco.com/jira/browse/ALF-4214), but 
it looks like it is still present in this version ? 
Or am I doing something wrong here ?

thx ahead and kind regards,

Martin.

Original issue reported on code.google.com by relayera...@gmail.com on 14 Nov 2011 at 3:58

Attachments:

GoogleCodeExporter commented 8 years ago
Here's my log with extended debug-settings:
log4j.logger.org.alfresco.util.exec.RuntimeExec=debug
log4j.logger.org.alfresco.repo.content.transform=debug
log4j.logger.org.alfresco.repo.thumbnail=debug

Original comment by relayera...@gmail.com on 14 Nov 2011 at 4:08

Attachments:

GoogleCodeExporter commented 8 years ago
Martin, thank you for spotting this and I apologise for the delay in 
responding. You are right that the content which requires transformation before 
display still does not work in 3.4.d or 3.4.e, and that this is down to 
ALF-4214.

I have updated the wiki page at 
http://code.google.com/p/share-extras/wiki/MediaViewers to note this as well as 
the issue in JIRA itself. As there are no further planned releases in the 3.4 
codeline, I believe the only workaround is to move to Alfresco 4 or to build 
your own patched alfresco-repository.jar using the patch on the ticket.

Original comment by will.abson on 6 Aug 2012 at 5:54

GoogleCodeExporter commented 8 years ago
Hi all,

as this was a critical issue for us and we needed to get the (besides that 
issue) wonderful MediaPreviews running. So, we've downloaded us a copy of the 
source from the SVN and created our own patched version of Alf 3.4e that now 
runs MediaPreviews :)
In case anybody is interested, feel free to contact me via this issue or 
directly.

cheers,
Martin.

Original comment by relayera...@gmail.com on 17 Sep 2012 at 3:34