Giraffe should handle external interfaces
Bug #724815 reported by
Mikkel Kamstrup Erlandsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
giraffe |
New
|
Undecided
|
Unassigned |
Bug Description
While trying to generate the documentation for DbusmenuGtk-
> Reading /tmp/tmpXnlQX9/
> Traceback (most recent call last):
> File "/home/
> repo.add_gir (file(f, "r"))
> File "/home/
> raise ImportError, "Unresolved interface %s for class %s" % (name, cl.namespaced_name)
> ImportError: Unresolved interface Atk.Implementor
To post a comment you must log in.
This happens because dbusmenu implements an interface that is in a package unknown to giraffe. The planned solution is to add a command line switch to giraffe --external= filename. gir that can be specified N times. The external girs will be used to resolve interfaces and class inheritance, but will not be included in the generated docs.
As an intermediate solution everything should work if you add the Atk.gir to command line args when generating the dbusmenu docs.