Cannot export from any browser

放肆的年华 提交于 2019-12-11 09:08:31

问题


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);

回答1:


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

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




回答2:


If you meant that you want to get an image of the graph, you could take a screenshot of the browser window or a section of it. See here for some tips.



来源:https://stackoverflow.com/questions/30791364/cannot-export-from-any-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!