Unable to use AsyncPreview.preview_ready() from python
Bug #1062331 reported by
Michal Hruby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libunity |
Fix Released
|
Medium
|
Michal Hruby | ||
libunity (Ubuntu) |
Fix Released
|
Medium
|
Michal Hruby |
Bug Description
When using AsyncPreview in python:
>>> from gi.repository import Unity
>>> a = Unity.AsyncPrev
>>> p = Unity.GenericPr
>>> a.preview_ready(p)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return info.invoke(*args, **kwargs)
gi._glib.GError: Could not locate unity_async_
Related branches
lp:~mhr3/libunity/fix-1062331
- Paweł Stołowski (community): Approve
-
Diff: 213 lines (+83/-17)8 files modifiedMakefile.decl (+21/-12)
configure.ac (+1/-0)
src/unity-previews.vala (+1/-1)
test/C/Makefile.am (+2/-0)
test/Makefile.am (+3/-1)
test/python/Makefile.am (+41/-0)
test/python/bug-1062331.py (+9/-0)
test/vala/test-mpris-backend-prop-updates-client.vala (+5/-3)
Changed in libunity: | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Michal Hruby (mhr3) |
Changed in libunity: | |
status: | In Progress → Fix Committed |
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.
As a workaround `a.emit( "preview- ready", p)` works.