-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry, haven't had a chance to follow up on this, hopefully can do this later today. I don't think the python script is being called.
Marlon On 1/17/13 10:53 PM, Mattmann, Chris A (388J) wrote: > Hi Marlon, > > Sorry it took a sec to get back to you on this. Here's some help > inline below: > > On 1/16/13 11:40 AM, "Marlon Pierce" <[email protected]> wrote: > > Hi OODT devs-- > > I'm evaluating OODT's CAS Curation and following the steps at > http://oodt.apache.org/components/maven/curator/user/basic.html, > but I'm having problems. I've attached a screenshot. > > * I checked out the code from SVN, grabbing the 0.5 release tag: > svn checkout > https://svn.apache.org/repos/asf/oodt/tags/0.5/curator cas-curator > > * I've downloaded Tika 1.2 and modified the sample python script > to use my local paths and version of Tika. Note you have a typo in > line 24 after \n. This all works fine. > > >> Thanks for finding this I went ahead and filed a JIRA issue to >> fix the docs: > >> https://issues.apache.org/jira/browse/OODT-552 > > >> I'll fix it shortly. > > > * I've created the directory structures for staging and extractors > and populated with appropriate files. 156-56-179-234:cas-curator > marpierc$ ls -tlr extractors/mp3extractor/ total 51144 -rw-r--r--@ > 1 marpierc marpierc 26173420 Jan 16 10:27 tika-app-1.2.jar > -rwxr-xr-x 1 marpierc marpierc 888 Jan 16 10:34 > mp3PythonExtractor.py -rw-r--r-- 1 marpierc marpierc 348 > Jan 16 11:13 mp3PythonExtractor.config -rw-r--r-- 1 marpierc > marpierc 188 Jan 16 14:20 config.properties > >> Can you please cat config.properties and paste to this list? > > > > * As shown in the screenshot, I still get "No Metadata > Detected...." > >> It seems to have been filtered? Can you use min.us to share to >> list or something like that? > > > > * I see the following errors in catalina.out, which don't seem to > be relevant (looking for value for > org.apache.oodt.cas.curator.dataDefinition.uploadPath): > > > Caused by: java.lang.NullPointerException at > org.apache.oodt.cas.metadata.util.PathUtils.replaceEnvVariables(PathUtils. > > java:66) > at > org.apache.oodt.cas.metadata.util.PathUtils.replaceEnvVariables(PathUtils. > > java:59) > at > org.apache.oodt.cas.metadata.util.PathUtils.replaceEnvVariables(PathUtils. > > java:55) > at > org.apache.oodt.cas.curation.service.CurationServiceConfig.evaluateParamet > > er(CurationServiceConfig.java:204) > at > org.apache.oodt.cas.curation.service.CurationServiceConfig.getPolicyUpload > > Path(CurationServiceConfig.java:176) > at > org.apache.oodt.cas.curation.service.PolicyResource.getPolicies(PolicyReso > > urce.java:176) > at > org.apache.oodt.cas.curation.service.PolicyResource.browseCatalog(PolicyRe > > source.java:115) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> Ah yes, those are relevant (I think ;) ). > >> That path should be set to [FILEMGR_HOME]/policy. Can you refresh >> that in the config and try again? > > > > Any help is appreciated-- > >> Let me know how it goes. Will be around tonight and tomorrow and >> happy to help debug. > >> Cheers, Chris > > > > Marlon > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJQ/rp8AAoJEOEgD2XReDo5OdEIAM4hpBX3KcRaKBVLuLzpdVcI ViVyxK/Nt2Z7NQvjB+I1SXhtupxkWINCiz/D/L2y21Olxrot4oF1HqdOu6mxnnkx 5lcrWvH97ktpIgQL9WjN1kfTY/kXjjOnxdXPIIkWx2znxCn9xSkQw6q5bCBimpdz 5UBLrypNpmLKCp4LvHVCgTjkMxj0J7zpNwIHsUQgr3wHaxXIKF3Ot0drOWxO5PrY G0OBxPCSlRxQ2+tK++JIr/0+N1BcoVBXHr8c+Svgi5E01OZMrPgWJ3DCCJa2uX+5 4fFxC65BaZW2oTWDIMllw0LPpk3ZhwWG4/J9V9/Probjhl/gOH5hhtPMMii2k7U= =CMrq -----END PGP SIGNATURE-----
