Renaming the utility module within the app did not help. On Friday, November 30, 2012 10:32:16 AM UTC-8, Maggs wrote: > > Yes and this is what I was curious about. I do have a utility module under > myapp/modules/, however this cm module is calling it's own utility module > completely outside of my app, so I don't understand how it could be getting > them confused. This was never an issues in 1.99. I will try changing the > name of the utility module inside my app and see if it helps though. > > Thanks! > > On Friday, November 30, 2012 6:37:41 AM UTC-8, Massimo Di Pierro wrote: >> >> Do you have anything under yourapp/modules/? >> >> On Thursday, 29 November 2012 17:30:30 UTC-6, Maggs wrote: >>> >>> I recently upgraded to web2py 2.2.1 from 1.99. I have an external set of >>> modules that I am importing into my application. Since I updated to 2.2.1 I >>> am getting errors saying that the module does not have the attribute >>> 'function'. >>> To explain further, I have an external set of modules under the folder >>> cmweb. This folder is in my python path. I have from cmweb import cm at the >>> top of my controller. Within the cm module, a module called utility is >>> being imported. This module is also inside the cmweb folder. Now when I >>> call functions from the cm module, I am getting an error saying that the >>> utility module has no attribute 'function'. This was not happening before I >>> upgraded to 2.2.1. Any ideas what might be happening here? >>> >>> Thanks in advance. >>> >>
--