Traceback (most recent call last):


 "/Users/sugizo/project/python/web2py/gluon/restricted.py", line 219, in restricted

exec(ccode, environment)


 "/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]


 "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/base.py", line 666, in __getitem__

return self.__getattr__(str(key))


 "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/base.py", line 672, in __getattr__

return self.lazy_define_table(tablename, *fields, **kwargs)


 "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/base.py", line 624, in lazy_define_table

polymodel=polymodel)


 "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/adapters/base.py", line 798, in create_table

return self.migrator.create_table(*args, **kwargs)


 "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/migrator.py", line 279, in create_table

query), table)


 "/Users/sugizo/project/python/web2py/gluon/packages/dal/pydal/migrator.py", line 488, in log

logfile.write(to_bytes(message))


 "/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

`Traceback (most recent call last):


 "train.py", line 72, in <module>

main()


 "train.py", line 69, in main

trainer.train()


 "/DB/trainer.py", line 86, in train

epoch=epoch, step=self.steps)


 "/DB/trainer.py", line 127, in train_step

if step % self.experiment.logger.log_interval == 0:
TypeError: unsupported operand type(s) for %: 'int' and 'NoneType'`
