View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007352ParaView(No Category)public2008-07-17 11:302009-05-13 13:47
ReporterBurlen 
Assigned ToZhanping Liu 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.6Fixed in Version 
Summary0007352: export csv doesn't handle char data arrays
DescriptionvtkDataArrays of type char that are written to a csv file should be written as integer data, otherwise it is not readable by spread sheet/text editor. If these arrays are written directly as char's they are likely to contain control characters that are not viewable.
TagsNo tags attached.
Project
Topic Name
Type
Attached Filescsv file icon Bug.csv [^] (11,703 bytes) 2008-11-18 11:54
csv file icon Fix.csv [^] (14,495 bytes) 2008-11-18 11:54
txt file icon Patch.txt [^] (941 bytes) 2008-11-18 11:54 [Show Content]

 Relationships

  Notes
(0014135)
Zhanping Liu (developer)
2008-11-18 11:53

BUG: 0007352 has been fixed. The problem, i.e., the occurrence of weird characters (resulting from char / signed char / unsigned char variables) in an output CSV file,
was caused by vtkCSVExporter::WriteData(...). For these three types (of vtkVariant), the output CSV file contains
characters (see the attached file 'Bug.csv') that cannot be properly shown in a text viewer.

     Please see the attached patch file 'Patch.txt' for the fix to the bug and a properly generated CSV file 'Fix.CSV'.

     Thanks go to Burlen for the great help with bug re-production.

     new revision: 1.2; previous revision: 1.1.
(0014420)
Alan Scott (manager)
2008-12-22 20:40

Tested local client. I believe that there are other issues with writing csv files, but I will write up another bug. Thus, I am going off of the attached files.

 Issue History
Date Modified Username Field Change
2008-07-17 11:30 Burlen New Issue
2008-11-14 15:40 Utkarsh Ayachit Status backlog => tabled
2008-11-14 15:40 Utkarsh Ayachit Assigned To => Zhanping Liu
2008-11-18 11:53 Zhanping Liu Note Added: 0014135
2008-11-18 11:54 Zhanping Liu File Added: Bug.csv
2008-11-18 11:54 Zhanping Liu File Added: Fix.csv
2008-11-18 11:54 Zhanping Liu File Added: Patch.txt
2008-11-18 11:56 Zhanping Liu Status tabled => @80@
2008-12-22 20:40 Alan Scott Note Added: 0014420
2008-12-22 20:40 Alan Scott Status @80@ => closed
2008-12-22 20:40 Alan Scott Resolution open => fixed
2009-05-13 13:47 Utkarsh Ayachit Target Version => 3.6
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team