Page 1 of 1

Krita won't open CSV files exported from TVPaint. Why?

Posted: 12 Nov 2019, 13:45
by Nate S.
Every time I use Krita to open a CSV file that I exported using TVPaint, I keep getting this error message:

"Could not open file: ???.csv
Reason: The file format cannot be parsed.."

This is driving me nuts because I'm trying to collaborate on a project with a couple of animators who use Krita. Plus, I use TVPaint 10. What am I supposed to do?

Re: Krita won't open CSV files exported from TVPaint. Why?

Posted: 12 Nov 2019, 13:50
by D.T. Nethery
"I use TVPaint 10."
Which version of TVPaint 10 ?


I can confirm the same problem on my end with TVPaint 11 .

When I try exporting a project from TVPaint in .csv format and then try to open the .csv in Krita I get the error message "The file format cannot be parsed" . But the Krita User Manual says:

"Krita supports the CSV version used by TVPaint, to transfer layered animation between these two softwares and probably with others, like Blender. This is not an image sequence format, so use the document loading and saving functions in Krita instead of the Import animation frames and Render Animation menu items."

https://docs.krita.org/en/general_conce ... e_csv.html

.

Re: Krita won't open CSV files exported from TVPaint. Why?

Posted: 13 Nov 2019, 11:41
by Thierry
That is intriguing.

After digging in our internal bugtracker/todo-list, here's what I found about the CSV export:

The only changes we made in v11 for the CSV export were for v11.0.3 (CSV Export now keeps start frame info) and v11.0.2 (When exporting, original layer/instances names are kept).
In v11.0.0 we added the ability to export only the csv file (without images), but that has no influence on how the csv file is constructed.
We've also done some localisation changes (v11.0.2) and added George commands (v11.0.0), but once again, no influence on how the csv export works.

No changes have been made in v10 regarding the CSV export feature.

So, there has only been two structural changes to the csv output made to this feature since it was introduced, and the last one dates back to 2016, so I find it strange that Krita has trouble with importing them now.
My first guess is that the problem is on Krita's side, and that they've changed how hey parse the CSV file.

Regardless, I'll try and run some tests in Krita when I have the time, but I'm curious to know if other people had this problem before.

Re: Krita won't open CSV files exported from TVPaint. Why?

Posted: 14 Nov 2019, 14:18
by D.T. Nethery
This has been discussed on the Krita support forum (Mar. 19, 2019) -

https://forum.kde.org/viewtopic.php?f=139&t=159957

Does not seem to be a high priority for the developers : "It might've gotten broken. That plugin doesn't see a lot of use, and I don't have any test files to check with."

Re: Krita won't open CSV files exported from TVPaint. Why?

Posted: 14 Nov 2019, 14:30
by slowtiger
Well, that last point could be cared for?

Re: Krita won't open CSV files exported from TVPaint. Why?

Posted: 15 Nov 2019, 09:49
by Thierry
As I suspected, the problem most likely comes on their side.
Well, that last point could be cared for?
Indeed, I'll send them a few CSV files later :)