Unable to use AsyncPreview.preview_ready() from python

Bug #1062331 reported by Michal Hruby on 2012-10-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libunity
Fix Released
Medium
Michal Hruby
libunity (Ubuntu)
Medium
Michal Hruby

Bug Description

When using AsyncPreview in python:

>>> from gi.repository import Unity
>>> a = Unity.AsyncPreview.new()
>>> p = Unity.GenericPreview()
>>> a.preview_ready(p)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Could not locate unity_async_preview_preview_ready: `unity_async_preview_preview_ready': /usr/lib/x86_64-linux-gnu/libunity.so.9: undefined symbol: unity_async_preview_preview_ready

Related branches

Michal Hruby (mhr3) wrote :

As a workaround `a.emit("preview-ready", p)` works.

Changed in libunity:
status: New → Confirmed
Michal Hruby (mhr3) on 2012-10-09
Changed in libunity:
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Michal Hruby (mhr3)
Michal Hruby (mhr3) on 2012-10-12
Changed in libunity:
status: In Progress → Fix Committed
Michal Hruby (mhr3) on 2013-09-02
Changed in libunity:
status: Fix Committed → Fix Released
milestone: none → 7.1.0
Changed in libunity (Ubuntu):
status: New → Fix Released
assignee: nobody → Michal Hruby (mhr3)
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers