07-21-2011, 09:12 AM | #1 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,498
|
REAPER on OSX Lion, 3.76 crash workaround and fix
OSX Lion 10.7 appears to come with an improper installation of Python 2.7. Because of this, REAPER will crash immediately when opening the Actions window. (Or if REAPER was saved with the Actions window open, it will crash immediately on startup.)
We will release REAPER version 3.77 soon that disallows Python 2.7 on OSX and falls back to 2.6 (which is also shipped with OSX Lion), and REAPER 4.0beta16 will have the fix as well. We will also add a user preference to prevent REAPER from even looking for Python/Perl. In the meantime, the workaround is inconvenient but will prevent the crash. 1. Open the file /Users/<username>/Library/Application Support/REAPER/reaper.ini. Clicking the file should open it in TextEdit. Annoying note! OSX Lion makes it much harder to access <username>/Library. By default, that folder will not appear in the Finder. The "official" way is to open the Finder, open the Go menu, then hold down the Option key. Alternatively, open Applications/Utilities/Terminal and type "chflags nohidden ~/Library". This Lion behavior will cause all sorts of inconvenience for advanced REAPER users who are familiar with the REAPER inifiles. 2. In the reaper.ini file, locate the line that contains just the word "[REAPER]". Immediately below that line, insert the line "pythonlib=libpython.2.6.dylib". When you restart REAPER, it should not crash. -------- Technical details: As far as we can tell, the problem is simply a faulty installation of Python 2.7. The Python dylib loads fine and gives out function pointers, but on the very first call to Py_Initialize() it crashes within Python giving "IOError: invalid Python installation". Hopefully Apple will fix this in a future Lion update. For expert users, if the Python 2.7 installation gives you other problems that are not related to REAPER, you can open a terminal and run "sudo ln -sf /usr/lib/libpython.2.6.dylib /usr/lib/libpython.dylib" to make 2.6 the default Python install on your machine. But please don't do this unless you have a good understanding of what it means. |
07-21-2011, 09:16 AM | #2 |
Human being with feelings
Join Date: Mar 2010
Posts: 4,713
|
|
07-21-2011, 09:17 AM | #3 |
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,861
|
This is almost something to brag about.
I shall do my very best to refrain from gloating about Reaper working on Lion within days.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10 Website "My ego comes pre-shrunk" - Randy Thom |
07-21-2011, 09:25 AM | #4 |
Super Moderator (no feelings)
Join Date: Dec 2007
Location: On or near a dike
Posts: 9,836
|
I'm still using my release day avatar (sorry that's the only lion pic I had)
Last edited by Ollie; 07-21-2011 at 09:31 AM. |
07-21-2011, 10:53 AM | #5 |
Human being with feelings
Join Date: Jan 2007
Location: Erfurt
Posts: 879
|
Thank You, it works. Now I can open Action List without crash.
__________________
OS: LMDE6 Axel's Music - Axel's (old) Plugins - Axel on Soundcloud - Button Maker for Reaper - EQ-Maker for pipewire |
07-21-2011, 10:53 AM | #6 |
Human being with feelings
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,715
|
Lion, Python... seems like a regular zoo!
Anyway, thanks for the heads up. I think I will wait at least a couple of weeks before upgrading, just to be safe. |
07-22-2011, 01:15 AM | #7 | |
Human being with feelings
Join Date: Mar 2008
Location: Unwired (probably in the proximity of Amsterdam)
Posts: 4,868
|
Quote:
http://dl.dropbox.com/u/876736/OS%20...20Facepalm.png Maybe it could do with a caption now: "That python did not taste very well."
__________________
˙lɐd 'ʎɐʍ ƃuoɹʍ ǝɥʇ ǝɔıʌǝp ʇɐɥʇ ƃuıploɥ ǝɹ,noʎ |
|
08-02-2011, 03:26 PM | #8 |
Human being with feelings
Join Date: May 2011
Location: Redmond, WA
Posts: 3
|
I haven't had any problems on Lion, I suspect because I have EDP Python 2.7.2 installed as the default. When I upgrade, will Reaper disallow 2.7.2 or does it check for the Apple version, which is 2.7.1?
It's not an issue for me at the moment in any case. |
08-02-2012, 02:46 AM | #9 |
Banned
Join Date: Aug 2012
Posts: 1
|
REAPER on OSX Lion, 3.76 crash workaround and fix
|
08-31-2012, 06:39 AM | #10 |
Human being with feelings
Join Date: Aug 2012
Posts: 1
|
10.8
Is Reaper working ok with 10.8.1?
|
09-21-2012, 05:47 AM | #11 |
Human being with feelings
Join Date: Sep 2012
Location: Canada
Posts: 215
|
Reaper crashes for me when I click on New/Load ReaScript in Actions. Any ideas here?
EDIT: Found solution. Downloaded latest Mac version of Python. Last edited by joesacco; 09-21-2012 at 06:02 AM. |
10-24-2012, 02:55 PM | #12 |
Human being with feelings
Join Date: Oct 2012
Posts: 11
|
REAPER 4.261 runs in my MacBook Pro 2010 but ...
Hello.
My Reaper runs in my MBP (2010) where I installed Mountain Lion 10.8.2 but it runs well only with the Built-in audio interface. Instead with my Tascam US-144 mkII (the driver is updated to ML !!!) I hear clicks and so on. So what can I do ? I am waiting for an update of Reaper cause I think this issue is because Reaper 4.261 is at 10.7 (Lion) ! Do You know when Reaper will be updated ? Usually Reaper is always updated but not now. Why ??? |
11-30-2012, 11:14 AM | #13 |
Human being with feelings
Join Date: Nov 2012
Location: Switzerland
Posts: 3
|
Apple has provided two simple ways to change the default python on OS X 10.6, 10.7, 10.8
It's all detailed in the Apple man page for python(1): # # temporarily change version # $ export VERSIONER_PYTHON_VERSION=2.6 $ python -V Python 2.6.6 $ unset VERSIONER_PYTHON_VERSION $ python -V Python 2.7.1 # # persistently change version # $ defaults write com.apple.versioner.python Version 2.6 $ python -V Python 2.6.6 |
04-26-2014, 12:23 PM | #14 |
Human being with feelings
Join Date: Apr 2014
Posts: 1
|
Python Fix for OSX 10.7.5 and Reaper v4.611
I found a fix that worked for me. I need Python 2.7.x for work, didn't want to deal with upgrading 2.7.1 to 2.7.latest or 3.x
Go to: Preferences -> Plugins -> ReaScript Enable ReaScript/Python [√] Custom path to dll directory [/usr/lib/] Force python to use dylib [libpython2.6.dylib] Best- mwelker |
06-26-2021, 01:58 AM | #15 |
Human being with feelings
Join Date: Jun 2021
Location: Chicago
Posts: 49
|
Quick question: Are people still using Lion? This thread was started 10 years ago, is this still a problem on modern versions of macOS (was still OS X back then). Enough to warrant a "sticky"?
|
Thread Tools | |
Display Modes | |
|
|