Results 1 to 5 of 5

Thread: line contains NULL byte

  1. #1
    Join Date
    Jan 2009
    Posts
    3

    Default line contains NULL byte

    Hi,

    I'm getting this error when reading from a csv file: "Runtime Error!
    line contains NULL byte".
    Any idea about the root cause of this error?

    Thanks,

  2. #2
    Join Date
    Jan 2009
    Posts
    3

    Default Got it!

    Ok, I got it and thought I'd post the solution.
    Simply yet caused me grief...
    Used file was saved in a .xls format instead of a .csv
    Didn't catch this because the file name itself had the .csv extension while the type was still .xls

  3. #3
    Join Date
    Aug 2006
    Posts
    382

    Default

    What are you writing about? This is the forum for Spring Python.
    Greg L. Turnquist (@gregturn), SpringSource/VMware
    Project Lead: Spring Python and author of Spring Python 1.1 and Python Testing Cookbook.
    Listen to Pond Jumpers, the international podcast for open source developers.
    These comments are my own personal opinions, and do not reflect those of my company.

  4. #4
    Join Date
    Jan 2009
    Posts
    3

    Default Writing python

    and not Spring python...
    Ok, I'm going to leave before I get kicked out

  5. #5

    Default

    Probably your file was saved in a .xls format instead of a .csv

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •