I ran into the same error message. The SELECT query returned a bunch of
items without a handle, but that is kind of expected for items that are
still pending review (still on a workflow queue). The problem is that the
OAI import error doesn't help in nailing down the offending item. So I
figured I could query the Solr index for items without a handle (thanks to
Peter Dietz for the template
<http://sourceforge.net/p/dspace/mailman/message/32841674/>):
http://127.0.0.1:8080/solr/search/select?q=*:*+AND+-handle:[*%20TO%20*]&wt=json&indent=true
That returned two items. I then checked them out and figured they were
empty (no metadata and no bitstream) but yet were assigned to a collection.
In fact, going back to the SELECT query and changing it to SELECT *, these
two items were the only ones with a value on the owning_collection column.
Removing these two items solved the oai import procedure (after
reindexing), and it wasn't necessary to manually assign a handle to all
other items without one.
It still makes me wonder how and why an (empty) item was assigned to a
collection and didn't get a handle.
Thanks for help, helix.
On Wed Feb 19 2014 at 10:26:09 AM helix84 <[email protected]> wrote:
> So this actually worked. Please note that the last parameter of the
> INSERT (resource_id) should be an integer, not a string (without
> apostrophes).
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
> ------------------------------------------------------------
> ------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&
> iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+
> Etiquette
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette