Opened 16 years ago
Closed 16 years ago
#230 closed defect (fixed)
import.pl defaulting to -OIDtype assigned , -OIDtype option unresponsive ON MBOX files
Reported by: | Owned by: | kjdon | |
---|---|---|---|
Priority: | moderate | Milestone: | Next Release (2 or 3) |
Component: | Collection Building | Severity: | minor |
Keywords: | build-overhall | Cc: |
Description
import.pl defaulting to -OIDtype assigned , -OIDtype option unresponsive
import.pl seems to be defaulting to -OIDtype assigned setting -OIDtype hash or incremental is having no effect.
-log- c Command: /Applications/greenstone/bin/script/import.pl -gli -language en -collectdir /Applications/greenstone/collect/ -removeold -OIDtype hash mail import.pl> Unrecognized escape \d passed through at (eval 36) line 1. import.pl> Removing current contents of the archives directory... --
On Nov 9, 2007 4:24 PM, Stephen De Gabrielle <stephen@…> wrote:
Hi,
has the identifier hash allocation scheme changed?
They seem different on a collection I have build from emails
a snip - buildcol.pl> GAPlug: processing 1-25190-/1124-119.dir/doc.xml buildcol.pl> GAPlug: processing 1-25190-/2815-119.dir/doc.xml buildcol.pl> GAPlug: processing 1-25190-/12937-11.dir/doc.xml buildcol.pl> GAPlug: processing "bells-c/s-u-835:.dir/doc.xml buildcol.pl> GAPlug: processing 595b9ab2/07101006.dir/doc.xml buildcol.pl> GAPlug: processing 1-25190-/6071-119.dir/doc.xml -
That fourth line looks suspect. I thought quote characters were illegal in filenames. the rest are not like what I see in the demo collection (HASH1234.dir etc)
Change History (4)
comment:1 by , 16 years ago
Keywords: | build-overhall added |
---|---|
Milestone: | → Next Release (2 or 3) |
Severity: | → minor |
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 16 years ago
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
EmailPlugin was always using message id as identifier, and ignoring OIDtype.
EmailPlugin uses a custom setOID method which assigns the message id as the OID. I think this is probably useful if you want links between messages and their replies.
Perhaps need an OID type option for EmailPlugin which has an extra option - message id.
I (kjdon) am supposed to be adding OIDtype and OIDmetadata option to all plugins, so I'll try to remember to look at this when I do that :-)