Running PDFNet with UCS2 and UCS4 PYTHON on Linux

199 views
Skip to first unread message

Support

unread,
May 11, 2012, 7:47:55 PM5/11/12
to pdfne...@googlegroups.com

Q:

Im starting one project which requires dealing with PDF files. Before going ahead and buying your licence i wanted to test if we can achieve what we need, with your software (which looks mighty impressive). 

 

But when i tried to run one Sample script i got error:

 

foo@foo:~/Downloads/pdftron/PDFNetC64/Samples/ConvertTest/PYTHON$ python ConvertTest.py 

Traceback (most recent call last):

  File "ConvertTest.py", line 10, in <module>

    from PDFNetPython2 import *

  File "/home/foo/Downloads/pdftron/PDFNetC64/Lib/PDFNetPython2.py", line 26, in <module>

 
ImportError: /home/foo/Downloads/pdftron/PDFNetC64/Lib/_PDFNetPython2.so: undefined symbol: PyUnicodeUCS2_AsUTF8String

 

when i googled it i found this page, which explains the issue very well:

 

Trying to run the example test script from that page i got:

foo@foo:~/Downloads/pdftron/PDFNetC/Samples/ConvertTest/PYTHON$ python

Python 2.7.2+ (default, Oct  4 2011, 20:06:09) 

[GCC 4.6.1] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import sys

>>> print sys.maxunicode

1114111

 

Now is it possible to get compiled version of your software, which i can run on this computer?
 
-----------------
A:
 
For purposes of evaluation you could install a UCS2 version of Python (I believe you would not need another machine for this).
 

Once you are ready to go with the production we can provide you with the UCS4 version.

 
Reply all
Reply to author
Forward
0 new messages