[traceback] no add-on found for hide_disabled_files cron

RESOLVED FIXED in 6.4.9

Status

addons.mozilla.org Graveyard
Maintenance Scripts
RESOLVED FIXED
6 years ago
2 years ago

People

(Reporter: clouserw, Assigned: ashort)

Tracking

unspecified
6.4.9

Details

(Reporter)

Description

6 years ago
[amo-developers] Cron <apache@addonsadm> cd /data/addons/src/addons.mozilla.org/zamboni; /usr/bin/python2.6 manage.py cron hide_disabled_files

Traceback (most recent call last):
  File "manage.py", line 121, in <module>
    execute_manager(settings)
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django-cronjobs/cronjobs/management/commands/cron.py", line 64, in handle
    registered[script](*args)
  File "/data/addons/src/addons.mozilla.org/zamboni/apps/addons/cron.py", line 299, in hide_disabled_files
    f.hide_disabled_file()
  File "/data/addons/src/addons.mozilla.org/zamboni/apps/files/models.py", line 318, in hide_disabled_file
    if (self.mirror_file_path and
  File "/data/addons/src/addons.mozilla.org/zamboni/apps/files/models.py", line 279, in mirror_file_path
    if self.version.addon.is_premium():
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django/django/db/models/fields/related.py", line 314, in __get__
    rel_obj = rel_mgr.using(db).get(**params)
  File "/data/addons/src/addons.mozilla.org/zamboni/vendor/src/django/django/db/models/query.py", line 349, in get
    % self.model._meta.object_name)
addons.models.DoesNotExist: Addon matching query does not exist.
(Reporter)

Updated

6 years ago
Assignee: nobody → ashort
Target Milestone: 6.5.0 → 6.4.9
(Assignee)

Comment 1

6 years ago
https://github.com/mozilla/zamboni/commit/c05e6b2a5dc1a81dc36d4dd81b52d1c5da1bede9
(Assignee)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.