Support for Tab Seperated files lost in last version.White Peak Software Support Forums
White Peak Software Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Support for Tab Seperated files lost in last...Expand / Collapse
Author
Message
Posted 6/21/2007 1:09:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/21/2007 8:41:44 PM
Posts: 4, Visits: 4
I just downloaded the latest version (windows installer) and it opened up the last file I had (.tsv ext. - which I registered as Tab Separated- and have confirmed it is still so)

And it put all of the columns in the A cell, and most of the next line in one cell.. Pretty much useless.

I had wanted to use this version to get support for row delete, but it looks like I'll have to roll back to the old version (which was about 3 revisions back)



-- Chert



http://pens.traderhut.com
Post #133
Posted 6/21/2007 1:12:57 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/21/2007 8:41:44 PM
Posts: 4, Visits: 4
FYI: After looking at it, it is parsing it as Comma separated, in spite of the settings.



-- Chert



http://pens.traderhut.com
Post #134
Posted 6/21/2007 2:01:06 PM


Forum Administrator

Forum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum Administrator

Group: Power Users
Last Login: 2 days ago @ 8:01:14 AM
Posts: 157, Visits: 1,009
The release in question (v1.3.2) uses a different approach to auto-detect a file's delimiter type and it seems you have found a file that breaks it. I'm guessing the file, or at least the beginning of the file has more comma in it than tabs which is why Killink CSV mis-detected the correct delimiter type.

I'll work on a fix right away. Look for an update sometime tomorrow (Friday).

Also if possible, will you send me a sample of the file that fails to load correctly to the email address support@whitepeaksoftware.com? It doesn't have to be a complete file, just the first few lines. By the way, I understand if you cannot send the sample data as it may include information that cannot be shared.

Thanks,
-KIRBY


White Peak Software Inc
www.whitepeaksoftware.com
Post #135
Posted 6/21/2007 2:57:38 PM


Forum Administrator

Forum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum Administrator

Group: Power Users
Last Login: 2 days ago @ 8:01:14 AM
Posts: 157, Visits: 1,009
Hi Chert,

I have made a fix that addresses the immediate problem you reported. I'm still testing so it will not be made available from the web site until tomorrow, but you can download the fixed version here:

http://www.whitepeaksoftware.com/downloads/setup-killinkcsv-116.exe
(This test version is no longer available.)

Thanks for reporting the problem.

-KIRBY


White Peak Software Inc
www.whitepeaksoftware.com
Post #136
Posted 6/21/2007 8:28:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/21/2007 8:41:44 PM
Posts: 4, Visits: 4
Thanks, I'll try it out ASAP... (It's downloading in the background)

However, I do have a question... Why is it 'auto-detecting' at all? I have the extension of '.tsv' registered (as ;tsv at the end of the list) as a Tab Separated file. It seems to me that it should just check that first, and then not try to determine the file type beyond that.

And Yes, I have a bunch of ','s on the 2nd line... Actually, the file is my product database written to tab sep. files... Why Tab? Well, one of the fields is the keywords to use for the product, and that is in the standard format of 'Keyword,keyword' - and I didn't use to support having "'s in the file. (Something I gave up on and wrote the code as Excel stuffs them in, and do does (did?) your software. I don't see why I need quotes in the file if it is 1PensFred Flintstone123 pebbles way... The fields are all separated by tabs, and as long as they don't contain any, who needs the quotes?


-- Chert



http://pens.traderhut.com
Post #137
Posted 6/22/2007 4:18:57 AM


Forum Administrator

Forum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum Administrator

Group: Power Users
Last Login: 2 days ago @ 8:01:14 AM
Posts: 157, Visits: 1,009
Traderhut (6/21/2007)
Why is it 'auto-detecting' at all? I have the extension of '.tsv' registered (as ;tsv at the end of the list) as a Tab Separated file. It seems to me that it should just check that first, and then not try to determine the file type beyond that.


You are absolutely right. If the file extension is registered to one and only one file type it should always use the delimiter from that file type. Killink CSV was doing this before but I accidently introduced a bug that prevented this check when I re-wrote the auto-detect logic. That bug has now been fixed.

To answer the question why have auto-detecting at all? There are a number of reasons.

1) A file extension maybe defined for more than 1 file type. Example, .txt is defined for tab and pipe delimiters by default with new installs. The auto-detect is used to determine which is the correct delimiter. If the auto-detect cannot figure it out then the user is prompted to select a delimiter.

2) The .xls file extension is for Excel files but sometimes download web sites will use this extension for comma-separated value files. In this scenarion the auto-detect inspects the file contents to determine if the file is actually an Excel file or a CSV file.

3) There are different Excel file formats. Killink CSV supports some Excel formats but not all. The auto-detect is used to determine if the Excel file format is supported.

4) The file may not have a file extension or the file extension may not be registered with Killink CSV. The auto-detect will attempt to determine if the file is indeed a delmiited text file and if so attempt to determine the delimiter type.

Overall, the goal behind using the auto-detect is to avoid having to prompt the user each time a file is opened and there is uncertainty.

Prior to version 1.3 Killink CSV would always prompt the user if the file extension is registered more than once or not registered at all. It would also blindly open any file with a .xls extension as an Excel file even if the format is not supported (causing an error) or the file contents are actually a CSV text file (also causing an error).

Version 1.3 is a major improvement in this area. And thanks to your report bug it is better today than it was yesterday.

A new official release will be published later today.

-KIRBY


White Peak Software Inc
www.whitepeaksoftware.com
Post #138
Posted 6/22/2007 4:25:06 AM


Forum Administrator

Forum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum Administrator

Group: Power Users
Last Login: 2 days ago @ 8:01:14 AM
Posts: 157, Visits: 1,009
Traderhut (6/21/2007)
Well, one of the fields is the keywords to use for the product, and that is in the standard format of 'Keyword,keyword' - and I didn't use to support having "'s in the file. (Something I gave up on and wrote the code as Excel stuffs them in, and do does (did?) your software. I don't see why I need quotes in the file if it is 1PensFred Flintstone123 pebbles way... The fields are all separated by tabs, and as long as they don't contain any, who needs the quotes?


Have you tried the quoting rule "Value contains NULL, quote, or delimiter characters"? This quoting rule will only quote the field if the value contains a NULL character, a quote character, or a delimiter character.

The quoting rule is available at Tools > Options, or press the F8 key, under File Type Options > Default Settings.

I also plan to add a new quoting rule very soon that will quote when a "Value contains NULL or delimiter characters". I know this rule will definitely work for you.

-KIRBY


White Peak Software Inc
www.whitepeaksoftware.com
Post #139
Posted 6/22/2007 8:57:29 AM


Forum Administrator

Forum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum AdministratorForum Administrator

Group: Power Users
Last Login: 2 days ago @ 8:01:14 AM
Posts: 157, Visits: 1,009
Kirby Turner (6/22/2007)
A new official release will be published later today.


The new release is available from the product web site. Here's the link to the download page:

http://www.whitepeaksoftware.com/killink-csv-download.aspx

-KIRBY


White Peak Software Inc
www.whitepeaksoftware.com
Post #140
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Kirby Turner