Bug 344718

Summary: Can't open CSV files with 'Not implemented' error box
Product: [Applications] calligrasheets Reporter: Alexey Chernov <4ernov>
Component: generalAssignee: Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: contact, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: File to reproduce the bug

Description Alexey Chernov 2015-03-01 19:40:05 UTC
Calligrasheets can't open CSV files anymore: it starts fine but error message box appears immediately. The text reads the following: "Can't open <filename>. Reason: not implemented". Reproducible in 2.9 release (can't set it in the 'Version' field of bugtracker, sorry), it worked just fine in 2.8.7 for me.

File for test is attached, but any CSV file is apparently suitable.

Reproducible: Always

Steps to Reproduce:
1. Try to open any csv file.
2. See 'Not implemented' error box.
3. Calligrasheets closes itself.

Actual Results:  
CSV file is not opened.

Expected Results:  
CSV file opened in calligrasheets.
Comment 1 Alexey Chernov 2015-03-01 19:41:00 UTC
Created attachment 91368 [details]
File to reproduce the bug
Comment 2 Rex Dieter 2015-03-13 18:25:57 UTC
Confirmed, when I try, I see on console output:

sheets(18157)/csvfilter CSVFilter::convert: Invalid document mimetype  "text/csv"
Comment 3 Tomas Mecir 2015-04-06 18:54:08 UTC
Git commit 88c16915f0c717d1325e3035ae85266c7297a0b1 by Tomas Mecir.
Committed on 06/04/2015 at 18:48.
Pushed by mecir into branch 'calligra/2.9'.

fix csv import

M  +4    -4    filters/sheets/csv/csvimport.cc

http://commits.kde.org/calligra/88c16915f0c717d1325e3035ae85266c7297a0b1
Comment 4 Tomas Mecir 2015-04-06 18:55:11 UTC
Git commit 9d4522073b1a87b493b895c758599910f9c674b1 by Tomas Mecir.
Committed on 06/04/2015 at 18:55.
Pushed by mecir into branch 'frameworks'.

fix csv import

M  +4    -4    filters/sheets/csv/csvimport.cc

http://commits.kde.org/calligra/9d4522073b1a87b493b895c758599910f9c674b1
Comment 5 Alexey Chernov 2015-04-06 20:27:51 UTC
Thank you very much for the fix!