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

chile_compra_bulk: Exception: data_type not a known type #372

Closed
sentry-io bot opened this issue Apr 28, 2020 · 2 comments
Closed

chile_compra_bulk: Exception: data_type not a known type #372

sentry-io bot opened this issue Apr 28, 2020 · 2 comments
Labels
bug Something isn't working existing spider

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 28, 2020

It's sending requests to Kingfisher Process with data_type's like
https://ocds.blob.core.windows.net/ocds/201701.zip

Sentry Issue: OPEN-CONTRACTING-KINGFISHERLIV-63

Exception: data_type not a known type
(7 additional frame(s) were not displayed)
...
  File "ocdskingfisherprocess/web/views_api_v1.py", line 121, in dispatch_request
    request.form.get('local_file_name')
  File "ocdskingfisherprocess/store.py", line 96, in store_file_from_local
    self.store_file_from_data(filename, url, data_type, data, file_warnings=file_to_store.get_warnings())
  File "ocdskingfisherprocess/store.py", line 122, in store_file_from_data
    raise e
  File "ocdskingfisherprocess/store.py", line 118, in store_file_from_data
    self.store_file_item(filename, url, data_type, item_data, number)
  File "ocdskingfisherprocess/store.py", line 178, in store_file_item
    raise Exception("data_type not a known type")
@jpmckinney jpmckinney added bug Something isn't working existing spider labels Apr 28, 2020
@jpmckinney
Copy link
Member

cc @Camilamila

@jpmckinney
Copy link
Member

jpmckinney commented Apr 28, 2020

FYi, @yolile, you introduced the error (fixed in f077936) when you removed the keywords for keyword arguments in 8d7fdf0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working existing spider
Projects
None yet
Development

No branches or pull requests

1 participant