Wineconfig doesn't detect Wine

Bug #151982 reported by .
16
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Medium
Scott Kitterman

Bug Description

Trying to run wineconfig on Gutsy, it just asks if I want to enable universe, etc.
wineread.GetWineBuildPath() returns None, even though Wine is installed:
ii wine 0.9.46-0ubuntu1 Microsoft Windows Compatibility Layer (Binary Emulator and Library)

Related branches

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

You installed the wine package from the Ubuntu repository?
Could you post the output of
ls -ld /usr/lib/wine

Changed in kde-guidance:
assignee: nobody → yuriy-kozlov
status: New → Incomplete
Revision history for this message
. (asfg-deactivatedaccount) wrote :

drwxr-xr-x 2 root root 20480 2007-10-18 10:41 /usr/lib/wine

Yes, I only have the official repositories enabled (plus debugging symbols repositories).

Revision history for this message
SalsaDoom (salsadoom) wrote :

I had this problem, I noticed it was being caused by wineconfig on 7.10 64-bit. Its looking for wine in the wrong place -- it looks in /usr/lib/wine instead of its actual location of /usr/lib32/wine. A symlink will fix it.

Revision history for this message
Jwednesday (jwednesday) wrote : Re: [Bug 151982] Re: Wineconfig doesn't detect Wine

thank you, however, there was no wine in /usr/lib32 ..

On Thu, 27 Dec 2007 19:02:22 -0500, SalsaDoom <email address hidden> wrote:

> I had this problem, I noticed it was being caused by wineconfig on 7.10
> 64-bit. Its looking for wine in the wrong place -- it looks in
> /usr/lib/wine instead of its actual location of /usr/lib32/wine. A
> symlink will fix it.
>

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

I've also experienced this bug, and the reason for the bug is that the file wineread.py in guidance-backends has paths hard-coded to look only for /usr/lib/wine and /usr/local/lib/wine, but on amd64 wine installs into /usr/lib32/wine
I've made an easy hackish-patch that fixes this, it can probably be improved by making python find out what the arch of the system is and check lib32 if it's a 64-bit one, but I don't know enough about python to do that.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

I've applied the above fix in SVN (upstream), but that won't fix Martin's original problem, I have no idea what's going wrong there.

Revision history for this message
Sebastian Kügler (sebasje) wrote :

I applied a nicer fix :-)

Revision history for this message
Alejandro Díaz-Caro (janus) wrote :

I made a symlink, as SalsaDoom says, from /usr/lib32/wine to /urs/lib/wine and everithing works fine now.

Changed in kde-guidance:
status: Incomplete → Confirmed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Alejandro, the 64-bit bug is confirmed and fix committed. However the original problem is still unsolved and only Martin seems to be experiencing it.
Martin, do you still have this issue?

Changed in kde-guidance:
status: Confirmed → Incomplete
Revision history for this message
. (asfg-deactivatedaccount) wrote :

As I have switched to Arch Linux, I am unable to confirm.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

In that case, I'll leave this as the tracker for the 64-bit bug (fix committed). Please reopen and file a new bug if you run into this again with a different configuration.

Changed in kde-guidance:
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde-guidance - 0.8.0svn20080103-0ubuntu2~ppa3

---------------
kde-guidance (0.8.0svn20080103-0ubuntu2~ppa3) hardy; urgency=low

  * Add kubuntu_10_displayconfig_tryagain.patch so that if displayconfig
    thinks a proprietary driver is installed, but it can't find it, it
    will try to find a non-proprietary driver instead of crashing (LP: #198269)
  * Add kubuntu_11_wineconfg_amd64.patch so that wineconfig looks in the right
    dir for wine on AMD64 (LP: #151982) - Patch should be removed for the next
    svn snapshot or release as a fix has been committed upstream already
  * Add kubuntu_12_powermanager_survive_no_brightness.patch so that if the old
    brightness cannot be gotten from DBUS, powermanager won't crash
    (LP: #183656) and (LP: #198071)
  * Add kubuntu13_displayconfig_add_new_monitors.patch to support additional
    ViewSonic VA702 variants (LP: #192899)

 -- Scott Kitterman <email address hidden> Tue, 04 Mar 2008 11:14:41 -0500

Changed in kde-guidance:
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote :

Fix is not actually released yet. Please test the updated kde-guidance-powermanager in my PPA:

https://launchpad.net/~kitterman/+archive

If I get confirmation the fix works, I'll include it in the next upload.

Changed in kde-guidance:
assignee: yuriy-kozlov → kitterman
importance: Undecided → Medium
status: Fix Released → In Progress
Revision history for this message
Scott Kitterman (kitterman) wrote :

kde-guidance rather.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde-guidance - 0.8.0svn20080103-0ubuntu3

---------------
kde-guidance (0.8.0svn20080103-0ubuntu3) hardy; urgency=low

  * Add Add kubuntu_09_mountconfig_no_extensions.patch to remove uneeded call
    to pykdeextensions in mountconfig so that pyqt3 no longer needs to be
    patched to provide -dev files in the regular package (LP: #197867)
  * Add kubuntu_10_displayconfig_tryagain.patch so that if displayconfig
    thinks a proprietary driver is installed, but it can't find it, it
    will try to find a non-proprietary driver instead of crashing (LP: #198269)
  * Add kubuntu_11_wineconfg_amd64.patch so that wineconfig looks in the right
    dir for wine on AMD64 (LP: #151982) - Patch should be removed for the next
    svn snapshot or release as a fix has been committed upstream already
  * Add kubuntu_12_powermanager_survive_no_brightness.patch so that if the old
    brightness cannot be gotten from DBUS, powermanager won't crash
    (LP: #183656) and (LP: #198071)
  * Add kununtu_13_displayconfig_add_new_monitors.patch to update MonitorsDB
    with a upstream snapshot of MonitorsDB from hwdata (LP: #192899)

 -- Scott Kitterman <email address hidden> Sun, 09 Mar 2008 19:53:42 -0400

Changed in kde-guidance:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.