cognitive-catalyst / watson-beat

Other
102 stars 46 forks source link

Invalid Switch error on Windows 10 #11

Closed dza6549 closed 6 years ago

dza6549 commented 6 years ago

Hi I'm trying to run WatsonBeat on Windows 10 using Python 2.7.14. I have a "invalid switch error". I also tried the default "python wbDev.py" command but got Invalid switch - "output".

Please let me know if I can provide further information. Thanks

Default command: untitled

My attempt: python D:/watson-beat/watson-beat/src/wbDev.py -i D:/watson-beat/watson-beat/src/Ini/ReggaePop.ini -m D:/watson-beat/watson-beat/src/Midi/test.mid -o D:/watson-beat/watson-beat/src/MidiOut/ (I created a MidiOut folder) untitled2

[Edit: Added MidiOut information]

dza6549 commented 6 years ago

I seem to have sorted this by using:

python wbDev.py -i Ini/ReggaePop.ini -m Midi/test.mid -o MidiOut

It appears that a folder slash (eg "/") in the output path was causing an error.