Can you file an issue on github please? On Wed, 27 Feb 2019, 09:26 黄祥, <steve.van.chris...@gmail.com> wrote:
> Traceback (most recent call last): >> File "/Users/sugizo/project/python/web2py/gluon/restricted.py", line >> 219, in restricted >> exec(ccode, environment) >> File >> "/Users/sugizo/project/python/web2py/applications/test/models/db_schema_0_auth.py", >> line 9, in <module> >> custom_auth_table = db[auth.settings.table_user_name] >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/base.py", >> line 666, in __getitem__ >> return self.__getattr__(str(key)) >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/base.py", >> line 672, in __getattr__ >> return self.lazy_define_table(tablename, *fields, **kwargs) >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/base.py", >> line 624, in lazy_define_table >> polymodel=polymodel) >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/adapters/base.py", >> line 798, in create_table >> return self.migrator.create_table(*args, **kwargs) >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/migrator.py", >> line 279, in create_table >> query), table) >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/migrator.py", >> line 488, in log >> logfile.write(to_bytes(message)) >> File >> "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/helpers/classes.py", >> line 544, in write >> self.data += data >> TypeError: can only concatenate str (not "bytes") to str >> > > found the culprit : > *models/db.py* > adapter_args = dict(migrator = InDBMigrator) > > when comment it out the traceback error disappear not sure if migrator = > InDBMigrator broken in new version > everything start from scratch (default welcome boostrap) > > best regards, > stifan > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.