sportdb/sport.db

No such file or directory

mufasa71 opened this issue · 5 comments

Hi!
I got following issue in ruby-2.0.0, ubuntu-12.10 after sportdb setup

*** error: No such file or directory - /setups/all.yml

What could cause the problem?

Thanks for trying the sportdb gem. You will need to get data sets (fixtures) first e.g. git clone any of the repos to your local disk -> https://github.com/openfootball. If you have cloned datasets. You will have to pass along the path using the --include param e.g.sportdb setup --include ../europe --worldinclude ../world.db etc. Cheers.

Tip: Try it with the --verbose option e .g. sportdb --verbose setup --include {path_to_football_data} --worldinclude {path_to_world_data} and post the last lines if it won't work. Cheers.

Thank you @geraldb for wonderful gem. I did't try with --verbose but instead I cloned repositories to ~/github and changed directory to ~ then I did this
sportdb setup --include github/europe --worldinclude github/world.db and this worked for me. Thank you again.

Hello,

I am getting following error on after executing following command.
sportdb --verbose setup --include ./world-cup --worldinclude /var/www/world-cup/openmundi/world.db

I looked to all folders but not able to find all.yml

deprecated manifest/setup format [SportDb.Reader]; use new plain text format
[info] parsing data 'setups/all' (./world-cup/setups/all.yml)...

*** error: No such file or directory - ./world-cup/setups/all.yml

Thanks
Bipul

Please send build erros to the opensport mailing list/forum. There's no support in the bug tracker. Thanks.