无法从任何浏览器导出 [英] Cannot export from any browser

查看:257
本文介绍了无法从任何浏览器导出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Neo4j,填写了数据库并生成了一个图表。现在我想使用内置功能导出它,但没有太多的运气。以下是我尝试过的浏览器:


  1. 在OSX Safari(v8.0.6)中基本上图形没有响应。我不能移动它或双击节点或任何东西。 OSX Firefox(v.35​​.0.1)中的图形出现了,但尝试导出到PNG的结果是/文件为空的错误。与导出SVG相同的结果。


  2. 与Chrome(v43.0.2357.81 64位)是一样的FF,我得到空文件。 p>


  3. 我也在Windows 7中尝试过与Chrome相同的结果。


我需要做什么才能从数据库中获取图形?


根据迈克尔的建议,

*更新我*



我看了一下控制台,看到一些错误加载主页面。尽管如此,我可以发出查询并获取图形。我还应该提到,对JSON的出口似乎工作正常。



同样,当我尝试导出时,没有消息记录到控制台,文件被创建,但是它是空的。



*更新II *



我设法缩小了问题。下面的Cypher将创建一个无法导出为SVG的图形。采取任何行,使其工作。这里发生了什么?

  match(f)可选匹配(f) -  [r]  - ()delete f,r;合并(DMDst:DMSys {组织:'UNK-0',系统:'Peoplesoft'})合并(f: DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst);合并(DMDst:DMSys {组织:'UNK-0',系统:'Peoplesoft'})merge(f :DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst);合并(DMDst:DMSys {组织:'UNK-0',系统:'Peoplesoft'})合并(f: DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst);合并(DMDst:DMSys {组织:'UNK-0',系统:'Peoplesoft'})合并(f: DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst); $ d $ b merge(DMSrc:DMSys {Org:'UNK-4',System:'Sun System'})merge(DMDst:DMSys {Organization:'UNK-0',System:'Peoplesoft'})merge :DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst); $ d $ b merge(DMSrc:DMSys {org:'UNK-5',System:'Oracle GL'})merge(DMDst:DMSys {Organization:'UNK-0',System:'Peoplesoft' :DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst);合并(DMDst:DMSys {组织:'UNK-0',系统:'Peoplesoft'})merge(f :DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst); $ db $ b merge(DMSrc:DMSys {Org:'UNK-7',System:'Direct(No Interface)'})merge(DMDst:DMSys {Organization:'UNK-0',System:'Peoplesoft'}) merge(f:DMFile {Name:'BAL'})merge(DMSrc) -  [:Provide]  - >(f) -  [:Receives]  - >(DMDst); 


解决方案

我认为答案是这是一个错误。我在github这里报告了:



https://github.com/neo4j/neo4j/issues/4893


I've installed Neo4j, populated the database and produced a graph. now I want to export it using the built-in functionality but am not having much luck. here are the browsers I've tried:

  1. in OSX Safari (v8.0.6) basically the graph doesn't respond. I can't move it or double-click on a node or anything. whatever I try just results in a spinning wheel.

  2. in OSX Firefox (v.35.0.1) the graph comes up but attempting an export to PNG results in an error that the file is empty. same results with exporting an SVG.

  3. with Chrome (v43.0.2357.81 64-bit) same thing as with FF, I get empty files.

  4. I've also tried it in Windows 7 with Chrome with identical results.

what do I need to do to get a graph out of my database?

* Update I *

as per Michael's suggestion, I took a look at the console and see some errors when loading the main page. these notwithstanding, I can issue queries and get graphs back. I should also mention that exports to JSON seem to work just fine.

also, there are no messages logged to the console when I attempt an export, the file gets created but it's empty.

* Update II *

I've managed to narrow down the problem. the Cypher below will create a graph that fails to export as SVG. taking any line out makes it work. what's going on here?

match (f) optional match (f)-[r]-() delete f, r;
merge (DMSrc:DMSys { Org: 'UNK-1', System: 'UNK' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'UNK-2', System: 'Oracle GL' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'X&X', System: 'Classic' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'UNK-3', System: 'Classic' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'UNK-4', System: 'Sun System' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'UNK-5', System: 'Oracle GL' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'UNK-6', System: 'Oracle GL' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);
merge (DMSrc:DMSys { Org: 'UNK-7', System: 'Direct (No Interface)' }) merge (DMDst:DMSys { Organization: 'UNK-0', System: 'Peoplesoft' }) merge (f:DMFile { Name: 'BAL'}) merge (DMSrc)-[:Provides]->(f)-[:Receives]->(DMDst);

解决方案

I think the answer is this is a bug. I've reported it on github here:

https://github.com/neo4j/neo4j/issues/4893

这篇关于无法从任何浏览器导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆