phstudy / codejam-commandline

Automatically exported from code.google.com/p/codejam-commandline
Apache License 2.0
0 stars 0 forks source link

gcj_submit_solution.py ignores base_dir option (patch attached) #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download input with python ../gcj/gcj_download_input.py --base_dir=. a small 
0
2. generate a-small-0.out
3. try to submit solution with python ../gcj/gcj_submit_solution.py 
--base_dir=. a small 0

What is the expected output? What do you see instead?

* Expected: solution submitted ok

* Actual result: ConfigurationError: Contest is not initialized, please 
initialize the contest before trying to download intput files.

What version of the product are you using? On what operating system?

* svn r8, win7 x64 + py 2.6.6 32bit

Please provide any additional information below.

* patch attached (and tested) - also the confusing error message is updated

Original issue reported on code.google.com by jan.kill...@gmail.com on 21 May 2011 at 6:34

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the report, I'm applying the changes to the internal version and 
they will be in the svn repository soon.

Original comment by jor...@google.com on 23 May 2011 at 9:10

GoogleCodeExporter commented 9 years ago
Fixes for these are submitted to the svn repository. The zip file has not 
changed.

Original comment by jor...@google.com on 24 May 2011 at 2:21