[traceback] AttributeError: 'NoneType' object has no attribute 'seller'

RESOLVED FIXED

Status

Marketplace
Payments/Refunds
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jason, Assigned: andym)

Tracking

Avenir
Points:
---

Details

(Reporter)

Description

3 years ago
Occurs on payments.allizom.org when running manage.py log --type=stats --today

Traceback (most recent call last):
  File "manage.py", line 55, in <module>
    execute_from_command_line(sys.argv)
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/venv/lib/python2.7/site-packages/django/core/management/__init__.py",
line 385, in execute_from_command_line
    utility.execute()
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/venv/lib/python2.7/site-packages/django/core/management/__init__.py",
line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/venv/lib/python2.7/site-packages/django/core/management/base.py",
line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/venv/lib/python2.7/site-packages/django/core/management/base.py",
line 338, in execute
    output = self.handle(*args, **options)
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/solitude/lib/transactions/management/commands/log.py",
line 95, in handle
    generate_log(date, filename, log_type)
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/solitude/lib/transactions/management/commands/log.py",
line 30, in generate_log
    writer.writerow(row.for_log())
  File "/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20150422225254-c29de0ba1f/solitude/lib/transactions/models.py",
line 105, in for_log
    self.seller_product.seller.uuid,
AttributeError: 'NoneType' object has no attribute 'seller'
(Assignee)

Updated

3 years ago
Assignee: nobody → amckay
Group: mozilla-employee-confidential
(Assignee)

Comment 1

3 years ago
https://github.com/mozilla/solitude/pull/367
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.