./dsrun org.dspace.app.itemimport.ItemImport -a -e [email protected] -c
10057/2082 -s /mnt/usbflash/CEE_THESES/CEE_THESES_1 -m mapfileCEE_THESES_1

Can test by just giving s /mnt/usbflash/CEE_THESES rather than s
/mnt/usbflash/CEE_THESES/CEE_THESES_1

Jayan

On Wed, Sep 2, 2009 at 8:59 PM, Khan, Baseer <[email protected]>wrote:

> Hello ,
> I have tested the dsrun command on my production server , I am using Dspace
> 1.4.2.
> This is command which I executed from /dspace/bin and the output was
> following
>
>
> ./dsrun org.dspace.app.itemimport.ItemImport -a -e [email protected] -c
> 10057/2082 -s /mnt/usbflash/CEE_THESES/CEE_THESES_1 -m mapfileCEE_THESES_1
> Destination collections:
> Owning  Collection: Waconda Lake
> Adding items from directory: /mnt/usbflash/CEE_THESES/CEE_THESES_1
> Generating mapfile: mapfileCEE_THESES_1
>
> The strange thing I noticed here was it was creating a file in /dspace/bin
> and the file size is 0.
> Is there any other thing I need to do after mapfile .
> Should the mapfile command  follow the name of the collection where the
> file is being loaded or the name of the file .
>
> Thank you,
> Baseer.
>
>
>
> -----Original Message-----
> From: Stuart Lewis [mailto:[email protected]]
> Sent: Monday, August 31, 2009 4:02 PM
> To: Khan, Baseer
> Cc: [email protected]
> Subject: Re: [Dspace-tech] Bulk-import-data
>
> Hi Baseer,
>
> Are you using 1.5.2? If so, this looks it might be related to creating the
> map file.
>
>  - What command are you using to run the importer?
>  - Is any other output displayed? E.g. Generating mapfile: XYZ
>
> Thanks,
>
>
> Stuart Lewis
> IT Innovations Analyst and Developer
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: 64 9 373-7599 x81928
> http://www.library.auckland.ac.nz/
>
>
>
> On 1/09/09 5:22 AM, "Khan, Baseer" <[email protected]> wrote:
>
> > Thank you all for helping me out with this issue ,
> > the programme is modified and generates dublin code ,
> > The issue i have here now is when i run the command to import in Dsapce
> using
> > dsrun , it throws an error like
> >
> > java.lang.NullPointerException
> >         at
> org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
> >         at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
> > java.lang.NullPointerException
> >
> >
> > Does anyone have any idea what is this error , i tried using with Java
> 1.4.2
> > and Java 1.6 .
> > Thank you,
> > Baseer.
> >
> > ________________________________________
> > From: Khan, Baseer
> > Sent: Friday, August 28, 2009 4:27 PM
> > To: Jayan Kurian
> > Cc: [email protected]
> > Subject: RE: [Dspace-tech] Bulk-import-data
> >
> > Hello ,
> > I have successfully installed the Summer code and tested it on the sample
> file
> > and it works great .
> > Now the question I have is I have a excel  file in which the arguments of
> the
> > source file ( which is cEJ) are different , I have tweaked the code by
> > changing the identifiers but it did not work .
> > Can you tell me what additional changes I have to make to the code to
> make it
> > running for my file .
> > For your reference I am adding the file in this message.
> >
> > Thank you,
> > Baseer.
> >
> > From: Jayan Kurian [mailto:[email protected]]
> > Sent: Thursday, August 27, 2009 7:43 PM
> > To: Khan, Baseer
> > Cc: [email protected]
> > Subject: Re: [Dspace-tech] Bulk-import-data
> >
> > http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
> > Hope this helps
> >
> > Jayan
> > On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
> > <[email protected]<mailto:[email protected]>> wrote:
> >
> > Hello ,
> >
> > I need to bulk import data into Dspace ,
> >
> > Is there any possible ways of doing it other than manually doing it one
> by one
> > .
> >
> > I read about the data import in Dspace documentation but it does for a
> > individual entry in collection and the input format is in Dublin code .
> >
> > My question is , is there a way that we can bulk import data in any
> format in
> > Dspace with any script ?
> >
> > Baseer.
> >
> >
> ------------------------------------------------------------------------------
> > 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
> > [email protected]<mailto:
> [email protected]>
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to