#6650 Error on Google Code ticket import

v1.0.1
closed
General
Cory Johns
2015-08-20
2013-09-11
No

https://sourceforge.net/nf/admin/task_manager/view/5230c5bd90954737cf132a91

Google Code project: pychess

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/tracker.py", line 58, in import_tool
    importer.import_tool(c.project, c.user, **kw)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 135, in import_tool
    self.process_fields(ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 192, in process_fields
    ticket.add_multiple_attachments(issue.get_issue_attachments())
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 195, in get_issue_attachments
    return [Attachment(a.parent) for a in attachments.findAll('a', text='Download')]
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 277, in __init__
    filename = parse_qs(urlparse(url).query)['name'][0]
KeyError: 'name'

Related

Tickets: #6638

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-09-11
    • labels: --> import, google-code
    • Milestone: forge-backlog --> forge-sep-20
     
  • Dave Brondsema

    Dave Brondsema - 2013-09-12
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2013-09-12
    • status: in-progress --> code-review
    • Size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2013-09-12

    It failed on http://code.google.com/p/pychess/issues/detail?id=109 which has an invalid (deleted?) attachment.

    Fix in db/6650

     
  • Cory Johns - 2013-09-16
    • status: code-review --> closed
    • QA: Cory Johns
     
  • Cory Johns - 2013-09-16

    There's going to be some conflict between this and [#6638] but it shouldn't be too bad to resolve.

     

    Related

    Tickets: #6638


Log in to post a comment.