Solution-resistant AttributeError: 'modle' object has no attribute...
drsalists at gmail.com
Thu Jul 10 19:23:37 CEST 2014
On Thu, Jul 10, 2014 at 9:41 AM, Dan Stromberg <drsalists at gmail.com> wrote:
> Hi folks.
> I'm having trouble with a strange AttributeError. I'm using RQ (Redis
> Queue) and Django, both of which are new to me, so perhaps they are
> somehow relevant.
> Anyway, the traceback looks like:
> Traceback (most recent call last):
> File "/home/ec2-user/miniconda/envs/sciencedb/lib/python2.7/site-packages/rq/worker.py",
> line 479, in perform_job
> rv = job.perform()
> File "/home/ec2-user/miniconda/envs/sciencedb/lib/python2.7/site-packages/rq/job.py",
> line 466, in perform
> self._result = self.func(*self.args, **self.kwargs)
> File "/home/ec2-user/science_server/higgins/tasks.py", line 276, in
> dummy = higgins.models.extract_guid_from_visi_filename
> AttributeError: 'module' object has no attribute
It turned out I needed to restart my RQ (Redis Queue) processes.
More information about the Python-list