Opened 8 years ago

Closed 7 years ago

#53951 closed defect (fixed)

gexiv2 port is unusable

Reported by: schwerdf (August Schwerdfeger) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: gexiv2

Description

I have the gexiv2 port installed, but am unable to use it. Attempting to import GExiv2 in the Python 2.7 interpreter

>>> import gi
>>> from gi.repository import GExiv2

produces the following output, as if the port were not installed:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name GExiv2

I have used this port in the past on the same machine without any trouble. Performing a clean reinstall of MacPorts did not fix the problem.

Change History (4)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to dbevans
Status: newassigned

comment:2 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

It works on my system for both python2.7 and python3.6 - can you update and try again.

Note that I get this on both python versions

main__:1: PyGIWarning: GExiv2 was imported without specifying a version first. Use gi.require_version('GExiv2', '0.10') before import to ensure that the right version gets loaded.

comment:3 Changed 7 years ago by schwerdf (August Schwerdfeger)

Confirmed that the latest version of the port works on both Python 2.7 and 3.6.

comment:4 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.