Comments (3)
Hi. Sounds it's can't find the directory index. Dido you build it with Calvin and link it under /etc/ as the reader decribes?
————————————
Rahul Bhargava
http://rahul.connectionlab.org
On Mon, Aug 24, 2015 at 1:43 PM, dbl [email protected] wrote:
Any ideas on this error?
(I added the dependency to my pom.xml)
com.bericotech
clavin
2.0.0
For CLAVIN:
$ mvn install
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
For CLIFF:
$ mvn install
...
com.bericotech.clavin.ClavinException: Error opening gazetteer index.
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:218)
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:242)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:802)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:53)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:67)
at com.bericotech.clavin.gazetteer.query.LuceneGazetteer.(LuceneGazetteer.java:139)
at org.mediameter.cliff.ParseManager.getParserInstance(ParseManager.java:350)
at org.mediameter.cliff.ParseManager.extractAndResolve(ParseManager.java:301)
at org.mediameter.cliff.ParseManager.extractAndResolve(ParseManager.java:297)at org.mediameter.cliff.test.places.BlacklistTest.testReddit(BlacklistTest.java:16)
Reply to this email directly or view it on GitHub:
#41
from cliff-annotator.
This resolved the issue. THANK YOU!
sudo ln -s /Users/blahblahblah/CLAVIN/IndexDirectory /etc/cliff2/IndexDirectory
from cliff-annotator.
Hi,
I’m trying to deploy the .war file under Tomcat 8.
I’ve installed Tomcat 8 and ran
David-Laxers-MacBook-Pro:CLIFF davidlaxer$ mvn tomcat7:deploy -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] CLIFF
[INFO] common
[INFO] stanford-entity-extractor
[INFO] cliff
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CLIFF 2.3.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.1:deploy (default-cli) @ CLIFF >>>
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.1:deploy (default-cli) @ CLIFF <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.1:deploy (default-cli) @ CLIFF ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building common 2.3.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.1:deploy (default-cli) @ common >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/davidlaxer/CLIFF/common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ common ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/davidlaxer/CLIFF/common/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ common ---
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.1:deploy (default-cli) @ common <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.1:deploy (default-cli) @ common ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building stanford-entity-extractor 2.3.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.1:deploy (default-cli) @ stanford-entity-extractor >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stanford-entity-extractor ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stanford-entity-extractor ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stanford-entity-extractor ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 23 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stanford-entity-extractor ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ stanford-entity-extractor ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stanford-entity-extractor ---
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.1:deploy (default-cli) @ stanford-entity-extractor <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.1:deploy (default-cli) @ stanford-entity-extractor ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cliff 2.3.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.1:deploy (default-cli) @ cliff >>>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CLIFF ............................................. SUCCESS [ 0.788 s]
[INFO] common ............................................ SUCCESS [ 1.061 s]
[INFO] stanford-entity-extractor ......................... SUCCESS [ 0.177 s]
[INFO] cliff ............................................. FAILURE [ 0.049 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.440 s
[INFO] Finished at: 2015-08-24T16:59:04-08:00
[INFO] Final Memory: 13M/196M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cliff: Could not resolve dependencies for project org.mediameter:cliff:war:2.3.0: Failure to find org.mediameter:stanford-entity-extractor:jar:2.3.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :cliff
David-Laxers-MacBook-Pro:CLIFF davidlaxer$
The missing stanford-entity-extractor:jar:2.3.0 is in /Users/davidlaxer/CLIFF/stanford-entity-extractor/target.
126248753 123752 -rw-r--r-- 1 davidlaxer staff 63357761 Aug 24 14:15 ./target/stanford-entity-extractor-2.3.0.jar
Here’s what’s in my ~/.m2 repository:
avid-Laxers-MacBook-Pro:CLIFF davidlaxer$ ls -l ~/.m2/repository/org/mediameter/stanford-entity-extractor/2.3.0/
total 16
-rw-r--r-- 1 davidlaxer staff 242 Aug 24 10:28 stanford-entity-extractor-2.3.0.jar.lastUpdated
-rw-r--r-- 1 davidlaxer staff 242 Aug 24 12:02 stanford-entity-extractor-2.3.0.pom.lastUpdated
Oddly! there was nothing in ~/.m2/settings.xml.
When I added:
It caused other problems. Probably because the rest of the settings.xml was missing.
Any ideas?
On Aug 24, 2015, at 1:01 PM, rahulbot [email protected] wrote:
Hi. Sounds it's can't find the directory index. Dido you build it with Calvin and link it under /etc/ as the reader decribes?
————————————
Rahul Bhargava
http://rahul.connectionlab.org
On Mon, Aug 24, 2015 at 1:43 PM, dbl [email protected] wrote:
Any ideas on this error?
(I added the dependency to my pom.xml)
com.bericotech
clavin
2.0.0
For CLAVIN:
$ mvn install
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
For CLIFF:
$ mvn install
...
com.bericotech.clavin.ClavinException: Error opening gazetteer index.
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:218)
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:242)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:802)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:53)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:67)
at com.bericotech.clavin.gazetteer.query.LuceneGazetteer.(LuceneGazetteer.java:139)
at org.mediameter.cliff.ParseManager.getParserInstance(ParseManager.java:350)
at org.mediameter.cliff.ParseManager.extractAndResolve(ParseManager.java:301)
at org.mediameter.cliff.ParseManager.extractAndResolve(ParseManager.java:297)at org.mediameter.cliff.test.places.BlacklistTest.testReddit(BlacklistTest.java:16)
Reply to this email directly or view it on GitHub:
#41
—
Reply to this email directly or view it on GitHub #41 (comment).
from cliff-annotator.
Related Issues (20)
- return better status while index is building HOT 1
- charIndex of mentions is offset by preceding demonyms when replaceAllDemonyms=true HOT 2
- `results.mentions.source.string` contains the normalised country name, intead of the raw string matched. HOT 2
- integrate co-ref resolution into person entity counts HOT 1
- DELETE IT
- upgrade default Stanford NER to v3.9.2 HOT 9
- News Articles about Washington, always resolve to Washington state instead of Washington, DC. HOT 1
- support language at the query level HOT 1
- move configuration to env-vars HOT 1
- rename packages to match brand HOT 1
- Are there any API docs which go over what the meaning of each key in the json response means? HOT 5
- Can't get CLIFF to run HOT 2
- Unable to access through tomcat (404 error) HOT 1
- Unable to geoparse German text HOT 1
- Gazetteer index Error HOT 3
- Live demo currently down HOT 2
- upgrade to latest NER HOT 1
- upgrade to latest CLIFF
- Add support for French HOT 1
- What is the maximum sequence length? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cliff-annotator.