01-26-2009 08:55 PM
01-27-2009 04:42 AM
I was able to successfully install Alfresco Share stable today with little problem. I loaded a few sample documents into a newly created site and entered into the document viewer to test the new full screen feature. I noticed that I can only view the first page of the document while in full screen or when I esc back to the normal view. Entering into the share document viewer for the initial view of any document only displays the zoom lens and zoom bar but no page navigation widgets. Is there a setting I'm missing that needs to be toggled in order for me to view the document in it's entirety using the page navigation buttons?
** Great thumbnails feature in the Document Library - that works like a charm - looks like the SWF tools are converting the views as designed. Hope someone can assist. Thanks for a great product.
err: Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directoryIf that happens, you will have to tell Alfresco the real path to pdf2swf.
01-29-2009 11:10 PM
I was able to successfully install Alfresco Share stable today with little problem. I loaded a few sample documents into a newly created site and entered into the document viewer to test the new full screen feature. I noticed that I can only view the first page of the document while in full screen or when I esc back to the normal view. Entering into the share document viewer for the initial view of any document only displays the zoom lens and zoom bar but no page navigation widgets. Is there a setting I'm missing that needs to be toggled in order for me to view the document in it's entirety using the page navigation buttons?
** Great thumbnails feature in the Document Library - that works like a charm - looks like the SWF tools are converting the views as designed. Hope someone can assist. Thanks for a great product.
Hi.
Is your installation by any chance on Linux?
Check your logs for something likeerr: Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directoryIf that happens, you will have to tell Alfresco the real path to pdf2swf.
In 3.0 Labs Stable you can do it in "your Alf path"/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
Last line in that file says "swf.exe=./bin/pdf2swf". Type "which pdf2swf" to find where it is located on your installation (should be in /usr/local/bin if you compiled it yourself), and then change that line to "swf.exe=/usr/local/bin/pdf2swf" or whatever it is on your system.
Restart Alfresco, and keep in mind that Alfresco obviously caches thumbnails and previews of files that you've put in it before, so try with some different files.
What I think it happens (and hope someone can confirm it) is that pdf2swf transformer is not used at all, because Alf cannot find it, so transformations are done with OOfice, which somehow confuses DocLib new previewer, showing just first page of transformed document.
01-30-2009 04:00 AM
01-30-2009 06:19 PM
Flash 10 shouldn't be a problem, at least not on Windows.
Which version of swftools (pdf2swf) are you using? Can you check with typing 'pdf2swf -V' on command line? I suppose you didn't install and compile it by yourself, otherwise it would be in /usr/local/bin, not /usr/bin
Also, have you uploaded a new document or you are trying to view one that was uploaded before you changed repository.properties? How big is that document that you cannot preview?
01-31-2009 05:13 AM
Flash 10 shouldn't be a problem, at least not on Windows.
Which version of swftools (pdf2swf) are you using? Can you check with typing 'pdf2swf -V' on command line? I suppose you didn't install and compile it by yourself, otherwise it would be in /usr/local/bin, not /usr/bin
Also, have you uploaded a new document or you are trying to view one that was uploaded before you changed repository.properties? How big is that document that you cannot preview?
The pdf2swf was installed using yum - the current version installed is 0.8.1. The file I'm attempting to view is a new file loaded after I modified the repository.properties file and restarted alfresco. It was only a 40K PDF file. Interestingly enough, the reason I used an rpm packaged install was because I kept getting a build error when attempting to build swftools from source. I figured using yum would resolve any dependency issues I was experiencing that may have been causing the build to error and not compile. I'll attempt to rebuild swftools from source and capture the error message.
Thanks.
02-16-2009 10:56 PM
Well, there's your problemIt just doesn't work with 0.8.1, I think because 0.8.1 cannot produce version 9 swf files.
So, go and download http://www.swftools.org/swftools-2009-01-06-2243.tar.gz, and try to compile and install that version.
04-10-2009 05:51 PM
make[1]: *** No rule to make target `../lib/libpdf.a', needed by `pdf2swf'. Stop.
make[1]: Leaving directory `/home/nco2104/swftools-0.8.1/src'
make: *** [all] Error 2
05-17-2009 07:32 PM
Hey Ndelvalle,
I had a similar problem once. I was also getting:make[1]: *** No rule to make target `../lib/libpdf.a', needed by `pdf2swf'. Stop.
make[1]: Leaving directory `/home/nco2104/swftools-0.8.1/src'
make: *** [all] Error 2
It looks like you're running Fedora, so try yum install automake gcc* , which will install both automake and all the random gcc supporting libraries. I'm not sure which one fixes the problem.
Tags
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.