[web2py] Re: 'Column table.id not found (SQLTABLE)'

2017-03-12 Thread LoveWeb2py
Error ticket for "myapp"Ticket ID 127.0.0.1.2017-03-12.21-35-27.2a6dfbe0-ddb4-43db-9e3d-e43542a6c1f2 'Column my_table.id not found (SQLTABLE)' Version web2py™ Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 Python Python 2.7.13: /usr/local/opt/python/bin/python2.7 (prefix:

[web2py] Re: FORM() and HTML5 autofocus

2017-03-12 Thread Anthony
> > Oh, well. > > Slightly off-topic -- the insert() in the getitem function seems to skip > the requires=[IS_NOT_IN_DB, ...] my model includes. Is that worth a new > thread? > The DAL .insert() method doesn't do anything with validators. The validators in the "requires" attribute are used

[web2py] Re: 'Column table.id not found (SQLTABLE)'

2017-03-12 Thread Anthony
On Sunday, March 12, 2017 at 7:27:08 PM UTC-4, LoveWeb2py wrote: > > Keep getting this error for all of my tables!! What is going on? > > What information would be helpful for me to post to get help? > The usual -- code and traceback. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] 'Column table.id not found (SQLTABLE)'

2017-03-12 Thread LoveWeb2py
Keep getting this error for all of my tables!! What is going on? What information would be helpful for me to post to get help? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: ERROR: need more than one values to unpack with DATE field

2017-03-12 Thread LoveWeb2py
I have no idea what happened, but I rebuilt all the databases and it's working now. PFM!! Thank you for all of your support. You guys are the best! On Sunday, March 12, 2017 at 6:42:26 PM UTC-4, LoveWeb2py wrote: > > Now I'm getting Column auth_user.id not found on my tables. > > It's one of

[web2py] Re: ERROR: need more than one values to unpack with DATE field

2017-03-12 Thread LoveWeb2py
Now I'm getting Column auth_user.id not found on my tables. It's one of those days... lol Going to try and remove my database and start fresh... :( On Sunday, March 12, 2017 at 4:31:35 PM UTC-4, Dave S wrote: > > > > On Sunday, March 12, 2017 at 11:57:05 AM UTC-7, LoveWeb2py wrote: >> >> Hello,

[web2py] How to upload an image from React Native to Web2py?

2017-03-12 Thread Mika Sjöman
Hi I am trying to upload an image from a React Native app to web2py. I am using a plugin called react-native-uploader, and when i upload the image I get a storage object when I return the request vars using the below code: def upload: return response.json({'vars': str(request.vars)}) When

[web2py] Re: ERROR: need more than one values to unpack with DATE field

2017-03-12 Thread Dave S
On Sunday, March 12, 2017 at 11:57:05 AM UTC-7, LoveWeb2py wrote: > > Hello, > > I'm getting an error. I have a table and I'm trying to insert this date > format: > > db.define('mytable', > Field('game_date', 'date'), > migrate=True) > > db.mytable.insert(game_date='2016-10-25')

[web2py] Examples of tagging/labeling

2017-03-12 Thread Dave S
Is still the best example for handling tags and labeling? My google-fu is kinda limited today, and any recent examples are getting lost amid HTML tags. I currently am using the simplest tagging scheme ... just a string field, then use contains() to

[web2py] Re: FORM() and HTML5 autofocus

2017-03-12 Thread Dave S
On Sunday, March 12, 2017 at 9:20:26 AM UTC-7, Anthony wrote: > > I may be asking for moon ... expecting a "junior" autofocus to be "scoped" >> to the DIV it's form is loaded in. Browsers may instead consider 2 >> autofoci to be undefined behavior. In which case, turning to javascript >>

[web2py] ERROR: need more than one values to unpack with DATE field

2017-03-12 Thread LoveWeb2py
Hello, I'm getting an error. I have a table and I'm trying to insert this date format: db.define('mytable', Field('game_date', 'date'), migrate=True) db.mytable.insert(game_date='2016-10-25') When I create a single record with that game date I get an error from web2py Query

[web2py] Re: FORM() and HTML5 autofocus

2017-03-12 Thread Anthony
> > I may be asking for moon ... expecting a "junior" autofocus to be "scoped" > to the DIV it's form is loaded in. Browsers may instead consider 2 > autofoci to be undefined behavior. In which case, turning to javascript > may be my best choice. I've got my fingers crossed, though. >

[web2py] Re: API changed ?

2017-03-12 Thread Olivier Choquet
Hi I believe I do. Thanks Le samedi 25 février 2017 05:19:00 UTC+1, Anthony a écrit : > > Are you referring to this: http://web2py.readthedocs.io/en/latest/ > > On Friday, February 24, 2017 at 11:50:56 AM UTC-5, Olivier Choquet wrote: >> >> Hi everyone. >> >> My question might look a little bit

Re: [web2py] Re: Unpickling error

2017-03-12 Thread Maurice Waka
Yes I had backed up my data. It worked after I resumed with the 'old' data. Regards On Fri, Mar 10, 2017 at 4:09 AM, Dave S wrote: > > > On Thursday, March 9, 2017 at 4:59:03 AM UTC-8, Maurice Waka wrote: >> >> Sorry. I discovered that my database was corrupted >> >> > >