灯泡 - Neo4J - Heroku配置错误?

时间:2013-06-12 12:14:09

标签: python heroku neo4j bulbs

我正在使用bulbs在Heroku上设置Neo4J应用。在本地运行正常,但是当我在heroku上部署它时,它会引发以下代码中的错误部分:

#heroku config:get NEO4J_URL
#http://user:password@instance.ip/
try:
    cfg = Config(instance.ip,user,password)
    g = Graph(cfg)
except: 
    return "OOPS! ERROR CONFIGURING GRAPH!"

我该怎么办?

我也试过cfg.set_neo4j_heroku()但没有用。

1 个答案:

答案 0 :(得分:0)

从最新版本开始,Heroku Addon不支持出于安全原因将Groovy脚本发送到服务器。试试Cypher吧? http://docs.neo4j.org/chunked/snapshot/cypher-query-lang.html