Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Venezuela HumData source is failing #320

Open
themonk911 opened this issue Nov 18, 2020 · 0 comments
Open

Venezuela HumData source is failing #320

themonk911 opened this issue Nov 18, 2020 · 0 comments

Comments

@themonk911
Copy link
Contributor

"{"logname": "VenezuelaHumDataSource", "timestamp": "2020-11-18T11:53:07.1124", "classname": "VenezuelaHumDataSource", "loglevel": "error", "source_name": "VenezuelaHumDataSource", "config": {"name": "pipelines.epidemiology.ve_humdata.VenezuelaHumDataSource", "fetch": [{"url": "https://docs.google.com/spreadsheets/d/e/2PACX-1vQI4s0no2TS1dYxbv82nhKD7iz8fbDGwdsOI4kzJ0cg3gjOR51KIw_rNOff97Xic_fRQD41xmsDGUfM/pub?gid=1029482781&single=true&output=csv", "opts": {"ext": "csv"}}], "test": {"location_key_match": "VE_.*"}, "automation": {"job_group": "all", "deferred": true}}, "traceback": "Traceback (most recent call last):\n File "/opt/open-covid/src/lib/pipeline.py", line 163, in _run_wrapper\n return data_source.run(output_folder, cache, aux, **source_opts)\n File "/opt/open-covid/src/lib/data_source.py", line 230, in run\n data = self.parse(data, {name: df.copy() for name, df in aux.items()}, **parse_opts)\n File "/opt/open-covid/src/lib/data_source.py", line 97, in parse\n return self.parse_dataframes(self._read(sources, **read_opts), aux, **parse_opts)\n File "/opt/open-covid/src/lib/data_source.py", line 91, in _read\n return {name: read_file(file_path, **read_opts) for name, file_path in file_paths.items()}\n File "/opt/open-covid/src/lib/data_source.py", line 91, in \n return {name: read_file(file_path, **read_opts) for name, file_path in file_paths.items()}\n File "/opt/open-covid/src/lib/io.py", line 96, in read_file\n return pandas.read_csv(path, **{**default_read_opts, **read_opts})\n File "/usr/local/lib/python3.8/dist-packages/pandas/io/parsers.py", line 686, in read_csv\n return _read(filepath_or_buffer, kwds)\n File "/usr/local/lib/python3.8/dist-packages/pandas/io/parsers.py", line 458, in _read\n data = parser.read(nrows)\n File "/usr/local/lib/python3.8/dist-packages/pandas/io/parsers.py", line 1186, in read\n ret = self._engine.read(nrows)\n File "/usr/local/lib/python3.8/dist-packages/pandas/io/parsers.py", line 2145, in read\n data = self._reader.read(nrows)\n File "pandas/_libs/parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read\n File "pandas/_libs/parsers.pyx", line 862, in pandas._libs.parsers.TextReader._read_low_memory\n File "pandas/_libs/parsers.pyx", line 918, in pandas._libs.parsers.TextReader._read_rows\n File "pandas/_libs/parsers.pyx", line 905, in pandas._libs.parsers.TextReader._tokenize_rows\n File "pandas/_libs/parsers.pyx", line 2042, in pandas._libs.parsers.raise_parser_error\npandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 6, saw 2\n\n", "message": "Error running data source."}"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant