On Thursday, December 31, 2020 at 2:22:36 PM UTC-8 Dave S wrote:
> I'm moving my home development to > 2.21.1-stable+timestamp.2020.11.28.04.10.44 after years of 2.14.6 and only > dipping my toes into later versions. > > The print -> print() and except E,e -> except E(e) was pretty minor, but > I'm running into import errors for my app's module code. I tried the fully > qualified technique as in > <URL:https://groups.google.com/g/web2py/c/LEXaFGq7q_k/m/rXag1_fGEgAJ> > which looks like > import sys,datetime,os,os.path,shutil,subprocess,urllib2,re > from gluon import * > import logging > from applications.badlist.modules.restuff import restuff > > but I'm still getting > [...] > <type 'exceptions.ImportError'>(No module named path) > > Nevermind, I guess ... removing the explicit import seems to be a fix. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ee7ef137-f6c8-439f-aa77-309acf17d7efn%40googlegroups.com.