Bug 442901 - system-config-language still needs pirut to work
Summary: system-config-language still needs pirut to work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: rawhide
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker 442567
TreeView+ depends on / blocked
 
Reported: 2008-04-17 14:29 UTC by leigh scott
Modified: 2009-09-21 22:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-29 20:21:18 UTC
Type: ---


Attachments (Terms of Use)
changing path of yumhelpers.glade file (1.27 KB, patch)
2008-04-28 10:54 UTC, Pravin Satpute
no flags Details | Diff

Description leigh scott 2008-04-17 14:29:37 UTC
Description of problem: system-config-language still needs pirut to work , this
output was generated by trying to install a language pack .



Version-Release number of selected component (if applicable):

system-config-language-1.2.15-2.fc9.noarch


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

[root@localhost leigh]# system-config-language 
Loaded plugins: refresh-packagekit
Excluding Packages in global exclude list
Finished

(system-config-language.py:17059): libglade-WARNING **: could not find glade
file '/usr/share/pirut/ui/yumhelpers.glade'
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 173, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 235, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/usr/share/system-config-language/gui_install.py", line 385, in
install_language
    self.checkDeps(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 121, in checkDeps
    pbar = GuiProgress(_("Resolving dependencies for updates"), mainwin)
  File "/usr/share/system-config-language/gui_progress.py", line 128, in __init__
    self.xml = gtk.glade.XML(gygladefn, domain="pirut")
RuntimeError: could not create GladeXML object

Comment 1 leigh scott 2008-04-21 03:43:04 UTC
Surely it should be using package-kit instead ? 

Comment 2 Daniel Duggan 2008-04-21 08:30:10 UTC
Same Result here as well

$ system-config-language
Loaded plugins: refresh-packagekit

(system-config-language.py:3166): libglade-WARNING **: could not find glade file
'/usr/share/pirut/ui/yumhelpers.glade'
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 173, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 235, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/usr/share/system-config-language/gui_install.py", line 385, in
install_language
    self.checkDeps(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 121, in checkDeps
    pbar = GuiProgress(_("Resolving dependencies for updates"), mainwin)
  File "/usr/share/system-config-language/gui_progress.py", line 128, in __init__
    self.xml = gtk.glade.XML(gygladefn, domain="pirut")
RuntimeError: could not create GladeXML object
$

$ uname -a
Linux alpha 2.6.25-1.fc9.x86_64 #1 SMP Thu Apr 17 01:11:31 EDT 2008 x86_64
x86_64 x86_64 GNU/Linux

$ rpm -aq | grep system-config-language
system-config-language-1.2.15-2.fc9.noarch










Comment 3 Luis Felipe Marzagao 2008-04-25 03:37:56 UTC
Same here:

[root@localhost ~]# rpm -q system-config-language
system-config-language-1.2.15-2.fc9.noarch


[root@localhost ~]# system-config-language 
Loaded plugins: refresh-packagekit

(system-config-language.py:2482): libglade-WARNING **: could not find glade file
'/usr/share/pirut/ui/yumhelpers.glade'
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 173, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 235, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/usr/share/system-config-language/gui_install.py", line 385, in
install_language
    self.checkDeps(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 121, in checkDeps
    pbar = GuiProgress(_("Resolving dependencies for updates"), mainwin)
  File "/usr/share/system-config-language/gui_progress.py", line 128, in __init__
    self.xml = gtk.glade.XML(gygladefn, domain="pirut")
RuntimeError: could not create GladeXML object



Comment 4 Tim Waugh 2008-04-25 17:09:18 UTC
Seems to me that the only dependency is on a single data file from pirut,
yumhelpers.glade.  Couldn't this file just be added to system-config-language?

There is one translatable string in there, "_Details", and without pirut
installed we would miss the translated string for it.  However, IMHO this is
minor in comparison to the language switching tool just not working as in the
current situation.

Comment 5 Pravin Satpute 2008-04-28 06:35:36 UTC
yeah, it is working fine by just adding yumhelpers.glade file at specified location 

yes we can add this file in system-config-language as it uses this file.

thanks Tim for suggestion


Comment 6 Pravin Satpute 2008-04-28 10:54:05 UTC
Created attachment 303959 [details]
changing path of yumhelpers.glade file

added yumhelpers.glade file to /usr/share/system-config-language/

Comment 7 Pravin Satpute 2008-04-28 11:26:06 UTC
built it for rawhide
system-config-language-1.2.15-3

Comment 8 Tim Waugh 2008-04-28 11:47:10 UTC
Pravin: will you build this for F-9 as well as rawhide?

Comment 9 Pravin Satpute 2008-04-28 12:19:42 UTC
Done!!!

Comment 10 Tim Waugh 2008-04-28 16:57:00 UTC
It would be great to get this blocker bug fixed for Fedora 9; currently dist-f9
has the fix but f9-final does not.  Here is the procedure for getting the
package in at this stage:

http://fedoraproject.org/wiki/ReleaseEngineering/FinalFreezePolicy

(apologies if you have already done this)

Comment 11 Jens Petersen 2008-04-29 01:08:41 UTC
I tested system-config-language-1.2.15-3.fc9 and see a new backtrace here:

$ system-config-language 
Loaded plugins: refresh-packagekit
Package lohit-fonts-kannada-2.2.0-1.fc9.noarch already installed and latest version
1:openoffice.org-langpack-kn_IN-2.4.0-12.6.fc9.i386 from rawhide has depsolving
problems
  --> Missing Dependency: openoffice.org-core = 1:2.4.0-12.6.fc9 is needed by
package 1:openoffice.org-langpack-kn_IN-2.4.0-12.6.fc9.i386 (rawhide)
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 173, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 235, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/usr/share/system-config-language/gui_install.py", line 385, in
install_language
    self.checkDeps(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 154, in checkDeps
    d.set_details(string.join(msgs, "\n"))
NameError: global name 'string' is not defined


Comment 12 Jens Petersen 2008-04-29 05:19:09 UTC
So actually above backtrace is caused by locally installing a newer openoffice.org
than in rawhide, so it is a separate issue.  I will file a separate bug for that.

Comment 13 Jens Petersen 2008-04-29 07:17:38 UTC
I filed bug 444568 for comment 11.

Comment 14 Will Woods 2008-04-29 18:39:35 UTC
system-config-language-1.2.15-3.fc9 should appear in tomorrow's Rawhide.

Comment 15 Bill Nottingham 2008-04-29 20:21:18 UTC
Verified.


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