Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting started example doesn't work #10

Open
fsiler opened this issue May 1, 2015 · 0 comments
Open

Getting started example doesn't work #10

fsiler opened this issue May 1, 2015 · 0 comments

Comments

@fsiler
Copy link

fsiler commented May 1, 2015

(clojurewerkz.titanium.graph/open (System/getProperty "java.io.tmpdir"))
IllegalArgumentException Need to specify a readable configuration file, but was given: /var...

So I tried:

clojurewerkz.titanium.graph/open {:storage.directory (System/getProperty "java.io.tmpdir")})

IllegalStateException Need to set configuration value: root.storage.backend  com.google.common.base.Preconditions.checkState (Preconditions.java:177)
user=> (clojurewerkz.titanium.graph/open {:storage.backend "local" :storage.directory (System/getProperty "java.io.tmpdir")})
ClassNotFoundException local  java.net.URLClassLoader.findClass (URLClassLoader.java:381)

user=> (clojurewerkz.titanium.graph/open {:storage.backend local :storage.directory (System/getProperty "java.io.tmpdir")})

CompilerException java.lang.RuntimeException: Unable to resolve symbol: local in this context, compiling:(NO_SOURCE_PATH:1:1) 
user=> (clojurewerkz.titanium.graph/open {:storage.backend :local :storage.directory (System/getProperty "java.io.tmpdir")})

ConversionException 'storage.backend' doesn't map to a String object  org.apache.commons.configuration.AbstractConfiguration.getString (AbstractConfiguration.java:1047)
user=> (clojurewerkz.titanium.graph/open {:storage.backend "berkeleyje" :storage.directory (System/getProperty "java.io.tmpdir")})

ClassNotFoundException com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager  java.net.URLClassLoader.findClass (URLClassLoader.java:381)

Does anyone have working code for this? I'm happy to submit the patch if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant