I've been able to upload and play several scos off of the scorm.com examples page with no problem, and I've also been able to play my test sco created using adobe captivate. However, when I try to upload and play my client's scos (created and published with captivate by our creative department) I get errors when I try to play them. As a test I uploaded these same packages to scorm cloud and I can play them just fine there. (that doesn't rule out the possibility that we are publishing them improperly somehow, but it does make me want to dig deeper into a possible bug with sco_node while I tweak the publish settings)

I don't get any errors when I upload them so I assume sco_node thinks it successfully parsed the manifest file. However, when I go to play the sco there don't seem to be any organizations there. In fact it looks like $node->sco_manifest is NULL

Here are the errors I get when I attempt to play the sco

  • Notice: Trying to get property of non-object in sco_node_get_organization() (line 349 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_package.inc).
  • Warning: Invalid argument supplied for foreach() in sco_node_get_organization() (line 349 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_package.inc).
  • Notice: Trying to get property of non-object in sco_node_nav_info() (line 44 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_nav.inc).
  • Warning: Invalid argument supplied for foreach() in sco_node_nav_list_items() (line 53 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_nav.inc).
  • Notice: Trying to get property of non-object in sco_node_get_organization() (line 349 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_package.inc).
  • Warning: Invalid argument supplied for foreach() in sco_node_get_organization() (line 349 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_package.inc).
  • Notice: Trying to get property of non-object in sco_node_content_start() (line 18 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_content.inc).
  • Warning: Invalid argument supplied for foreach() in sco_node_content_start_node() (line 47 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_content.inc).
  • Notice: Trying to get property of non-object in sco_node_content_start() (line 40 of /Users/dev/code/drupal/sites/all/modules/sco_node/sco_node_content.inc).

I'll dig deeper on Monday but I thought I would just ask here in the off chance you saw something obvious in the errors or the manifest file (attached... I had to zip it in order to attach it due to filetype restrictions). I diffed two manifest files (one that worked and one that didn't) and I didn't see anything obvious or drastically different between the two.

Thanks!

CommentFileSizeAuthor
imsmanifest.xml_.zip765 bytespandaPowder
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jimbullington’s picture

Thank you for the report.

I was able to parse the manifest you uploaded. Is there anyway you could provide the entire package zip file? I understand if you don't want to upload it here - we can converse over email.

pandaPowder’s picture

Status: Active » Closed (cannot reproduce)

I've tried and tried and I can no longer duplicate this. Sorry!