sportdb / sport.db

sport.db - open sports database (e.g. football.db, formula1.db etc.) command line tool and libraries
Creative Commons Zero v1.0 Universal
221 stars 29 forks source link

No such file or directory #1

Closed mufasa71 closed 11 years ago

mufasa71 commented 11 years ago

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?

geraldb commented 11 years ago

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.

geraldb commented 11 years ago

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.

mufasa71 commented 11 years ago

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.

bipul commented 10 years ago

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

geraldb commented 10 years ago

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