Comments (8)
The file in question:
20200828_state_deaths_7dav_cumulative_prop.csv.zip
from delphi-epidata.
I can take a look at this -- can you point me at the code where this error occurs?
from delphi-epidata.
here's where the correct handling example is logged:
it's unexpected that a file would be archived as failed without any corresponding log message describing the failure reason.
from delphi-epidata.
Thanks David -- that looks like enough to start debugging the issue. To understand more broadly, where does this code get called from? In one of the automation steps?
from delphi-epidata.
yep, that's right. here's how it happens:
task#33
runsstep#63
every hourstep#63
causes the steps inflow#7
to run sequentially- the first step in
flow#7
isstep#60
, which runs the python file csv_to_database.py csv_to_database
imports and callsCsvImporter
from file csv_importer.py
from delphi-epidata.
Still debugging, adding some findings:
- The rows seem to parse fine (i.e.,
cc_rows = CovidcastRow.fromCsvRows(csv_rows, source, signal, time_type, geo_type, time_value, issue, lag, is_wip)
returns a list of rows from the file:
ak 4.7801364393158705 None None
al 40.11095411888978 None None
ar 23.64538679687046 None None
az 66.50701137105816 None None
...
- The version of the code that executed is prior to this patch, which is why the error message shows the
deaths_7dav_cumulative_prop False
line -- this is theprint(signal, is_wip)
from line 80.
from delphi-epidata.
I suspect that the root cause of the problem may be that there is an infinite value in the data: pr inf None None
-- my best guess right now is that this causes the mysql insert to fail, causing a return value of 0 rows. In the case where 0 is returned this falls through to archive_as_failed
which would match the error messages in this issue.
from delphi-epidata.
Fixed in PR.
from delphi-epidata.
Related Issues (20)
- Update database drivers HOT 2
- Error when API request is made for an invalid region? HOT 1
- Replace misleading numeric values in `covid_hosp_facility`? HOT 2
- `covid_hosp_state_timeseries` doesn't return any data HOT 3
- `covid_hosp_facility` has entries with malformed `collection_week` dates HOT 1
- covid_hosp_facility data from Aug 7, 2023 is corrupted HOT 1
- fix uncaught user input processing in date util HOT 2
- Update deprecated github actions HOT 1
- Consider deprecation/removal of delphi_epidata.R client HOT 1
- "Date of last change" dates for some COVIDcast-signals pages should actively link to changelog HOT 1
- Missing from the Changelog's sources and signals is google-symptoms
- Move DB driver specification out of config and into code
- Log "Referer" header to help track tool usage HOT 1
- Some NY data missing from `fluview`
- Synchronize dependency versioning on automation servers HOT 1
- Document `covid_naat_pct_positive_7dav` in `dsew-cpr`
- API queries timing out at 1 min in the proxy HOT 11
- Consider more specific error message when incorrect value is entered for epidatr
- Consider omitting "earliest issue date" from doc pages signals description table for sources hhs and chng
- Clarify whether the “Other Endpoints” section is meant to include COVID + other diseases, or just other diseases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delphi-epidata.