Hi Steve,

 

Thank you for the response. 

 

Yes I did indeed find a suspicious file in my data/objects directory.
Somehow an object backup tar made its way into the objects directory
tree, therefore it was being parsed as potential FOXML Object and
obviously failing validation.  

 

A rather silly error in the end, but ultimately frustrating! :-) 

 

Cheers again,

Simon

 

From: Steve Bayliss [mailto:[email protected]] 
Sent: 02 October 2009 15:46
To: Simon W Lamb; [email protected];
[email protected]
Cc: Richard Green
Subject: Re: [Fedora-commons-developers] PID delimiter (:) is missing...

 

Hi Simon

 

I see at the bottom of this fedora.server.Server.pidFromFilename - which
suggests that there's some problem with the name of one of the FOXML
files in the data/objects directory.

 

Could you list all of the files in that directory (recursively,
something like ls -R) and see if there's anything suspicious?

 

In the filenames, the ":" in the pid is represented by underscore "_" -
so possibly a filename with no underscore in it could cause the issue.

 

Regards

Steve

        -----Original Message-----
        From: Simon W Lamb [mailto:[email protected]] 
        Sent: 01 October 2009 14:17
        To: [email protected];
[email protected]
        Cc: Richard Green
        Subject: [Fedora-commons-developers] PID delimiter (:) is
missing...

        Hi all,

         

        I thought I'd quickly post up this problem I'm having just in
case anybody else has experienced it and has an easy answer. I'm trying
to rebuild the database with Fedora 3.2.1.  On rebuilding I am are
getting the following output:-

         

        Rebuilding...

        Cleaning up table: datastreampaths

        Cleaning up table: dcdates

        Cleaning up table: dofields

        Cleaning up table: doregistry

        Cleaning up table: modeldeploymentmap

        Cleaning up table: objectpaths

        Cleaning up table: pidgen

        fedora.server.errors.LowlevelStorageException: ending rebuild
unsuccessfully    PID delimiter (:) is missing.   PID delimiter (:) is
missing.

                at
fedora.server.storage.lowlevel.DBPathRegistry.rebuild(DBPathRegistry.jav
a:216)

                at
fedora.server.storage.lowlevel.DefaultLowlevelStorage$Store.rebuild(Defa
ultLowlevelStorage.java:210)

                at
fedora.server.storage.lowlevel.DefaultLowlevelStorage.rebuildObject(Defa
ultLowlevelStorage.java:90)

                at
fedora.server.storage.lowlevel.DefaultLowlevelStorageModule.rebuildObjec
t(DefaultLowlevelStorageModule.java:140)

                at
fedora.server.utilities.rebuild.SQLRebuilder.start(SQLRebuilder.java:131
)

                at
fedora.server.utilities.rebuild.Rebuild.<init>(Rebuild.java:107)

                at
fedora.server.utilities.rebuild.Rebuild.main(Rebuild.java:420)

        Caused by: fedora.server.errors.LowlevelStorageException: PID
delimiter (:) is missing. PID delimiter (:) is missing.

                at
fedora.server.storage.lowlevel.PathAlgorithm.decode(PathAlgorithm.java:4
9)

                at
fedora.server.storage.lowlevel.PathRegistry.traverseFiles(PathRegistry.j
ava:114)

                at
fedora.server.storage.lowlevel.PathRegistry.traverseFiles(PathRegistry.j
ava:94)

                at
fedora.server.storage.lowlevel.PathRegistry.traverseFiles(PathRegistry.j
ava:191)

                at
fedora.server.storage.lowlevel.DBPathRegistry.rebuild(DBPathRegistry.jav
a:210)

                ... 6 more

        Caused by: fedora.server.errors.MalformedPidException: PID
delimiter (:) is missing.

                at
fedora.server.Server.pidFromFilename(Server.java:1375)

                at
fedora.server.storage.lowlevel.PathAlgorithm.decode(PathAlgorithm.java:4
6)

                ... 10 more

        SUCCESS: 0 objects rebuilt.

        Finished.

         

         

        On thinking that I might have an invalid foxml object file, I
deleted all the objects from data/objects, and restarted fedora.
Obviously at this point Fedora creates the basic content model
definition objects, which will be valid foxml.  However, if I shutdown
fedora and try the rebuild again it gives me the exact same error, which
appears to suggest that it's not object related?

         

        Is this something stupid I'm doing? I'm going to try a few
different ideas now, but thought I'd post it up here on the off chance
that it's something someone has experienced before. 

         

        Simon W Lamb

         

        Software Developer, 

        IT Systems, 

        Academic Services 

        University of Hull 

        [email protected] 

        http://www.hull.ac.uk/esig/repomman/

        http://www.hull.ac.uk/remap/

         

*****************************************************************************************
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to