Closed
Bug 735686
Opened 12 years ago
Closed 12 years ago
AttributeError: 'NoneType' object has no attribute 'file_path' (in mkt.developers.tasks.fetch_icon)
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 735884
6.4.8
People
(Reporter: kumar, Assigned: ashort)
Details
Task mkt.developers.tasks.fetch_icon with id 00779415-3c31-49b9-b4b8-dc909b314695 raised exception: 'AttributeError("\'NoneType\' object has no attribute \'file_path\'",)' Task was called with args: (<Webapp: 367695: Projeqt>,) kwargs: {}. The contents of the full traceback was: Traceback (most recent call last): File "/data/www/addons.mozilla.org/zamboni/vendor/lib/python/celery/execute/trace.py", line 34, in trace return cls(states.SUCCESS, retval=fun(*args, **kwargs)) File "/data/www/addons.mozilla.org/zamboni/vendor/lib/python/celery/task/base.py", line 241, in __call__ return self.run(*args, **kwargs) File "/data/www/addons.mozilla.org/zamboni/vendor/lib/python/celery/app/__init__.py", line 141, in run return fun(*args, **kwargs) File "/data/www/addons.mozilla.org/zamboni/vendor/src/nuggets/celeryutils.py", line 35, in wrapped return fun(*args, **kw) File "/data/www/addons.mozilla.org/zamboni/mkt/developers/tasks.py", line 317, in fetch_icon manifest = webapp.get_manifest_json() File "/data/www/addons.mozilla.org/zamboni/apps/webapps/models.py", line 140, in get_manifest_json with open(self.get_latest_file().file_path, 'r') as mf: AttributeError: 'NoneType' object has no attribute 'file_path'
Reporter | ||
Comment 1•12 years ago
|
||
looks like one of the submission views is missing a transaction
Target Milestone: --- → 6.4.6
Comment 2•12 years ago
|
||
we should transact/catch/something this. Do what is best.
Assignee: nobody → ashort
Target Milestone: 6.4.6 → 6.4.8
Reporter | ||
Comment 3•12 years ago
|
||
This has only happened three times so I am pretty sure it is due to slave lag which will be fixed in bug 735884. In most places this task is called, it is called immediately after a DB write.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•