I figured it out an hour or so ago.  I created an empty test app and it still 
didn't work so I figure it must be user error. (Turns out to be a dumb 
beginner's error.)

The issue was that my import statements didn't match how I was referencing the 
class.

I was importing the modules, but didn't refer to the class with the module's 
namespace.  At some point, I think I had fixed it, but undid it by mistake when 
I was changing other parts of the code.  But since it had worked before, I kept 
spinning around in circles... :p

Thanks for the help!

On 2012-06-15, at 2:51 PM, howesc wrote:

> mind posting your controller and module (or a simplified version that shows 
> the problem)?
> 
> note that i personally have never used track changes, but i use modules a lot 
> without issue.
> 
> is there perhaps a name conflict with util?
> 
> On Friday, June 15, 2012 8:22:39 AM UTC-7, codehamster wrote:
> Same thing happened when I put it in a VM... Anything I can do to help figure 
> out what the issue is?
> 
> On Thursday, 14 June 2012 17:41:20 UTC-4, codehamster wrote:
> Just did that, but didn't help either. :)  
> 
> I think I'm going to pack the app and move it onto a VM to see if it behaves 
> any better.
> 
> On Thursday, 14 June 2012 17:32:42 UTC-4, mcm wrote:
> try removing all *.pyc files and restart 
> 
> mic 
> 
> 2012/6/14 codehamster 
> > Yeap.  I had that originally, when it didn't work I tried: 
> > 
> > from gluon import * 
> > 
> > then changed to again back to Storage but forgot to add back the storage. 
> > 
> > However, nothing seems to help. 
> > 
> > 
> > On Thursday, 14 June 2012 17:21:18 UTC-4, Niphlod wrote: 
> >> 
> >> uhm. wouldn't "from gluon import Storage" line be "from gluon.storage 
> >> import Storage" ? 
> >> 
> >> Il giorno giovedì 14 giugno 2012 22:50:57 UTC+2, codehamster ha scritto: 
> >>> 
> >>> I have restarted several times web2py already, I also have the following 
> >>> in one of my models: 
> >>> 
> >>> from gluon.custom_import import track_changes; track_changes(True) 
> >>> 
> >>> On Thursday, 14 June 2012 16:47:33 UTC-4, mcm wrote: 
> >>>> 
> >>>> You may have to reload the modules. Maybe restarting web2py helps. 
> >>>> 
> >>>> mic 
> >>>> 
> >>>> 
> > 

Steve Cheung
mail: [email protected]
link: http://about.me/scheung

Reply via email to