[Bug 256910] [NEW] kcmwineconfig doesn't load if .wine already exists

Launchpad Bug Tracker 256910 at bugs.launchpad.net
Mon Aug 11 17:16:19 UTC 2008


You have been subscribed to a public bug:

On my Kubuntu 8.04.1, I've noticed that kcmwineconfig (System settings>Advanced>Windows Applications) does not load if a .wine directory is already present. So it is impossible to modify wine settings using this integrated tool. It is necessary to use the winecfg utility. If I remove the .wine directory and start kcmwineconfig, I can setup wine, but then when I close kcontrol and open it back again, it can't load it.
Starting kcontrol from the console and selecting the Windows Applications tool when a .wine directory is already present, it is not opened and in the console the following messages appear:


Pythonize constructor -- pid = 12441
Python interpreter initialized!


Pythonize constructor -- pid = 12441
Warning: could not find DOS drive for current working directory '/home/andreak', starting in the Windows directory.
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_wineconfig
  File "/var/lib/python-support/python2.5/wineconfig.py", line 3525, in create_wineconfig
    return WineConfigApp(parent, name)
  File "/var/lib/python-support/python2.5/wineconfig.py", line 120, in __init__
    self._buildGUI()
  File "/var/lib/python-support/python2.5/wineconfig.py", line 151, in _buildGUI
    self.generalpage = GeneralPage(tabcontrol,self.compact_mode)
  File "/var/lib/python-support/python2.5/wineconfig.py", line 2898, in __init__
    self.reset()
  File "/var/lib/python-support/python2.5/wineconfig.py", line 2908, in reset
    settings = wineread.GetGeneralWineSettings(application)
  File "/var/lib/python-support/python2.5/wineread.py", line 303, in GetGeneralWineSettings
    return GetKeyValues("HKEY_CURRENT_USER\\Software\\Wine")
  File "/var/lib/python-support/python2.5/wineread.py", line 191, in GetKeyValues
    file=open('.registrykey.reg')
IOError: [Errno 2] Nessun file o directory: '.registrykey.reg'
error: *** runFunction failure
;

Ideally it should be possible to use both this integrated tool and the wineconfig one without having such issues.
Do you agree?
Xwang

PS I don't know if "System settings>Advanced>Windows Applications" is
the correct one, I have obatined it by traslating the Italian one
"Impostazioni di sistema > Advanced > Applicazioni Windows"

** Affects: kde-guidance (Ubuntu)
     Importance: Undecided
         Status: New

-- 
kcmwineconfig doesn't load if .wine already exists
https://bugs.launchpad.net/bugs/256910
You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kde-guidance in ubuntu.




More information about the kubuntu-bugs mailing list