ibus-cangjie missing dependency gir1.2-ibus-1.0

Bug #1189085 reported by Ma Hsiao-chun
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ibus-cangjie (Ubuntu)
Fix Released
Undecided
Unassigned
Raring
Fix Released
Undecided
Unassigned

Bug Description

Without gir1.2-ibus-1.0, ibus-cangjie would just crash.

== SRU request ==

[Impact]

Users cannot use ibus-cangjie without gir1.2-ibus-1.0, so it is only a trivial fix.

[Test Case]
1. Install ibus-cangjie.
2. Run "ibus-setup-cangjie quick" in the terminal.
3. If in the version of raring-release, this tracebook would happen!
ERROR:root:Could not find any typelib for IBus
Traceback (most recent call last):
File "/usr/bin/ibus-setup-cangjie", line 36, in <module>
from gi.repository import IBus
ImportError: cannot import name IBus
4. Install gir1.2-ibus-1.0
5. Run the command in step 3 again. It shouldn't fail.

[Regression Potential]

This is just a added dependency, so unless if gir1.2-ibus-1.0 itself has problems,
it shouldn't be a regression at all.

[Other Info]

Q: What bug fixes will this SRU come along with?
A: LP: #1189083 (adding a patch to enable Preferences)

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ibus-cangjie (Ubuntu):
status: New → Confirmed
Revision history for this message
Dick Tang (dictcp) wrote :

i installed ibus-cangjie from official repository
when i select cangjie as input methed (in the ibus-indicator), it failback to previous selected input methed.
Then i try "ibus-setup-cangjie" (i discovery this command from a website) and got error message like that

dick@dick-laptop:~$ ibus-setup-cangjie quick
ERROR:root:Could not find any typelib for IBus
Traceback (most recent call last):
File "/usr/bin/ibus-setup-cangjie", line 36, in <module>
from gi.repository import IBus
ImportError: cannot import name IBus
I am guessing that I forget to install some package.......

and later I found the problem is solved by installing gir1.2-ibus-1.0

Revision history for this message
Mathieu Bridon (bochecha) wrote :

Note: I'm the upstream developer of IBus Cangjie.

There's not much I can do about the packaging bug (I'm confident Anthony will fix it as soon as he finds the time :-) ), but for now I added instructions to work around the problem on the upstream website:
http://ibus-cangjie.opensource.hk/install.html#ubuntu

I'll remove them once the bug is fixed.

Howard Chan (smartboyhw)
Changed in ibus-cangjie (Ubuntu):
assignee: nobody → Howard Chan (smartboyhw)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus-cangjie - 0.0.1~git20130325-0ubuntu2

---------------
ibus-cangjie (0.0.1~git20130325-0ubuntu2) saucy; urgency=low

  * Fix maintainers field in debian/control to
    Ubuntu Developers. (LP: #1167265)
  * Add an dependency of gir1.2-ibus-1.0 (LP: #1189085)
  * Cherry-pick patch setup: Declare the setup in the XML components
    (upstream commit no.: a85d297bb395f38c4ec5022acc6d641a695b4ab4)
    requested by upstream. (LP: #1189083)
 -- Howard Chan <email address hidden> Mon, 08 Jul 2013 21:24:42 +0800

Changed in ibus-cangjie (Ubuntu):
status: In Progress → Fix Released
Howard Chan (smartboyhw)
description: updated
Howard Chan (smartboyhw)
description: updated
Revision history for this message
Howard Chan (smartboyhw) wrote :

This is my debdiff of the SRU. Please help to upload.

Changed in ibus-cangjie (Ubuntu Raring):
status: New → Confirmed
assignee: nobody → Howard Chan (smartboyhw)
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Hello Ma, or anyone else affected,

Accepted ibus-cangjie into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ibus-cangjie/0.0.1~git20130325-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ibus-cangjie (Ubuntu Raring):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Anthony Wong (anthonywong) wrote :

Veirifed the bug has been fixed in ibus-cangjie 0.0.1~git20130325-0ubuntu1.1.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus-cangjie - 0.0.1~git20130325-0ubuntu1.1

---------------
ibus-cangjie (0.0.1~git20130325-0ubuntu1.1) raring-proposed; urgency=low

  * Add an dependency of gir1.2-ibus-1.0 (LP: #1189085)
  * Cherry-pick patch setup: Declare the setup in the XML components
    (upstream commit no.: a85d297bb395f38c4ec5022acc6d641a695b4ab4)
    requested by upstream. (LP: #1189083)
 -- Howard Chan <email address hidden> Tue, 09 Jul 2013 10:59:57 +0800

Changed in ibus-cangjie (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.