Ubuntu

Dee bindings for python 3 broken

Reported by Jacob Johan Edwards on 2011-09-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Undecided
Unassigned
dee
Undecided
Unassigned
unity-2d
Undecided
Unassigned
dee (Ubuntu)
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`.

Changed in dee:
status: New → Confirmed
Changed in dee (Ubuntu):
status: New → Confirmed
Changed in unity:
status: New → Confirmed
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) on 2012-07-27
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
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
Michal Hruby (mhr3) wrote :

It's in 1.0.10-0ubuntu2 and later.

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

Other bug subscribers

Bug attachments