#6767 GC issue parsing bug

v1.1.0
closed
General
Cory Johns
2015-08-20
2013-10-16
No

Importing the Issues data from the heidisql Google Code project to the ctsai-test3 Allura project failed with the error: 'NoneType' object has no attribute 'strip'

Traceback (most recent call last):
  File "/var/local/allura/ForgeImporters/forgeimporters/base.py", line 119, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 131, in import_tool
    self.process_fields(ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 168, in process_fields
    ticket.summary = issue.get_issue_summary()
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 143, in get_issue_summary
    text = self.page.find(id='issueheader').findAll('td', limit=2)[1].span.string.strip()
AttributeError: 'NoneType' object has no attribute 'strip'

Discussion

  • Tim Van Steenburgh

    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
  • Tim Van Steenburgh

    • status: in-progress --> code-review
    • Size: --> 1

    allura:tv/6767

     
  • Cory Johns

    Cory Johns - 2013-10-17
    • QA: Cory Johns
     
  • Cory Johns

    Cory Johns - 2013-10-17
    • status: code-review --> closed
     

Log in to post a comment.