[clutter] Error in opening pdf file using pdfviewer
Hi, I compiled moblin-sdk-example/apps/pdfviewer from git clone git://git.moblin.org/moblin-sdk-examples Compilation is successful but when I run pdfviewer with a pdf file as input. I get an error. Please find log and let me know what be the issue. //== error log == r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src# ls Interrupt.pdf main.oMakefile.am pdfviewerpdfviewer32.png pdfviewer96.png pdfviewer.desktop main.c Makefile Makefile.in pdfviewer16.png pdfviewer48.png pdfviewer.conf pdfviewer.desktop.in r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src# ./pdfviewer -f ./Interrupt.pdf ** (pdfviewer:32264): DEBUG: PDF URI was ./Interrupt.pdf ** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an absolute URI using the file scheme aborting... Aborted r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src# ./pdfviewer --file=./Interrupt.pdf ** (pdfviewer:32265): DEBUG: PDF URI was ./Interrupt.pdf ** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an absolute URI using the file scheme aborting... Aborted r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src# //=== Regards, Ashish
Re: [clutter] Error in opening pdf file using pdfviewer
On Wed, 2010-03-31 at 15:39 +0100, Ashish Kumar wrote: Hi, Hi, I compiled moblin-sdk-example/apps/pdfviewer from git clone git://git.moblin.org/moblin-sdk-examples Compilation is successful but when I run pdfviewer with a pdf file as input. I get an error. Please find log and let me know what be the issue. ** (pdfviewer:32264): DEBUG: PDF URI was ./Interrupt.pdf ** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an absolute URI using the file scheme The error messages even tell you what is wrong: you need to give an URI[1] to the file you want to load. file:///absolute/path/to/Interrupt.pdf HTH, -- Damien [1] http://en.wikipedia.org/wiki/Uniform_Resource_Identifier -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
Re: [clutter] Error in opening pdf file using pdfviewer
Hi Damien, Thanks a lot. Its Working :) Ashish On Wed, Mar 31, 2010 at 10:45 AM, Damien Lespiau damien.lesp...@intel.comwrote: On Wed, 2010-03-31 at 15:39 +0100, Ashish Kumar wrote: Hi, Hi, I compiled moblin-sdk-example/apps/pdfviewer from git clone git://git.moblin.org/moblin-sdk-examples Compilation is successful but when I run pdfviewer with a pdf file as input. I get an error. Please find log and let me know what be the issue. ** (pdfviewer:32264): DEBUG: PDF URI was ./Interrupt.pdf ** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an absolute URI using the file scheme The error messages even tell you what is wrong: you need to give an URI[1] to the file you want to load. file:///absolute/path/to/Interrupt.pdf HTH, -- Damien [1] http://en.wikipedia.org/wiki/Uniform_Resource_Identifier