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>
from distutils.core import CompileError
ImportError: cannot import name CompileError
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 [अभिषेक]<[email protected]> 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
--
___________________________________________________________________
*Hans J. Nuecke* / Gorch-Fock-Str. 6 • 81827 Muenchen • Germany /
*VservU GmbH*
Home: +49 (89) 45344858 office:
+49 (89) 43906 707
mobile: +49 (173) 5392957 Skype:
hnuecke
private: [email protected]
<mailto:[email protected]> business: [email protected]
<mailto:[email protected]>
commercial: www.vservu.com <http://vservu.com> technical:
www.megazine3.de <http://megazine3.de>
Munich HRB 181251 Geschäftsführer: Hans J. Nücke USt-Id:
DE266694113
___________________________________________________________________