Giter Site home page Giter Site logo

Comments (10)

twish avatar twish commented on July 18, 2024

I get the same when using :label but it then tells med
"Unknown Type label"

Also using UTF-8 csv files.

from batch-import.

jexp avatar jexp commented on July 18, 2024

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.

twish avatar twish commented on July 18, 2024

Oh, sorry. Using the downloadable zip from the 2.0 branch. Tried to adding labels to the import.

Regards
Johannes

from batch-import.

jexp avatar jexp commented on July 18, 2024

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.

twish avatar twish commented on July 18, 2024

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.

twish avatar twish commented on July 18, 2024

Hi again, was just checking in to see if there is any news on this front?

Regards

from batch-import.

jexp avatar jexp commented on July 18, 2024

I think it is what has been reported in: #74

Which was windows newlines at the end?

from batch-import.

twish avatar twish commented on July 18, 2024

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.

mrkale avatar mrkale commented on July 18, 2024

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.

twish avatar twish commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.