Bug 219007 - net-p2p/museek+-0.1.13-r2 - incorrect install location of config.xml.tmpl
Bug#: 219007 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: coldwind@gentoo.org Reported By: l.valerimanera@gmail.com
Component: Ebuilds
URL: 
Summary: net-p2p/museek+-0.1.13-r2 - incorrect install location of config.xml.tmpl
Keywords:  
Status Whiteboard: 
Opened: 2008-04-23 11:17 0000
Description:   Opened: 2008-04-23 11:17 0000
% musetup-gtk
Traceback (most recent call last):
  File "/usr/bin/musetup-gtk", line 2894, in <module>
    Mapp = MainApp()
  File "/usr/bin/musetup-gtk", line 2885, in __init__
    self.app = MuseekSetupGTK()
  File "/usr/bin/musetup-gtk", line 445, in __init__
    self.tryReadConfig()
  File "/usr/bin/musetup-gtk", line 2273, in tryReadConfig
    self.readTemplate()
  File "/usr/bin/musetup-gtk", line 2242, in readTemplate
    self.readConfig(self.TEMPLATE_PATH)
  File "/usr/bin/musetup-gtk", line 2283, in readConfig
    doc = minidom.parse(CONFIG)
  File "/usr/lib/python2.5/xml/dom/minidom.py", line 1913, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory:
'/usr/share/museek/museekd/config.xml.tmpl'

It gets installed to /usr/share/config.xml.tmpl

Reproducible: Always

Steps to Reproduce:
1. move .museekd out of ~
2. delete /usr/share/museek if present
3. reinstall museekd
4. run musetup-gtk
Actual Results:  
Fails because it can't find the config template.

------- Comment #1 From Santiago M. Mola 2008-04-30 21:09:44 0000 -------
Ouch! Fixed in 0.1.13-r3.