Dee bindings for python 3 broken

Bug #860049 reported by Jjed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Undecided
Unassigned
dee
Fix Released
Undecided
Unassigned
unity-2d
Fix Released
Undecided
Unassigned
dee (Ubuntu)
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

It is currently impossible to write a Unity Scope with Python 3. For some reason, Dee doesn't seem to provide appropriate bindings.

For example, using the `python3` interactive mode:

    Python 3.2.2 (default, Sep 5 2011, 21:17:14)
    [GCC 4.6.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from gi.repository import Dee
    >>> Dee.Model.append
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    AttributeError: type object 'Model' has no attribute 'append'

Whereas in with `python`:

    Python 2.7.2+ (default, Aug 16 2011, 07:24:41)
    [GCC 4.6.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from gi.repository import Dee
    >>> Dee.Model.append
    <unbound method Model.append>

I've attached my system package versions via `dpkg -l`.

Revision history for this message
Jjed (jjed) wrote :
Changed in dee:
status: New → Confirmed
Changed in dee (Ubuntu):
status: New → Confirmed
Changed in unity:
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

Is that still an issue in Ubuntu 12.04?

Changed in unity:
status: Confirmed → Incomplete
Changed in unity-2d:
status: New → Incomplete
Changed in dee:
status: Confirmed → Incomplete
Changed in dee (Ubuntu):
status: Confirmed → Incomplete
Michal Hruby (mhr3)
Changed in dee:
status: Incomplete → Fix Committed
Changed in dee (Ubuntu):
status: Incomplete → Fix Released
Changed in unity:
status: Incomplete → Fix Released
Changed in unity-2d:
status: Incomplete → Fix Released
Revision history for this message
Izidor Matušov (izidor) wrote :

What version was it fixed in? I can reproduce the problem with 1.0.10-0ubuntu1 of gir1.2-dee-1.0 package

Changed in dee:
status: Fix Committed → Incomplete
Revision history for this message
Michal Hruby (mhr3) wrote :

It's in 1.0.10-0ubuntu2 and later.

Changed in dee:
status: Incomplete → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.