Closed Matsched closed 1 day ago
Maybe have a look here: https://gitlab.com/eneiluj/cospend-nc/-/merge_requests/152
It only works if Splitwise account language is set to English (column names are localized)
Not sure if this is still the case, but it seems like it was, when the feature was implemented.
Edit: It is: https://github.com/julien-nc/cospend-nc/issues/159#issuecomment-1201832844
It happened to me too, my account was set to French, so I switched it to English.
The language can be changed here https://secure.splitwise.com/account/settings
The code is here after a quick search https://github.com/julien-nc/cospend-nc/blob/ebfd417293f9eaa2a248354c5264c599ae41aa7a/lib/Service/ProjectService.php#L5178
Especially these lines are assuming the columns are in English https://github.com/julien-nc/cospend-nc/blob/ebfd417293f9eaa2a248354c5264c599ae41aa7a/lib/Service/ProjectService.php#L5201-L5205 https://github.com/julien-nc/cospend-nc/blob/ebfd417293f9eaa2a248354c5264c599ae41aa7a/lib/Service/ProjectService.php#L5250 https://github.com/julien-nc/cospend-nc/blob/ebfd417293f9eaa2a248354c5264c599ae41aa7a/lib/Service/ProjectService.php#L5250
I created a small PR to improve the error message https://github.com/julien-nc/cospend-nc/pull/238
Thank you for your work !! :) It worked after switching the language in the export.
NC Version: 27.0 Cospend Version 1.5.10
If i try to import a exported .csv-File from SplitWise i get:
Fehler beim Importieren der Projektdatei: Malformed CSV, impossible to find the column names
(Error while importing the project data)This is the format from splitwise:
How i can change it to import it correctly to Cospend? Can you fix this?
kind regards