[web2py] Re: successfully created tables can not be accessed

2010-08-31 Thread Benjamin Goll
eb2py handles this. Problem: solved! :-) Regards Benjamin On 31 Aug., 04:34, mdipierro wrote: > when you use the shell to create tables or do anything else you have > to be db.commit() > > the db.define_table() anyway has to be in the model. web2py > controllers only see tables de

[web2py] Re: successfully created tables can not be accessed

2010-08-30 Thread Benjamin Goll
, Field('tracks', 'list:reference track'), Field('currentTrack', 'reference track'), Field('currentPlaybackTime'), Field('rating', 'integer')) f = open("test.log", "w") for d in db.tables: f.write(d

[web2py] Re: successfully created tables can not be accessed

2010-08-30 Thread Benjamin Goll
blem with the app, but could it be related > to this? > > Massimo > > On Aug 30, 7:56 am, Benjamin Goll wrote: > > > Hi there, > > > first of all I would like to thank you for this great software! It's > > just so much fun to create powerful applic

[web2py] successfully created tables can not be accessed

2010-08-30 Thread Benjamin Goll
Hi there, first of all I would like to thank you for this great software! It's just so much fun to create powerful applications with it! Unfortunately I ran into a really strange problem which I'm not able to solve. In the file models/database.py I define the following: db = DAL('sqlite://aubop