Difference between revisions of "CAT Troubleshooting"
From RBN/C3 Documentation
Line 11: | Line 11: | ||
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: | 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 | + | <nowiki>Script execution error |
− | + | Traceback (most recent call last): | |
File "CAT.py", line 3, in <module> | File "CAT.py", line 3, in <module> | ||
import create_beattrack | import create_beattrack |
Revision as of 20:49, 17 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: