I get an error when running the makePdInfoPackage function to make a PdInfo
package for the 10K mapping array.  The output from the function reads:

> makePdInfoPackage(pkg,destDir=".")
Creating package in ./pd.mapping10k.xba142
loadUnitsByBatch took 22.86 sec
loadAffyCsv took 2.79 sec
Error in sqliteExecStatement(con, statement, bind.data) :
  RS-DBI driver: (RS_SQLite_exec: could not execute: PRIMARY KEY must be
unique)
In addition: Warning messages:
1: In is.na(v) : is.na() applied to non-(list or vector) of type 'NULL'
2: In is.na(v) : is.na() applied to non-(list or vector) of type 'NULL'
3: In is.na(v) : is.na() applied to non-(list or vector) of type 'NULL'
Timing stopped at: 0.36 0.01 0.44

> traceback()
12: .Call("RS_SQLite_exec", conId, statement, bind.data, PACKAGE =
.SQLitePkgName)
11: sqliteExecStatement(con, statement, bind.data)
10: sqliteQuickSQL(conn, statement, bind.data, ...)
9: dbGetPreparedQuery(db, sql, bind.data = mmdf)
8: dbGetPreparedQuery(db, sql, bind.data = mmdf)
7: loadAffySeqCsv(db, csvSeqFile, cdfFile, batch_size = batch_size)
6: eval(expr, envir, enclos)
5: eval(expr, envir = loc.frame)
4: ST(loadAffySeqCsv(db, csvSeqFile, cdfFile, batch_size = batch_size))
3: buildPdInfoDb(object@cdfFile, object@csvAnnoFile, object@csvSeqFile,
       dbFilePath, seqMatFile, batch_size = batch_size, verbose = !quiet)
2: makePdInfoPackage(pkg, destDir = ".")
1: makePdInfoPackage(pkg, destDir = ".")

I noticed a prior post that suggested that this may be due to entering a
record into a table with a Feature ID that is already in the table.  Is this
the case?  Is there a work-around here?

Thanks,
Mike Gormley

	[[alternative HTML version deleted]]

