Opened 9 years ago

Closed 9 years ago

#672 closed defect (wontfix)

import error PyClass_Type

Reported by: inzem77 Owned by: Olly Betts
Priority: normal Milestone:
Component: Xapian-bindings (Python) Version: 1.2.17
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description (last modified by inzem77)

Hello!

1.2.17 3.4

I installed from source code and import . I received next error:

 3.4.0 (default, Apr 11 2014, 13:05:11) 
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/www/ENVS/django17_34_312/lib/3.4/site-packages//__init__.py", line 43, in <module>
    _ = swig_import_helper()
  File "/var/www/ENVS/django17_34_312/lib/3.4/site-packages//__init__.py", line 39, in swig_import_helper
    _mod = imp.load_module('_', fp, pathname, description)
  File "/usr/lib/3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: /var/www/ENVS/django17_34_312/lib/3.4/site-packages//_.so: undefined symbol: PyClass_Type

Change History (2)

comment:1 by inzem77, 9 years ago

Description: modified (diff)

comment:2 by Olly Betts, 9 years ago

Component: OtherXapian-bindings (Python)
Resolution: wontfix
Status: newclosed

I'm afraid xapian-bindings 1.2 doesn't support python3. There's support on git master (and in development snapshot 1.3.2).

Ticket #346 was tracking progress on this.

As far as I know, nobody's working on backporting python3 support to xapian-bindings 1.2. It's certainly not a trivial diff + patch operation to do so.

Note: See TracTickets for help on using tickets.