App crash when the user press Ctrl-C on terminal

Bug #585225 reported by Angel Guzman Maeso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fusion-icon (Ubuntu)
New
Wishlist
Unassigned

Bug Description

Binary package hint: fusion-icon

Starting normally fusion-icon in terminal and then pressing Ctrl-C, the app dont capture the KeyBoardInterrupt Exception and finalize the program gracefully.

A example:

$ fusion-icon
 * Detected Session: gnome
 * Searching for installed applications...
 * Intel detected, exporting: INTEL_BATCH=1
 * Using the GTK Interface
 * Metacity is already running
^CTraceback (most recent call last):
  File "/usr/bin/fusion-icon", line 58, in <module>
    choose_interface(try_first=options.interface)
  File "/usr/lib/python2.6/dist-packages/FusionIcon/interface.py", line 88, in choose_interface
    import_interface(chosen_interface)
  File "/usr/lib/python2.6/dist-packages/FusionIcon/interface.py", line 34, in import_interface
    __import__('FusionIcon.interface_%s' %interface)
  File "/usr/lib/python2.6/dist-packages/FusionIcon/interface_gtk/__init__.py", line 3, in <module>
    import main
  File "/usr/lib/python2.6/dist-packages/FusionIcon/interface_gtk/main.py", line 213, in <module>
    gtk.main()
KeyboardInterrupt

----

With some try/catch and some finalize/clean code, it would be useful for fix this error.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: fusion-icon 0.1.0-2
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Tue May 25 05:30:36 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091126)
PackageArchitecture: all
ProcEnviron:
 LANG=es_ES.utf8
 SHELL=/bin/bash
SourcePackage: fusion-icon

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Changed in fusion-icon (Ubuntu):
importance: Undecided → Wishlist
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.