Bug 568688 - [abrt] crash in system-config-language-1.3.3-3.fc12
Summary: [abrt] crash in system-config-language-1.3.3-3.fc12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Naveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:92b71013
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-26 11:25 UTC by slidercrank
Modified: 2010-07-30 08:32 UTC (History)
3 users (show)

Fixed In Version: system-config-language-1.3.4-2.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-29 05:59:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.33 KB, text/plain)
2010-02-26 11:25 UTC, slidercrank
no flags Details
Removes PirutError Exception which might be causing the crash... (438 bytes, patch)
2010-04-13 09:09 UTC, Naveen Kumar
no flags Details | Diff
tries to patch this bug (in devel ) as well as some new enhancements... (3.22 KB, patch)
2010-04-13 11:29 UTC, Naveen Kumar
no flags Details | Diff
tries to patch this bug (in devel ) as well as some new enhancements... (3.22 KB, patch)
2010-04-13 11:31 UTC, Naveen Kumar
no flags Details | Diff

Description slidercrank 2010-02-26 11:25:20 UTC
abrt 1.0.7 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/share/system-config-language/system-config-language.py 
component: system-config-language
executable: /usr/share/system-config-language/system-config-language.py
kernel: 2.6.31.5-127.fc12.i686.PAE
package: system-config-language-1.3.3-3.fc12
release: Fedora release 12 (Constantine)
uuid: 52ada5ca

backtrace
-----
Summary: TB52ada5ca gui_install.py:203:depDetails:NameError: global name 'PirutError' is not defined

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 175, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 281, in apply
    install.install_language (self.mainWindow, grpid)
  File "/usr/share/system-config-language/gui_install.py", line 391, in install_language
    self.depDetails(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 203, in depDetails
    raise PirutError
NameError: global name 'PirutError' is not defined

Local variables in innermost frame:
a: noarch
b: <gtk.TextBuffer object at 0xc02e734 (GtkTextBuffer at 0x9e1aba0)>
e: 0
d: <gui_detailsDialog.GuiDetailsDialog instance at 0xb94862c>
i: <GtkTextIter at 0xba45280>
mainwin: <gtk.Window object at 0x9d8dc34 (GtkWindow at 0x9da6838)>
self: <gui_install.guiInstall object at 0x9d90e8c>
rc: -6
tag: <gtk.TextTag object at 0xc02e7ac (GtkTextTag at 0xc1b9620)>
n: kde-l10n
strng: Updating for dependencies:

lst: []
r: 1.fc12
txmbr: kde-l10n.noarch 0-4.3.5-1.fc12 - u
timeout: 20
v: 4.3.5
types: [([<TransactionMember : kde-l10n.noarch 0-4.3.5-1.fc12 - u (0xba0698c)>], 'Adding for dependencies:\n'), ([], 'Removing for dependencies:\n'), ([], 'Updating for dependencies:\n')]

Comment 1 slidercrank 2010-02-26 11:25:23 UTC
Created attachment 396515 [details]
File: backtrace

Comment 2 Naveen Kumar 2010-04-01 10:06:43 UTC
Can you give me more information, as to how to reproduce this bug. Can you specify the steps or actions that you did. Because I tried to reproduce it in x86_64 & i386. Although the traceback of exceptions were similar, it did not abort and crash (but only produced exceptions)

Here is the traceback:
Traceback (most recent call last):
  File "/root/workspace/system-config-language-f12/src/language_gui.py", line 175, in okClicked
    self.apply()
  File "/root/workspace/system-config-language-f12/src/language_gui.py", line 281, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/root/workspace/system-config-language-f12/src/gui_install.py", line 391, in install_language
    self.depDetails(mainWindow)
  File "/root/workspace/system-config-language-f12/src/gui_install.py", line 203, in depDetails
    raise PirutError
NameError: global name 'PirutError' is not defined


I did the following to reproduce this:

1. start system-config-language
2. Select Hindi(India) /* I already removed all essential's to do this */
3. It asked the question "Hindi language support is not installed, do you want to install it?". Click on "Yes"
4. It asked the question "Updating these packages requires additional package changes for proper operation?"
5. I clicked on "Cancel" for the last question and the exceptions occurred (described above), but the application did not abort or crash.

PS: If the problem is only because of unassigned variable "PirutError" & unhandled exception then maybe assigning "PirutError=RepoErrors" in file gui_errors.py and handling exception in above frames (like install_language in gui_install.py) would work. But I need more information.

Comment 3 slidercrank 2010-04-02 10:37:26 UTC
I'm afraid I can't reproduce it. My current system has been updated since I installed it. I suppose it's reproducible (if ever) on a fresh fedora installation only

Comment 4 Pravin Satpute 2010-04-05 07:04:27 UTC
(In reply to comment #3)
> I'm afraid I can't reproduce it. My current system has been updated since I
> installed it. I suppose it's reproducible (if ever) on a fresh fedora
> installation only    

still, can you roughly update steps for reproduce this bug
i will try it on fresh fedora installation

Comment 5 Naveen Kumar 2010-04-13 09:09:46 UTC
Created attachment 406182 [details]
Removes PirutError Exception which might be causing the crash...

This patch should be applied to the file system-config-language-1.3.3/src/gui_install.py

Comment 6 Naveen Kumar 2010-04-13 11:29:35 UTC
Created attachment 406210 [details]
tries to patch this bug (in devel ) as well as some new enhancements...

This patch should be applied to the file
system-config-language-1.3.3/src/gui_install.py

Comment 7 Naveen Kumar 2010-04-13 11:31:23 UTC
Created attachment 406211 [details]
tries to patch this bug (in devel ) as well as some new enhancements...

This patch should be applied to the file
system-config-language-1.3.4/src/gui_install.py

PS: Sorry for posting it so many times...

Comment 8 Fedora Update System 2010-06-15 09:02:10 UTC
system-config-language-1.3.4-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/system-config-language-1.3.4-2.fc12

Comment 9 Fedora Update System 2010-06-15 16:06:22 UTC
system-config-language-1.3.4-2.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-language'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-language-1.3.4-2.fc12

Comment 10 Naveen Kumar 2010-07-29 05:59:36 UTC
Closing the bug, if problem persists, please reopen it again.

Comment 11 Fedora Update System 2010-07-30 08:32:49 UTC
system-config-language-1.3.4-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.