rasheedamir/the-fascinator

Harvest config does not support absolute paths to rules script

Closed this issue · 2 comments

Tim was using a JSON file with the {{{indexer/script/rules}}} set to 
{{{/home/holdingtank/.fascinator/harvest/local-files.py}}} and getting the 
following error when harvesting:
{{{
au.edu.usq.fascinator.api.storage.StorageException: Error storing harvest file:
    at au.edu.usq.fascinator.common.storage.StorageUtils.checkHarvestFile(StorageUtils.java:259) [fascinator-common-0.6.0-SNAPSHOT.jar:na]
    at au.edu.usq.fascinator.HarvestClient.updateHarvestFile(HarvestClient.java:181) [classes/:na]
    at au.edu.usq.fascinator.HarvestClient.start(HarvestClient.java:209) [classes/:na]
    at au.edu.usq.fascinator.HarvestClient.main(HarvestClient.java:475) [classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_20]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_20]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_20]
    at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_20]
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283) [exec-maven-plugin-1.1.1.jar:na]
    at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
Caused by: au.edu.usq.fascinator.api.storage.StorageException: File not found 
'7f968b55e5bd09323b6a28292355e2b2'
    at au.edu.usq.fascinator.common.storage.StorageUtils.storeFile(StorageUtils.java:159) [fascinator-common-0.6.0-SNAPSHOT.jar:na]
    at au.edu.usq.fascinator.common.storage.StorageUtils.storeFile(StorageUtils.java:107) [fascinator-common-0.6.0-SNAPSHOT.jar:na]
    at au.edu.usq.fascinator.common.storage.StorageUtils.checkHarvestFile(StorageUtils.java:248) [fascinator-common-0.6.0-SNAPSHOT.jar:na]
    ... 9 common frames omitted
2010-07-26 11:26:42,175 INFO   MessagingServices    Closing message queue 
services...
}}}


Original issue reported on code.google.com by greg.pen...@gmail.com on 1 Aug 2011 at 5:05

Original comment by greg.pen...@gmail.com on 23 May 2012 at 1:06

  • Added labels: Type-Enhancement
Migrated to https://github.com/the-fascinator/the-fascinator/issues/19

Original comment by duncan.q...@gmail.com on 14 Jan 2013 at 5:34

  • Changed state: MovedToGitHub