Skip to main content
Solved

Invalid Schema Directive Value - CSV Reader

  • July 24, 2014
  • 1 reply
  • 15 views

Forum|alt.badge.img
I'm getting the following message:

 

 

CSV Reader: Invalid schema directive value 'number<comma>15<comma>0<comma>number<comma>4<comma>...The expected syntax is SCHEMA <typename1>,<width1>,<precision1>,...<typenameN>,<widthN>,<precisionN>.  Using schema scanner instead

 

 

As you can see, no typenames are being furnished.  This happens reading a pipe- or tab-delimited CSV file.  User Attributes are parsed and assigned correctly when opening the reader properties, so I don't understand the error.

 

 

Also why all the <comma> indicators instead of a literal ','?

 

 

Later on, I'm getting many attribute could not be written errors associated with certain attributes. The containing feature has been dropped...outputs, writing to a file geodatabase as a dynamic writer.

 

 

Where can I go from here and/or what am I doing wrong with my simple csv -> file geodatabase translation?

Best answer by gio

Did you change delimiter to TAB when u added the csv reader? (comma is standard setting) I can't imagine you did'nt, but have to ask.

 

 

comma is just the reporting (try reading a fme report on a tcl script...lol)

 

 

If i choose tab as separator and the csv is acutally tab separated, everything works fine.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Best Answer
  • July 25, 2014
Did you change delimiter to TAB when u added the csv reader? (comma is standard setting) I can't imagine you did'nt, but have to ask.

 

 

comma is just the reporting (try reading a fme report on a tcl script...lol)

 

 

If i choose tab as separator and the csv is acutally tab separated, everything works fine.