Skip to content

Instantly share code, notes, and snippets.

@sprklinginfo
Forked from ruebot/gist:5717539
Created August 6, 2014 20:22
Show Gist options
  • Save sprklinginfo/0e1f4583a2fd2dc3a734 to your computer and use it in GitHub Desktop.
Save sprklinginfo/0e1f4583a2fd2dc3a734 to your computer and use it in GitHub Desktop.
[nruest@digital:modules]$ drush -v --user=admin --uri=http://digital.library.yorku.ca islandora_batch_scan_preprocess --content_models=islandora:sp_large_image_cmodel --parent=yul:F0433 --parent_relationship_pred=isMemberOfCollection --type=directory --target=/mnt/big_data/tmp/image_test
Initialized Drupal 7.22 root directory at /extra/sites/digital.library.yorku.ca [notice]
Initialized Drupal site digital.library.yorku.ca at sites/default [notice]
Argument 1 passed to IslandoraScanBatch::preprocess_children() must be an instance of IslandoraBatchObject, null given, called in [notice]
/extra/sites/digital.library.yorku.ca/sites/all/modules/islandora_batch/includes/islandora_scan_batch.inc on line 160 and defined islandora_scan_batch.inc:169
PHP Fatal error: Call to a member function add_relationships() on a non-object in /extra/sites/digital.library.yorku.ca/sites/all/modules/islandora_batch/includes/islandora_scan_batch.inc on line 174
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to a member function add_relationships() on a non-object in
/extra/sites/digital.library.yorku.ca/sites/all/modules/islandora_batch/includes/islandora_scan_batch.inc, line 174
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment