SpitFire Help Desk



List Won't Import (ListMaker Pro)

This article refers to common import issues using SpitFireX or SPD Pro (MySQL).

A common issue when trying to import a new list is that when the import results come up, you may see 0 records imported or a number that is much lower than the actual number of records in the csv or text file you are using.



This can be because of several reasons but all have to do with something in the list format that breaks the import query used in Listmaker Pro.

1. Make sure that any files you import do not have any punctuation in the name or in the name of the folder(s) the file resides in. For example, a list name like new numbers.csv is ok. However, new number's.csv is not ok. That apostrophe will break the import query.

2. If you have more than one dialer that is connecting to a database server, you must always import data that is on the database server's hard drive or drives that are physically attached to the database server.

3. Make sure that the file you are importing is on the Dialer's hard drive or a disk drive that is physically attached to the Dialer and not on a shared network drive.

4. The csv or text file that you are importing should not contain any back-slashes(\). Sometimes the file will have other characters that cause problems as well. If you open the file in Notepad and see small squares between some of the fields, like this:

 
This would be a problem. You can resolve that by opening the file in Wordpad (Not Notepad) and then saving it. Wordpad will strip out those forbidden characters.

5. The csv or text file that you are importing should have the same number of columns for every record. 
If the first record has 14 fields or columns, every record after it should have the same number or it will cause the Import query to fail. The best way to fix this is to open the file in Excel, copy a column that has data all the way down and paste it after the last column with any data in it. This will ensure that every record has the same number of fields.


Using Total Records Read to Find Format Problems in a Text or CSV File

For issues 4 and 5 above, often the Import Results will show a number of Total Records Read that is lower than what you know is actually in the csv or text file. In the example below, we have tried to import a list of 4 records but it only read and imported 3.



By looking at the Total Records Read result, we can see where the import query was blocked at record 3 and did not read the 4th record.
Using this result, we can then search for that record in the text or CSV file to find the problem in the formatting. In this case, the issue would be with record 3 or the record just after it.

1. To search for records in a text file or csv by record/line number, we can open the file in Notepad and press CTRL+G.




2. Now put in the number that corresponds with the point at which the Import stopped. In this case, it would be 3.




3. Now, if we look at that record we can see that it has one fewer fields than the records before an after it.

 

This would cause the import query to stop at that point.

The best way to fix this issue (especially if there are records throughout the file with the same issue) would be to open the file in Excel and copy and paste the Zipcode column after the chase column.
By using a column that has data in it for every record as the last column in the file, this insures that every record has the same number of columns or fields.

You can also use this method in combination with a Search and Replace to remove any backslashes that are causing the import to fail.






Finally, one last issue that can cause Import Results to be incrorrect is not closing out of ListMaker Pro between file imports. Always close and reopen Listmaker Pro to clear the cache settings that had been in use for the previous import.



Related Articles

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "List Won't Import (ListMaker Pro)"

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

   Name:
   Email:
* Comment:
* Enter the code below:

 

Article Details

Last Updated
3rd of July, 2009

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue