#8212 Github import error on deleted users

v1.9.0
closed
General
nobody
2018-09-24
2018-06-26
No
Traceback (most recent call last):
  File "/var/local/allura/ForgeImporters/forgeimporters/base.py", line 131, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/var/local/allura/ForgeImporters/forgeimporters/github/tracker.py", line 137, in import_tool
    self.process_events(extractor, ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/github/tracker.py", line 205, in process_events
    self.get_user_link(event['actor']['login']))
TypeError: 'NoneType' object has no attribute '__getitem__'

This occurs when a deleted-on-github user is involved in a thread. https://github.com/ampache/ampache/issues/1669 in this case

Discussion

  • Dave Brondsema

    Dave Brondsema - 2018-06-27
    • status: open --> review
     
  • Dave Brondsema

    Dave Brondsema - 2018-06-27

    Fixed on branch db/8212

     
  • Kenton Taylor

    Kenton Taylor - 2018-06-28
    • status: review --> closed
     
  • Kenton Taylor

    Kenton Taylor - 2018-06-28

    Merged.

     
  • Dave Brondsema

    Dave Brondsema - 2018-09-24
    • Milestone: unreleased --> v1.9.0
     

Log in to post a comment.