Closed Bug 794452 Opened 12 years ago Closed 12 years ago

AttributeError: 'NoneType' object has no attribute 'pk'

Categories

(Marketplace Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 797292

People

(Reporter: tarek, Assigned: andy+bugzilla)

References

Details

Yet another async bug occurring here and there test_pay_methods (zamboni.mkt.lookup.tests.test_views.TestAppSummaryPurchases) ... 05:58:22 signals:ERROR Error calling signal :/home/marketplace/zamboni/lib/misc/safe_signals.py:31 Traceback (most recent call last): File "/home/marketplace/zamboni/lib/misc/safe_signals.py", line 29, in safe_send response = receiver(signal=self, sender=sender, **named) File "/home/marketplace/zamboni/apps/market/models.py", line 156, in create_addon_purchase instance.addon.pk, instance.user.pk)) AttributeError: 'NoneType' object has no attribute 'pk'
Assignee: nobody → amckay
If Alexis merges in bug 797292 this is fixed. Can I also recommend adding this in Alexis: https://github.com/andymckay/zamboni/commit/b3c51b#L0R154
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.