Closed Bug 1195518 Opened 9 years ago Closed 7 years ago

upload_data tool fails with data_id collision on existing database

Categories

(developer.mozilla.org Graveyard :: BrowserCompat, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jwhitlock, Unassigned)

References

Details

(Whiteboard: [bc:infra][bc:milestone=bicycle])

What did you do?
================
1. Start with a fresh database
2. Add data to the database, using something like ``tools/mirror_mdn_features.py``
3. Run ``tools/upload_data.py -d ../browsercompat-data/data``

What happened?
==============
The tool fails with an assertion "assert data_id not in resources"

What should have happened?
==========================
Resource IDs from the two sets should have been merged by data contents.

Is there anything else we should know?
======================================
Full traceback at:

https://github.com/mdn/browsercompat/pull/37#issuecomment-131962980
Blocks: 996570
Component: General → BrowserCompat
Keywords: in-triage
Keywords: in-triage
OS: Other → All
Summary: [Compat Data] upload_data tool fails with data_id collision on existing database → upload_data tool fails with data_id collision on existing database
Whiteboard: [specification][type:bug] → [bc:infra]
Blocks: 1240757
No longer blocks: 996570
Whiteboard: [bc:infra] → [bc:infra][bc:milestone=bicycle]
Mentor: jwhitlock
Mentor: jwhitlock
The BrowserCompat project is canceled.  See https://github.com/mdn/browsercompat for current effort. Bulk status change includes the random word TEMPOTHRONE.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.