[web2py] Adding a new table to web2py with a reference field to an established table and getting error

2016-03-19 Thread Heather Dawe
Hi there, I have had this error in a couple of scenarios now. I have an established and working web2py app and I wish to add a couple of tables to the model. A number of fields in these new tables reference fields in established tables. I get this error when trying to create the new tables

[web2py] Re: Adding a new table to web2py with a reference field to an established table and getting error

2016-03-19 Thread Heather Dawe
ce table1", so > you probably have an error in the field definition. Please show your model > code. > > Anthony > > On Thursday, March 17, 2016 at 8:28:00 AM UTC-4, Heather Dawe wrote: >> >> Hi there, >> >> I have had this error in a couple of scenar

[web2py] Re: Adding a new table to web2py with a reference field to an established table and getting error

2016-03-19 Thread Heather Dawe
; ReportInstanceIndicatorInstance' > > as: > > 'ReportInstanceIndicatorInstancereference ReportInstanceIndicatorInstance' > > So, it appears you are trying to include a space in the field name rather > than specify the field as a reference field. > > Anthony > > On Thursday, March 17, 2016 a

Re: [web2py] Re: WARNING:Rocket.Errors.Port8000:Listener started when not ready.

2015-10-05 Thread Heather Dawe
Hi Leonel, Many thanks for pointing that out it worked a treat. Just to further my newbie questions - using ip 127.0.0.1 always worked when I previously started the server and, now I have used your advice to use ip 1.0.0.1 to get the server going again, when I stop and start it 127.0.0.1 now

[web2py] GET http://127.0.0.1:8000/favicon.ico 400 (BAD REQUEST) - using angular.js and nvd3

2015-10-05 Thread Heather Dawe
Hello I am getting a bad request when attempting to use angular.js with nvd3 for data visualisation. My web2py controller passes a json to its view. This view code is shown below. It extends the layout.html which is the standard layout.html apart from I have added the javascript libraries

Re: [web2py] GET http://127.0.0.1:8000/favicon.ico 400 (BAD REQUEST) - using angular.js and nvd3

2015-10-05 Thread Heather Dawe
to > find where favicon.ico is called. Hint: look in views/layout.html > > see: https://en.wikipedia.org/wiki/Favicon > > HTH > > 2015-10-05 10:19 GMT+02:00 Heather Dawe <heather.d...@gmail.com>: > >> Hello I am getting a bad request when attempting to use angular.js w

[web2py] WARNING:Rocket.Errors.Port8000:Listener started when not ready.

2015-10-05 Thread Heather Dawe
Earlier today I had to force a restart of my mac. After restart I attempted to start web2py from a terminal session as I have done many times before sudo python web2py.py -a 'password' -i 1.0.0.1 -p 8000 I got the following error ERROR:Rocket.Errors.Port8000:Socket 1.0.0.1:8000 in use by

[web2py] Re: Error: unsupported format character 'n' (0x6e) at index 1

2015-09-08 Thread Heather Dawe
Yes thanks Dave - a complete beginner's error! I really appreciate you pointing it out as I have been tearing my hair out today trying to work out the problem. thanks again, Heather On Monday, 7 September 2015 21:55:17 UTC+1, Heather Dawe wrote: > > Hello there, > > I am n

[web2py] Error: unsupported format character 'n' (0x6e) at index 1

2015-09-07 Thread Heather Dawe
Hello there, I am new to web2py - it is a brilliant framework thank you. I am running the latest version, defining my models and encountering this error when attempting to add a record to a table that defines a many-to-many relationship - when I attempt to add a record to table

[web2py] Re: Runtime error: unsupported format character

2015-09-07 Thread Heather Dawe
Thanks for your reply Dave. Sorry I missed it - I have posted a similar question above where I have listed my model code in the body of the question. On Thursday, 3 September 2015 02:04:28 UTC+1, Dave S wrote: > > > > On Tuesday, September 1, 2015 at 8:48:27 PM UTC-7, Heathe

[web2py] Runtime error: unsupported format character

2015-09-01 Thread Heather Dawe
Hi there, I am new to web2py. It is brilliant - thank you so much for its development. I am using the latest stable version of web2py and am encountering this error when attempting to add a record to a particular table in my model unsupported format character 't' (0x74) at index 1 I have