Introspection bindings do not export any methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Light Display Manager |
Medium
|
Unassigned | ||
| lightdm (Ubuntu) |
Medium
|
Unassigned |
Bug Description
I was trying to write a basic greeter, following the example code when I ran into some issues. I then started doing introspection and it seems to show that the python bindings for objects are no longer exporting any methods:
>>> g = LightDM.Greeter()
>>> dir(g)
['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__gtype__', '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'parent_instance']
The *Class() objects still show some methods on the other hand:
>>> dir(LightDM.
['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__gtype__', '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'authentication
This pattern repeats for Session/
summary: |
- lighdm some python bindings do not export any methods + python bindings do not export any methods |
Robert Ancell (robert-ancell) wrote : | #1 |
Changed in lightdm (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- python bindings do not export any methods + Introspection bindings do not export any methods |
Changed in lightdm (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in lightdm: | |
status: | Triaged → Fix Committed |
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package lightdm - 1.1.2-0ubuntu1
---------------
lightdm (1.1.2-0ubuntu1) precise; urgency=low
* New upstream release:
- Add regression tests for getting the user language and layout
- Stop accidentally distributing libsystem
- Fix introspection bindings not containing any methods (LP: #920810)
- lightdm-
- Add Python greeter regression tests (representative of all introspection
based greeters)
- Wait for the VT to become active when switching to avoid a suspected
race condition somewhere between LightDM, X, ConsoleKit and the kernel.
(LP: #851612)
- Stop lightdm_
* debian/
- Fix incorrect location of lightdm binary (found by Rolf Anders)
-- Robert Ancell <email address hidden> Fri, 10 Feb 2012 17:32:47 +1100
Changed in lightdm (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
Fixed in master