| Summary: | kcmshell wineconfig crash because command "wineprefixcreate" not found | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | bugwatch, michele.calgaro |
| Priority: | P5 | ||
| Version: | 3.5.13.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2968 | ||
Oops, the wineconfig module is provided by kde-guidance, not kde-systemsettings. BTW there are other issues with this module: 1) Recent wine versions create windows user profile under "c:\users" instead of "c:\windows\profiles". But there are several hardcoded path to the latter in the wineconfig module. 2) The module determines the windows folders related to user profile by parsing the windows registry. It exports the registry key name HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders using "regedit /E", then parses the resulting text file to match "variable=value" lines. Alas, in recent wine (and windows) versions, the registry values in that key are of type REG_EXPAND_SZ, not REG_SZ, and then regedit exports them as hexadecimal values, not string values. So, the exported file cannot be parsed directly as clear text. See files wineconfig/wineread.py and wineconfig/winewrite.py in kde-guidance. tdecmshell wineconfig has issues. Need to test both with tde-guidance installed (wineconfig available) and not installed (wineconfig not available). Definitely some work to do here. |
Hello, running "kcmshell wineconfig" (from package kde-systemsettings) aborts immediatly because it tries to run the non-existing command "wineprefixcreate": -------------------------- $ kcmshell wineconfig Pythonize constructor -- pid = 3011 Python interpreter initialized! Pythonize constructor -- pid = 3011 sh: wineprefixcreate : commande introuvable Traceback (most recent call last): File "<string>", line 8, in kcontrol_bridge_create_wineconfig File "/usr/lib64/python2.7/site-packages/trinity-guidance/wineconfig.py", line 3525, in create_wineconfig return WineConfigApp(parent, name) File "/usr/lib64/python2.7/site-packages/trinity-guidance/wineconfig.py", line 118, in __init__ self.CreateWindowsInstall() File "/usr/lib64/python2.7/site-packages/trinity-guidance/wineconfig.py", line 321, in CreateWindowsInstall winewrite.SetDriveMappings(drives) File "/usr/lib64/python2.7/site-packages/trinity-guidance/winewrite.py", line 60, in SetDriveMappings SetShellLinks(drives[26:]) File "/usr/lib64/python2.7/site-packages/trinity-guidance/winewrite.py", line 63, in SetShellLinks existingshelllinks = os.listdir(wineread.winepath + "/dosdevices/c:/windows/profiles/" + os.environ['USER']) OSError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/albator/.wine/dosdevices/c:/windows/profiles/albator' error: *** runFunction failure ; -------------------------- It looks like this command was deprecated and removed from Wine. http://forum.winehq.org/viewtopic.php?t=1004 It seems that we should now be using "wineboot" instead.