Ghini / ghini.desktop

plant collections manager (desktop version)
http://ghini.github.io/
GNU General Public License v2.0
24 stars 14 forks source link

csv export stops on unparseable date #365

Closed mfrasca closed 6 years ago

mfrasca commented 6 years ago

trying to export from 'cuchubo', operation stops on ValueError: Couldn't parse datetime string: u'2014-01-01 20'. not only can't it export the line, but it silently interrupts the export. failure happens on vernacular name, all tables scheduled for export after that are not exported, this includes plant.

mfrasca commented 6 years ago

this is not something that would normally happen: I wrote the record by hand, and in SQLite it's a text and I did not respect the agreed format. anyway, it's not nice that it stopped altogether, and that's now fixed.
the mistake was manual and it's in the data.