#6843 GC Import fail due to unknown license, with no error notification

v1.1.0
closed
General
2015-08-20
2013-11-05
Cory Johns
No
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 258, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tasks.py", line 33, in import_project_info
    extractor.get_license(c.project)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 131, in get_license
    project.trove_license.append(trove._id)
AttributeError: 'NoneType' object has no attribute '_id'

There wasn't an error email sent for this, either, which needs to be investigated.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-11-05
    • labels: --> import, google-code
     
  • Cory Johns

    Cory Johns - 2013-11-05
    • status: in-progress --> code-review
     
  • Cory Johns

    Cory Johns - 2013-11-05

    allura:cj/6843
    forge-classic:cj/6843

    I'm not terribly happy with the error handling changes, but I couldn't figure out a better way to refactor ImportErrorHandler, so suggestions are welcome.

     
  • Dave Brondsema

    Dave Brondsema - 2013-11-05

    Created [#6848] to address the mismatch in trove names

     

    Related

    Tickets: #6848

  • Dave Brondsema

    Dave Brondsema - 2013-11-05
    • status: code-review --> closed
    • QA: Dave Brondsema
     

Log in to post a comment.