$convert 1.png -filter 'Jinc ( +clone -negate -morphology Distance Euclidean -level 50%,-50% )' -morphology Distance Euclidean -compose Plus -composite -level 43%,57% -resize 12.5% 1.png -debug all
我提到了错误:
无法加载外部资源:file:/ C:/Users/mshendi/Documents/Neo4j/default.graphdb/import/coursera/data/test.csv
答案 0 :(得分:2)
您可以将文件放入import
目录。如果您使用Neo4j桌面登录Windows,则import
目录必须进入数据库目录(与plugins
并排)。
如果你在$NEO4J_HOME/import
使用zip发行版或Neo4j Enterprise。
否则您必须在neo4j.conf
中禁用安全设置,或者将其更改为指向您的数据目录。
# This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or comment it out to
# allow files to be loaded from anywhere in the filesystem; this introduces possible security problems. See the
# `LOAD CSV` section of the manual for details.
dbms.directories.import=import
如果您想限制从文件网址加载,您必须禁用此功能:
# Determines if Cypher will allow using file URLs when loading data using
# `LOAD CSV`. Setting this value to `false` will cause Neo4j to fail `LOAD CSV`
# clauses that load data from the file system.
#dbms.security.allow_csv_import_from_file_urls=true