Islandora-Labs / islandora_solution_pack_oralhistories

Adds all required Fedora objects to allow users to ingest and retrieve Oral Histories (video/audio) files through the Islandora interface
GNU General Public License v3.0
13 stars 23 forks source link

"This transcript is still being processed for display." error ??? #14

Closed simonhm closed 7 years ago

simonhm commented 7 years ago

Hi, I am getting this error "This transcript is still being processed for display." I installed all of required modules/libraries. Even testing with the test XML transcript file on your github, I still get that error. What is causing it?

image

image

image

Natkeeran commented 7 years ago

@simonhm Thank you the detail bug report.

Would you be able to go to the solr and see if the or_transcript is being index for that object?

Also, please try un-checking "Generate datastream for WebVTT indexing" option and creating a new object? (This is relatively a new addition, and want to see if it causing any issues).

simonhm commented 7 years ago

I'm not good at SOLR. Other developers work with SOLR here. I will ask them about this. They're not here this morning. So far I can't search that object on islandora site, that's why I think maybe there is something wrong with SOLR indexing, and that causes the transcript display error as well ???

Also, please try un-checking "Generate datastream for WebVTT indexing" option and creating a new object? (This is relatively a new addition, and want to see if it causing any issues). <<< I tried it, and the transcript display is still not working.

Natkeeran commented 7 years ago

When using the XML for transcript, the solr does need to be configured properly for the TRANSCRIPT to display. If the SOLR does not index it properly, then it will not display it. Some further instructions can be found here with regards to how to configure the solr: https://github.com/digitalutsc/islandora_solution_pack_oralhistories/tree/master/docs/developer

Another option to try is to upload a WebVTT file as TRANSCRIPT, instead of the XML file. This will provide more info into the issue.

TRANSCRIPT.vtt WEBVTT

00:00.000 --> 00:30.000

This is the transcript text content. 00:30.000 --> 01:00.000 speaker 2 transcript 01:00.000 --> 01:45.000 speaker 3 transcript FINDTHIS2
simonhm commented 7 years ago

We updated the SOLR indexing, and the SOLR is working now. I can search the object on Islandora site and see the or_transcript on SOLR as well. BUT the transcript display is still not working and in process ....

image

image

image

Hmmh, what's going on here ?

Natkeeran commented 7 years ago

@simonhm, yes it does seem like oral history xml is being index. The solr should look like below:

http-__localhost-8080_solr_ _collection1_query

It would be easier if we can setup a skype or web meeting to review/troubleshoot this issue further. Tomorrow morning (Toronto/Eastern time) looks good for us.

simonhm commented 7 years ago

If I use the VTT file to ingest object (instead of XML file), I will get this: image

Click on Edit, this one shows up

image

I guess I know what's going on here. That is something wrong in creating/ingesting between XML and VTT files.

Skype meeting is great. Tomorrow morning is good for me also. My Skype ID is: master.simon21@yahoo.com Thanks.

simonhm commented 7 years ago

Once more thing, I couldn't see the vtt_content in SOLR. Is that something ?

Natkeeran commented 7 years ago

We narrowed the issue down to here: https://github.com/digitalutsc/islandora_solution_pack_oralhistories/blob/master/includes/utilities.inc#L143, with the help of this script: https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/15.

When the sort parameter is set, @simonhm does not get a valid response. It is unclear why, as he has similar environment and configuration as vagrant/local. We cannot reproduce the issue here locally.

Simon pointed out that mutli value fields may have issues with sorting.

We noted that we may not have to set the sort parameter if the cues are ordered. Removing that line is a work around for him, that enables him to continue.

MarcusBarnes commented 7 years ago

We are leaving this issue open for now pending further review. If you encounter the same issue, please provide details by commenting below and also please see @Natkeeran's comment for a possible work around .

MarcusBarnes commented 7 years ago

Initially addressed with pull-request https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/27 (commit https://github.com/digitalutsc/islandora_solution_pack_oralhistories/commit/1177d1340db62f38221fad3b5d317708b99b0323).