Error al importar colección

143 views
Skip to first unread message

Alejandro Castañeda

unread,
Sep 28, 2023, 12:38:22 PM9/28/23
to DSpace Community
No he podido importar colección y ya actualice los metadatos.

2023-09-28 10:09:37.324 INFO import - 148 @ read handle: '123456789/1836' 2023-09-28 10:09:37.481 ERROR import - 148 @ Exception after install item, try to revert... 2023-09-28 10:09:37.482 ERROR import - 148 @ java.lang.RuntimeException: Can't create an Identifier! at org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:85) at org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:777) at org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:313) at org.dspace.app.itemimport.ItemImport.process(ItemImport.java:311) at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:226) at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: org.dspace.identifier.IdentifierException: Cannot register identifier: Didn't find a provider that supports this identifier. at org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:221) at org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:82) ... 8 more 2023-09-28 10:09:37.487 INFO import - 148 @ Started: 1695910176068 2023-09-28 10:09:37.487 INFO import - 148 @ Ended: 1695910177487 2023-09-28 10:09:37.487 INFO import - 148 @ Elapsed time: 1 secs (1419 msecs) 2023-09-28 10:09:37.488 ERROR import - 148 @ null 2023-09-28 10:09:37.488 ERROR import - 148 @ java.lang.Exception: Error committing changes to database: Can't create an Identifier!, aborting most recent changes at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:233) at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.RuntimeException: Can't create an Identifier! at org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:85) at org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:777) at org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:313) at org.dspace.app.itemimport.ItemImport.process(ItemImport.java:311) at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:226) ... 4 more Caused by: org.dspace.identifier.IdentifierException: Cannot register identifier: Didn't find a provider that supports this identifier. at org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:221) at org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:82) ... 8 more

DSpace Community

unread,
Oct 4, 2023, 12:28:27 PM10/4/23
to DSpace Community
Hi,

You haven't given us enough information for anyone to help.  You should always provide details about the version of DSpace you are using, along with the *steps* you took which resulted in the error.  While sharing the error details is good, we need to understand *when* this error occurred and what version of DSpace you are using.

Tim

Sara Oubachir

unread,
Apr 2, 2024, 9:42:01 AM4/2/24
to DSpace Community
Bonjour, lors d'importation des items (importation en lot zip) voilà la sortie du processus qui s'affiche, pouvez vous m'aider svp
2024-04-02 09:26:18.470 ERROR import - 8 @ java.lang.Exception: Error committing changes to database: /dspace/imports/1.zip-a1054468-3253-4e9a-bd6b-a4bd6aa57173 (Permission denied), aborting most recent changes at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:233) at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.FileNotFoundException: /dspace/imports/1.zip-a1054468-3253-4e9a-bd6b-a4bd6aa57173 (Permission denied) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237) at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:2187) at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:2144) at org.apache.commons.io.FileUtils.copyToFile(FileUtils.java:998) at org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:905) at org.dspace.app.itemimport.ItemImport.readZip(ItemImport.java:354) at org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:224) ... 4 more
Reply all
Reply to author
Forward
0 new messages