Bug 401890 - Krita doesn't open csv archives
Summary: Krita doesn't open csv archives
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 4.1.5
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 406129 412457 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-08 12:38 UTC by Ian Giaroli
Modified: 2022-11-01 14:09 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
csv file tried to open in krita (7.40 KB, application/vnd.ms-excel)
2018-12-08 13:00 UTC, Ian Giaroli
Details
Frame (148.25 KB, image/png)
2018-12-08 13:02 UTC, Ian Giaroli
Details
frame (152.78 KB, image/png)
2018-12-08 13:03 UTC, Ian Giaroli
Details
frame (113.18 KB, image/png)
2018-12-08 13:03 UTC, Ian Giaroli
Details
frame (125.55 KB, image/png)
2018-12-08 13:03 UTC, Ian Giaroli
Details
frame (129.11 KB, image/png)
2018-12-08 13:04 UTC, Ian Giaroli
Details
frame (129.12 KB, image/png)
2018-12-08 13:04 UTC, Ian Giaroli
Details
frame (133.41 KB, image/png)
2018-12-08 13:04 UTC, Ian Giaroli
Details
frame (131.34 KB, image/png)
2018-12-08 13:05 UTC, Ian Giaroli
Details
frame (126.41 KB, image/png)
2018-12-08 13:05 UTC, Ian Giaroli
Details
frame (134.60 KB, image/png)
2018-12-08 13:06 UTC, Ian Giaroli
Details
frame (190.59 KB, image/png)
2018-12-08 13:07 UTC, Ian Giaroli
Details
frame (115.38 KB, image/png)
2018-12-08 13:07 UTC, Ian Giaroli
Details
frame (149.31 KB, image/png)
2018-12-08 13:09 UTC, Ian Giaroli
Details
frame (136.03 KB, image/png)
2018-12-08 13:10 UTC, Ian Giaroli
Details
frame (145.03 KB, image/png)
2018-12-08 13:11 UTC, Ian Giaroli
Details
frame (157.61 KB, image/png)
2018-12-08 13:11 UTC, Ian Giaroli
Details
frame (174.99 KB, image/png)
2018-12-08 13:12 UTC, Ian Giaroli
Details
frame (179.32 KB, image/png)
2018-12-08 13:12 UTC, Ian Giaroli
Details
frame (155.89 KB, image/png)
2018-12-08 13:12 UTC, Ian Giaroli
Details
frame (19.40 KB, image/png)
2018-12-08 13:13 UTC, Ian Giaroli
Details
frame (40.99 KB, image/png)
2018-12-08 13:13 UTC, Ian Giaroli
Details
frame (117.38 KB, image/png)
2018-12-08 13:14 UTC, Ian Giaroli
Details
frame (117.05 KB, image/png)
2018-12-08 13:14 UTC, Ian Giaroli
Details
frame (116.86 KB, image/png)
2018-12-08 13:15 UTC, Ian Giaroli
Details
frame (116.55 KB, image/png)
2018-12-08 13:15 UTC, Ian Giaroli
Details
frame (116.48 KB, image/png)
2018-12-08 13:16 UTC, Ian Giaroli
Details
frame (117.19 KB, image/png)
2018-12-08 13:16 UTC, Ian Giaroli
Details
frame (117.04 KB, image/png)
2018-12-08 13:16 UTC, Ian Giaroli
Details
frame (115.01 KB, image/png)
2018-12-08 13:17 UTC, Ian Giaroli
Details
frame (114.96 KB, image/png)
2018-12-08 13:17 UTC, Ian Giaroli
Details
frame (87.51 KB, image/png)
2018-12-08 13:18 UTC, Ian Giaroli
Details
frame (27.74 KB, image/png)
2018-12-08 13:18 UTC, Ian Giaroli
Details
frame (120.86 KB, image/png)
2018-12-08 13:19 UTC, Ian Giaroli
Details
frame (162.77 KB, image/png)
2018-12-08 13:19 UTC, Ian Giaroli
Details
frame (115.38 KB, image/png)
2018-12-08 13:20 UTC, Ian Giaroli
Details
frame (129.79 KB, image/png)
2018-12-08 13:20 UTC, Ian Giaroli
Details
frame (40.99 KB, image/png)
2018-12-08 13:20 UTC, Ian Giaroli
Details
frame (7.94 KB, image/png)
2018-12-08 13:21 UTC, Ian Giaroli
Details
frame (9.99 KB, image/png)
2018-12-08 13:21 UTC, Ian Giaroli
Details
(csv for testing created with Krita 4.2.0) (773.03 KB, application/zip)
2018-12-08 15:04 UTC, mvowada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Giaroli 2018-12-08 12:38:34 UTC
SUMMARY
Trying to open a csv archive exported from tvpaint, Krita doesn't open it and gives me the message: "Krita doesn't allow to open this file format"

STEPS TO REPRODUCE
1. I opened the Krita versión (downloaded version from Steam)
2. Export a csv archive from tvpaint 10 (Attached with its pngs files)
3. Tried to open directly from Archive/Open

OBSERVED RESULT
An error message result: "Krita doesn't allow to open this file format" (instead .csv files are from the "allowed file formats" which you can see in the open menu windows and in the user manual form Krita) 

EXPECTED RESULT
The archive correctly opened with all the frames perfect disposed in the timeline.

SOFTWARE/OS VERSIONS
Windows: windows 7

KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 mvowada 2018-12-08 12:52:53 UTC
(In reply to Ian Giaroli from comment #0)
> instead .csv files are from the "allowed file formats"
I didn't checked myself yet, but are you sure that in your case it "consists of a text file with .csv extension, together with a folder under the same name and a .frames extension. The .csv file and the folder must be on the same path location" (https://docs.krita.org/en/general_concepts/file_formats/file_csv.html.)?
Comment 2 mvowada 2018-12-08 12:56:54 UTC
*haven't

Could you by chance share the files for testing?
Comment 3 Ian Giaroli 2018-12-08 12:58:16 UTC
(In reply to mvowada from comment #1)
> (In reply to Ian Giaroli from comment #0)
> > instead .csv files are from the "allowed file formats"
> I didn't checked myself yet, but are you sure that in your case it "consists
> of a text file with .csv extension, together with a folder under the same
> name and a .frames extension. The .csv file and the folder must be on the
> same path location"
> (https://docs.krita.org/en/general_concepts/file_formats/file_csv.html.)?

Yes, I made it correctly, y I will attac it now, sorry, I forget it.
Comment 4 Ian Giaroli 2018-12-08 13:00:48 UTC
Created attachment 116748 [details]
csv file tried to open in krita

I tried to open this csv file in Krita, now I Will upload the Png (they must be in a folder called "mermaid.frames" in the same folder than the csv)
Comment 5 Ian Giaroli 2018-12-08 13:02:56 UTC
Created attachment 116749 [details]
Frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 6 Ian Giaroli 2018-12-08 13:03:18 UTC
Created attachment 116750 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 7 Ian Giaroli 2018-12-08 13:03:37 UTC
Created attachment 116751 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 8 Ian Giaroli 2018-12-08 13:03:59 UTC
Created attachment 116752 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 9 Ian Giaroli 2018-12-08 13:04:23 UTC
Created attachment 116753 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 10 Ian Giaroli 2018-12-08 13:04:40 UTC
Created attachment 116754 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 11 Ian Giaroli 2018-12-08 13:04:59 UTC
Created attachment 116755 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 12 Ian Giaroli 2018-12-08 13:05:18 UTC
Created attachment 116756 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 13 Ian Giaroli 2018-12-08 13:05:36 UTC
Created attachment 116757 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 14 Ian Giaroli 2018-12-08 13:06:24 UTC
Created attachment 116758 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 15 Ian Giaroli 2018-12-08 13:07:02 UTC
Created attachment 116759 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 16 Ian Giaroli 2018-12-08 13:07:26 UTC
Comment on attachment 116758 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 17 Ian Giaroli 2018-12-08 13:07:58 UTC
Created attachment 116760 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 18 Ian Giaroli 2018-12-08 13:09:37 UTC
Created attachment 116761 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 19 Ian Giaroli 2018-12-08 13:10:03 UTC
Created attachment 116762 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 20 Ian Giaroli 2018-12-08 13:11:30 UTC
Created attachment 116763 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 21 Ian Giaroli 2018-12-08 13:11:54 UTC
Created attachment 116764 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 22 Ian Giaroli 2018-12-08 13:12:14 UTC
Created attachment 116765 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 23 Ian Giaroli 2018-12-08 13:12:36 UTC
Created attachment 116766 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 24 Ian Giaroli 2018-12-08 13:12:58 UTC
Created attachment 116767 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 25 Ian Giaroli 2018-12-08 13:13:16 UTC
Created attachment 116768 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 26 Ian Giaroli 2018-12-08 13:13:43 UTC
Created attachment 116769 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 27 Ian Giaroli 2018-12-08 13:14:27 UTC
Created attachment 116770 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 28 Ian Giaroli 2018-12-08 13:14:48 UTC
Created attachment 116771 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 29 Ian Giaroli 2018-12-08 13:15:07 UTC
Created attachment 116772 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 30 Ian Giaroli 2018-12-08 13:15:45 UTC
Created attachment 116773 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 31 Ian Giaroli 2018-12-08 13:16:06 UTC
Created attachment 116774 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 32 Ian Giaroli 2018-12-08 13:16:27 UTC
Created attachment 116775 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 33 Ian Giaroli 2018-12-08 13:16:55 UTC
Created attachment 116776 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 34 Ian Giaroli 2018-12-08 13:17:18 UTC
Created attachment 116777 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 35 Ian Giaroli 2018-12-08 13:17:39 UTC
Created attachment 116778 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 36 Ian Giaroli 2018-12-08 13:18:03 UTC
Created attachment 116779 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 37 Ian Giaroli 2018-12-08 13:18:27 UTC
Created attachment 116780 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 38 Ian Giaroli 2018-12-08 13:19:18 UTC
Created attachment 116781 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 39 Ian Giaroli 2018-12-08 13:19:43 UTC
Created attachment 116782 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 40 Ian Giaroli 2018-12-08 13:20:06 UTC
Created attachment 116783 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 41 Ian Giaroli 2018-12-08 13:20:26 UTC
Created attachment 116784 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 42 Ian Giaroli 2018-12-08 13:20:45 UTC
Created attachment 116785 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 43 Ian Giaroli 2018-12-08 13:21:07 UTC
Created attachment 116786 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 44 Ian Giaroli 2018-12-08 13:21:34 UTC
Created attachment 116787 [details]
frame

Frames Wich must be in the folder "mermaid.frames". the system doesn't allow me to upload a folder or a zip (in a zip it's to big)
Comment 45 Ian Giaroli 2018-12-08 13:23:47 UTC
(In reply to mvowada from comment #2)
> *haven't
> 
> Could you by chance share the files for testing?

Ok, all shared, the png's must be in a folder called Mermaid.frames in the same location than the csv to work, but i couldn't upload it in a zip, sorry.
Comment 46 mvowada 2018-12-08 15:04:46 UTC
Created attachment 116789 [details]
(csv for testing created with Krita 4.2.0)

Yes, it says that the file format is not supported (I have created a new csv file in attachment for testing, using Krita 4.2.0).
Comment 47 mvowada 2018-12-08 15:05:24 UTC
Confirming...
Comment 48 Scott Petrovic 2019-01-02 14:35:10 UTC
I am changing this to a "wishlist" item since it would be a new feature to be able to import TV Paint CSV files. Based off the documentation, the CSV file is just a text file with a table of locations for animation frames and layers. They are mapped to all the images in the "my.frames" folder. It is all zipped up. This functionality could probably be written with a python plugin with some of the new python API stuff that is added in Krita 4.2

reference:
https://www.tvpaint.com/doc/tvp11/index.php?id=lesson-import-export-handling-projects-export
Comment 49 Halla Rempt 2019-01-02 18:30:46 UTC
Ah, no, that's wrong, I'm afraid. Our CSV plugin advertises it can import, but it cannot. So this really is a bug. Unfortunately, the original author has sort of disappeared...
Comment 50 Ian Giaroli 2019-01-02 19:57:38 UTC
(In reply to Boudewijn Rempt from comment #49)
> Ah, no, that's wrong, I'm afraid. Our CSV plugin advertises it can import,
> but it cannot. So this really is a bug. Unfortunately, the original author
> has sort of disappeared...

Not disappeared, I just work in the night and was sleeping when the messages were writting, but doesn't know anything about programming, so I discovered the problem and report It.
Comment 51 Halla Rempt 2019-01-03 00:28:31 UTC
I was talking about the author of the code, not the bug report :-)
Comment 52 Halla Rempt 2019-05-16 10:24:16 UTC
*** Bug 406129 has been marked as a duplicate of this bug. ***
Comment 53 Tiar 2019-10-03 12:21:52 UTC
*** Bug 412457 has been marked as a duplicate of this bug. ***
Comment 54 Halla Rempt 2019-10-03 12:25:45 UTC
Git commit 72655eff0dfd90d5c8bde0f4418af1703f84ba94 by Boudewijn Rempt.
Committed on 03/10/2019 at 12:25.
Pushed by rempt into branch 'krita/4.2'.

Don't install the csv import/export plugin for now, it's broken

M  +2    -2    plugins/impex/csv/CMakeLists.txt

https://invent.kde.org/kde/krita/commit/72655eff0dfd90d5c8bde0f4418af1703f84ba94
Comment 55 Freya Lupen 2022-11-01 14:09:51 UTC
Fixed here, in 5.1x/5.2x: https://invent.kde.org/graphics/krita/-/merge_requests/1633 "401890 Fix .csv import".
It wasn't automatically closed because of a typoed bug number in the commit.