Difference between revisions of "CAT Troubleshooting"
From RBN/C3 Documentation
(Created page with "==CAT: Script execution error== {| class="wikitable" |<span style="color: blue">C3 Author:</span> |<span style="color: blue">doa.</span> |} '''Problem''': This post is based...") |
|||
Line 63: | Line 63: | ||
'''Links''': | '''Links''': | ||
− | [https://href.li/?https://www.reaper.fm/files/4.x/reaper422-install.exe Reaper 4.22 (32 bit)] | + | * [https://href.li/?https://www.reaper.fm/files/4.x/reaper422-install.exe Reaper 4.22 (32 bit)] |
− | + | * [https://href.li/?https://www.python.org/ftp/python/2.7/python-2.7.msi Python 2.7 (32 bit)] | |
− | [https://href.li/?https://www.python.org/ftp/python/2.7/python-2.7.msi Python 2.7 (32 bit)] | + | * [https://href.li/?https://github.com/abefacciazzi/CAT/releases/ CAT] |
− | |||
− | [https://href.li/?https://github.com/abefacciazzi/CAT/releases/ CAT] |
Revision as of 18:54, 14 October 2020
CAT: Script execution error
C3 Author: | doa. |
Problem:
This post is based on a troubleshooting thread found on the C3 forums here: http://customscreators.com/index.php?/topic/19095-i-really-gotta-fix-cat-now-i-cant-take-this/
CAT ran fine on Reaper x64 with 64-bit Python but on Reaper 4.22 (32bit) with Python 2.7.0 (32bit) I get this error when loading CAT:
Script execution error
Traceback (most recent call last): File "CAT.py", line 3, in <module> import create_beattrack File "F:/CAT\create_beattrack.py", line 1, in <module> import Tkinter File "C:\Python27\Lib\lib-tk\Tkinter.py", line 38, in <module> import FixTk File "C:\Python27\Lib\lib-tk\FixTk.py", line 65, in <module> import _tkinter ImportError: DLL load failed: %1 is not a valid Win32 application
Reaper Configuration:
Follow these steps to check your Reaper configuration:
- In Reaper click the Options menu, and then click Preferences.
- In the left hand panel scroll down and select ReaScript from the list.
- Check that the Enable check-box is checked and that python2.7.dll is installed (Figure 1).
- Click OK.
Figure 1: Reaper Preferences for ReaScript. |
Troubleshooting:
Reaper contains a custom action for CAT. If needed this action can be removed as follows:
- In Reaper click the Actions menu, and then click Show action list.
- In the Actions window select Custom: CAT.py and then click the Delete button (Figure 2).
- Click OK.
Figure 2: Reaper Actions - CAT. |
Solution:
The problem is that Python x64 is still being loaded despite the fact that the 32 bit version of Python has been installed. The solution is as follows:
- Uninstall Python versions and delete the C:\Python27 folder.
- Re-install Python 2.7 (32 bit).
Links: