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

2014-07-10 Thread Steven D'Aprano
On Thu, 10 Jul 2014 13:31:56 -0400, Joel Goldstick wrote: >> dummy = higgins.models.extract_guid_from_visi_filename >> AttributeError: 'module' object has no attribute >> 'extract_guid_from_visi_filename' > > Do you need to add parens? is this a method, not at attribute? > dummy = higgin

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

2014-07-10 Thread Joel Goldstick
On Thu, Jul 10, 2014 at 12:41 PM, Dan Stromberg 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 cal

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

2014-07-10 Thread Dan Stromberg
On Thu, Jul 10, 2014 at 9:41 AM, Dan Stromberg 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

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

2014-07-10 Thread Chris Angelico
On Fri, Jul 11, 2014 at 2:41 AM, Dan Stromberg wrote: > It's as though an old version of the module is being > seen, rather than the current version. > > Anyone have any (further) suggestions for me? > Wipe out *.pyc and try again? Restart any processes that are running Django, in case they have