Open codeproteam opened 8 years ago
Maybe not: play_stereo = config.get("pirateradio", "stereo_playback',fallback=True) Instead: play_stereo = config.get("pirateradio", "stereo_playback",fallback=True) ?
On Sat, Dec 5, 2015 at 11:09 AM, Sathish Gnanaprakasam < notifications@github.com> wrote:
What exactly the path should be? should it be config_location = "/pirateradio/PirateRadio.conf/ ? are we supposed to create a directory pirateradio under root and move the conf file over there?
the error we are getting is:
File "PirateRadio.py", line 180, in main() File "PirateRadio.py",line 35 in main setup() File "PirateRadio.py",line 152, in setup read_config() File "PirateRadio.py", line 97 in read_config play_stereo = config.get("pirateradio", "stereo_playback',fallback=True) TypeError: get() got an unexpected keyword argument 'fallback'
any help would be appreciated !
— Reply to this email directly or view it on GitHub https://github.com/Make-Magazine/PirateRadio/issues/25.
yep, same here, any ideas?
I think this particular error is because the keyword fallback does not exist in older versions of python. When I run this with python 3 the " unexpected keyword argument 'fallback' " doesn't show. try running it on python3 with python3 PirateRadio.py
What exactly the path should be? should it be config_location = "/pirateradio/PirateRadio.conf/ ? are we supposed to create a directory pirateradio under root and move the conf file over there?
the error we are getting is:
File "PirateRadio.py", line 180, in
main()
File "PirateRadio.py",line 35 in main
setup()
File "PirateRadio.py",line 152, in setup
read_config()
File "PirateRadio.py", line 97 in read_config
play_stereo = config.get("pirateradio", "stereo_playback',fallback=True)
TypeError: get() got an unexpected keyword argument 'fallback'
any help would be appreciated !