thanks Tim for helping me

i find the item that dose not have title field
after modified it ,
the data restored successfully

thank you

On Wed, May 23, 2012 at 9:39 PM, Tim Donohue <tdono...@duraspace.org> wrote:

> Hi Ahmed,
>
> When running the AIP ingestor/restore process, you should see lines like
> the following in your dspace.log file:
>
> 1) Each time an AIP is read & parsed, you should see a line like:
>
> 2012-02-20 11:46:48,376 INFO 
> org.dspace.content.packager.**AbstractMETSIngester
> @ tdono...@duraspace.org:session**_id=**D87B26822CECF2315045B3B832BADF**
> DF:ip_addr=127.0.0.1:package_**parse:Parsing package for ingest,
> file=i...@123456789-10.zip
>
> (To find them, you can search your logfile for "package_parse" keyword.)
>
> 2) Later in that same log file, you should see a "package_restore" or
> "package_ingest" line which lets you know that specific AIP was restored or
> ingested successfully.  These look like:
>
> 2012-02-20 11:46:49,151 INFO 
> org.dspace.content.packager.**AbstractMETSIngester
> @ tdono...@duraspace.org:session**_id=**D87B26822CECF2315045B3B832BADF**
> DF:ip_addr=127.0.0.1:package_**restore:Created new Object, type=ITEM,
> handle=123456789/10, dbID=608
>
> (NOTE that in this example, the "handle" of the final restored object is
> "123456789/10". That matches the end of the AIP file name
> "i...@123456789-10.zip" which was initially parsed)
>
> So, essentially, you should check your logs to see what the *last* Item
> AIP was that was parsed before the error occurs. This AIP is the one that
> is missing the "dc.title" field.
>
> I hope that helps!
>
> - Tim
>
>
> On 5/23/2012 1:59 PM, Ahmed Maher wrote:
>
>> i checked the logs
>> it dose not have the item that cause the problem
>> it only have the item that pass successfully
>> and i checked some items all have the title field
>>
>>
>> On Wed, May 23, 2012 at 5:10 PM, Tim Donohue <tdono...@duraspace.org
>> <mailto:tdono...@duraspace.org**>> wrote:
>>
>>    Ahmed,
>>
>>    It looks like one of your Item AIPs doesn't have a "dc.title"
>>    metadata field. DSpace currently requires that all Items have some
>>    sort of title.
>>
>>    If you look in your dspace logs, it should tell you which Item AIP
>>    doesn't have a Title.  I'm not sure how this could have happened,
>>    unless you somehow removed the Title (dc.title metadata field) from
>>    the Item manually. Whenever you create/submit a new Item in DSpace,
>>    it requires that you include a Title.
>>
>>    - Tim
>>
>>
>>    On 5/23/2012 9:40 AM, Ahmed Maher wrote:
>>
>>        hello ,
>>        thanks i tried to re-exporting files
>>        and this problem solved
>>
>>        but it return this error
>>
>>        org.dspace.content.packager.__**PackageValidationException: Item
>>
>>        cannot be
>>        created without the required "title" DC metadata.
>>
>>
>>
>>        On Tue, May 22, 2012 at 9:27 PM, Tim Donohue
>>        <tdono...@duraspace.org <mailto:tdono...@duraspace.org**>
>>        <mailto:tdono...@duraspace.org
>>
>>        <mailto:tdono...@duraspace.org**>__>> wrote:
>>
>>            Hi Ahmed,
>>
>>            It sounds like the Zip file (sitewide-aip.zip) may have gotten
>>            corrupted in some way. Are you able to open it up or unzip it
>>            manually (using something like 7-zip or WinZip) to see the
>>        contents?
>>
>>            You could also try re-exporting the sitewide-aip.zip file to
>>        see if
>>            it regenerates properly.
>>
>>            If you have important info in the sitewide-aip.zip that you
>>        need to
>>            restore, it also may be possible to repair the damaged Zip
>>        file (if
>>            necessary).
>>
>>            - Tim
>>
>>
>>
>>            On 5/22/2012 2:16 PM, Ahmed Maher wrote:
>>
>>                i use AIP backup & Restore
>>
>>                when running the restore command
>>
>>                ./dspace packager -r -a -f -t AIP -e m...@mail.com
>>        <mailto:m...@mail.com>
>>        <mailto:m...@mail.com <mailto:m...@mail.com>>
>>        <mailto:m...@mail.com <mailto:m...@mail.com>
>>        <mailto:m...@mail.com <mailto:m...@mail.com>>> -i 123456789/0
>>
>>                sitewide-aip.zip
>>
>>
>>                i have this Exception  error :
>>
>>                java.util.zip.ZipException: error in opening zip file
>>                         at java.util.zip.ZipFile.open(__**Native Method)
>>                         at java.util.zip.ZipFile.<init>(_**
>> _ZipFile.java:131)
>>                         at java.util.zip.ZipFile.<init>(_**
>> _ZipFile.java:148)
>>                         at
>>
>>          org.dspace.content.packager.__**AbstractMETSIngester.__**
>> parsePackage(__**AbstractMETSIngester.java:327)
>>                         at
>>
>>          org.dspace.content.packager.__**AbstractMETSIngester.replace(_**
>> _AbstractMETSIngester.java:__**1087)
>>                         at
>>
>>          org.dspace.content.packager.__**AbstractPackageIngester.__**
>> replaceAll(__**AbstractPackageIngester.java:_**_241)
>>                         at
>>
>>          org.dspace.content.packager.__**AbstractPackageIngester.__**
>> replaceAll(__**AbstractPackageIngester.java:_**_271)
>>                         at
>>
>>          org.dspace.content.packager.__**AbstractPackageIngester.__**
>> replaceAll(__**AbstractPackageIngester.java:_**_271)
>>                         at
>>
>>          org.dspace.app.packager.__**Packager.replace(Packager.__**
>> java:726)
>>                         at
>>        org.dspace.app.packager.__**Packager.main(Packager.java:__**373)
>>                         at
>>        sun.reflect.__**NativeMethodAccessorImpl.__**invoke0(Native
>>                Method)
>>                         at
>>
>>          sun.reflect.__**NativeMethodAccessorImpl.__**invoke(__**
>> NativeMethodAccessorImpl.java:**__57)
>>                         at
>>
>>          sun.reflect.__**DelegatingMethodAccessorImpl._**_invoke(__**
>> DelegatingMethodAccessorImpl._**_java:43)
>>                         at
>>        java.lang.reflect.Method.__**invoke(Method.java:616)
>>                         at
>>
>>          org.dspace.app.launcher.__**ScriptLauncher.main(__**
>> ScriptLauncher.java:183)
>>
>>                java.util.zip.ZipException: error in opening zip file
>>
>>
>>
>>
>>
>>          ------------------------------**__----------------------------**
>> --__------------------
>>
>>                Live Security Virtual Conference
>>                Exclusive live event will cover all the ways today's
>>        security and
>>                threat landscape has changed and how IT managers can
>>        respond.
>>                Discussions
>>                will include endpoint security, mobile security and the
>>        latest
>>                in malware
>>                threats.
>>        
>> http://www.accelacomm.com/jaw/**__sfrnl04242012/114/50122263/<http://www.accelacomm.com/jaw/__sfrnl04242012/114/50122263/>
>>        
>> <http://www.accelacomm.com/**jaw/sfrnl04242012/114/**50122263/<http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/>
>> >
>>
>>
>>
>>                ______________________________**___________________
>>                DSpace-tech mailing list
>>        DSpace-tech@lists.sourceforge.**__net
>>        
>> <mailto:DSpace-tech@lists.**sourceforge.net<DSpace-tech@lists.sourceforge.net>
>> >
>>        <mailto:DSpace-tech@lists.__so**urceforge.net<http://sourceforge.net>
>>        
>> <mailto:DSpace-tech@lists.**sourceforge.net<DSpace-tech@lists.sourceforge.net>
>> >>
>>        
>> https://lists.sourceforge.net/**__lists/listinfo/dspace-tech<https://lists.sourceforge.net/__lists/listinfo/dspace-tech>
>>        
>> <https://lists.sourceforge.**net/lists/listinfo/dspace-tech<https://lists.sourceforge.net/lists/listinfo/dspace-tech>
>> **>
>>
>>
>>
>>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to