I'm having some difficulties downloading a file using the python client on my computer and I think the problem is with my config file. Below is what is in my config file and the error message I'm getting:
[sqlshare]
host=rest.sqlshare.escience.washington.edu
user=che625@washington.edu
password=5234162537ce6a35236569c28ab62f65
d-69-91-135-106:tools claireolson$ python fetchdata.py -d "[che625@washington.edu].[Unmethylated_Over5xcoverage]" -f tsv -o /Users/claireolson/Desktop/Unmethylated_Over5xcoverage.txt
Traceback (most recent call last):
File "fetchdata.py", line 76, in
main()
File "fetchdata.py", line 71, in main
data = fetchdata(args.sql, args.format, args.output)
File "fetchdata.py", line 29, in fetchdata
conn = sqlshare.SQLShare()
File "build/bdist.macosx-10.7-intel/egg/sqlshare/init.py", line 70, in init
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 576, in get
ConfigParser.NoOptionError: No option 'user' in section: 'sqlshare'
d-69-91-135-106:tools claireolson$
I'm having some difficulties downloading a file using the python client on my computer and I think the problem is with my config file. Below is what is in my config file and the error message I'm getting:
[sqlshare]
host=rest.sqlshare.escience.washington.edu
user=che625@washington.edu
password=5234162537ce6a35236569c28ab62f65
d-69-91-135-106:tools claireolson$ python fetchdata.py -d "[che625@washington.edu].[Unmethylated_Over5xcoverage]" -f tsv -o /Users/claireolson/Desktop/Unmethylated_Over5xcoverage.txt
Traceback (most recent call last):
File "fetchdata.py", line 76, in
main()
File "fetchdata.py", line 71, in main
data = fetchdata(args.sql, args.format, args.output)
File "fetchdata.py", line 29, in fetchdata
conn = sqlshare.SQLShare()
File "build/bdist.macosx-10.7-intel/egg/sqlshare/init.py", line 70, in init
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 576, in get
ConfigParser.NoOptionError: No option 'user' in section: 'sqlshare'
d-69-91-135-106:tools claireolson$