Skip to content

Getting started example doesn't work #10

Open
@fsiler

Description

@fsiler
(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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Getting started example doesn't work · Issue #10 · clojurewerkz/titanium.docs