Fix: Wine-doors refusing to start

Wine-doors didn’t start on a fresh Ubuntu installation. To see whats really wrong with the installation, I ran the command inside the console and here is what I got.

$ wine-doors
Started logging session
/usr/share/wine-doors/src/utils.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Checking wine drive: /home/techfiz/.wine/
sh: 1.1.27: not found
Traceback (most recent call last):
File “/usr/bin/wine-doors”, line 137, in <module>
ui.winedoors = ui.WineDoorsGUI()
File “/usr/share/wine-doors/src/ui.py”, line 1102, in __init__
self.tree = PackTree( self.window['tv_packlist'], self.window )
File “/usr/share/wine-doors/src/ui.py”, line 597, in __init__
packlist.UpdateAll()
File “/usr/share/wine-doors/src/packlist.py”, line 309, in UpdateAll
self.TidyPacks()
File “/usr/share/wine-doors/src/packlist.py”, line 316, in TidyPacks
wine.WineVersion().split(“.”) >= pack['versions'][0][0][1].split(“.”):
AttributeError: ‘NoneType’ object has no attribute ‘split’

After digging a while in forums etc, found that its due to incorrect wine binary specified in

~/.wine/wine-doors/preferences.xml

Fix:-

To resolve this issue, find the wine binary location using following command.

$ which wine
/usr/local/bin/wine

Copy this location to preferences.xml as follows.

<winebinary>/usr/local/bin/wine</winebinary>

Now run wine-doors to see it working fine.

Leave a comment

4 Comments.

  1. I was crazy to find a solution and nobody told me, buts yours work perfect!!!
    Thanks you so much

  2. thank U very much~ the problem’s finally resolved~

  3. Great. It also solves problem with OpenSUSE 11.2.

  4. Thanks for this — simple fix got doors working OK.

Leave a Reply


[ Ctrl + Enter ]

Comment moderation is enabled. Your comment may take some time to appear.