I included an echo of the my "dspace import" parameters.  I did not include
"dspace" in the echo.

In your contents file, try using "bundle:ORIGINAL" instead of "Bundle:
ORIGINAL".

Terry

On Tue, Dec 2, 2014 at 8:58 AM, P.Hadadan (NW) <p.hada...@notionwave.com>
wrote:

> Dears,
>
>
>
> Unfortunately I can’t import any Item L.
>
>
>
> After unsuccessful importing, I do linux Dspace (ubuntu 14.04 LTS,Postgre)
> fresh installation and try it.
>
> Command:
>
>  /dspace/bin/dspace import -a -e knitosp...@gmail.com -c 123456789/8826
> -s /home/administrator/dspace-ingest -m
> /home/administrator/dspace-ingest/Importlog
>
>
>
> Log:
>
> Destination collections:
>
> Owning  Collection: import collection
>
> Adding items from directory: /home/administrator/dspace-ingest
>
> Generating mapfile: /home/administrator/dspace-ingest/Importlog
>
> Started: 1417525165741
>
> Ended: 1417525165941
>
> Elapsed time: 0 secs (200 msecs)
>
>
>
> The line after Generating mapfile… did not appear ! mapfile also is empty
> (size:0). The importing folder attached.
>
>
>
> Terry, Your command did not start by dspace why? What is your dspace
> version? I use dspace-4.2-src-release.
>
>
>
> How to develop manually for importing an item to collection?
>
>
>
>
>
>
>
> *From:* Terry Brady [mailto:terry.br...@georgetown.edu]
> *Sent:* Wednesday, November 26, 2014 7:44 PM
> *To:* P.Hadadan (NW)
> *Subject:* Re: [Dspace-tech] Importing command did not work
>
>
>
> Here are my results (excluding PubMed metadata).  Since I do not have the
> PubMed schema registered, I could not load that file.  I believe you will
> want to name it metadata_PubMed.xml.
>
>
>
> Command: import -a -e terry.br...@georgetown.edu -c 10822.1/707103 -s 
> /var/data/dspace/dspace-ingest/article3 -m 
> /var/www/batch-tools/mapfile/20141125_12.22.51
>
> Destination collections:
>
> Owning  Collection: 2014 October Terry
>
> Adding items from directory: /var/data/dspace/dspace-ingest/article3
>
> Generating mapfile: /var/www/batch-tools/mapfile/20141125_12.22.51
>
> Adding item from directory article
>
>         Loading dublin core from 
> /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml
>
>         Schema: dc Element: title Qualifier: none Value: Amirkabir 
> International Journal of Electrical _ Electronics Engineering
>
>         Schema: dc Element: date Qualifier: issued Value: 2009
>
>         Processing contents file: 
> /var/data/dspace/dspace-ingest/article3/article/contents
>
>         Bitstream: A Fast Localization and Feature Extract_.pdf      Bundle: 
> ORIGINAL
>
>         Bitstream: A Fast Localization and Feature Extract_.xml      Bundle: 
> ORIGINAL
>
> Processing handle file: handle
>
> It appears there is no handle file -- generating one
>
> 0 article
>
>
>
> Here is my ingest folder structure...
>
>
>
> [dspace@dspace-dev-1 ~]$ find /var/data/dspace/dspace-ingest/article3 -type f 
> -p
>
> rint
>
> /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and 
> Feature Extract_.pdf
>
> /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and 
> Feature Extract_.xml
>
> /var/data/dspace/dspace-ingest/article3/article/contents
>
> /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml
>
> I hope this helps.  Once you get one item to load, the rest are very easy!
>
>
>
> Terry
>
>
>
> On Wed, Nov 26, 2014 at 6:09 AM, P.Hadadan (NW) <p.hada...@notionwave.com>
> wrote:
>
> By following this step, unfortunately my problem did not solved. Mapfile
> also is empty.
>
> I work on Dspace version 4.2 . how to resolve problem without any log?
> Requires certain settings? Are you using below command?
>
> dspace import --add --eperson=a...@b.com --collection=123456789/74
> --source=c:\Temp\article --mapfile=c:\Impoort
>
> the metadata_[PubMed].xml file contain metadata base on registered schema (
> http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd) for
> concurrent importing, not for add to repository.My reference is
> https://wiki.duraspace.org/display/DSDOC4x/Importing+and+Exporting+Items+via+Simple+Archive+Format
>
>
>
> *From:* Terry Brady [mailto:terry.br...@georgetown.edu]
> *Sent:* Tuesday, November 25, 2014 9:00 PM
> *To:* P.Hadadan (NW); dspace-t...@lists.sourceforge.net
>
>
> *Subject:* Re: [Dspace-tech] Importing command did not work
>
>
>
> I realized that I did not CC the list on my last reply.  I am including
> the list.
>
>
>
> Looking at your sample zip file, I was able to add the item to my test
> repository by making the following changes.
>
>
>
> 1. rename contents.txt to contents
>
> 2. for each line in the contents file, add <tab>bundle:ORIGINAL
>
> 3. Make sure that you upload the items in a containing folder (one folder
> per item to be added)
>
> 4. Eliminate the metadata_[PubMed].xml file unless you intend to add it to
> the repository (in which case you will need to add it to contents)
>
>
>
> A Fast Localization and Feature Extract_.pdf     bundle:ORIGINAL
>
> A Fast Localization and Feature Extract_.xml     bundle:ORIGINAL
>
>
>
> Terry
>
>
>
> On Tue, Nov 25, 2014 at 5:29 AM, P.Hadadan (NW) <p.hada...@notionwave.com>
> wrote:
>
> Dear Terry,
>
>
>
> Thanks in advance,
>
> My source folder attached. I use below command in command line:
>
> “dspace import --add --eperson=a...@b.com --collection=123456789/74
> --source=c:\Temp\article\ --mapfile=c:\Impoort.txt”
>
>
>
>
>
> *From:* Terry Brady [mailto:terry.br...@georgetown.edu]
> *Sent:* Monday, November 24, 2014 10:16 PM
> *To:* P.Hadadan (NW)
> *Subject:* Re: [Dspace-tech] Importing command did not work
>
>
>
> What are the contents of your source folder?
>
>
>
> Do you intend to add the XML file you described as a bitstream or is it
> intended to be item metadata?
>
>
>
> I have typically used this command to import an image file or pdf with
> accompanying dublin core metadata.  In those instances, my ingest folder
> contains a "contents" file and a dublin_core.xml file along with the
> image/pdf.
>
>
>
> On Sun, Nov 23, 2014 at 3:57 AM, P.Hadadan (NW) <p.hada...@notionwave.com>
> wrote:
>
>
>
> Dear All,
>
>
>
> “dspace import --add --eperson=a...@b.com --collection=123456789/74
> --source=c:\Temp\article\ --mapfile=c:\Impoort”
>
>
>
> I use this command for importing an Item to Dspace, but without any error
> Item did not import, also mapfile is empty.
>
> Item is a xml file contain :
>
>
>
> <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE ArticleSet PUBLIC
> "-//NLM//DTD PubMed 2.6//EN" "
> http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd";>
>
> <Article>
>
> <Journal>
>
>
> <PublisherName>University of Technology</PublisherName>
>
>                                                             <JournalTitle>
> Journal of Electrical &amp; Electronics Engineering</JournalTitle>
>
>                                                             <Issn/>
>
>
> <Volume>41</Volume>
>
>
> <Issue>1</Issue>
>
>                                                             <PubDate
> PubStatus="epublish">
>
>
> <Year>2009</Year>
>
>
> <Month>04</Month>
>
>
> <Day>01</Day>
>
>                                                             </PubDate>
>
>                                              </Journal>
>
> <ArticleTitle>A Fast Localization and Feature Extraction Method Based on
> Wavelet Transform in Iris Recognition</ArticleTitle><FirstPage
> LZero="delete">55</FirstPage>
>
>                                              <LastPage>62</LastPage>
>
>                                              <Language>en</Language>
>
> <AuthorList>
>
> <Author>
>
>
> <FirstName EmptyYN="N">Samira </FirstName>
>
>
> <LastName>Kooshkestanii</LastName>
>
>
> <Affiliation/>
>
>                                                             </Author>
>
> <Author>
>
>
> <FirstName EmptyYN="N">Hamed </FirstName>
>
>
> <LastName>Sadjediii</LastName>
>
>
> <Affiliation/>
>
>                                                             </Author>
>
> <Author>
>
>
> <FirstName EmptyYN="N">Mohammad </FirstName>
>
>
> <LastName>Pooyaniii</LastName>
>
>
> <Affiliation/>
>
>                                                             </Author>
>
> </AuthorList>
>
>                                              <History>
>
>                                                             <PubDate
> PubStatus="received">
>
>
> <Year>2014</Year>
>
>
> <Month>03</Month>
>
>
> <Day>17</Day>
>
>                                                             </PubDate>
>
>                                              </History>
>
>                               <Abstract><![CDATA[With an increasing
> emphasis on security, automated personal identification based on biometrics
> has been receiving extensive attention. Iris recognition, as an emerging
> biometric recognition approach.]]></Abstract>
>
>                               <ObjectList>
>
>                                              <Object Type="keyword">
>
>                                              <Param
> Name="value">Biometrics</Param>
>
>                                              </Object>
>
>                                              <Object Type="keyword">
>
>                                              <Param Name="value">iris
> recognition</Param>
>
>                                              </Object>
>
>                                              <Object Type="keyword">
>
>                                              <Param
> Name="value">localizing</Param>
>
>                                              </Object>
>
>                                              <Object Type="keyword">
>
>                                              <Param Name="value">feature
> extraction</Param>
>
>                                              </Object>
>
>                               </ObjectList><ArchiveCopySource
> DocType="pdf">
> http://pdf_278_64cb5be28a06d750d20bfe835ca6410e.html</ArchiveCopySource>
>
> </Article>
>
>
>
> What do you do to solve this problem?
>
>
>
> Sincerely,
>
> *P.Hadadan | *Senior Software Developer
>
> NotionWave | Toronto, Canada
>
> P.Hadadan [at] notionwave [dot] com
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> dspace-t...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
>
>
> --
>
> Terry Brady
>
> Applications Programmer Analyst
>
> Georgetown University Library Information Technology
>
> https://www.library.georgetown.edu/lit/code
>
> 425-298-5498
>
>
>
>
>
> --
>
> Terry Brady
>
> Applications Programmer Analyst
>
> Georgetown University Library Information Technology
>
> https://www.library.georgetown.edu/lit/code
>
> 425-298-5498
>
>
>
>
>
> --
>
> Terry Brady
>
> Applications Programmer Analyst
>
> Georgetown University Library Information Technology
>
> https://www.library.georgetown.edu/lit/code
>
> 425-298-5498
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to