Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date in excel header row causes unhelpful error #102

Open
Bjwebb opened this issue Jan 31, 2018 · 1 comment
Open

Date in excel header row causes unhelpful error #102

Bjwebb opened this issue Jan 31, 2018 · 1 comment
Labels
spreadsheet input Relating to when a spreadsheet is provided as input

Comments

@Bjwebb
Copy link
Contributor

Bjwebb commented Jan 31, 2018

image

https://sentry.io/open-data-services/cove/issues/392837329/

TypeError: datetime.datetime(2017, 1, 1, 0, 0) is not JSON serializable
(5 additional frame(s) were not displayed)
...
  File "cove/lib/exceptions.py", line 53, in wrapper
    return func(request, *args, **kwargs)
  File "cove/lib/converters.py", line 92, in convert_spreadsheet
    **flattentool_options

datetime.datetime(2017, 1, 1, 0, 0) is not JSON serializable

Example file: date_in_header.xlsx

@robredpath
Copy link
Contributor

@robredpath robredpath transferred this issue from OpenDataServices/cove Oct 14, 2020
@robredpath robredpath transferred this issue from another repository Oct 14, 2020
@jpmckinney jpmckinney added the spreadsheet input Relating to when a spreadsheet is provided as input label Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spreadsheet input Relating to when a spreadsheet is provided as input
Projects
None yet
Development

No branches or pull requests

3 participants