Das Forum

Problem installing on Snow Leopard

Autor Antworten
hazul Tuesday 22 November 2011 at 19:33
hazulAnonymous

Hi,

I am unable to run PlayOnMac 4.013 or 4.014 for the first time on an iMac 27" and on a MacBook, both with Snow Leopard. No problem with a Mac Mini, it installed perfectly.

I get many error codes in the console, some related to python. All I get is a first box with "Unexpected error", or something like that, and two options, Check Console or Terminate. After that, the console keeps running strange things, which slows down the computer.

The three computers also run Parallels with Windows XP (is that a factor?), but, again, I have no problem with PlayOnMac on the Mac Mini. Also, the three computers are up-to-date (SL 10.6.8 and latest Java version).

Any help would be appreciated.

Editiert von: hazul

Quentin PÂRIS Tuesday 22 November 2011 at 19:34
Quentin PÂRISAnonymous

Can you paste the output here?
hazul Tuesday 22 November 2011 at 19:36
hazulAnonymous

Ok, I'll try to do it in a few minutes (I am at a different computer now), but the output is really long. Thanks.
hazul Tuesday 22 November 2011 at 20:35
hazulAnonymous

OK, here go the two strings of console output that I got after two failed installation attempts, 20 minutes apart. The message I get is, I believe, "Program encountered fatal error". The first attempt ended with a loop from my antivirus. I also tried to install PlayOnMac after deactivating the antivirus, but it didn't work. Thank you.

INSTALLATION ERROR CONSOLE OUTPUT #1

11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]     [install_plugins] Message: Checking plugin: Wine Look...
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]     Traceback (most recent call last):
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 137, in <module>
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      _run('mainwindow.py')
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 134, in _run
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      execfile(path, globals(), globals())
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 745, in <module>
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      app = PlayOnLinuxApp(redirect=False)
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 8470, in __init__
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      self._BootstrapApp()
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 8035, in _BootstrapApp
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      return _core_.PyApp__BootstrapApp(*args, **kwargs)
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 689, in OnInit
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      self.frame = MainWindow(None, -1, os.environ["APPLICATION_TITLE"])
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 166, in __init__
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      self.winever_item = wx.MenuItem(self.expertmenu, 107, _("Manage Wine versions"))
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 12275, in __init__
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]     [install_plugins] Message: Checking plugin: Screen Capture...
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]      _core_.MenuItem_swiginit(self,_core_.new_MenuItem(*args, **kwargs))
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]     UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]     [install_plugins] Message: -->Installing plugin: 'Screen Capture'.
11/11/22 19:17:26     [0x0-0x229229].org.playonmac.playonmac[2357]     touch: /Users/MyUserName/Library/PlayOnMac//plugins/Screen Capture/enabled: No such file or directory
11/11/22 19:17:30     [0x0-0x229229].org.playonmac.playonmac[2357]     Exception TypeError: 'join() takes exactly 2 arguments (1 given)' in <module 'threading' from '/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.pyc'> ignored
11/11/22 19:17:31     com.apple.launchd.peruser.501[206]     ([0x0-0x229229].org.playonmac.playonmac[2357]) Exited with exit code: 255
11/11/22 19:17:31     [0x0-0x229229].org.playonmac.playonmac     [maj_check] Message: Web version : 1321952213
11/11/22 19:17:31     [0x0-0x229229].org.playonmac.playonmac     [maj_check] Message: Current local version : 1321475962
11/11/22 19:17:31     [0x0-0x229229].org.playonmac.playonmac     [maj_check] Message: Updating list
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     Traceback (most recent call last):
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 137, in <module>
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     _run('mainwindow.py')
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 134, in _run
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      execfile(path, globals(), globals())
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 745, in <module>
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      app = PlayOnLinuxApp(redirect=False)
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 8470, in __init__
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     self._BootstrapApp()
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 8035, in _BootstrapApp
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     return _core_.PyApp__BootstrapApp(*args, **kwargs)
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 689, in OnInit
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     self.frame = MainWindow(None, -1, os.environ["APPLICATION_TITLE"])
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 166, in __init__
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     self.winever_item = wx.MenuItem(self.expertmenu, 107, _("Manage Wine versions"))
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 12275, in __init__
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     _core_.MenuItem_swiginit(self,_core_.new_MenuItem(*args, **kwargs))
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     UnicodeDecodeError
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     :
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)

11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     [install_plugins] Message: Checking plugin: Wine Look...
11/11/22 19:18:27     [0x0-0x22e22e].org.playonmac.playonmac[7550]     [install_plugins] Message: Checking plugin: Screen Capture...
11/11/22 19:18:32     [0x0-0x22e22e].org.playonmac.playonmac[7550]     Exception TypeError: 'join() takes exactly 2 arguments (1 given)' in <module 'threading' from '/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.pyc'> ignored
11/11/22 19:18:33     com.apple.launchd.peruser.501[206]     ([0x0-0x22e22e].org.playonmac.playonmac[7550]) Exited with exit code: 255
11/11/22 19:21:17     [0x0-0x19019].com.pctools.iAntiVirus[278]     iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed queue.iavd: flushed
...


INSTALLATION ERROR CONSOLE OUTPUT #2

11/11/22 19:39:18     [0x0-0x25025].org.playonmac.playonmac[386]     [install_plugins] Message: Checking plugin: Wine Look...
11/11/22 19:39:18     [0x0-0x25025].org.playonmac.playonmac[386]     [install_plugins] Message: Checking plugin: Screen Capture...
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]     Traceback (most recent call last):
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 137, in <module>
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      _run('mainwindow.py')
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 134, in _run
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      execfile(path, globals(), globals())
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 745, in <module>
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      app = PlayOnLinuxApp(redirect=False)
11/11/22 19:39:19     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 8470, in __init__
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      self._BootstrapApp()
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 8035, in _BootstrapApp
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      return _core_.PyApp__BootstrapApp(*args, **kwargs)
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 689, in OnInit
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      self.frame = MainWindow(None, -1, os.environ["APPLICATION_TITLE"])
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 166, in __init__
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      self.winever_item = wx.MenuItem(self.expertmenu, 107, _("Manage Wine versions"))
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core.py", line 12275, in __init__
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]      _core_.MenuItem_swiginit(self,_core_.new_MenuItem(*args, **kwargs))
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]     UnicodeDecodeError
11/11/22 19:39:20     [0x0-0x25025].org.playonmac.playonmac[386]     : 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)

11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Exception TypeError: 'join() takes exactly 2 arguments (1 given)' in <module 'threading' from '/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.pyc'> ignored
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Exception in thread Thread-2 (most likely raised during interpreter shutdown):
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Traceback (most recent call last):
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.py", line 552, in __bootstrap_inner
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 84, in run
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/mainwindow.py", line 66, in real_check
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     <type 'exceptions.TypeError'>: 'NoneType' object is not callable
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Unhandled exception in thread started by <bound method POLWeb.__bootstrap of <POLWeb(Thread-2, started -1332711424)>>
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Traceback (most recent call last):
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.py", line 525, in __bootstrap
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      self.__bootstrap_inner()
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.py", line 599, in __bootstrap_inner
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      with _active_limbo_lock:
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     AttributeErrorException in thread Thread-1 (most likely raised during interpreter shutdown):
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Traceback (most recent call last):
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.py", line 552, in __bootstrap_inner
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/playonlinux/python/lib/irc.py", line 531, in run
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'sleep'
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Unhandled exception in thread started by <bound method IRCClient.__bootstrap of <IRCClient(Thread-1, started -1337446400)>>
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     Traceback (most recent call last):
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.py", line 525, in __bootstrap
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      self.__bootstrap_inner()
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      File "/Applications/PlayOnMac.app/Contents/Resources/lib/python2.7/threading.py", line 599, in __bootstrap_inner
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]      with _active_limbo_lock:
11/11/22 19:39:28     [0x0-0x25025].org.playonmac.playonmac[386]     AttributeError: __exit__
11/11/22 19:39:28     com.apple.launchd.peruser.501[262]     ([0x0-0x25025].org.playonmac.playonmac[386]) Exited with exit code: 255

Editiert von: hazul

Quentin PÂRIS Tuesday 22 November 2011 at 20:47
Quentin PÂRISAnonymous

Essais de renommer le dossier Library/PlayOnMac
hazul Tuesday 22 November 2011 at 21:12
hazulAnonymous

Essais de renommer le dossier Library/PlayOnMac

Quote from Tinou


Comment? Quel nom? I have no idea about how the innards of PlayOnMac work.

Oh, one thing: The Mac Mini, where PlayOnMac works, only has one user account. Both the iMac and the MacBook, where it doesn't work, have TWO accounts. May that be a factor?

Editiert von: hazul

Quentin PÂRIS Tuesday 22 November 2011 at 21:24
Quentin PÂRISAnonymous

Sorry, i'm quite tired :D

Yes, the two user is definitely a problem, it has already been reported on french forum.
You might try to download PlayOnMac beta on http://beta.playonmac.com
hazul Wednesday 23 November 2011 at 0:12
hazulAnonymous

I tried deleting one of the users, and reinstalling POM. Same problem(s). I tried the latest Beta version as well. Same. Any help, anyone?
hazul Wednesday 23 November 2011 at 1:18
hazulAnonymous

I have no idea about compiling/decompiling, but I think the error that originates all the rest is this: an UnicodeDecodeError:

11/11/22 19:18:27 [0x0-0x22e22e].org.playonmac.playonmac[7550] 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)

Should be easy to fix, shouldn't it? The strange thing is, why did PlayOnMac install normally on my Mac Mini? Is there any setting I could change in my iMac to make python (apparently) handle all that code the same way it did in my Mac Mini?
Quentin PÂRIS Wednesday 23 November 2011 at 9:08
Quentin PÂRISAnonymous

Change the name of "PlayOnMac" folder located in Library
hazul Wednesday 23 November 2011 at 19:18
hazulAnonymous

Change the name of "PlayOnMac" folder located in Library

Quote from Tinou


Thank you for your suggestion, but it doesn't work.

Perhaps I haven't made myself clear, or you haven't understood it from my previous messages: the PlayOnMac app is UNABLE to run FOR THE FIRST TIME, that is, it cannot finish creating the PlayOnMac folders under Library because it appears it encounters a UnicodeDecodeError, and it terminates. Therefore, this is what happens:

1) I run PlayOnMac.app => 2) It starts creating folders under Library => 3) It terminates => 4) I rename the already created Library/PlayOnMac folder => 5) I run PlayOnMac.app again => 6) It starts over, terminates, etc.

I would appreciate if somebody would focus on how to fix the UnicodeDecodeError I described earlier, and on explaining why my Mac Mini doesn't run into that error (or, at least, it doesn't make it terminate POM).
hazul Wednesday 23 November 2011 at 19:22
hazulAnonymous

One more note: Not only that, but after POM terminates, sometimes the console shows that something is still running, indefinitely:

cat: /Users/MyUserName/Library/PlayOnMac//configurations/guis/888: No such file or directory
cat: /Users/MyUserName/Library/PlayOnMac//configurations/guis/2754: No such file or directory

I uninstall POM app; it removes directories; but in Safe File Delete mode it says that the following elements are still in use:

variables.py
startup
first_use
__boot__.py

Editiert von: hazul

Quentin PÂRIS Wednesday 23 November 2011 at 20:42
Quentin PÂRISAnonymous

What is the language of your system?

Btw, I'm focusing on your problem (I'm not answering your randomly). It's not the first time I see an unicode problem, so I have some idea

Editiert von: Tinou

hazul Thursday 24 November 2011 at 18:34
hazulAnonymous

Quentin,

Merci beaucoup, problem solved, je croix/espère (pardon mon français). I also started to think the problem had to do with language definition. I'll explain: My language definition is Portuguese in my Macs (Mac Mini, iMac, MacBook): keyboard, time, etc. The difference was, perhaps, that Country, under Formats (third tab), was not defined (ticked) in the iMac. Also, in Input (fourth tab), I ticked "Allow different inputs in each document", I don't know if that helps.

Finally, I deleted the DoubleCommand Preference Pane which I had installed in the iMac and showed as a startup application, though I was not using it. I don't know if that had anything to do with the solution.

PlayOnMac installed and now runs fine.

The last thing to check is to install POM on my MacBook. Si vous voulez, je essaiyerai de faire la même chose (configuration de la langue) et d'en repporter ici, pour identifier le problème pour des autres utilissateurs. Please don't mark this thread as solved yet.

Salut.

Editiert von: hazul