louking / rrwebapp

Race Results Web Application
0 stars 1 forks source link

results analysis collect: runningahead exception AttributeError: 'NoneType' object has no attribute 'logger' #463

Closed louking closed 3 years ago

louking commented 3 years ago
  File "C:\Users\lking\Documents\Lou's Software\projects\rrwebapp\rrwebapp\rrwebapp\tasks.py", line 199, in analyzeresultstask
    collectservices[servicename](self, club_id, memberfile, thisdetailfile, status)
  File "C:\Users\lking\Documents\Lou's Software\projects\rrwebapp\rrwebapp\rrwebapp\resultsutils.py", line 710, in collect
    results = self.getresults(name, runner['GivenName'], runner['FamilyName'], runner['Gender'][0], dt_dob, begindate, enddate)
  File "C:\Users\lking\Documents\Lou's Software\projects\rrwebapp\rrwebapp\rrwebapp\runningaheadresults.py", line 150, in getresults
    app.logger.debug('found {}'.format(name))
AttributeError: 'NoneType' object has no attribute 'logger'