【问题标题】:Bulbs - Neo4J - Heroku Config Error?灯泡 - Neo4J - Heroku 配置错误?
【发布时间】:2013-06-12 12:14:08
【问题描述】:

我正在使用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(),但没用。

【问题讨论】:

    标签: python heroku neo4j bulbs


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-26
      • 2013-10-22
      • 1970-01-01
      • 1970-01-01
      • 2014-07-31
      • 1970-01-01
      • 2016-01-25
      • 1970-01-01
      相关资源
      最近更新 更多