Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74322

Re: Solution-resistant AttributeError: 'modle' object has no attribute...

References <CAGGBd_oBv8T+S85REU_m+hp62yQaZZQiHz_kuQ0fQb445J9ooA@mail.gmail.com>
Date 2014-07-10 10:23 -0700
Subject Re: Solution-resistant AttributeError: 'modle' object has no attribute...
From Dan Stromberg <drsalists@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11737.1405013019.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Jul 10, 2014 at 9:41 AM, Dan Stromberg <drsalists@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
> session_retrieval_manager
>     dummy = higgins.models.extract_guid_from_visi_filename
> AttributeError: 'module' object has no attribute
> 'extract_guid_from_visi_filename'

It turned out I needed to restart my RQ (Redis Queue) processes.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Solution-resistant AttributeError: 'modle' object has no attribute... Dan Stromberg <drsalists@gmail.com> - 2014-07-10 10:23 -0700

csiph-web