View Single Post
Old 12-30-2017, 10:08 AM   #38
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 4,864
Default

Quote:
Originally Posted by Veto View Post
What happens if you replace line 1-56 in ReaChorder.py:
PHP Code:
try:
    
from reaper_python import *
except ImportError:
    
pass
try:
    
from sws_python import *
except ImportError:
    
pass
try:
    
import sys
except ImportError
:
    
pass
try:
    
import platform
except ImportError
:
    
pass
try:
    
import os
except ImportError
:
    
pass
try:
    
import tkinter
    from tkinter import ttk
YBOTHRAISED
except ImportError
:
    
pass
try:
    
from rs_statemanager import RSStateManager
except ImportError
:
    
pass
try:
    
from contextlib import contextmanager
except ImportError
:
    
pass
try:
    
from reaChord_data import RCmsg
except ImportError
:
    
pass
try:
    
from rs_midi import RSMidi
except ImportError
:
    
pass
try:
    
from reaper_track import TrackItem
except ImportError
:
    
pass

sys
.argv=["Main"]

try:
    
from wizard_section import Wizard
    from chord_section import ChordSection
    from bass_section import BassSection
    from drum_section import DrumSection
    from melody_section import MelodySection
except ImportError
:
    
pass 
with
PHP Code:
from reaper_python import *
from sws_python import *
import sys
import platform
import os
import tkinter
from tkinter import ttk
YBOTHRAISED
from rs_statemanager import RSStateManager
from contextlib import contextmanager
from reaChord_data import RC
msg
from rs_midi import RSMidi
from reaper_track import Track
Item

sys
.argv=["Main"]

from wizard_section import Wizard
from chord_section import ChordSection
from bass_section import BassSection
from drum_section import DrumSection
from melody_section import MelodySection 
You'll probably see some error messages.
What are the exact error messages?


Above try-except blocks suppress those error messages without further notice in case of a module import error.
I wanna thank you for your help!
I am gonna try this out.

But where should i see any error messages if there are any ?
Is that in OSX Terminal ?
__________________
Reaper - OSX (always latest version)
OSX Catalina (always latest version)
My Reaper Tips&Tricks: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote