Re: [Dspace-tech] Batch Import DSpace 5.2
Hello Euler, Thank you for the response. I checked the link and accordingly I exported a collection and was trying to import it back to see how the batch import works (under /admin/batchimport) and selected the zip file and clicked on Upload SingleArchiveFormat Zip button and am getting redirected to a blank page with no action taken. I need to know if this behavior is common or we have something wrong with our installation. I need to do batch import into Dspace 5.2, how can I accomplish this? Thanks. -Original Message- From: euler [mailto:esne...@seafdec.org.ph] Sent: Monday, July 27, 2015 1:15 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Batch Import DSpace 5.2 Hi Layale, The zip file should contain the structure when you export a collection. See this link: Importing and Exporting Items via Simple Archive Format https://wiki.duraspace.org/display/DSDOC5x/Importing+and+Exporting+Items+via+Simple+Archive+Format . Hope this help. Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Batch-Import-DSpace-5-2-tp4678920p4678937.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Batch Import DSpace 5.2
Hi Layale, The zip file should contain the structure when you export a collection. See this link: Importing and Exporting Items via Simple Archive Format https://wiki.duraspace.org/display/DSDOC5x/Importing+and+Exporting+Items+via+Simple+Archive+Format . Hope this help. Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Batch-Import-DSpace-5-2-tp4678920p4678937.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Batch Import DSpace 5.2
Hello again all, Anything regarding the below? Thanks. From: Unauthenticated AUBnet User [mailto:l...@aub.edu.lb] Sent: Friday, July 24, 2015 2:24 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Batch Import DSpace 5.2 Importance: High Hello, I am trying to do a Batch Import into Dspace 5.2, when I select the Zip file, I get redirected to a blank page but nothing occurs. How can I use this functionality? What should the zip file contain and how does it work? Thank you so much, Regards. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Batch Import DSpace 5.2
Hello, I am trying to do a Batch Import into Dspace 5.2, when I select the Zip file, I get redirected to a blank page but nothing occurs. How can I use this functionality? What should the zip file contain and how does it work? Thank you so much, Regards. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] batch import error You need to provide the owning collection
In a simple archive format, the handle is the handle for the item not for the collection. There is no reference to the collection in the simple archive format as far as I know. My understanding is that you must select the destination collection when importing. Chris On 15-05-05 03:23 AM, Kostas Stamatis wrote: Hi Ali, We have to test it but for the time can you do a check to try to import your item via the Command Line? We just want to know if this is a problem in the “collections” file you mention or just a front-end limitation in the JSPUI batch import feature. Regards, Kostas *From:*ali esmaeili [mailto:a.esmaeili@gmail.com] *Sent:* Monday, May 04, 2015 6:40 PM *To:* Peter Dietz *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] batch import error You need to provide the owning collection nobody have any idea about this problem???nobody use batch import? On Fri, May 1, 2015 at 10:43 AM, ali esmaeili a.esmaeili@gmail.com mailto:a.esmaeili@gmail.com wrote: hi peter,thanks for response,it is for collectioni also try to sumbit in dspace demo on demo.dspace.org/jspui http://demo.dspace.org/jspui but cant use batch import width collection file. On Fri, May 1, 2015 at 10:40 AM, Peter Dietz pe...@longsight.com mailto:pe...@longsight.com wrote: Is that 123456789/12 the handle of a community or a collection? It needs to be a collection. Peter Dietz Longsight www.longsight.com http://www.longsight.com pe...@longsight.com mailto:pe...@longsight.com p: 740-599-5005 x809 On Fri, May 1, 2015 at 12:32 PM, ali esmaeili a.esmaeili@gmail.com mailto:a.esmaeili@gmail.com wrote: hi every body. im new in dspace 5.1. i want to use batch import from jspui administration. i have 1 item that contains: dublincore.xml that is true. contents that is true. mainfile that is true. collections (that is problem) based on documentation i have a file that in first line have handler id for example 123456789/12 but when i try to upload it in batch import from jspui this error You need to provide the owning collection i dont want to use dropdown for collection. please help me. thanks for your response. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] batch import error You need to provide the owning collection
no chris. after dspace 5 this is new feature for adding item to collection in simple archive format.based on this documentation: https://wiki.duraspace.org/display/DSDOC5x/Importing+and+Exporting+Items+via+Simple+Archive+Format On Tue, May 5, 2015 at 8:13 AM, Chris Gray cpg...@uwaterloo.ca wrote: In a simple archive format, the handle is the handle for the item not for the collection. There is no reference to the collection in the simple archive format as far as I know. My understanding is that you must select the destination collection when importing. Chris On 15-05-05 03:23 AM, Kostas Stamatis wrote: Hi Ali, We have to test it but for the time can you do a check to try to import your item via the Command Line? We just want to know if this is a problem in the “collections” file you mention or just a front-end limitation in the JSPUI batch import feature. Regards, Kostas *From:* ali esmaeili [mailto:a.esmaeili@gmail.com a.esmaeili@gmail.com] *Sent:* Monday, May 04, 2015 6:40 PM *To:* Peter Dietz *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] batch import error You need to provide the owning collection nobody have any idea about this problem???nobody use batch import? On Fri, May 1, 2015 at 10:43 AM, ali esmaeili a.esmaeili@gmail.com wrote: hi peter,thanks for response,it is for collectioni also try to sumbit in dspace demo on demo.dspace.org/jspui but cant use batch import width collection file. On Fri, May 1, 2015 at 10:40 AM, Peter Dietz pe...@longsight.com wrote: Is that 123456789/12 the handle of a community or a collection? It needs to be a collection. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Fri, May 1, 2015 at 12:32 PM, ali esmaeili a.esmaeili@gmail.com wrote: hi every body. im new in dspace 5.1. i want to use batch import from jspui administration. i have 1 item that contains: dublincore.xml that is true. contents that is true. mainfile that is true. collections (that is problem) based on documentation i have a file that in first line have handler id for example 123456789/12 but when i try to upload it in batch import from jspui this error You need to provide the owning collection i dont want to use dropdown for collection. please help me. thanks for your response. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight.http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net
Re: [Dspace-tech] batch import error You need to provide the owning collection
Hi Ali, We have to test it but for the time can you do a check to try to import your item via the Command Line? We just want to know if this is a problem in the “collections” file you mention or just a front-end limitation in the JSPUI batch import feature. Regards, Kostas From: ali esmaeili [mailto:a.esmaeili@gmail.com] Sent: Monday, May 04, 2015 6:40 PM To: Peter Dietz Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] batch import error You need to provide the owning collection nobody have any idea about this problem???nobody use batch import? On Fri, May 1, 2015 at 10:43 AM, ali esmaeili a.esmaeili@gmail.com wrote: hi peter,thanks for response,it is for collectioni also try to sumbit in dspace demo on demo.dspace.org/jspui but cant use batch import width collection file. On Fri, May 1, 2015 at 10:40 AM, Peter Dietz pe...@longsight.com wrote: Is that 123456789/12 the handle of a community or a collection? It needs to be a collection. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Fri, May 1, 2015 at 12:32 PM, ali esmaeili a.esmaeili@gmail.com wrote: hi every body. im new in dspace 5.1. i want to use batch import from jspui administration. i have 1 item that contains: dublincore.xml that is true. contents that is true. mainfile that is true. collections (that is problem) based on documentation i have a file that in first line have handler id for example 123456789/12 but when i try to upload it in batch import from jspui this error You need to provide the owning collection i dont want to use dropdown for collection. please help me. thanks for your response. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] batch import error You need to provide the owning collection
nobody have any idea about this problem???nobody use batch import? On Fri, May 1, 2015 at 10:43 AM, ali esmaeili a.esmaeili@gmail.com wrote: hi peter,thanks for response,it is for collectioni also try to sumbit in dspace demo on demo.dspace.org/jspui but cant use batch import width collection file. On Fri, May 1, 2015 at 10:40 AM, Peter Dietz pe...@longsight.com wrote: Is that 123456789/12 the handle of a community or a collection? It needs to be a collection. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Fri, May 1, 2015 at 12:32 PM, ali esmaeili a.esmaeili@gmail.com wrote: hi every body. im new in dspace 5.1. i want to use batch import from jspui administration. i have 1 item that contains: dublincore.xml that is true. contents that is true. mainfile that is true. collections (that is problem) based on documentation i have a file that in first line have handler id for example 123456789/12 but when i try to upload it in batch import from jspui this error You need to provide the owning collection i dont want to use dropdown for collection. please help me. thanks for your response. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] batch import error You need to provide the owning collection
hi every body. im new in dspace 5.1. i want to use batch import from jspui administration. i have 1 item that contains: dublincore.xml that is true. contents that is true. mainfile that is true. collections (that is problem) based on documentation i have a file that in first line have handler id for example 123456789/12 but when i try to upload it in batch import from jspui this error You need to provide the owning collection i dont want to use dropdown for collection. please help me. thanks for your response. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] batch import error You need to provide the owning collection
hi peter,thanks for response,it is for collectioni also try to sumbit in dspace demo on demo.dspace.org/jspui but cant use batch import width collection file. On Fri, May 1, 2015 at 10:40 AM, Peter Dietz pe...@longsight.com wrote: Is that 123456789/12 the handle of a community or a collection? It needs to be a collection. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Fri, May 1, 2015 at 12:32 PM, ali esmaeili a.esmaeili@gmail.com wrote: hi every body. im new in dspace 5.1. i want to use batch import from jspui administration. i have 1 item that contains: dublincore.xml that is true. contents that is true. mainfile that is true. collections (that is problem) based on documentation i have a file that in first line have handler id for example 123456789/12 but when i try to upload it in batch import from jspui this error You need to provide the owning collection i dont want to use dropdown for collection. please help me. thanks for your response. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Tim Donohue-3 wrote Though, to be clear -- the replicate code is *not* hooked up to DSpace's SWORD ingestion process yet. So, if we wanted to ingest bags via SWORD (which sounds like a good idea to me), I believe there's still one piece missing: * a SWORDIngester class which calls the replicate code to ingest a bag received via SWORD into DSpace. (This would be similar to how there's a SWORDMETSIngester which forwards METS packages on to the DSpace METS PackageIngester) - Tim I was excited at the idea that perhaps the SwordBagitIngester could forward packages onto the Replicate Suite, but I think maybe it's not quite that simple? The Replicate Suite seems to be specifically designed for backup/restore processes. The main issue that I am concerned about is that BagitRestoreFromAIP seems to check some sort of deletion catalog before performing the restore? Do you happen to know off hand whether the Replicate Suite could digest exported bagit packages from a /different/ repository? Thanks for any pointers that you may be able to offer :-). - Nate R. -- View this message in context: http://dspace.2283337.n4.nabble.com/batch-import-of-Bagit-formated-collections-and-or-conversion-script-for-Bagit-to-SAF-tp3697073p4666273.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Pottinger, Hardy J. wrote Hi, a little nervous about it, but I'm game to try a swing at this, and would appreciate any pointers, jeers, or tomatoes (or, heck, SWORDBagitIngesters, if you have one handy) thrown this way. :-) -- HARDY POTTINGER lt; pottingerhj@ gt; University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb Hi Hardy, I am currently interested in a SWORDBagitIngester and am considering building one if there is not one available. I was wondering how far you were able to get into the process of making a SWORDBagitIngester and also if there were any major, noticeable roadblocks along the way? Thanks. - Nate -- View this message in context: http://dspace.2283337.n4.nabble.com/batch-import-of-Bagit-formated-collections-and-or-conversion-script-for-Bagit-to-SAF-tp3697073p4665944.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Batch import in DSpace 1.7
Hi, We have couple of papers which needs to be imported in our Dspace repository. The batch import tool is suitable to import these papers but it needs metadata in DSpace format. Is there any way of creating DSpace Dublin-core format if we have some basic information about title, author, report number? Regards Kirti -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Batch import
Hi can any one tell me how to do batch import in dspace 1.8.2 -- Regards Jayachandra -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Batch import
This is a good starter: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Import_and_Export On 7 May 2013 09:48, jayachandra B jayachandra1...@gmail.com wrote: Hi can any one tell me how to do batch import in dspace 1.8.2 -- Regards Jayachandra -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] batch import
Hello, I need to upload thousands of records, but not all items belong to the same collection id. I created a csv spreadsheet with all the metadata info in it and added the collection id for each item. I have a program to generate packages to upload based on the info in the spreadsheet. Is there a way to import all items at once into the proper collection id or do I have to create groups of items with the same collection id and then import them separately? I run DSpace 1.8.2 with a modified Reference theme (xmlui). Thank you. Alain Tschanz -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import
Hi Alain, do you also need to upload bitstreams? If not, just use Batch metadata editor from the command line to import the CV at once. If you also need to upload bitstreams, you could then export thus imported items as SIP packages, add the bitstream and run ItemUpdater. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch import error
Greetings I have created a Dublin Core file and a contents file with the following UCU10020100216B.pdf statement and put them inside one folder together with a pdf file name UCU10020100216B.pdf and run the batch import command and i get the following error root@debian:/opt/dspace/dspace/bin# ./dspace dsrun org.dspace.app.itemimport.ItemImport --add --eperson=skia...@maktabaafrica.com --collection=123456789/2 --source='/home/stephen/Desktop/sisi' --mapfile=/home/ghh.txt Destination collections: Owning Collection: UCU Adding items from directory: /home/stephen/Desktop/sisi Generating mapfile: /home/ghh.txt Adding item from directory HASH013823ae67168e24b8522960 Loading dublin core from /home/stephen/Desktop/sisi/HASH013823ae67168e24b8522960/dublin_core.xml Schema: dc Element: publisher Qualifier: none Value: Kenyatta University Schema: dc Element: creator Qualifier: none Value: Common Units Schema: dc Element: language Qualifier: none Value: EN Schema: dc Element: description Qualifier: none Value: UCU 100 Schema: dc Element: type Qualifier: none Value: Bachelor of Education Schema: dc Element: coverage Qualifier: none Value: First Semester Schema: dc Element: date Qualifier: none Value: 20100816 Schema: dc Element: title Qualifier: none Value: Communication Skills Schema: dc Element: rights Qualifier: none Value: 2010 Schema: dc Element: identifier Qualifier: none Value: 2009/2010 Schema: dc Element: contributor Qualifier: none Value: Regular Processing contents file: /home/stephen/Desktop/sisi/HASH013823ae67168e24b8522960/contents Bitstream: UCU10020100816.pdf Processing handle file: handle It appears there is no handle file -- generating one java.sql.SQLException: bad_dublin_core schema=dc, coverage null at org.dspace.content.Item.update(Item.java:1580) at org.dspace.content.InstallItem.finishItem(InstallItem.java:228) at org.dspace.content.InstallItem.installItem(InstallItem.java:83) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:790) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:617) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.sql.SQLException: bad_dublin_core schema=dc, coverage null Started: 1349889161392 Ended: 1349889162024 Elapsed time: 0 secs (632 msecs) root@debian:/opt/dspace/dspace/bin# The Dublin Core ?xml version=1.0 encoding=utf-8 standalone=no? dublin_core schema=dc dcvalue element=publisher qualifier=none language=Kenyatta University/dcvalue dcvalue element=creator qualifier=none language=Common Units/dcvalue dcvalue element=language qualifier=none language=EN/dcvalue dcvalue element=description qualifier=none language=UCU 100/dcvalue dcvalue element=type qualifier=none language=Bachelor of Education/dcvalue dcvalue element=coverage qualifier=none language=IOL/dcvalue dcvalue element=date qualifier=none language=20100216B/dcvalue dcvalue element=title qualifier=none language=Communication Skills/dcvalue dcvalue element=rights qualifier=none language=2010/dcvalue dcvalue element=identifier qualifier=none language=2009/2010/dcvalue dcvalue element=contributor qualifier=none language=Regular/dcvalue /dublin_core contents file UCU10020100216B.pdf -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import for dspace 1.8.1
On Thu, Mar 15, 2012 at 08:42:31AM +0530, ritika bhalla wrote: Hi all, I wrote contents.txt there just to show that i have made a txt file. The name that i have given is *contents *only..and not contents.txt Are you certain? My experience of Windows editors is that they prefer being helpful to being obedient, and will stick on an extension you didn't specify because it's assumed that you want one. Explorer then compounds this by hiding the extensions it knows about (unless, as I always do, you configure it to never do that). Get into that directory using a cmd.exe window and use the 'dir' command, which never tries to be clever. Does that file have the name you thought it did? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgp9oJe0eUr72.pgp Description: PGP signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import for dspace 1.8.1
Hi all, I am trying to upload some files using dspace batch import facility. This is my output: C:\dspace\bindsrun org.dspace.app.itemimport.ItemImport -a -e rit.bhalla04@gmai l.com -c 123456789/2 -s D:\tmp\testimport -m D:\tmp\testimport\1\mapfile.txt Using DSpace installation in: C:\dspace Destination collections: Owning Collection: Digital Library Collection Adding items from directory: D:\tmp\testimport Generating mapfile: D:\tmp\testimport\1\mapfile.txt Adding item from directory 1 Loading dublin core from D:\tmp\testimport\1\dublin_core.xml Schema: dc Element: contributor Qualifier: author Value: Public, JohnQ. Schema: dc Element: title Qualifier: none Value: Sample Dublin Core Schema: dc Element: subject Qualifier: none Value: Technology Processing contents file: D:\tmp\testimport\1\contents java.io.FileNotFoundException: *No contents file found* at org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.j ava:1309) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:751) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:617) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.io.FileNotFoundException: No contents file found Started: 1331709284726 Ended: 1331709285727 Elapsed time: 1 secs (1001 msecs) *I have maintained my directory structure as follows:* D:\ D:\tmp D:\tmp\testimport D:\tmp\testimport\1 D:\tmp\testimport\1\dspace.pdf D:\tmp\testimport\1\contents.txt D:\tmp\testimport\1\dublin_core.xml contents.txt contains only one entry: dspace.pdf bundle: ORIGINAL Can u tell me where I am going wrong?? *Thanks* *Ritika* -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import for dspace 1.8.1
Hi, ritika I think the contents file must not have any extension, just contents, not contents.txt best luck Emilio ritika bhalla Hi all, I am trying to upload some files using dspace batch import facility. This is my output: C:\dspace\bindsrun org.dspace.app.itemimport.ItemImport -a -e rit.bhalla04@gmai l.com -c 123456789/2 -s D:\tmp\testimport -m D:\tmp\testimport\1\mapfile.txt Using DSpace installation in: C:\dspace Destination collections: Owning Collection: Digital Library Collection Adding items from directory: D:\tmp\testimport Generating mapfile: D:\tmp\testimport\1\mapfile.txt Adding item from directory 1 Loading dublin core from D:\tmp\testimport\1\dublin_core.xml Schema: dc Element: contributor Qualifier: author Value: Public, JohnQ. Schema: dc Element: title Qualifier: none Value: Sample Dublin Core Schema: dc Element: subject Qualifier: none Value: Technology Processing contents file: D:\tmp\testimport\1\contents java.io.FileNotFoundException: *No contents file found* at org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.j ava:1309) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:751) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:617) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.io.FileNotFoundException: No contents file found Started: 1331709284726 Ended: 1331709285727 Elapsed time: 1 secs (1001 msecs) *I have maintained my directory structure as follows:* D:\ D:\tmp D:\tmp\testimport D:\tmp\testimport\1 D:\tmp\testimport\1\dspace.pdf D:\tmp\testimport\1\contents.txt D:\tmp\testimport\1\dublin_core.xml contents.txt contains only one entry: dspace.pdf bundle: ORIGINAL Can u tell me where I am going wrong?? *Thanks* *Ritika* -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Emilio Lorenzo Arvo Consultores AVISO LEGAL Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al remitente y borre dicho mensaje y cualquier documento adjunto que pudiera contener. No hay renuncia a la confidencialidad ni a ningún privilegio por causa de transmisión errónea o mal funcionamiento. Cualquier opinión expresada en este mensaje pertenece únicamente al remitente, y no representa necesariamente la opinión de Arvo Consultores, a no ser que expresamente se diga y el remitente esté autorizado para hacerlo. Los correos electrónicos no son seguros, no garantizan la confidencialidad ni la correcta recepción de los mismos, dado que pueden ser interceptados, manipulados, destruidos, llegar con demora, incompletos, o con virus. Arvo Consultores no se hace responsable de las alteraciones que pudieran hacerse al mensaje una vez enviado. En caso de que el receptor no quiera recibir mas correos de esta dirección deberá notificarlo a la dirección a...@arvo.es. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import for dspace 1.8.1
Hi Ritika, The contents file can't have an extension; it has to be named just contents. Everything else looks good, though I'd check to make sure a mapfile was not created. If so, delete it before trying the import again. B-- On 3/14/2012 at 4:31 AM, in message CA+tX-FaxHPLed1XJOr32BdydA9Ph-Rcr=z26scw6kmoq3k+...@mail.gmail.com, ritika bhalla rit.bhall...@gmail.com wrote: Hi all, I am trying to upload some files using dspace batch import facility. This is my output: C:\dspace\bindsrun org.dspace.app.itemimport.ItemImport -a -e rit.bhalla04@gmai l.com -c 123456789/2 -s D:\tmp\testimport -m D:\tmp\testimport\1\mapfile.txt Using DSpace installation in: C:\dspace Destination collections: Owning Collection: Digital Library Collection Adding items from directory: D:\tmp\testimport Generating mapfile: D:\tmp\testimport\1\mapfile.txt Adding item from directory 1 Loading dublin core from D:\tmp\testimport\1\dublin_core.xml Schema: dc Element: contributor Qualifier: author Value: Public, JohnQ. Schema: dc Element: title Qualifier: none Value: Sample Dublin Core Schema: dc Element: subject Qualifier: none Value: Technology Processing contents file: D:\tmp\testimport\1\contents java.io.FileNotFoundException: *No contents file found* at org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.j ava:1309) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:751) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:617) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.io.FileNotFoundException: No contents file found Started: 1331709284726 Ended: 1331709285727 Elapsed time: 1 secs (1001 msecs) *I have maintained my directory structure as follows:* D:\ D:\tmp D:\tmp\testimport D:\tmp\testimport\1 D:\tmp\testimport\1\dspace.pdf D:\tmp\testimport\1\contents.txt D:\tmp\testimport\1\dublin_core.xml contents.txt contains only one entry: dspace.pdf bundle: ORIGINAL Can u tell me where I am going wrong?? *Thanks* *Ritika* -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import for dspace 1.8.1
Hi all, I wrote contents.txt there just to show that i have made a txt file. The name that i have given is *contents *only..and not contents.txt I read somewhere that this file has to be ANSI encoded. I did that too.. But the results were still the same. Kindly tell me if there is anything else that i should do. Thanks Ritika On Wed, Mar 14, 2012 at 8:19 PM, Brian Freels-Stendel bfre...@unm.eduwrote: Hi Ritika, The contents file can't have an extension; it has to be named just contents. Everything else looks good, though I'd check to make sure a mapfile was not created. If so, delete it before trying the import again. B-- On 3/14/2012 at 4:31 AM, in message CA+tX-FaxHPLed1XJOr32BdydA9Ph-Rcr=z26scw6kmoq3k+...@mail.gmail.com, ritika bhalla rit.bhall...@gmail.com wrote: Hi all, I am trying to upload some files using dspace batch import facility. This is my output: C:\dspace\bindsrun org.dspace.app.itemimport.ItemImport -a -e rit.bhalla04@gmai l.com -c 123456789/2 -s D:\tmp\testimport -m D:\tmp\testimport\1\mapfile.txt Using DSpace installation in: C:\dspace Destination collections: Owning Collection: Digital Library Collection Adding items from directory: D:\tmp\testimport Generating mapfile: D:\tmp\testimport\1\mapfile.txt Adding item from directory 1 Loading dublin core from D:\tmp\testimport\1\dublin_core.xml Schema: dc Element: contributor Qualifier: author Value: Public, JohnQ. Schema: dc Element: title Qualifier: none Value: Sample Dublin Core Schema: dc Element: subject Qualifier: none Value: Technology Processing contents file: D:\tmp\testimport\1\contents java.io.FileNotFoundException: *No contents file found* at org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.j ava:1309) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:751) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:617) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.io.FileNotFoundException: No contents file found Started: 1331709284726 Ended: 1331709285727 Elapsed time: 1 secs (1001 msecs) *I have maintained my directory structure as follows:* D:\ D:\tmp D:\tmp\testimport D:\tmp\testimport\1 D:\tmp\testimport\1\dspace.pdf D:\tmp\testimport\1\contents.txt D:\tmp\testimport\1\dublin_core.xml contents.txt contains only one entry: dspace.pdf bundle: ORIGINAL Can u tell me where I am going wrong?? *Thanks* *Ritika* -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import is not working
My understanding is that the Dspace importer looks for a directory structure when importing items. When we do bulk imports, we point a a directory that contains another directory for each of our items, that then contains our xml, contents, and bitstreams. So, we point the import command to a directory, say /tmp/dsploader, and in that directory we have other directories, typicallyed number 1 to whatever number of items we have. in folder 1 we have a dublin_core.xml, contents, and the actual bitstreams, and so on and so forth. Maybe if you step up one directory level in your command prompt it would solve your problem? Like: ./dspace import -a -e dsp...@meclibrary.com -c 123456789/18 -s /media/Maheshwara/import/ -m mapfilest -- Barry J. Davis Jr. Coordinator, Multimedia and Digital Production Services Z. Smith Reynolds Library Wake Forest University (336)758-6172 dav...@wfu.edu On Fri, Jan 20, 2012 at 12:32 AM, mailramk mailr...@yahoo.co.in wrote: I am trying to import 6 mp4 files into dspace. I had created the archive format using DRC-import.zip provided somewhere on the net. my folder structure is /media/Maheshwara/import/SOM which contains the video files, dublin_core.xml, contents file. I ran the following command but the items are not showing in the interface. ./dspace import -a -e dsp...@meclibrary.com -c 123456789/18 -s /media/Maheshwara/import/SOM -m mapfilest Destination collections: Owning Collection: Strength of Materials Adding items from directory: /media/Maheshwara/import/SOM Generating mapfile: mapfilest Started: 1326946590414 Ended: 1326946590707 Elapsed time: 0 secs (293 msecs) dubline_core.xml contents: ?xml version=1.0 encoding=UTF-8? dublin_core dcvalue element=dc.contributor.author qualifier=noneDr. Suraj Prakash Mehra/dcvalue dcvalue element=dc.date.issued qualifier=none19/01/2012/dcvalue dcvalue element=dc.description.abstract[en_US] qualifier=noneStrength of Materials/dcvalue dcvalue element=dc.description.sponsorship[en_US] qualifier=noneMechanical Industrial Engineering Department,IIT, Roorkee/dcvalue dcvalue element=dc.subject[en_US] qualifier=noneStrength of Materials/dcvalue dcvalue element=dc.title[en_US] qualifier=noneStrength of Materials/dcvalue dcvalue element=dc.type[en_US] qualifier=noneVideo/dcvalue /dublin_core contents file: lec01.mp4 bundle:ORIGINAL lec02.mp4 bundle:ORIGINAL lec03.mp4 bundle:ORIGINAL -- View this message in context: http://dspace.2283337.n4.nabble.com/Batch-Import-is-not-working-tp4312453p4312453.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import is not working
I am trying to import 6 mp4 files into dspace. I had created the archive format using DRC-import.zip provided somewhere on the net. my folder structure is /media/Maheshwara/import/SOM which contains the video files, dublin_core.xml, contents file. I ran the following command but the items are not showing in the interface. ./dspace import -a -e dsp...@meclibrary.com -c 123456789/18 -s /media/Maheshwara/import/SOM -m mapfilest Destination collections: Owning Collection: Strength of Materials Adding items from directory: /media/Maheshwara/import/SOM Generating mapfile: mapfilest Started: 1326946590414 Ended: 1326946590707 Elapsed time: 0 secs (293 msecs) dubline_core.xml contents: ?xml version=1.0 encoding=UTF-8? dublin_core dcvalue element=dc.contributor.author qualifier=noneDr. Suraj Prakash Mehra/dcvalue dcvalue element=dc.date.issued qualifier=none19/01/2012/dcvalue dcvalue element=dc.description.abstract[en_US] qualifier=noneStrength of Materials/dcvalue dcvalue element=dc.description.sponsorship[en_US] qualifier=noneMechanical amp; Industrial Engineering Department,IIT, Roorkee/dcvalue dcvalue element=dc.subject[en_US] qualifier=noneStrength of Materials/dcvalue dcvalue element=dc.title[en_US] qualifier=noneStrength of Materials/dcvalue dcvalue element=dc.type[en_US] qualifier=noneVideo/dcvalue /dublin_core contents file: lec01.mp4 bundle:ORIGINAL lec02.mp4 bundle:ORIGINAL lec03.mp4 bundle:ORIGINAL -- View this message in context: http://dspace.2283337.n4.nabble.com/Batch-Import-is-not-working-tp4312453p4312453.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch import problems
We've successfully been able to batch import items into Dspace before but haven't been able to since we've upgraded. We are regularly running into these errors when trying to run the command: java.lang.NullPointerException at java.util.Arrays.sort(Arrays.java:1078) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:606) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:497) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.lang.NullPointerException Started: 1320428221038 Ended: 1320428221196 Elapsed time: 0 secs (158 msecs) Any suggestions or feedback would be appreciated. Paul Go Systems Librarian / Library Technology Manager Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import problems
The line of code where it blows up seems to be accessing the directory where the data is at. I would check that you are importing from the right directory, and that the permissions there are good. -Jose From: Paul Go [mailto:pgo...@gmail.com] Sent: Friday, November 04, 2011 4:50 PM To: Dspace Tech list; DSpace General Mailing List Subject: [Dspace-tech] Batch import problems We've successfully been able to batch import items into Dspace before but haven't been able to since we've upgraded. We are regularly running into these errors when trying to run the command: java.lang.NullPointerException at java.util.Arrays.sort(Arrays.java:1078) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:606) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:497) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.lang.NullPointerException Started: 1320428221038 Ended: 1320428221196 Elapsed time: 0 secs (158 msecs) Any suggestions or feedback would be appreciated. Paul Go Systems Librarian / Library Technology Manager Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edumailto:p...@iit.edu -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import problems
If you execute the Import script and write the output to a file (using filename.out), you should see what the problem is in here. Also check the .map file and see if there is a message in there indicating what the problem is. I've never had the import blow up where there wasn't a message in one of these files indicating what the problem was. Hope this helps, Sue Sue Walker-Thornton (757) 864-2368 From: Blanco, Jose [mailto:blan...@umich.edu] Sent: Friday, November 04, 2011 4:56 PM To: Paul Go; Dspace Tech list; DSpace General Mailing List Subject: Re: [Dspace-tech] Batch import problems The line of code where it blows up seems to be accessing the directory where the data is at. I would check that you are importing from the right directory, and that the permissions there are good. -Jose From: Paul Go [mailto:pgo...@gmail.com] Sent: Friday, November 04, 2011 4:50 PM To: Dspace Tech list; DSpace General Mailing List Subject: [Dspace-tech] Batch import problems We've successfully been able to batch import items into Dspace before but haven't been able to since we've upgraded. We are regularly running into these errors when trying to run the command: java.lang.NullPointerException at java.util.Arrays.sort(Arrays.java:1078) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:606) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:497) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.lang.NullPointerException Started: 1320428221038 Ended: 1320428221196 Elapsed time: 0 secs (158 msecs) Any suggestions or feedback would be appreciated. Paul Go Systems Librarian / Library Technology Manager Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edumailto:p...@iit.edu -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Though, to be clear -- the replicate code is *not* hooked up to DSpace's SWORD ingestion process yet. So, if we wanted to ingest bags via SWORD (which sounds like a good idea to me), I believe there's still one piece missing: * a SWORDIngester class which calls the replicate code to ingest a bag received via SWORD into DSpace. (This would be similar to how there's a SWORDMETSIngester which forwards METS packages on to the DSpace METS PackageIngester) - Tim On 7/27/2011 5:05 PM, Richard Rodgers wrote: BTW, the replicate code does all this - serializes and deserializes bags to DSpace objects Richard On Jul 27, 2011, at 5:56 PM, Stuart Lewis wrote: Hi Hardy, SWORD is completely agnostic about what packages it transports, however out the box, DSpace does not know how to ingest bags via SWORD. You might therefore need to write a bag ingester than knows how to unpack and ingest the contents of the bag. This would make an excellent addition to DSpace :) Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 28/07/2011, at 9:29 AM, Pottinger, Hardy J. wrote: Thanks, Mark, that code from MIT looks interesting, I will look into it more. I did notice that the Bagit spec is supported by the SWORD protocol, and when I mentioned this to our archivist, he went and looked and it does appear that the BIL 3.9 can send a bag using SWORD (see output of the BIL -h command, pasted below). So, it looks like Bagger and/or BIL + turning on SWORD for our repository will get us what we want. Huzzah! * BagIt Library (BIL) Version 3.9 Usage: bagoperation [operation arguments] [--help] Parameters: operation Valid operations are: baginplace, bob, checkpayloadoxum, create, fillholey, generatepayloadoxum, makecomplete, makeholey, retrieve, splitbagbyfiletype, splitbagbysize, splitbagbysizeandfiletype, sword, update, updatetagmanifests, verifycomplete, verifypayloadmanifests, verifytagmanifests and verifyvalid. Operation explanations: baginplace: Creates a bag-in-place. The source must be a directory on a filesystem and may already have a data directory. bob: Sends a bag using BOB. checkpayloadoxum: Generates Payload-Oxum and checks against Payload-Oxum in bag-info.txt. create: Creates a bag from supplied files/directories, completes the bag, and then writes in a specified format. fillholey: Retrieves any missing pieces of a local bag. generatepayloadoxum: Generates and returns the Payload-Oxum for the bag. makecomplete: Completes a bag and then writes in a specified format. Completing a bag fills in any missing parts. makeholey: Generates a fetch.txt and then writes bag in a specified format. retrieve: Retrieves a bag exposed by a web server. A local holey bag is not required. splitbagbyfiletype: Splits a bag by file types. splitbagbysize: Splits a bag by size. splitbagbysizeandfiletype: Splits a bag by size and file types. sword: Sends a bag using SWORD. update: Updates the manifests and (if it exists) the bag-info.txt for a bag. updatetagmanifests: Updates the tag manifests for a bag. The bag must be unserialized. verifycomplete: Verifies the completeness of a bag. verifypayloadmanifests: Verifies the checksums in all payload manifests. verifytagmanifests: Verifies the checksums in all tag manifests. verifyvalid: Verifies the validity of a bag. [--version] Prints version of BIL and exits. [--help] Prints usage message for the operation. Examples: bag verifyvalid --help Prints help for the verifyvalid operation. -- HARDY POTTINGERpottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/26/11 5:31 PM, Mark Diggorymdigg...@atmire.com wrote: Hardy, Be aware that MIT / Richard Rodgers also has some Bagit work available, currently nested within the modules directory here: http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/jav a/org/dspace/pack/ http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/ja va/org/dspace/pack/Mark On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I've done a bit of googling on Bagit, and I see that Dryad (and
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Thanks, Mark, that code from MIT looks interesting, I will look into it more. I did notice that the Bagit spec is supported by the SWORD protocol, and when I mentioned this to our archivist, he went and looked and it does appear that the BIL 3.9 can send a bag using SWORD (see output of the BIL -h command, pasted below). So, it looks like Bagger and/or BIL + turning on SWORD for our repository will get us what we want. Huzzah! * BagIt Library (BIL) Version 3.9 Usage: bag operation [operation arguments] [--help] Parameters: operation Valid operations are: baginplace, bob, checkpayloadoxum, create, fillholey, generatepayloadoxum, makecomplete, makeholey, retrieve, splitbagbyfiletype, splitbagbysize, splitbagbysizeandfiletype, sword, update, updatetagmanifests, verifycomplete, verifypayloadmanifests, verifytagmanifests and verifyvalid. Operation explanations: baginplace: Creates a bag-in-place. The source must be a directory on a filesystem and may already have a data directory. bob: Sends a bag using BOB. checkpayloadoxum: Generates Payload-Oxum and checks against Payload-Oxum in bag-info.txt. create: Creates a bag from supplied files/directories, completes the bag, and then writes in a specified format. fillholey: Retrieves any missing pieces of a local bag. generatepayloadoxum: Generates and returns the Payload-Oxum for the bag. makecomplete: Completes a bag and then writes in a specified format. Completing a bag fills in any missing parts. makeholey: Generates a fetch.txt and then writes bag in a specified format. retrieve: Retrieves a bag exposed by a web server. A local holey bag is not required. splitbagbyfiletype: Splits a bag by file types. splitbagbysize: Splits a bag by size. splitbagbysizeandfiletype: Splits a bag by size and file types. sword: Sends a bag using SWORD. update: Updates the manifests and (if it exists) the bag-info.txt for a bag. updatetagmanifests: Updates the tag manifests for a bag. The bag must be unserialized. verifycomplete: Verifies the completeness of a bag. verifypayloadmanifests: Verifies the checksums in all payload manifests. verifytagmanifests: Verifies the checksums in all tag manifests. verifyvalid: Verifies the validity of a bag. [--version] Prints version of BIL and exits. [--help] Prints usage message for the operation. Examples: bag verifyvalid --help Prints help for the verifyvalid operation. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/26/11 5:31 PM, Mark Diggory mdigg...@atmire.com wrote: Hardy, Be aware that MIT / Richard Rodgers also has some Bagit work available, currently nested within the modules directory here: http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/jav a/org/dspace/pack/ http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/ja va/org/dspace/pack/Mark On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between the two formats, though I'm thinking someone is likely to have walked this path already. If so, and if you can share any code, or just talk about your approach, I'd love to hear from you. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ DSpace-tech mailing list
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Hi Hardy, SWORD is completely agnostic about what packages it transports, however out the box, DSpace does not know how to ingest bags via SWORD. You might therefore need to write a bag ingester than knows how to unpack and ingest the contents of the bag. This would make an excellent addition to DSpace :) Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 28/07/2011, at 9:29 AM, Pottinger, Hardy J. wrote: Thanks, Mark, that code from MIT looks interesting, I will look into it more. I did notice that the Bagit spec is supported by the SWORD protocol, and when I mentioned this to our archivist, he went and looked and it does appear that the BIL 3.9 can send a bag using SWORD (see output of the BIL -h command, pasted below). So, it looks like Bagger and/or BIL + turning on SWORD for our repository will get us what we want. Huzzah! * BagIt Library (BIL) Version 3.9 Usage: bag operation [operation arguments] [--help] Parameters: operation Valid operations are: baginplace, bob, checkpayloadoxum, create, fillholey, generatepayloadoxum, makecomplete, makeholey, retrieve, splitbagbyfiletype, splitbagbysize, splitbagbysizeandfiletype, sword, update, updatetagmanifests, verifycomplete, verifypayloadmanifests, verifytagmanifests and verifyvalid. Operation explanations: baginplace: Creates a bag-in-place. The source must be a directory on a filesystem and may already have a data directory. bob: Sends a bag using BOB. checkpayloadoxum: Generates Payload-Oxum and checks against Payload-Oxum in bag-info.txt. create: Creates a bag from supplied files/directories, completes the bag, and then writes in a specified format. fillholey: Retrieves any missing pieces of a local bag. generatepayloadoxum: Generates and returns the Payload-Oxum for the bag. makecomplete: Completes a bag and then writes in a specified format. Completing a bag fills in any missing parts. makeholey: Generates a fetch.txt and then writes bag in a specified format. retrieve: Retrieves a bag exposed by a web server. A local holey bag is not required. splitbagbyfiletype: Splits a bag by file types. splitbagbysize: Splits a bag by size. splitbagbysizeandfiletype: Splits a bag by size and file types. sword: Sends a bag using SWORD. update: Updates the manifests and (if it exists) the bag-info.txt for a bag. updatetagmanifests: Updates the tag manifests for a bag. The bag must be unserialized. verifycomplete: Verifies the completeness of a bag. verifypayloadmanifests: Verifies the checksums in all payload manifests. verifytagmanifests: Verifies the checksums in all tag manifests. verifyvalid: Verifies the validity of a bag. [--version] Prints version of BIL and exits. [--help] Prints usage message for the operation. Examples: bag verifyvalid --help Prints help for the verifyvalid operation. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/26/11 5:31 PM, Mark Diggory mdigg...@atmire.com wrote: Hardy, Be aware that MIT / Richard Rodgers also has some Bagit work available, currently nested within the modules directory here: http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/jav a/org/dspace/pack/ http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/ja va/org/dspace/pack/Mark On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between the two formats, though I'm thinking someone is likely to have walked this path already. If so, and if you can share any code, or just talk
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
BTW, the replicate code does all this - serializes and deserializes bags to DSpace objects Richard On Jul 27, 2011, at 5:56 PM, Stuart Lewis wrote: Hi Hardy, SWORD is completely agnostic about what packages it transports, however out the box, DSpace does not know how to ingest bags via SWORD. You might therefore need to write a bag ingester than knows how to unpack and ingest the contents of the bag. This would make an excellent addition to DSpace :) Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 28/07/2011, at 9:29 AM, Pottinger, Hardy J. wrote: Thanks, Mark, that code from MIT looks interesting, I will look into it more. I did notice that the Bagit spec is supported by the SWORD protocol, and when I mentioned this to our archivist, he went and looked and it does appear that the BIL 3.9 can send a bag using SWORD (see output of the BIL -h command, pasted below). So, it looks like Bagger and/or BIL + turning on SWORD for our repository will get us what we want. Huzzah! * BagIt Library (BIL) Version 3.9 Usage: bag operation [operation arguments] [--help] Parameters: operation Valid operations are: baginplace, bob, checkpayloadoxum, create, fillholey, generatepayloadoxum, makecomplete, makeholey, retrieve, splitbagbyfiletype, splitbagbysize, splitbagbysizeandfiletype, sword, update, updatetagmanifests, verifycomplete, verifypayloadmanifests, verifytagmanifests and verifyvalid. Operation explanations: baginplace: Creates a bag-in-place. The source must be a directory on a filesystem and may already have a data directory. bob: Sends a bag using BOB. checkpayloadoxum: Generates Payload-Oxum and checks against Payload-Oxum in bag-info.txt. create: Creates a bag from supplied files/directories, completes the bag, and then writes in a specified format. fillholey: Retrieves any missing pieces of a local bag. generatepayloadoxum: Generates and returns the Payload-Oxum for the bag. makecomplete: Completes a bag and then writes in a specified format. Completing a bag fills in any missing parts. makeholey: Generates a fetch.txt and then writes bag in a specified format. retrieve: Retrieves a bag exposed by a web server. A local holey bag is not required. splitbagbyfiletype: Splits a bag by file types. splitbagbysize: Splits a bag by size. splitbagbysizeandfiletype: Splits a bag by size and file types. sword: Sends a bag using SWORD. update: Updates the manifests and (if it exists) the bag-info.txt for a bag. updatetagmanifests: Updates the tag manifests for a bag. The bag must be unserialized. verifycomplete: Verifies the completeness of a bag. verifypayloadmanifests: Verifies the checksums in all payload manifests. verifytagmanifests: Verifies the checksums in all tag manifests. verifyvalid: Verifies the validity of a bag. [--version] Prints version of BIL and exits. [--help] Prints usage message for the operation. Examples: bag verifyvalid --help Prints help for the verifyvalid operation. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/26/11 5:31 PM, Mark Diggory mdigg...@atmire.com wrote: Hardy, Be aware that MIT / Richard Rodgers also has some Bagit work available, currently nested within the modules directory here: http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/jav a/org/dspace/pack/ http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/ja va/org/dspace/pack/Mark On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between
[Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between the two formats, though I'm thinking someone is likely to have walked this path already. If so, and if you can share any code, or just talk about your approach, I'd love to hear from you. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Hardy, Be aware that MIT / Richard Rodgers also has some Bagit work available, currently nested within the modules directory here: http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/java/org/dspace/pack/ http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/java/org/dspace/pack/ Mark On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between the two formats, though I'm thinking someone is likely to have walked this path already. If so, and if you can share any code, or just talk about your approach, I'd love to hear from you. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Mark R. Diggory @mire - www.atmire.com 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010 Esperantolaan 4 - Heverlee 3001 - Belgium -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] batch import
hi sir, i am working on dspace 1.4 and i am unable to use the facility of batch import. i uses the command given for the batch import but it only produces blank map file. Plz guide me what to do. -- Regards:- Sachin Thapa -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch import metadata help needed
Dear dspace-tech list; I am new to the dspace world and need some basic help. This is what I am trying to do: I have exported over a 1000 records from the library management system into a csv format and would like to batch import these records (no attachments here) into the dspace. I found some documents on the wiki but I seem to miss the initial starting point. I have created the collection and the fields that will match the fields in my csv file. Then after creating a collection I go to the Import metadata and select the file to load it - but I got the error message: An unknown error has occurred I just have a feeling that I am missing the crucial step; do I need to have a separate plug-in installed? We are on Dspace 1.6.0. Sorry for asking a stupid question but I thought this would be a very time-consuming investigation for me while being an easy answer for an expert. If anyone has done something similar I would appreciate if you could share your procedures. Many thanks, Renata Dyer Manager, Systems and Electronic Services High Court of Australia Library Canberra, ACT 2604 ph: 02 6270 6916-- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import metadata help needed
Hi Renata, It seems you are missing one important step before batch import: to rewrite your csv file into xml files in dublin core format. There are existing tools to generate the needed xml files from some sources. These tools sometimes are called converters, transformers, crosswalks, or csv2dc, etc. Do some searching. As the tools are pre-built, they may or may not fully meet your requirement. If in-house programmers are available writing a custom-made one is not too difficult, and gives perfect results. Also remember that the xml files and other associated files needs to be put in suitable folders in a rigidly defined structure. Consult the dspace manual about this requirement. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-05-25 8:24 AM, Renata Dyer wrote: Dear dspace-tech list; I am new to the dspace world and need some basic help. This is what I am trying to do: I have exported over a 1000 records from the library management system into a csv format and would like to batch import these records (no attachments here) into the dspace. I found some documents on the wiki but I seem to miss the initial starting point. I have created the collection and the fields that will match the fields in my csv file. Then after creating a collection I go to the Import metadata and select the file to load it - but I got the error message: *An unknown error has occurred* I just have a feeling that I am missing the crucial step; do I need to have a separate plug-in installed? We are on Dspace 1.6.0. Sorry for asking a stupid question but I thought this would be a very time-consuming investigation for me while being an easy answer for an expert. If anyone has done something similar I would appreciate if you could share your procedures. Many thanks, *Renata Dyer* Manager, Systems and Electronic Services High Court of Australia Library http://www.hcourt.gov.au/library.html Canberra, ACT 2604 ph: 02 6270 6916 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import metadata help needed
I forgot to mention that I have also created an xml file generated by the MARC to xml conversion done in MARCedit programme. I tried to import this too but the same error showed up. I saved the file in My Documents folder - could that be the problem? Renata From: Allen Lam allen.dsp...@gmail.com To: dspace-tech@lists.sourceforge.net Date: 25/05/2010 01:39 PM Subject:Re: [Dspace-tech] Batch import metadata help needed Hi Renata, It seems you are missing one important step before batch import: to rewrite your csv file into xml files in dublin core format. There are existing tools to generate the needed xml files from some sources. These tools sometimes are called converters, transformers, crosswalks, or csv2dc, etc. Do some searching. As the tools are pre-built, they may or may not fully meet your requirement. If in-house programmers are available writing a custom-made one is not too difficult, and gives perfect results. Also remember that the xml files and other associated files needs to be put in suitable folders in a rigidly defined structure. Consult the dspace manual about this requirement. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-05-25 8:24 AM, Renata Dyer wrote: Dear dspace-tech list; I am new to the dspace world and need some basic help. This is what I am trying to do: I have exported over a 1000 records from the library management system into a csv format and would like to batch import these records (no attachments here) into the dspace. I found some documents on the wiki but I seem to miss the initial starting point. I have created the collection and the fields that will match the fields in my csv file. Then after creating a collection I go to the Import metadata and select the file to load it - but I got the error message: An unknown error has occurred I just have a feeling that I am missing the crucial step; do I need to have a separate plug-in installed? We are on Dspace 1.6.0. Sorry for asking a stupid question but I thought this would be a very time-consuming investigation for me while being an easy answer for an expert. If anyone has done something similar I would appreciate if you could share your procedures. Many thanks, Renata Dyer Manager, Systems and Electronic Services High Court of Australia Library Canberra, ACT 2604 ph: 02 6270 6916 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import metadata help needed
Hi Renata I agree with Allen; you will be able to find some existing tools that can be found in various locations on the web but you will need to mix it with some custom development. We have carried out a few conversions and have found that there is never an out-of-the-box solution due to the idiosyncrasies of the source data. We converted about 25,000 records for the Royal Naval Museum who had data in CSV. The procedures we took; - Converted the CSV to Excel XML, - Developed a crosswalk for Excel XML to Dublin Core. The crosswalk script built the Dublin Core metadata and assets into a package which DSpace could easily ingest, - Used the DSpace command line import tool to import the DC assets into DSpace. We open sourced the crosswalk scripts which you are welcome to use; it is available at http://www.sourceforge.net/projects/dcmetatoolkit. The scripts are rudimentary but they will hopefully assist you. Cheers Hayden On 25/05/10 11:36, Allen Lam wrote: Hi Renata, It seems you are missing one important step before batch import: to rewrite your csv file into xml files in dublin core format. There are existing tools to generate the needed xml files from some sources. These tools sometimes are called converters, transformers, crosswalks, or csv2dc, etc. Do some searching. As the tools are pre-built, they may or may not fully meet your requirement. If in-house programmers are available writing a custom-made one is not too difficult, and gives perfect results. Also remember that the xml files and other associated files needs to be put in suitable folders in a rigidly defined structure. Consult the dspace manual about this requirement. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-05-25 8:24 AM, Renata Dyer wrote: Dear dspace-tech list; I am new to the dspace world and need some basic help. This is what I am trying to do: I have exported over a 1000 records from the library management system into a csv format and would like to batch import these records (no attachments here) into the dspace. I found some documents on the wiki but I seem to miss the initial starting point. I have created the collection and the fields that will match the fields in my csv file. Then after creating a collection I go to the Import metadata and select the file to load it - but I got the error message: *An unknown error has occurred* I just have a feeling that I am missing the crucial step; do I need to have a separate plug-in installed? We are on Dspace 1.6.0. Sorry for asking a stupid question but I thought this would be a very time-consuming investigation for me while being an easy answer for an expert. If anyone has done something similar I would appreciate if you could share your procedures. Many thanks, *Renata Dyer* Manager, Systems and Electronic Services High Court of Australia Library http://www.hcourt.gov.au/library.html Canberra, ACT 2604 ph: 02 6270 6916 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Hayden Young Managing Director Wijiti Pty Ltd p. +61 (0) 8 6102 1198 m. +61 (0) 405 520 778 e. haydenyo...@wijiti.com w. www.wijiti.com vcard. www.wijiti.com/vcard/haydenyoung.vcf NOTICE This e-mail and any attachments are intended for the addressee(s) only and may be confidential. They may contain legally privileged or copyright material. You should not read, copy, use or disclose them without authorization. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages. This notice should not be removed. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import not loading itmes
Try routing the output from ItemImport to a file and checking the file contents after the job ends. (see below) Hope this helps, Sue Sue Walker-Thornton ConITS Contract NASA Langley Research Center Integrated Library Systems ~ Developer/DBA 130 Research Drive Hampton, VA 23666 Office: (757) 224-4074 Fax:(757) 224-4001 Mobile: (757) 506-9903 Email: susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov From: Topete, Sergio (CIV) [mailto:stop...@nps.edu] Sent: Wednesday, March 03, 2010 1:32 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] FW: batch import not loading itmes I been running the following command but I get an empty mapfile and nothing gets uploaded. Any help will be appreciated. /usr/local/dspace/bin]$ ./dsrun org.dspace.app.itemimport.ItemImport --add --eperson=stop...@nps.edu --collection=123456789/74 --source=/home/dspace/temp/batchloadtest/ --mapfile=20100302A[Sue T.] /home/dspace/temp/20100302A.out Destination collections: Owning Collection: Captstone Adding items from directory: /home/dspace/temp/batchloadtest Generating mapfile: 20100302A Serigo -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import
The Title identifier given below has to match exactly with the excel column header. You may have to change the \title\ given below accordingly for your new identifier. For each new identifier you may have to add this code with changes mentioned. String titleDC = rs.getString(Title); if (titleDC == null || titleDC.trim().length () == 0) { System.out.println(You have given null value for the Title dublin core element of + archiveFolderName + _ + initialDocumentNo);} else { outDC.write( dcvalue element=\title\ qualifier=\none\ ); outDC.write( titleDC); outDC.write(/dcvalue\n); } -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import UI
Hi All, Can anyone help me to implement Batch Import UI in DSpace please. Thanks, prthap Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/-- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import
Is there a way to run the indexer only in some objects? I wouldn't like to index all the database every time I import a new object. Thanks, Kiguti --- On Tue, 5/19/09, Jochen Lienhard lienh...@ub.uni-freiburg.de wrote: From: Jochen Lienhard lienh...@ub.uni-freiburg.de Subject: Re: [Dspace-tech] Batch Import To: Rodrigo Kiguti rkig...@yahoo.com Date: Tuesday, May 19, 2009, 3:07 AM There is nothing wrong. When you import using batch import the datas are written in the database, but not in the LUCENE index. This is done, when you run the indexer. And the search runs on the index. Greetings Jochen Rodrigo Kiguti schrieb: I am importing itens in DSpace using Batch Import, using: dsrun org.dspace.app.itemimport.ItemImport -a ... It is imported, I find it with the handle, but I can't find it in the search. But when I run dsrun org.dspace.search.DSIndexer I find it in the search. What's wrong? Regards, Kiguti -- Dr. rer. nat. Jochen Lienhard UB Universität Freiburg Dezernat EDV Tel: (0761) 203-3908 Email: lienh...@ub.uni-freiburg.de -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import
Hi Rodrigo, unless you use the -f option only not uptodate handles are indexed. To view all options run [dspace]/bin/dsrun org.dspace.search.DSIndexer -h Hope that helps Claudia Jürgen Rodrigo Kiguti schrieb: Is there a way to run the indexer only in some objects? I wouldn't like to index all the database every time I import a new object. Thanks, Kiguti --- On Tue, 5/19/09, Jochen Lienhard lienh...@ub.uni-freiburg.de wrote: From: Jochen Lienhard lienh...@ub.uni-freiburg.de Subject: Re: [Dspace-tech] Batch Import To: Rodrigo Kiguti rkig...@yahoo.com Date: Tuesday, May 19, 2009, 3:07 AM There is nothing wrong. When you import using batch import the datas are written in the database, but not in the LUCENE index. This is done, when you run the indexer. And the search runs on the index. Greetings Jochen Rodrigo Kiguti schrieb: I am importing itens in DSpace using Batch Import, using: dsrun org.dspace.app.itemimport.ItemImport -a ... It is imported, I find it with the handle, but I can't find it in the search. But when I run dsrun org.dspace.search.DSIndexer I find it in the search. What's wrong? Regards, Kiguti -- Dr. rer. nat. Jochen Lienhard UB Universität Freiburg Dezernat EDV Tel: (0761) 203-3908 Email: lienh...@ub.uni-freiburg.de -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import
I am importing itens in DSpace using Batch Import, using: dsrun org.dspace.app.itemimport.ItemImport -a ... It is imported, I find it with the handle, but I can't find it in the search. But when I run dsrun org.dspace.search.DSIndexer I find it in the search. What's wrong? Regards, Kiguti -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] batch import, nothing happening
Hi folks I'm running 1.5.1 on a Debian server and I'm attempting to run a batch import (just w/ 1 item and 4 files at the moment to test). I'm running the following command: dsrun org.dspace.app.itemimport.ItemImport --add --eperson=sj...@hampshire.edu --collection=1 --source=/tmp/dva0001 --mapfile=/tmp/dva0001_map.txt and nothing seems to be happening at all. There are no errors.. as the script runs the output looks normal and a map file is generated but the map file is empty and there is no entry in the item database. The /tmp/dva0001 directory contains a contents file which lists all 4 of the jpg files that are also in the directory (1 per line) and a dublin_core.xml file which is in the standard format of: dublin_core dcvalue element=title qualifier=noneA Tale of Two Cities/dcvalue dcvalue element=date qualifier=issued1990/dcvalue/dublin_core /dublin_core I'm thinking the problem may be due to some customizations in the metadata registry. Does anyone have any ideas or suggestions? Thanks -Sarah Ryder Web Development Hampshire College 413.559.5477 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import, nothing happening
Hi Sarah, you got the source file wrong. The source file must contain one directory per item to be imported. Try mkdir /tmp/testimport/item01 cp /tmp/dva0001/* /tmp/testimport/item01 then run dsrun org.dspace.app.itemimport.ItemImport -a -e sj...@hampshire.edu -collection=1 -s /tmp/testimport -mapfile /tmp/testimport_map.txt Hope that helps Claudia Jürgen Sarah Ryder schrieb: Hi folks I'm running 1.5.1 on a Debian server and I'm attempting to run a batch import (just w/ 1 item and 4 files at the moment to test). I'm running the following command: dsrun org.dspace.app.itemimport.ItemImport --add --eperson=sj...@hampshire.edu --collection=1 --source=/tmp/dva0001 --mapfile=/tmp/dva0001_map.txt and nothing seems to be happening at all. There are no errors.. as the script runs the output looks normal and a map file is generated but the map file is empty and there is no entry in the item database. The /tmp/dva0001 directory contains a contents file which lists all 4 of the jpg files that are also in the directory (1 per line) and a dublin_core.xml file which is in the standard format of: dublin_core dcvalue element=title qualifier=noneA Tale of Two Cities/dcvalue dcvalue element=date qualifier=issued1990/dcvalue/dublin_core /dublin_core I'm thinking the problem may be due to some customizations in the metadata registry. Does anyone have any ideas or suggestions? Thanks -Sarah Ryder Web Development Hampshire College 413.559.5477 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import, nothing happening
One, try running it with the test flag ( -t ) at the end of the command line. Two, your collection ought to look something like 12345/1, not just 1, where 12345 is the handle (12345789 is the default you use if you haven't set up your handle service yet, I think). --Tom _ Tom McGee Senior Digital Media Specialist Seton Hall University 400 South Orange Ave., South Orange, NJ 07079 973.275.2992 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import, nothing happening
Haha I definitely just had one of those moments where I had to slap myself in the forehead for not noticing that. Thanks for pointing that out! 8) -Sarah Ryder Web Development Hampshire College 413.559.5477 On Mon, 20 Apr 2009, Claudia Jürgen wrote: Hi Sarah, you got the source file wrong. The source file must contain one directory per item to be imported. Try mkdir /tmp/testimport/item01 cp /tmp/dva0001/* /tmp/testimport/item01 then run dsrun org.dspace.app.itemimport.ItemImport -a -e sj...@hampshire.edu -collection=1 -s /tmp/testimport -mapfile /tmp/testimport_map.txt Hope that helps Claudia Jürgen Sarah Ryder schrieb: Hi folks I'm running 1.5.1 on a Debian server and I'm attempting to run a batch import (just w/ 1 item and 4 files at the moment to test). I'm running the following command: dsrun org.dspace.app.itemimport.ItemImport --add --eperson=sj...@hampshire.edu --collection=1 --source=/tmp/dva0001 --mapfile=/tmp/dva0001_map.txt and nothing seems to be happening at all. There are no errors.. as the script runs the output looks normal and a map file is generated but the map file is empty and there is no entry in the item database. The /tmp/dva0001 directory contains a contents file which lists all 4 of the jpg files that are also in the directory (1 per line) and a dublin_core.xml file which is in the standard format of: dublin_core dcvalue element=title qualifier=noneA Tale of Two Cities/dcvalue dcvalue element=date qualifier=issued1990/dcvalue/dublin_core /dublin_core I'm thinking the problem may be due to some customizations in the metadata registry. Does anyone have any ideas or suggestions? Thanks -Sarah Ryder Web Development Hampshire College 413.559.5477 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import: multiple authors problem
Yes, I tried it. But the two authors are imported as one. I modified the source of MetaDataImport.java and I added the possibility to generate xml tags for three more colunms. I named the columns ContributorAuthor1, ContributorAuthor2, ContributorAuthor3, ContributorAuthor4 and the generated xml tag the same for each column: dcvalue element=contributor qualifier=author . So the authors added as separate entities. Thank you for your help and let me know if there is a more elegant way to do it. I thought that a cool idea would be to name the columns contributor-author, contributor-editor, contributor-advisor (to be able to extract the element from qualifier), and make a loop to run each column on each ResultSet. So no need for modifying the java code to add a new column! Regards, Panagiotis 2008/10/1 Blooma Mohan John [EMAIL PROTECTED] Hi In the author column in excel sheet give multiple author names as Rick Thomas #59; Rinny Tom. This would be displayed as Rick Thomas; Rinny Tom on dpsace interface. If you want to use other character set pl refer http://www.natural-innovations.com/wa/doc-charset.html Do let me know if you could get it work. thanks for trying out this solution. Regards, Blooma --- On *Wed, 1/10/08, Panagiotis Kontaxis [EMAIL PROTECTED]* wrote: From: Panagiotis Kontaxis [EMAIL PROTECTED] Subject: [Dspace-tech] Batch Import: multiple authors problem To: dspace-tech@lists.sourceforge.net Date: Wednesday, 1 October, 2008, 12:58 AM Hi! I 'm trying to import a lot of publications to a DSpace 1.4 installation. I've found this guide/solution: http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import My problem is that this solution don't allow me import a publication with multiple authors. In the xls file I can have only one column with one author! Have anyone meet the same problem? Also is there any other solution/guide to batch import items in DSpace? Thanks in advance for any help :-) Panagiotis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing [EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/dspace-tech -- Get an email ID as [EMAIL PROTECTED] or [EMAIL PROTECTED] Click here.http://in.rd.yahoo.com/tagline_dbid_4/*http://in.promos.yahoo.com/address - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import document
On Fri, Jul 25, 2008 at 08:04:42AM -0400, Bradley McLean wrote: On Jul 24, 2008, at 9:26 AM, Mark H. Wood wrote: Well, I hope to contribute code, so of course I need to document my work. If I need to learn DocBook to do that, I'll learn it -- I want to know DocBook anyway. I can't contribute directly to a Microsoft Office document, because there's no such thing as Microsoft Office for Linux, and Linux is my office platform. Then I think you'd be intrigued to hear that the .doc file becomes a .pdf file by passing through .odt in OpenOffice, and the particular copy of OpenOffice is running on a Linux desktop. Grin I'm aware that OO thinks it knows how to read MSOffice files. I'm also aware that the results of repeated MSO - OO -MSO trips are sometimes unfortunate, so I didn't want to suggest that. Too much is still unknown about the precise meanings in the bag of serialized OLE objects that is an MS Office document. That you get decent results by this route is impressive. Unfortunately, I can't think of a good way for us to collectively edit either a .doc or an .odt, so that presents a challenge. There's the real rub. Collaboration using office document files is typically serial: A does some work, passes the file to B, who does some work, passes the file back to A or on to C. What we have is (potentially) a hundred contributors all wanting to work on different parts of the document at the same time. That's why people keep bringing up DocBook and the like. These are plain-text formats. For such material there are good tools to manage parallel development and merge many updates into one result. Hmmm, it might be possible to do the same with ODF if it were uncompressed, but I don't know anyone who is doing that. No continuous process of documentation update was established at that time. As I mentioned in my prior message, we're looking to change that, and *this thread* is concrete evidence that we're doing so in a public fashion. Noted. Thank you. We are certainly overdue to produce a documentation update to permit a 1.5.1 release, and I can use any advice or help you (and anyone) is willing to offer. I think we're going to end up with another one time collation into a .doc - .odt (*) - .pdf due to timing constraints, and I hope that immediately after we'll be able to make a format change that enables another process to emerge. I think that calling a halt to doc update firefighting, at a reasonable point in the near future, and concentrating on developing a documentation process that can use the resources of the community well, is of great importance to the continuing success of DSpace. Yes, 1.5.1 needs to get out of the door. But after that, having a process is more urgent than a pile of small updates. Once we have the process, it becomes easy to coordinate lots of people each doing a couple of those small updates, all at the same time. Delegation is the key to getting a lot of work out of a large body of workers. I'm sorry that you feel that this isn't an open process. What would you have me write down at this stage? I think we're engaged in the evolution right now - and you and others are participating. Apparently there is some way to get changes to someone in some form that will cause those changes to appear in a future release of the docs. The way, the person(s), and the form should be written down and put on a page at www.dspace.org under a heading such as How to Contribute Documentation. It can be noted that this is an interim process. It's okay to not be finished -- most of us are aware that software is never complete until it is retired. Just capture what you currently do, and then we'll be able to work while improvements are being thought out. If there *is* such a page, I haven't found it, so perhaps it might be made more prominent. As for openness, here's how it has appeared from my perspective: o Surprise! The documentation is already being redone, in a format already selected, one alien to the tools available to me. It's nearly finished before I hear about it. o Surprise! It has been decided that the community-editable documentation will no longer ship with the source kit beginning with the next release, which is imminent. No method for documenting contributions beyond the next release is stated anywhere obvious. After we climb out of the current hole, when contemplating changes in process, the best approach might be to first announce (e.g. on dspace-tech) the reasons why current methods are inadequate and invite discussion of ways to address those inadequacies. I see the Foundation having an important role as instigator and moderator of such discussions, helping us to stay focused on the need. A herd of programmers, tech-writers, and users tends to wander off topic otherwise. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is
Re: [Dspace-tech] Batch Import document
You made a really good job with Your paper. But compared to the official HTML documentation You did not mention the 'language'-attribute. I still not know how to use it successfully, it makes the import process much more powerful. Greetings Robert Scott Phillips schrieb: DSpacers, It's a funny thing, the DSpace Batch Import Format (of which there are two) are not documented anywhere other than looking at the source code. We've run across the situation where a department has some content to put into the repository and the resources to create a batch import, but just don't know how to do it. To solve this problem, we've created a simple hand out to provide to a programmer or technical person in another department or group when they want to develop their own batch import script. While it doesn't cover the advanced topics, like registering bitstreams etc, nor dose it go over the package importer, it should solve the problem for the vast majority of cases where someone needs to create a batch import. I thought this might be useful to others out there, the only other resource on creating batch imports I was able to find is Dorothea's blog: http://cavlec.yarinareth.net/2008/01/07/the-dspace-batch- importer/. Here is our handout: https://www.tdl.org/documents/DSpaceBatchImportFormat.pdf Scott-- -- === Robert Roggenbuck Universitaetsbibliothek Osnabrueck Germany === - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import document
DSpacers, It's a funny thing, the DSpace Batch Import Format (of which there are two) are not documented anywhere other than looking at the source code. We've run across the situation where a department has some content to put into the repository and the resources to create a batch import, but just don't know how to do it. To solve this problem, we've created a simple hand out to provide to a programmer or technical person in another department or group when they want to develop their own batch import script. While it doesn't cover the advanced topics, like registering bitstreams etc, nor dose it go over the package importer, it should solve the problem for the vast majority of cases where someone needs to create a batch import. I thought this might be useful to others out there, the only other resource on creating batch imports I was able to find is Dorothea's blog: http://cavlec.yarinareth.net/2008/01/07/the-dspace-batch- importer/. Here is our handout: https://www.tdl.org/documents/DSpaceBatchImportFormat.pdf Scott-- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import document
Nice job, Scott (and others who helped)! Now the obvious question: Can we get this wrapped up into the normal DSpace Documentation? :) - Tim Scott Phillips wrote: DSpacers, It's a funny thing, the DSpace Batch Import Format (of which there are two) are not documented anywhere other than looking at the source code. We've run across the situation where a department has some content to put into the repository and the resources to create a batch import, but just don't know how to do it. To solve this problem, we've created a simple hand out to provide to a programmer or technical person in another department or group when they want to develop their own batch import script. While it doesn't cover the advanced topics, like registering bitstreams etc, nor dose it go over the package importer, it should solve the problem for the vast majority of cases where someone needs to create a batch import. I thought this might be useful to others out there, the only other resource on creating batch imports I was able to find is Dorothea's blog: http://cavlec.yarinareth.net/2008/01/07/the-dspace-batch- importer/. Here is our handout: https://www.tdl.org/documents/DSpaceBatchImportFormat.pdf Scott-- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Tim Donohue Research Programmer, Illinois Digital Environment for Access to Learning and Scholarship (IDEALS) University of Illinois at Urbana-Champaign [EMAIL PROTECTED] | (217) 333-4648 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import document
Nice documentation Scott! Cheers! Jayan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Phillips Sent: Tuesday, July 22, 2008 2:21 AM To: DSpace Developer List; DSpace Tech-List Subject: [Dspace-tech] Batch Import document DSpacers, It's a funny thing, the DSpace Batch Import Format (of which there are two) are not documented anywhere other than looking at the source code. We've run across the situation where a department has some content to put into the repository and the resources to create a batch import, but just don't know how to do it. To solve this problem, we've created a simple hand out to provide to a programmer or technical person in another department or group when they want to develop their own batch import script. While it doesn't cover the advanced topics, like registering bitstreams etc, nor dose it go over the package importer, it should solve the problem for the vast majority of cases where someone needs to create a batch import. I thought this might be useful to others out there, the only other resource on creating batch imports I was able to find is Dorothea's blog: http://cavlec.yarinareth.net/2008/01/07/the-dspace-batch- importer/. Here is our handout: https://www.tdl.org/documents/DSpaceBatchImportFormat.pdf Scott-- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import document
On Jul 21, 2008, at 1:39 PM, Mark H. Wood wrote: On Mon, Jul 21, 2008 at 01:11:01PM -0700, Mark Diggory wrote: I recommend working with Brad to get this in to their loop. We're getting ready to drop the html documentation in the source and replace it with a PDF export from the Foundations documentation processes. Recommendation noted, but what *are* the Foundation's documentation processes? Well, I think I'll leave it to the Foundation should comment on that. Currently they provided editing and coordination to put together the new 1.5.0 documentation last Spring. Currently we are trying to remove duplicate processes that create documentation in the source tree and the www.dspace.org published website. Cheers, Mark - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import and Namespaces
Hi Don, thanks for You reply. Sorry for my late response, but the XML-import seems to me at first as a more official way to do it then using the csv-package. And so I tried it as first. Now I see both ways have their advantages and disadvantages (not surprisingly), and I took up Your thread and looked into ItemImport.java. I succeeded! The changes I made are below. To add the 'schema'-attribute to every dcvalue tag if needed the 'fls.php' needs also some little changes. They are also noted below. The disadvantage of this method is that every imported metadata value gets a default language qualification. And in most cases it makes no sense (eg. dates, index numbers or names) or it is wrong (from a keyword list). The metadata generated by DSpace don't have these qualifiers (it is set to '-'). Best Regards Robert - fls.php: function create_tag($schema, $identifier, $qualifier, $value){ $schemaAttrib = ; if ($schema != 'dc') { $schemaAttrib = schema=\$schema\; } $dc_tag = dcvalue$schemaAttrib element=\$identifier\ qualifier=\$qualifier\$value/dcvalue; return $dc_tag; } # and the call it with the additional first parameter (two times): #create_tag($dc[0],$dc[1],$dc[2], ...) ItemImport.java: /* Node schemaAttr = metadata.item(0).getAttributes().getNamedItem( schema); if (schemaAttr == null) { schema = MetadataSchema.DC_SCHEMA; } else { schema = schemaAttr.getNodeValue(); } */ Node schemaAttr; // Add each one as a new format to the registry for (int i = 0; i dcNodes.getLength(); i++) { schemaAttr = dcNodes.item(i).getAttributes().getNamedItem(schema); if (schemaAttr == null) { schema = MetadataSchema.DC_SCHEMA; } else { schema = schemaAttr.getNodeValue(); } Node n = dcNodes.item(i); addDCValue(myitem, schema, n); } Don Gourley schrieb: Robert, The problem is that a bug in ItemImport prevents you from mixing different schemas in the same dublin_core.xml file. The loadDublinCore method gets the schema from the first dcvalue tag and reuses it for every metadata element. But it is a pretty easy Java fix to move 'schema = schemaAttr.getNodeValue();' from outside the loop that traverses the dcNodes list to inside that loop so it is retrieved for each metadata element if you need to mix schemas. (Sorry, I don't have a patch because we use a more substantially rewritten ItemImport for other customizations.) -Don - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import and Namespaces
Hi Christophe, Yes and no. You mean the encoding setting in the XSLT, didn't You? In the input file there is no encoding. After doing so, the import process can start, but I get a Java message that my access to the PostgreSQL via the user 'dspace' is denied: **Test Run** - not actually importing items. Exception in thread main org.postgresql.util.PSQLException: FATAL: Passwort-Authentifizierung f��r Benutzer ��dspace�� fehlgeschlagen at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275) [snip] Are there additional parameters to set the password at the commandline? Via pgAdmin III I get access as db-user 'dspace' to the database. You wrote: If you load manually multi-files documents into DSpace, what do you have (or what do you want)? Multiple bitstreams in a bundle? Multiple bundles? We want to set up a new thesis database (as a first step to a bigger repository). And for 1 thesis there are usually 2 files: a PDF version and a compressed file bundle containing the original sources (eg. MS-Word or TeX) and sometimes statistical raw material, graphics etc. so we need 1 metadata set and 2 associated files. What are the values of the name field of the bundles of the different files? Which name field? Should dim:original contain further attributes? Best regards Robert Dupriez Christophe schrieb: Hi Robert! I am pretty sure that one problem is with the declared encoding of the input file. Could you put: ?xml version=1.0 encoding=iso-8859-1? and retry? Christophe Robert Roggenbuck [EMAIL PROTECTED] a écrit : attached is my dim... Greetings Robert Dupriez Christophe schrieb: Thanks, I am checking... but would you be so kind to send me an extract of your input file? Christophe 6 2000.07.20/12:17:11 2000.09.08/17:03:13 fangmeier FB5 a Hepp, Alexander Isolobale Substitution in Tetraphosphortrisulfid und in seinen Derivaten ger In dieser Arbeit wird der Einfluß von exo- und endocyclischen isolobalen Substitutionenin A4E3, P5E2X, beta-P4E3IR und alpha-P4E3XY untersucht (A=P und/oder As, E =S und/oder Se, X=Halogen, R=CHI2, Y=Halogen.) Die einzelnen Verbindungsklassen wurden synthetisiert und die 31P und 77Se-NMR-Werte bestimmt. Die ermittelten 31P/77Se-NMR-Daten und die 31P/77Se-NMR-Daten aus der Literatur bildeten die Grundlagen zur Untersuchung des Einflusses der isolobalen Substitution. Dazu werden die Elektronegativität der Liganden, Bindungswinkel und die 31P/77Se-NMR-Parameter miteinander in Beziehung gebracht. Dabei wurde ein linearer Zusammenhang zwischen Bindungswinkeln und chemischer Verschiebung bzw. Kopplungskonstanten in den A4E3-Verbindungen beobachtet. Des weiteren konnten lineare Zusammenhänge zwischen der Elektronegativität der exocyclischen Liganden (meist Halogene)und bestimmten NMR-Werten gefunden werden. Beide Phänomene konnten zurückgeführt werden auf den s-Anteil der Bindungen und/oder die Elektronendichte der betrachteten Kerne. Des weiteren wird eine Übersicht der Präparationsmethoden und eine einheitliche Benennung der Kerne in den Phosphorchalkogengerüsten vorgestellt. Die 31P/77Se-NMR-Daten der vorgestellten Phosphorchalkogenide werden im Anhang nach Strukturklassen geordnet aufgeführt (ca. 500 Verbindungen). Keywords: Phosphor, Selen, Schwefel, Iod, Brom, Chlor, Arsen, NMR, 31P, 77Se, Tetraphosphortrisulfid, P4S3, alpha-Tetraphosphortrichalkogendihalogenid, alpha-P4S3I2,beta-Tetraphosphortrichalkogendihalogenid, beta-P4S3I2, Pentaphospordichalkogenhalogenid, P5S2I, Elektronegativität, Hybridisierung, Fermi-Kontakt-Term diss Isolobale substitution in tetraphosphortrisulfide and its derivatives eng ger 20.03.1998 Prof. Dr. Roger Blachnik Prof. Dr. Roger Blachnik Dr. habil. Konstantin Karaghiosoff http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_hepp.tar.gz http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_Int_Hepp.pdf 1880231 2760496 2000.09.08/17:03:12 2000.09.08/17:03:13 http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_hepp.tar.gz http://elib.ub.uni-osnabrueck.de/publications/diss/E-Diss6_Int_Hepp.pdf 7 2000.07.20/12:48:17 2000.09.26/09:15:35 fangmeier FB5 a Lutz, Jörg 31P-NMR-spektroskopische Untersuchungen von Heterocyclen mit alpha-P4S3-, alpha-P4Se3- und P3Se4-Gerüst ger Diese Arbeit beschäftigt sich mit der Untersuchung der Ligandeneinflüsse bei Verbindungen mit alpha-P4S3-, alpha-P4Se3- und P3Se4-Gerüst. Dazu wurden die Verbindungen alpha-P4S3L2 (L = N(C3H7)(C6H5), NC9H10, SeCH3, SeC6H5),alpha-P4Se3L2 (L = NH(C6H5), N(CH3)(C6H5), N(C2H5)(C6H5), N(C3H7)(C6H5),NC9H10, SCH3, SeCH3) und P3Se4L (L = NH(C6H5), NH(C13H9), NH(C25H19),N(CH3)(C6H5), N(C2H5)(C6H5), N(C3H7)(C6H5), NC9H10, SCH3, SeCH3, SeC6H5)synthetisiert und die 31P-NMR-Parameter bestimmt. Durch Vergleich mit31P-NMR-Daten aus der Literatur konnten die
Re: [Dspace-tech] Batch Import and Namespaces
Yes, that was it - nearly: But to 'ant' it successfully I can not remove the method formShortKey() because it is used in Item.java. Fortunately there is no problem with it, because the number of parameters are correct. But the next problem arrives with my ingest. I call /dspace/bin/dsrun org.dspace.content.crosswalk.XSLTingest -a -x DIMDIM -e [EMAIL PROTECTED] -c 123456789/3 -s dim_for_import.xml -m import071113.map --test and I get as answer: **Test Run** - not actually importing items. Error, cannot find an IngestionCrosswalk plugin for: DIMDIM I introduced the crosswalk with its XSLT in dspace.conf (as suggested) by crosswalk.submission.DIMDIM.stylesheet = crosswalks/DIM-submission.xsl As long as I see in the Wiki page of ItemBatchUpdate there is nothing else to do to register the plugin. What to do next? A second question to the DIM format: Can the tag dim:original occur more then once? And can I place a URL in it? Best regards Robert Dupriez Christophe schrieb: To cut the modification chain, I suggest you to remove the three functions calling MetadataField.formkey: toString(), formShortKey(), formLanguageKey(): those are part of a much bigger modifications set to enable multi-lingual input in the DSpace submission process. I hope now it will make it! Christophe Robert Roggenbuck [EMAIL PROTECTED] a écrit : Thanks, that helped. But it still not compiles. Am I right that You also modified MetadataValue.java?: ### compile: [javac] Compiling 5 source files to /opt/dspace-1.4.2-source/build/classes [javac] /opt/dspace-1.4.2-source/src/org/dspace/content/DCValue.java:109: formKey(java.lang.String,java.lang.String,java.lang.String) in org.dspace.content.MetadataField cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.lang.String) [javac] return MetadataField.formKey(schema,element,qualifier,language)+(value==null?:=+value); [javac] ^ [javac] /opt/dspace-1.4.2-source/src/org/dspace/content/DCValue.java:117: formKey(java.lang.String,java.lang.String,java.lang.String) in org.dspace.content.MetadataField cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.lang.String) [javac] return MetadataField.formKey(schema,element,qualifier,language); [javac] ^ [javac] 2 errors BUILD FAILED /opt/dspace-1.4.2-source/build.xml:125: Compile failed; see the compiler error output for details. ### Best regards Robert -- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import and Namespaces
Hi Christophe, there is no trailing space at the configuration line. And the DIM-submission.xsl is placed in [dspace-src]/config/crosswalks/ and [dspace]/config/crosswalks/. In both cases it is readable and executable for everyone... Greetings Robert - Dupriez Christophe schrieb: Hi Robert! You are sure there is no space at the end of the Crosswalk configuration line (common error in DSpace configuration) ? The XSLT file is in place? Have a nice afternoon, Christophe Robert Roggenbuck [EMAIL PROTECTED] a écrit : Yes, that was it - nearly: But to 'ant' it successfully I can not remove the method formShortKey() because it is used in Item.java. Fortunately there is no problem with it, because the number of parameters are correct. But the next problem arrives with my ingest. I call /dspace/bin/dsrun org.dspace.content.crosswalk.XSLTingest -a -x DIMDIM -e [EMAIL PROTECTED] -c 123456789/3 -s dim_for_import.xml -m import071113.map --test and I get as answer: **Test Run** - not actually importing items. Error, cannot find an IngestionCrosswalk plugin for: DIMDIM I introduced the crosswalk with its XSLT in dspace.conf (as suggested) by crosswalk.submission.DIMDIM.stylesheet = crosswalks/DIM-submission.xsl As long as I see in the Wiki page of ItemBatchUpdate there is nothing else to do to register the plugin. What to do next? A second question to the DIM format: Can the tag occur more then once? And can I place a URL in it? Best regards Robert Dupriez Christophe schrieb: To cut the modification chain, I suggest you to remove the three functions calling MetadataField.formkey: toString(), formShortKey(), formLanguageKey(): those are part of a much bigger modifications set to enable multi-lingual input in the DSpace submission process. I hope now it will make it! Christophe Robert Roggenbuck a écrit : Thanks, that helped. But it still not compiles. Am I right that You also modified MetadataValue.java?: ### compile: [javac] Compiling 5 source files to /opt/dspace-1.4.2-source/build/classes [javac] /opt/dspace-1.4.2-source/src/org/dspace/content/DCValue.java:109: formKey(java.lang.String,java.lang.String,java.lang.String) in org.dspace.content.MetadataField cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.lang.String) [javac] return MetadataField.formKey(schema,element,qualifier,language)+(value==null?:=+value); [javac] ^ [javac] /opt/dspace-1.4.2-source/src/org/dspace/content/DCValue.java:117: formKey(java.lang.String,java.lang.String,java.lang.String) in org.dspace.content.MetadataField cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.lang.String) [javac] return MetadataField.formKey(schema,element,qualifier,language); [javac] ^ [javac] 2 errors BUILD FAILED /opt/dspace-1.4.2-source/build.xml:125: Compile failed; see the compiler error output for details. ### Best regards Robert -- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -- === Robert Roggenbuck Universitaetsbibliothek Osnabrueck Alte Muenze 16 D-49074 Osnabrueck Germany Tel ++49/541/969-4344 Fax -4482 [EMAIL PROTECTED] Postbox: Postfach 4496 D-49034 Osnabrueck === - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import and Namespaces
Dupriez Christophe schrieb: dim:original assumes type=unique... I never had to load multiple files (except from ORIGINAL and TEXT) so I did not went further on this aspect... I suppose something like dim:annex would have to be developped... Would it be a solution to import additional files in a second import step, where the metadata sections are only containing the unique identifier and the additional file like dim:dim xmlns:dim=http://www.dspace.org/xmlns/dspace/dim; dspaceType=ITEM dim:field mdschema=dc element=identifier type=key6/dim:field dim:originaldiss.tar.gz/dim:original /dim:dim Or will that remove the previous imported file from the repository? ...And what about the usage of a URL in dim:original? Greetings Robert Robert Roggenbuck [EMAIL PROTECTED] a écrit : Yes, that was it - nearly: But to 'ant' it successfully I can not remove the method formShortKey() because it is used in Item.java. Fortunately there is no problem with it, because the number of parameters are correct. But the next problem arrives with my ingest. I call /dspace/bin/dsrun org.dspace.content.crosswalk.XSLTingest -a -x DIMDIM -e [EMAIL PROTECTED] -c 123456789/3 -s dim_for_import.xml -m import071113.map --test and I get as answer: **Test Run** - not actually importing items. Error, cannot find an IngestionCrosswalk plugin for: DIMDIM I introduced the crosswalk with its XSLT in dspace.conf (as suggested) by crosswalk.submission.DIMDIM.stylesheet = crosswalks/DIM-submission.xsl As long as I see in the Wiki page of ItemBatchUpdate there is nothing else to do to register the plugin. What to do next? A second question to the DIM format: Can the tag occur more then once? And can I place a URL in it? Best regards Robert - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch Import and Namespaces
Hi Christophe! Going through the given Wiki-page and the related articles about Metadata ans Stylesheets it seems not possible to apply the ItemBatchUpdate to any of the XML-files generated by 'csv_import'. But since I have no fixed format of my input data (it resides in a RDBMS and I am responsible for the data export via self made Perl skripts) I will export the data in DIM-XML. But which Java class I need to run with 'dsrun' to do the import? Surely not 'org.dspace.content.crosswalk.XSLTingest' as described in http://wiki.dspace.org/index.php/ItemBatchUpdate . Greetings Robert Christophe Dupriez schrieb: Hi Robert! I can propose you my work on this: http://wiki.dspace.org/index.php/ItemBatchUpdate Have a nice day! Christophe Robert Roggenbuck a écrit : Hi all, I'd like to import several documents and their meta data into DSpace. I found the preparation tool 'csv_import' by Mika Stenberg and the import description at http://www.dspace.org/index.php?option=com_contenttask=viewid=144#importingitems . According to the description of this tools all used meta data elements (= field names) used in the CSV must be declared first in a meta data scheme of the collection to which the data should be imported. For our application I defined several new meta data elements and a second namespace too (besides the default 'dc' namespace (Dublin Core core elements) I introduced the 'dct' (Dublin Core Types) too). My problem is now, that the import via 'dsrun org.dspace.app.itemimport.ItemImport' is not able to handle more then 1 schema (besides the problem that I don't see any possibility to change the default 'dc' to an alternative scheme). Does someone came across the same situation? Does someone knows a way to do it? Best regards Robert - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch Import and Namespaces
Hi all, I'd like to import several documents and their meta data into DSpace. I found the preparation tool 'csv_import' by Mika Stenberg and the import description at http://www.dspace.org/index.php?option=com_contenttask=viewid=144#importingitems . According to the description of this tools all used meta data elements (= field names) used in the CSV must be declared first in a meta data scheme of the collection to which the data should be imported. For our application I defined several new meta data elements and a second namespace too (besides the default 'dc' namespace (Dublin Core core elements) I introduced the 'dct' (Dublin Core Types) too). My problem is now, that the import via 'dsrun org.dspace.app.itemimport.ItemImport' is not able to handle more then 1 schema (besides the problem that I don't see any possibility to change the default 'dc' to an alternative scheme). Does someone came across the same situation? Does someone knows a way to do it? Best regards Robert -- === Robert Roggenbuck Universitaetsbibliothek Osnabrueck Germany === - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch-import tool with review function
Thanks. It solved the problem. -Obi | -Opprinnelig melding- | Fra: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] På vegne | av Claudia Jürgen | Sendt: 8. oktober 2007 13:17 | Til: Obiajulu Odu | Kopi: dspace-tech@lists.sourceforge.net | Emne: Re: [Dspace-tech] Batch-import tool with review function | | | Hello Obiajulu, | | if you add the --workflow option to the item import command, | the items | will be routed through the workflow of the collection. | | hope that helps | | Claudia Jürgen | | | Obiajulu Odu schrieb: | Hi, | When I run the batch-import tool, the items are | automatically approved | and published. But, we want all the imported items to be | subjected to | a review and approval process before publishing/www access. Does | anybody know how I can make some changes to make it work | (DSpace1.4.x)? | | Thanks. | Obi | | | | | | -- | -- | | | -- | --- | This SF.net email is sponsored by: Splunk Inc. | Still grepping through log files to find problems? Stop. | Now Search log events and configuration files using AJAX | and a browser. | Download your FREE copy of Splunk now http://get.splunk.com/ | | | | -- | -- | | ___ | DSpace-tech mailing list | DSpace-tech@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/dspace-tech | | -- | --- | This SF.net email is sponsored by: Splunk Inc. | Still grepping through log files to find problems? Stop. | Now Search log events and configuration files using AJAX and | a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch import error
Hi, i have entered a new schema in dspace and use Batch inport tool to enter items and metadata values using both DC and MySchema. During batch import when parsing the first metadata field of MySchema in dublin_core.xml i'm getting : java.sql.SQLException: bad_dublin_core SchemaID=1, isReferencedBy null at org.dspace.content.Item.update(Item.java:1463) at org.dspace.content.InstallItem.installItem(InstallItem.java:146) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:663) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415) java.sql.SQLException: bad_dublin_core SchemaID=1, isReferencedBy null the schema id of MySchema is not 1 as reported above but 3. Furthermore, the schema element in dublin_core.xml has the right value MySchema but the tool recognizes only the basic DC schema because when i define the same field in DC the tool works fine even if the schema element has MySchema value. Is there any known bug or something that i did wrong? Thanks. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import error
If I understand correctly, the ItemImport tool wants a separate xml file for each metadata schema. I don't really like this approach, so what I did was to implement a little hack in the ItemImport.java file (org/dspace/app/itemimport/ItemImport.java). In the addDCValue method, above this line: String element = getAttributeValue(n, element); I added the following block: String new_schema = getAttributeValue(n, schema); if(new_schema != null){ schema = new_schema; } This allowed me to use multiple schemas in a single file. Brian Helm Programmer Information Technology Division UK Libraries Phone: 859-257-0500 X 2106 Fax: 859-257-0505 E-mail: [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hlias Stavrakis Sent: Wednesday, September 05, 2007 9:56 AM To: dspace-tech Tech Subject: [Dspace-tech] Batch import error Hi, i have entered a new schema in dspace and use Batch inport tool to enter items and metadata values using both DC and MySchema. During batch import when parsing the first metadata field of MySchema in dublin_core.xml i'm getting : java.sql.SQLException: bad_dublin_core SchemaID=1, isReferencedBy null at org.dspace.content.Item.update(Item.java:1463) at org.dspace.content.InstallItem.installItem(InstallItem.java:146) at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:663) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415) java.sql.SQLException: bad_dublin_core SchemaID=1, isReferencedBy null the schema id of MySchema is not 1 as reported above but 3. Furthermore, the schema element in dublin_core.xml has the right value MySchema but the tool recognizes only the basic DC schema because when i define the same field in DC the tool works fine even if the schema element has MySchema value. Is there any known bug or something that i did wrong? Thanks. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Batch import from Excel / Open Office CSV file
My new php script allowing easy import of metadata and files via CSV files created from Excel, OpenOffice etc. is now available at: http://tds.terkko.helsinki.fi/utils/ Frankly, I find this the easiest way to import large sets of data to our Dspace. The script requires PHP to work (old versions would propably do, Im using 4 and 5 though) and wget or similar if you want to submit files directly from the Internet. Let me know what you think, any comments and suggestion are appreciated. -Mika - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech