The data files for migrate_example_baseball are rather hefty, and actually needed only for the small percentage of Migrate users who enable the example module. Rather than bundling them, we should pull them from http://www.retrosheet.org/gamelogs/index.html only when needed.

Comments

mikeryan’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

joelcollinsdc’s picture

Status: Closed (fixed) » Needs work

Shouldn't the README be updated to tell how to get the data files? Currently when you enable migrate_example_baseball you get a lot of errors about the csv files not being present.

joelcollinsdc’s picture

I see its related to permissions issues. When enabling the module via the UI (features), I got a silent fail, and enabling via drush results in:

copy(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 migrate_example_baseball.install:29 [warning]
copy(http://www.retrosheet.org/gamelogs/gl2000_09.zip): failed to open stream: no suitable wrapper could be found migrate_example_baseball.install:29

can we use the drupal_http_rquest method instead? seems more standard.

mikeryan’s picture

Status: Needs work » Closed (fixed)

Please don't reopen long-closed issues to report related issues, open a fresh issue.