|
From: | Hans Nuecke (vservu) |
Subject: | Re: [Swftools-common] Using rfxview on website |
Date: | Thu, 04 Nov 2010 14:53:09 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
Hi Chris, your email made me try to install the Python gfx module; finally ;-) So far I used pdf2swf in a batch file... But: during the "python setup.py build" process I get the an error File "setup.py", line 4, in <module>When I take the statement with the import out (in setup.py: "from distutils.core import CompileError") I get the next error (no surprise): "NameError: global name 'CompileError' is not defined" There is a try-except in line 105 that tests for CompileError. Which could not be loaded. I got stuck here and couldn't find a solution so far. Here my config: Windows7 64 Python 2.7 (I tried both 64 and 32 bit) Latest swftools-2010-10-12-2000 download I will check if it installs under Windows XP with Python 2.6. But if someone has an idea how to get the setup.py working under Python27 and Win7 would be great! Thanks for your great work and support! Regards Hans Obviously the import On 04.11.2010 03:00, Chris wrote: On Mon, 1 Nov 2010 20:08:12 +0530 Abhishek Amberkar [अभिषेक] <address@hidden> wrote:Hello Friends, I was looking for an open source alternative to Scribd's iPaper and came across swftools.org.As you may be aware, Matthias Kramm ( the swftools originator ) currently works for Scribd. ;o)I would like to know how can I use "rfxview" to display PDF files on my website. I didn't find any documentation regarding this on swftools.org wiki. My site is PHP based.rfxview is Python based. Documentation is here, http://wiki.swftools.org/index.php/Python_gfx_module For php, you are stuck with calling the SWFTools binaries with exec or similar. Check the mailing list archive for references. http://lists.nongnu.org/archive/html/swftools-common/ HTH, Regards, Chris. Chris --
___________________________________________________________________ |
[Prev in Thread] | Current Thread | [Next in Thread] |