code-google-com / turnip-town

Automatically exported from code.google.com/p/turnip-town
0 stars 0 forks source link

GW 4 MAC #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Possible with mplayer backend like in linux?

python gw.py 
Traceback (most recent call last):
  File "gw.py", line 22, in <module>
    import wx
  File "/usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: 
dlopen(/usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2
.8-mac-unicode/wx/_core_.so, 2): no suitable image found.  Did find:
    /usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no matching architecture in universal wrapper

Original issue reported on code.google.com by M0E0G0A0...@googlemail.com on 2 Mar 2011 at 2:45

GoogleCodeExporter commented 9 years ago
If not Mplayer, pyglet may work.  I'll check it out sometime soon, possibly.

Original comment by 11y3y3y3...@gmail.com on 2 Mar 2011 at 3:04

GoogleCodeExporter commented 9 years ago
force python to 32bit:

arch -i386 python gw.py
3.1.1b1.201005.r243
Load: <type 'exceptions.Exception'>No module named pymedia.muxer
Traceback (most recent call last):
  File "gw.py", line 110, in <module>
    from main_thirdp import soundmixer_linux as soundmixer
  File "/Users/meg/Downloads/gw/main_thirdp/soundmixer_linux.py", line 4, in <module>
    import ossaudiodev
ImportError: No module named ossaudiodev

i think with some tweaks, it would run within mac osx

Original comment by M0E0G0A0...@googlemail.com on 2 Mar 2011 at 9:10

GoogleCodeExporter commented 9 years ago
http://www.reddit.com/r/Python/comments/f4939/ossaudiodev_on_os_x/

i'm not the first one ;)

Original comment by M0E0G0A0...@googlemail.com on 2 Mar 2011 at 9:16

GoogleCodeExporter commented 9 years ago
1. force python into 32
2. download mplayer and put it in the command path
3. install the latest wxpython for mac
4. comment out the following lines:
109: else:
110:    from main_thirdp import soundmixer_linux as soundmixer

769:            if setting_volume != False:
770:                self.SetVolume(int(setting_volume))
771:            else:
772:                self.SetVolume(50)

Original comment by 11y3y3y3...@gmail.com on 3 Mar 2011 at 2:29

GoogleCodeExporter commented 9 years ago
comment those lines in gw.py :)
5. run python gw.py from the command prompt
6. play music struggle with the interface and various errors (the first 
playlist item may not work, along with volume controls, other stuff)

Original comment by 11y3y3y3...@gmail.com on 3 Mar 2011 at 2:54

GoogleCodeExporter commented 9 years ago
Get the following errors on 2 different users (same system, same path)

python gw.py 
Traceback (most recent call last):
  File "gw.py", line 22, in <module>
    import wx
  File "/usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: 
dlopen(/usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2
.8-mac-unicode/wx/_core_.so, 2): no suitable image found.  Did find:
    /usr/local/lib/wxPython-unicode-2.8.11.0/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no matching architecture in universal wrapper

python gw.py 
Traceback (most recent call last):
  File "gw.py", line 26, in <module>
    from wx.lib.pubsub import setupkwargs
ImportError: cannot import name setupkwargs

Original comment by M0E0G0A0...@googlemail.com on 10 Mar 2011 at 9:52