ftpscraper breaks if "build" directory not present

RESOLVED FIXED in 2.4

Status

Socorro
General
--
major
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: rhelmer, Assigned: rhelmer)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-], URL)

(Assignee)

Description

6 years ago
Traceback (most recent call last):
  File "/data/socorro/application/scripts/startFtpScraper.py", line 46, in <module>
    ftpscraper.recordBuilds(config, backfill_date=backfill_date)
  File "/data/socorro/application/socorro/cron/ftpscraper.py", line 109, in recordBuilds
    scrapeReleases(config, cursor, product_name)
  File "/data/socorro/application/socorro/cron/ftpscraper.py", line 190, in scrapeReleases
    for info in getRelease(release, url):
  File "/data/socorro/application/socorro/cron/ftpscraper.py", line 54, in getRelease
    latest_build = builds.pop()
IndexError: pop from empty list

Comment 1

6 years ago
Commits pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/751624397a2216a4082cb786611780ccec5dae35
bug 713663 - check for missing build dirs

https://github.com/mozilla/socorro/commit/48717fefb4c84f9d496fb0fdc3a01cd839033917
Merge pull request #241 from rhelmer/bug713663-check-empty-builds

bug 713663 - check for missing build dirs
(Assignee)

Updated

6 years ago
Assignee: nobody → rhelmer
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.4
Component: Socorro → General
Product: Webtools → Socorro

Updated

6 years ago
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.