New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 876313 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 17
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

long term health tool: Bug when trying to fetch new APKS

Project Member Reported by perezju@chromium.org, Aug 21

Issue description

Leonard, I'm getting the following error (when there are no APKs already downloaded on my workstation):

Getting the path of the APK for milestone 53.
Traceback (most recent call last):
  File "./bin/long_term_health", line 117, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./bin/long_term_health", line 106, in main
    milestone, args.output_path, milestone_info)
  File "./long_term_health/apk_finder.py", line 155, in GetAPK
    milestone_info.GetVersionNumberFromMilestone(milestone_num))
  File "./long_term_health/apk_finder.py", line 85, in GetLatestAvailableVersionURI
    'Stable.apk') % (chrome_version.GetDecrementedVersionNum(i),
  File "./long_term_health/apk_finder.py", line 55, in GetDecrementedVersionNum
    return type(self)(self.milestone, self.minor, self.build, patch_num)
  File "./long_term_health/apk_finder.py", line 36, in __new__
    args = [int(v) for v in args[0].split('.')]
AttributeError: 'int' object has no attribute 'split'


Could you please add both a fix and a new test that would have failed before but now passes after the fix?

Thanks!
 
Sure, I will look into this.
I remember this got fixed?
yes it is fixed.
Status: Fixed (was: Assigned)

Sign in to add a comment