You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov> on 2013/01/16 20:42:54 UTC

FW: Trouble with cas-curator

Request for help from Marlon, CC'ing him.


On 1/16/13 11:40 AM, "Marlon Pierce" <ma...@iu.edu> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>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.
>
>* 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
>
>
>* As shown in the screenshot, I still get "No Metadata Detected...."
>
>* 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)
>
>
>Any help is appreciated--
>
>
>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/
>
>iQEcBAEBAgAGBQJQ9wJBAAoJEOEgD2XReDo5pKsIAI0pzzaoRYevbuB25zxhK9vz
>kS51CYOjetkoHM1tkhs+XAf07wYNoPHXhDIvt+o2PfWP9QqjIEYF/D8okubY6NMQ
>Df9qhQL74+X5EGvHehLwJXDtW2TYzzuOyvJG5kpFUazfSHitClAJrnIRmWaO2Y11
>5VtYmNx1cZnXi2rw92AI6M9cmDeCHxtwQg5oQ9IJBpmBrSXBUyPcelUeNphYw/NO
>/I863rufsVaW9ZCVoaYaq8gEUwyVwObEm6HK0bK90ptHQ2MylJqwQ68TcduYw0tY
>vu3ndDv/GeBIVLJzQ/lGA3nDC6EZw3vMkqyZnWTYGC+R9q1kIePYSvBtog8YbV8=
>=8US7
>-----END PGP SIGNATURE-----