• Shane2017
  • NEWBIE
  • 15 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 7
    Replies
- already confirmed "work online" is enabled
- already confirmed "build automatically" is enabled
- already tried synchronize with server
- no error messages

thanks in advance
I'm using the data loader from a ruby script to insert attachments. I've confirmed from the monitor bulk data load jobs page that the records are only being inserted once, but when I check the parent object the same attachment shows up twice (same insert time, same Title, and so on). Please advise, thanks!
NOTE: There are _NO QUOTES_ of any kind in my CSV file (UTF-8 encoded).

Is this an encoding error? Why does the salesforce csvreader class think that there is an unescaped quote???
Hello,

I'm trying to call the data loader from Ruby. Here's the relevant code block:

stdout, stderr, status = Open3.popen2e( \
  {"JAVA_HOME" => 'C:\Program Files (x86)\Java\jre1.8.0_144'}, \
  "\"C:\\Users\\username\\AppData\\Local\\salesforce.com\\Data Loader\\bin\\process.bat\" " \
  + "\"C:\\Users\\username\\AppData\\Local\\salesforce.com\\Data Loader\\conf\" " \
  + "csvUpsertAccounts"
) { |stdin, stdout_and_stderr, wait_thr|
  pid = wait_thr.pid
  captured_stdout_and_stderr = stdout_and_stderr.read
  exit_status = wait_thr.value
}

and this is the error that I get:

output:Error: Could not find or load main class com.salesforce.dataloader.process.ProcessRunner

Does anyone have any ideas on what I can check?

Best regards,
Shane
- already confirmed "work online" is enabled
- already confirmed "build automatically" is enabled
- already tried synchronize with server
- no error messages

thanks in advance
NOTE: There are _NO QUOTES_ of any kind in my CSV file (UTF-8 encoded).

Is this an encoding error? Why does the salesforce csvreader class think that there is an unescaped quote???