我的错误是什么?

What is my mistake?

这是我的rexster.xml文件配置如下

  <?xml version="1.0" encoding="UTF-8"?>
   <rexster>
        <http>
           <server-port>8182</server-port>
            <server-host>0.0.0.0</server-host>
            <base-uri>http://localhost</base-uri>
            <web-root>public</web-root>
            <character-set>UTF-8</character-set>
            <enable-jmx>false</enable-jmx>
            <enable-doghouse>true</enable-doghouse>
            <max-post-size>2097152</max-post-size>
            <max-header-size>8192</max-header-size>
            <upload-timeout-millis>30000</upload-timeout-millis>
            <thread-pool>
            <worker>
                <core-size>8</core-size>
                <max-size>8</max-size>
            </worker>
            <kernal>
                <core-size>4</core-size>
                <max-size>4</max-size>
            </kernal>
            </thread-pool>
                 <io-strategy>leader-follower</io-strategy>
        </http>
        <rexpro>
            <server-port>8184</server-port>
             <server-host>0.0.0.0</server-host>
             <session-max-idle>1790000</session-max-idle>
             <session-check-interval>3000000</session-check-interval>
             <connection-max-idle>180000</connection-max-idle>
              <connection-check-interval>3000000</connection-check-interval>
              <enable-jmx>false</enable-jmx>
              <thread-pool>
         <worker>
            <core-size>8</core-size>
            <max-size>8</max-size>
        </worker>
        <kernal>
            <core-size>4</core-size>
            <max-size>4</max-size>
        </kernal>
         </thread-pool>
          <io-strategy>leader-follower</io-strategy>
      </rexpro>
       <shutdown-port>8183</shutdown-port>
       <shutdown-host>127.0.0.1</shutdown-host>
      <script-engine-reset-threshold>-1</script-engine-reset-threshold>
      <script-engine-init>data/init.groovy</script-engine-init>
      <script-engines>gremlin-groovy</script-engines>
      <security>
          <authentication>
                <type>none</type>
                 <configuration>
            <users>
                <user>
                    <username>rexster</username>
                    <password>rexster</password>
                </user>
            </users>
        </configuration>
    </authentication>
         </security>
     <graphs>

       <graph>
        <graph-name>ramgraph</graph-name>
        <graph-type>tinkergraph</graph-type>
        <graph-mock-tx>false</graph-mock-tx>
    <properties>
            <storage.backend>cassandra</storage.backend>
    <storage.hostname>localhost</storage.hostname>
            <storage.buffer-size>100</storage.buffer-size>
        </properties>
        <extensions>
            <allows>
                <allow>tp:gremlin</allow>
            </allows>
        </extensions>
    </graph>



    <graph>
        <graph-name>titanexample</graph-name>
            <graphtype>com.thinkaurelius.titan.tinkerpop.rexster.TitanGraphConfiguration</graph-type>
        <graph-location>/tmp/titan</graph-location>
        <graph-read-only>false</graph-read-only>
        <properties>
            <storage.backend>local</storage.backend>
            <storage.buffer-size>100</storage.buffer-size>
        </properties>
        <extensions>
        <allows>
            <allow>tp:gremlin</allow>
        </allows>
       </extensions>
   </graph>





      </graphs>
  </rexster>

我写了一个 python 客户端,灯泡如下

   __author__ = 'rponnapureddy'
   from bulbs.config import Config, DEBUG
   from bulbs.rexster import Graph

   from bulbs.rexster import Graph

   # config = Config('http://localhost:8182/graphs/empgraph')
   config = Config('http://localhost:8182/graphs/ramgraph')

   g = Graph(config)

   class inser_class():
       ponnapu = g.vertices.create(name="ramnath")
       pr = g.vertices.create(name="reddy")
       tanu = g.vertices.create(name="brothers")
       g.edges.create(pr, "knows", tanu)
       # z=g.get_graphml()
       #print z
       #g.clear()
       # print z

我遇到了以下错误。要正确回答我做了什么?

'usr/bin/python2.7 "/home/rpo/Desktop/ramnathreddy/addverices 到 rexsterdefault graph.py" 追溯(最近一次通话): 文件“/home/rpo/Desktop/ramnath/addverices 到 rexsterdefault graph.py”,第 10 行,在 g = 图(配置) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rexster/graph.py”,第 56 行,在 init 中 super(Graph, self).init(配置) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/base/graph.py”,第 58 行,在 init 中 self.vertices = self.build_proxy(顶点) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/base/graph.py”,第 124 行,在 build_proxy 中 return self.factory.build_element_proxy(element_class, index_class) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/factory.py”,第 19 行,在 build_element_proxy 中 primary_index = self.get_index(element_class,index_class,index_name) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/factory.py”,第 27 行,在 get_index 中 索引 = index_proxy.get_or_create(index_name) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rexster/index.py”,第 80 行,在 get_or_create 中 resp = self.client.get_or_create_vertex_index(index_name, index_params) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rexster/client.py”,第 668 行,在 get_or_create_vertex_index resp = self.gremlin(脚本,参数) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rexster/client.py”,第 356 行,在 gremlin 中 return self.request.post(gremlin_path, 参数) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rest.py”,第 131 行,在 post 中 return self.request(POST, 路径, 参数) 请求中的文件“/usr/local/lib/python2.7/dist-packages/bulbs/rest.py”,第 186 行 return self.response_class(http_resp, self.config) 文件“/usr/local/lib/python2.7/dist- packages/bulbs/rexster/client.py”,第 198 行,在 init 中 self.handle_response(回应) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rexster/client.py”,第 222 行,在 handle_response 中 response_handler(http_resp) 文件“/usr/local/lib/python2.7/dist-packages/bulbs/rest.py”,第 50 行,在 server_error 中 提高系统错误(http_resp) SystemError: ({'status': '500', 'transfer-encoding': 'chunked', 'server': 'grizzly/2.2.16', 'connection': 'close', 'date': 'Mon, 16 Mar 2015 11:32:19 GMT', 'access-control-allow-origin': '*', 'content-type': 'application/json'}, '{"message":"","error":"javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: groovy.lang.MissingMethodException.rollback() is applicable for argument types: () values: []\nPossible solutions: collect(), collect(groovy.lang.Closure), collect(java.util.Collection, groovy.lang.Closure)","api":{"description":"evaluate an ad-hoc Gremlin script for a graph.","parameters":{"rexster.returnKeys":"an array of element property keys to return (default is to return all element properties)","rexster.showTypes":"displays the properties of the elements with their native data type (default is false)","load":"a list of \'stored procedures\' to execute prior to the \'script\' (if \'script\' is not specified then the last script in this argument will return the values","rexster.offset.end":"end index for a paged set of data to be returned","rexster.offset.start":"start index for a paged set of data to be returned","params": "a map of parameters to bind to the script engine","language":"the gremlin language flavor to use (default to groovy)","script":"the Gremlin script to be evaluated"}},"success":false}')

Process finished with exit code 1'
from bulbs.config import Config, DEBUG
from bulbs.rexster import Graph
from bulbs.titan import Graph

config = Config('http://localhost:8182/graphs/ramgraph')
g = Graph(config)


class inser_class():
    ponnapu = g.vertices.create(name="reddy", age="26", state="TELNGANA", mobn="111111111")
    pr = g.vertices.create(name="ramnath" ,age="25" , state="TELNGANA", mobn="1111111")
    tanu = g.vertices.create (name="ponnapu",age="27",state="AP",mobn="11111111111111")
    g.edges.create(pr, "knows", tanu)
    g.edges.create(pr, "friends", ponnapu)
    g.edges.create(ponnapu, "dontknow",tanu)