trix-solutions/moncli

get_column_value ValueError: time data '' does not match format '%H:%M:%S'

Closed this issue · 3 comments

Hi,
I want to upload a file to an item, so I do like you explain :
image
The problem is that I think you go over all the columns of the item and try to convert, but when it encountered a date column with no hours, like this : {'date': '2022-03-01', 'time': ''} an error occurs because the time is empty.
ValueError: time data ''' does not match format '%H:%M:%S'

Capture d’écran 2022-03-12 à 01 22 11

Do you know what can be the problem?
Thanks.

@andybenichou

Thank you for bringing this to my attention. I will take a look at this and let you know when I get a fix in.

Thank you for your patience.

All the best,

Andrew

@andybenichou,

I apologize for getting back so late. I did get a fix in for this issue with the latest check-in #218.

Please let me know if you continue running into issues regarding this. Many thanks for your patience.

Andrew

Thanks, I'll try again.