I got ingest error here

Project:RUcore Workflow Management System (WMS)
Version:7.0
Component:Ingest
Category:bug report
Priority:normal
Assigned:yuyang
Status:closed
Description

Ingesting ...
Empty FID returned from ingest script - check for error.
Ingest error: SoapFault exception: [soapenv:Server.userException] fedora.server.errors.ObjectValidityException: <?xml version="1.0" encoding="UTF-8"?> <RESULT xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <foxml:datastream> <ASSERT>Datastream must have a datastream id. (foxml:datastream: value of ID is missing)</ASSERT> </foxml:datastream> <foxml:datastream> <ASSERT>Datastream must have a datastream id. (foxml:datastream: value of ID is missing)</ASSERT> </foxml:datastream> </RESULT> in /mellon/htdocs/openwms/test/dwms/fedora_io/soap/FedoraApimSoapClient.php:343 Stack trace: #0 /mellon/htdocs/openwms/test/dwms/fedora_io/soap/FedoraApimSoapClient.php(343): SoapClient->__call('ingest', Array) #1 /mellon/htdocs/openwms/test/dwms/fedora_io/soap/FedoraApimSoapClient.php(343): SoapClient->ingest(Object(SoapParam)) #2 /mellon/htdocs/openwms/test/dwms/fedora_io/main/FedoraManagementTool.php(374): FedoraApimSoapClient->ingest('<?xml version="...', 'info:fedora/fed...', '') #3 /mellon/htdocs/openwms/test/dwms/fedora_io/main/FedoraIngester.php(51): FedoraManagementTool->ingestFedoraResource('<?xml version="...', 'foxml', '') #4 /mellon/htdocs/openwms/test/dwms/fedora_io/IngestToFedoraBackground.php(170): FedoraIngester->ingestToFedora('foxml', 'resource', '5435', 'rutgers-lib:200...', '<?xml version="...') #5 /mellon/htdocs/openwms/test/dwms/fedora_io/IngestToFedoraBackground.php(77): singleRulIngest('5435', 'foxml', 'resource', '12', '-1', '83', 0) #6 /mellon/htdocs/openwms/test/dwms/fedora_io/IngestToFedoraBackground.php(40): batchIngest(Array, 'foxml', 'resource', '12', '-1', '83', '1800') #7 {main}

Comments

#1

Status:active» test

This seems to be related to the ID's not properly generated. I wonder if this has been fixed as a result of me working on ID's in the last couple of weeks. Please recreate this item as you did before (from faculty deposit?) and ingest it. If problem persists, report back with collection and item system number. -YY

#2

Status:test» active

the previous error is gone, but I got this new error when I was ingesting a faculty deposit.

Ingesting into fedora ...
Record System ID: 5443

Checking parent collection in presentation module database ... OK.

Checking handle server ... OK.

Getting Fedora PID ... OK - rutgers-lib:200913.

Inserting Fedora PID to structure map ...
There is no fptr element defined in the structure map.

#3

Status:active» test

If the collection was created long before (meaning in 2012 and earlier), the collection needs to be re-saved to generate structure map with correct ID's before ingest. Same thing for the record - if record was not newly created (including from RUFD), please test by submitting a new record from RUFD then ingest from WMS. The structure map from previous records does not conform to the new standard therefore will fail. -YY

#4

Status:test» active

Yang the early one is the new created one and the below one is new too. I got the same error. But I didn't get any ingest error with the old one in the same collection. (my collection)

Ingesting into fedora ...
Record System ID: 5446

Checking parent collection in presentation module database ... OK.

Checking handle server ... OK.

Getting Fedora PID ... OK - rutgers-lib:200919.

Inserting Fedora PID to structure map ...
There is no fptr element defined in the structure map.

#5

Status:active» test

Did you go to WMS administration and re-save this collection before ingest? The reason for doing this is stated in #3. If you don't have the privilege to do this, let me know. -YY

#6

Status:test» active

It's related to faculty category. If I deposit with category book, it ingested OK. But if it is category dissertation, then I got the error.

Please check

#7

Status:active» test

Test. For previously failed record, you need to re-save the record in WMS before ingest. -YY

#8

Status:test» fixed

tested and ingested fine.

#9

Status:fixed» closed

closing

Back to top