Comments (10)
I get the same when using :label but it then tells med
"Unknown Type label"
Also using UTF-8 csv files.
from batch-import.
What version?
Sent from mobile device
Am 19.12.2013 um 15:39 schrieb Johannes Tveitan [email protected]:
I get the same when using :label but it then tells med
"Unknown Type label"Also using UTF-8 csv files.
—
Reply to this email directly or view it on GitHub.
from batch-import.
Oh, sorry. Using the downloadable zip from the 2.0 branch. Tried to adding labels to the import.
Regards
Johannes
from batch-import.
Can you share the header from your files?
Perhaps an extra space a the end?
Sent from mobile device
Am 19.12.2013 um 16:10 schrieb Johannes Tveitan [email protected]:
Oh, sorry. Using the downloadable zip from the 2.0 branch. Tried to adding labels to the import.
Regards
Johannes—
Reply to this email directly or view it on GitHub.
from batch-import.
Absolutley, here comes the header in the file:
i:id node_id last_name first_name initials suffix date_insterted date_updated type:label
The error looks like follows, just for reference:
Using Existing Configuration File
Total import time: 1 seconds
Exception in thread "main" java.lang.IllegalArgumentException: Unknown Type label
at org.neo4j.batchimport.importer.Type.fromString(Type.java:172)
at org.neo4j.batchimport.importer.AbstractLineData.createHeaders(AbstractLineData.java:46)
at org.neo4j.batchimport.importer.ChunkerLineData.<init>(ChunkerLineData.java:19)
at org.neo4j.batchimport.Importer.createLineData(Importer.java:174)
at org.neo4j.batchimport.Importer.importNodes(Importer.java:93)
at org.neo4j.batchimport.Importer.doImport(Importer.java:228)
at org.neo4j.batchimport.Importer.main(Importer.java:83)
I have double checked if there would be a space added at the end and since I generate the label header it's an easy check. Could not find any extra space or other suspect characters.
As I mentioned before the file is in UTF-8 and importer is runnig with:
batch_import.csv.quotes=false
from batch-import.
Hi again, was just checking in to see if there is any news on this front?
Regards
from batch-import.
I think it is what has been reported in: #74
Which was windows newlines at the end?
from batch-import.
It seems you are correct sir. I do indeed have windows eol signs (CRLF). Will try to convert the CSV files to linux file endings.
Sorry for the trouble, missed the reffered issue.
from batch-import.
I have imported CSV with Windows eol signt (CRLF) on desktop PC without any
problem. I think it is not an issue.
Regards
Libor Gabaj
On Wed, Jan 8, 2014 at 2:11 PM, Johannes Tveitan
[email protected]:
It seems you are correct sir. I do indeed have windows eol signs (CRLF).
Will try to convert the CSV files to linux file endings.Sorry for the trouble, missed the reffered issue.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-31829504
.
from batch-import.
I think the problem is when using the custom CSV reader when working with batch_import.csv.quotes=false. Then it has some problems.
I have now tried converting all my CSV files to linux eol and the import seems to be working. So i cross my fingers and hope that the rest will work aswell.
Thanks a bunch for the help!
from batch-import.
Related Issues (20)
- Make Chunker.BUFSIZE a configuration option HOT 1
- Index lookup in relationship file throws NumberFormatException HOT 1
- Cannot connect to graphdb created by batch-import tool in Windows OS HOT 3
- NumberFormatException when importing relationships file HOT 1
- Rename master branch to 1.9 HOT 1
- Slow Import / 2G nodes file HOT 2
- Import Error HOT 1
- Error running batch_importer_22 HOT 3
- No relations input
- How can I know which line is it crashing on? HOT 1
- View graph in Neo4j Browser after importing HOT 3
- Imported csv files successfully but query results are empty
- common interface for BatchInserter and GraphDatabaseService?
- Why Batch-Importer is not work when i import about one hundred million nodes?
- Improt error,emergency!!!!
- How can i use this tool to import data that may be duplicated HOT 1
- Download link to binary is broken HOT 2
- Failed to load csv in Neo4j Ver 3.3
- An exception occured while executing the Java class. More than one element in org.mapdb.Bind$5$1@46248627. First element is '983727989' and the second element is '997379223' HOT 1
- version 3.4.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batch-import.