louking / rrwebapp

Race Results Web Application
0 stars 1 forks source link

analyze results: ultrasignup exception can't multiply sequence by non-in of type 'float' #524

Closed louking closed 3 years ago

louking commented 3 years ago

May have happened during Donna Lalli retrieval.

[2021-11-29 07:10:48,786: DEBUG/ForkPoolWorker-1] http://ultrasignup.com/service/events.svc/history/Donna/Lalli?
 ...

Traceback (most recent call last):
  File "/var/www/scoretility.com/rrwebapp/rrwebapp/tasks.py", line 382, in analyzeresultstask
    collectservices[servicename](self, club_id, memberfile, thisdetailfile, status)
  File "/var/www/scoretility.com/rrwebapp/rrwebapp/resultsutils.py", line 738, in collect
    results = self.getresults(name, runner['GivenName'], runner['FamilyName'], runner['Gender'][0], dt_dob, begindate, enddate)
  File "/var/www/scoretility.com/rrwebapp/rrwebapp/ultrasignupresults.py", line 125, in getresults
    allresults = self.service.listresults(fname,lname)
  File "/var/www/scoretility.com/venv/lib64/python3.6/site-packages/running/ultrasignup.py", line 331, in listresults
    result.distkm = result.distmiles * (MPERMILE/1000)
TypeError: can't multiply sequence by non-int of type 'float'