Skip to content

BOXED type not supported #33

@felixbuenemann

Description

@felixbuenemann

I'm trying to use pgi with libvips, but it fails to load the overrides with the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pgi/importer.py", line 122, in load_module
    proxy = overrides.load(namespace, instance)
  File "/usr/local/lib/python2.7/dist-packages/pgi/overrides/__init__.py", line 73, in load
    _compat.reraise(ImportError, err, sys.exc_info()[2])
  File "/usr/local/lib/python2.7/dist-packages/pgi/overrides/__init__.py", line 60, in load
    override_module = __import__(name, fromlist=[""])
  File "/usr/local/lib/python2.7/dist-packages/pgi/overrides/Vips.py", line 102, in <module>
    unpack_types = [[Vips.Blob, lambda x: bytes(x.get())],
  File "/usr/local/lib/python2.7/dist-packages/pgi/module.py", line 92, in __getattr__
    "%r attribute type not supported" % info.type)
ImportError: 'BOXED' attribute type not supported

The info.type.value for BOXED is 4, which is currently not defined in _attr_list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions