[web2py] Re: Chrome + 10.8 != joy

2013-10-20 Thread davedigerati
) On Saturday, August 3, 2013 11:09:10 PM UTC-4, davedigerati wrote: > > thanks for the reply, I will do tomorrow, trying to finish a project by > midnight right now;) > > On Saturday, August 3, 2013 1:42:58 PM UTC-4, Anthony wrote: >> >> What happens when you click submit (can

Re: [web2py] dlsym(0x8fe46768, CCKeyDerivationPBKDF): symbol not found ?????

2013-10-01 Thread davedigerati
not work, if you still get the error be > sure to remove the .pyc also. > > > 2013/10/1 davedigerati > > >> Tried the rename, no joy. >> Downloaded 'Testers' (not sure if this was trunk or not) and started up - >> thx;) >> >> >> On

[web2py] compound IF statement for checks on a record

2013-09-30 Thread davedigerati
I'm checking a record to see if two fields returned with values, or are nulls, and I can successfully check if vinyl.field1: msg="yes it has a value" else: msg="no it does not" but I can not figure out how to check two fields via compound IF: if vinyl.field1 AND vinyl.field2: msg="y

Re: [web2py] dlsym(0x8fe46768, CCKeyDerivationPBKDF): symbol not found ?????

2013-09-30 Thread davedigerati
Tried the rename, no joy. Downloaded 'Testers' (not sure if this was trunk or not) and started up - thx;) On Monday, September 23, 2013 4:14:57 AM UTC-4, Michele Comitini wrote: > > This points to a problem in detecting a missing function in the crypto > library on that version (old) of mac os x

[web2py] Re: IE8 error in web2py.js line 43, Object doesn't support....

2013-09-30 Thread davedigerati
Il giorno lunedì 30 settembre 2013 03:33:24 UTC+2, davedigerati ha scritto: >> >> Thanks guys, but I guess that still leaves me clueless as to what is >> causing this error. Can anyone comment what this portion of web2py.js is >> looking for so I can start trying to guess what it

[web2py] Re: IE8 error in web2py.js line 43, Object doesn't support....

2013-09-29 Thread davedigerati
/en/tutorials/developertools/sourcemaps/ > > it has nothing to do with any js error. > > does the latest web2py.js throw the "original" error ("object has no > method 'on'") ? > > On Sunday, September 29, 2013 6:35:11 AM UTC+2, davedigerati wrote:

[web2py] Re: IE8 error in web2py.js line 43, Object doesn't support....

2013-09-28 Thread davedigerati
unday, September 29, 2013 12:00:39 AM UTC-4, LightDot wrote: > > The jQuery map file is optionally used by the browser when debugging > jQuery, but shouldn't be requested by web2py code or needed otherwise. Are > you seeing this in IE8 too? > > On Sunday, September 29, 2013 5:

[web2py] IE8 error in web2py.js line 43, Object doesn't support....

2013-09-28 Thread davedigerati
Way too deep into js and the guts of web2py for me to make sense of this, but IE8 is tripping up in web2py.js, line 43: doc.on('click', '.flash', function(e){var t=jQuery(this); if(t.css('top')=='0px') t.slideUp('slow'); else t.fadeOut(); e.preventDefault();}); And in Chrome I can see an

[web2py] Re: Help with SQLite, a way to groupby values not a field?

2013-08-27 Thread davedigerati
humbly bumping... On Sunday, August 25, 2013 1:32:35 PM UTC-4, davedigerati wrote: > > Is there a way to SELECT from my (SQLite) db with example structure/data > that looks like this: > > sue | dog | cat | dog > joe | cat | rat | dog > joe | dog | dog | rat > joe | cat

[web2py] Re: how to bring out db table

2013-08-25 Thread davedigerati
As Alan said, can you provide a more detailed example? Super general example though would be in your view named your_page_name.html you place {{=the_record_you_wanted}} And in your default.py controller you would assign it a value for the_record_you_want by doing def your_page_name(): ge

[web2py] COUNTing over the table then GROUPBY those values, not a field

2013-08-25 Thread davedigerati
Is there a way to SELECT from my (SQLite) db with example structure/data that looks like this: sue | dog | cat | dog joe | cat | rat | dog joe | dog | dog | rat joe | cat | cat | cat tom | rat | dog | dog a counted, grouped-by set for JOE only that looks like: cat - 4 dog - 3 rat - 2 I've been

[web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread davedigerati
My app is working locally fine with a field defined as Field('Q2V','integer'), then in the controller I have been able to len(Q2V) but after upload to Google App Engine I am tripping with object of type 'long' has no len() I've been abel to discover that apparently GAE will map Inte

[web2py] Re: autofocus html5 attribute support?

2013-08-08 Thread davedigerati
t doesn't add the key if it doesn't exist. > Instead, you can do: > > form.custom.widget.tm_home["_autofocus"] = True > > which will yield: > > > > which should work. > > Anthony > > On Thursday, August 8, 2013 9:37:13 PM UTC-4, davedigera

[web2py] Re: deployment to google app engine did not include my static files

2013-08-08 Thread davedigerati
GAE? i'm hoping to focus on making that work here in the next couple of > weeks > > thanks, > > christian > > On Sunday, August 4, 2013 12:16:02 PM UTC-7, davedigerati wrote: >> >> and I only updated the app name in app.yaml and runtime to 2.7 and >

[web2py] autofocus html5 attribute support?

2013-08-08 Thread davedigerati
using a custom sqlform, in my view I can use the placeholder attribute but not the autofocus- is this being ignored by web2py? {{form.custom.widget.tm_home["_autofocus"]}} {{form.custom.widget.tm_home["_placeholder"] = "Home Team Name"}} I also tried autofocus without the _ with similar result:

[web2py] Re: read a field from a row based on a (wait for it...) variable

2013-08-06 Thread davedigerati
,.-'"...``~., .,.-"..."-., .,/...":, .,?..

[web2py] Re: deployment to google app engine did not include my static files

2013-08-04 Thread davedigerati
Aaand, I've wasted the board's time, very sorry. I had hard-coded a link (see other posting re: problems injecting css sheets) and forgot to rebuild with URL(). and on my image that was not loading, just giving a broken link I had malformed a URL request, which interestingly worked f

[web2py] Re: deployment to google app engine did not include my static files

2013-08-04 Thread davedigerati
and I only updated the app name in app.yaml and runtime to 2.7 and threadsafe to False since true was bombing and I need this dang thing running an hour ago... On Sunday, August 4, 2013 3:12:16 PM UTC-4, davedigerati wrote: > > as you can see from here: http://sportssquaresonline.appsp

[web2py] deployment to google app engine did not include my static files

2013-08-04 Thread davedigerati
as you can see from here: http://sportssquaresonline.appspot.com/ it did upload most of the static files, specifically 30, but the ones I added, both images and a css file, it did not. any idea why??? deployed both through the web2py admin feature and the GAE Launcher -- --- You received this

[web2py] Re: how to call a controller funtion on click of a button?

2013-08-04 Thread davedigerati
STUPENDOUS! Thank you Anthony! Is there a wiki or Q&A site somewhere for these little tidbits of knowledge? The manual is fantastic but too exhaustive for a quick answer for me anyway... if not maybe I'll build one on web2py;) On Sunday, August 4, 2013 8:21:52 AM UTC-4, Anthony wrote: > > >

[web2py] Re: Quick contract job

2013-08-04 Thread davedigerati
r deadline is over, do you need someone else for web2py? > Im not a professional but most of the questions you posted I could answer > :P. > > Best regards > Dmitri Husti > > Am Donnerstag, 1. August 2013 06:11:59 UTC+2 schrieb davedigerati: >> >> I have been learn

[web2py] read a field from a row based on a (wait for it...) variable

2013-08-04 Thread davedigerati
I have my row returning data, and I know I can grab the value of a field as long as I know what the field name IS like so row = db((db.squares.game_code==session.game_code) & (db.squares.row_num==row_vis)).select() winner= row[0].nine but what if my field name is a variable like so?

Re: [web2py] Adjusting the width of the textarea

2013-08-03 Thread davedigerati
he scaffolding > app, the textarea width is set in bootstrap-responsive.min.css and should > be overrideable. > > Anthony > > On Saturday, August 3, 2013 12:59:31 AM UTC-4, davedigerati wrote: >> >> I'm bumping up against this on a form as well, and puzzled why usin

[web2py] Re: Chrome + 10.8 != joy

2013-08-03 Thread davedigerati
)? > > On Saturday, August 3, 2013 10:51:42 AM UTC-4, davedigerati wrote: >> >> I'm assuming this is just me but as search and mighty google are failing >> me am hoping someone can point me toward a solution- >> >> apps run as expected in Safari and Chrome in

[web2py] Re: how to call a controller funtion on click of a button?

2013-08-03 Thread davedigerati
Well as for 'trying' anything I'm still searching for the method that fits... So the usual button to redirect to another page I use this Done with my squares What I am trying to do is click a button that does NOT redirect. If I use a function in defauly.py that has no view in the URL field a

[web2py] Re: how to call a controller funtion on click of a button?

2013-08-03 Thread davedigerati
Leonel, can you elaborate on your answer, I'm stuck on a similar problem. I need a button in html to execute a function in my default.py controller. In that fx it performs logic to determine where exactly to redirect, as well as some housekeeping. This thread was close but involved trapped lin

[web2py] Chrome + 10.8 != joy

2013-08-03 Thread davedigerati
I'm assuming this is just me but as search and mighty google are failing me am hoping someone can point me toward a solution- apps run as expected in Safari and Chrome in 10.6.8 apps run as expected in Safari in 10.8.4 apps will not act on a submit button press in Chrome Version 27.0.1453.116 in

Re: [web2py] Adjusting the width of the textarea

2013-08-03 Thread davedigerati
gt; app, the textarea width is set in bootstrap-responsive.min.css and should > be overrideable. > > Anthony > > On Saturday, August 3, 2013 12:59:31 AM UTC-4, davedigerati wrote: >> >> I'm bumping up against this on a form as well, and puzzled why using a &

Re: [web2py] Adjusting the width of the textarea

2013-08-02 Thread davedigerati
I'm bumping up against this on a form as well, and puzzled why using a custom/clean css sheet loaded last in the page header for precedence, with unique divs/classes aren't working on the textareas... not for size, background-color, text color, nothing. I can target the row, the parent divs, e

[web2py] Re: web2py server start issue

2013-08-02 Thread davedigerati
When I've forgotten I've just stopped the server, closed the app or terminal it was running from, reopen and restart with a new password. I'm sorry I'm not familiar with that error number but had you tried above? On Friday, August 2, 2013 10:15:00 PM UTC-4, ndave wrote: > > Hi, > > I was earli

[web2py] Re: Quick contract job

2013-08-01 Thread davedigerati
I've hired someone, thanks for the interest and I look forward to continuing to learn this great framework;) On Thursday, August 1, 2013 12:11:59 AM UTC-4, davedigerati wrote: > > I have been learning web2py for a project and while I am really enjoying > it I am up against a d

[web2py] Quick contract job

2013-07-31 Thread davedigerati
I have been learning web2py for a project and while I am really enjoying it I am up against a deadline for my client and looking for help. I would like to hire someone (preferably one of the frequent contributors as a way of saying thank you, this is a great community;) to take care of one stic

[web2py] Re: Setting hidden fields with custom SQLFORMs

2013-07-29 Thread davedigerati
rk. > > On Monday, July 29, 2013 6:47:01 AM UTC+2, davedigerati wrote: >> >> I've succeeded in using a custom SQLFORM to restrict how many fields of a >> table the user has to fill out, but now I am trying to set a hidden field >> value (status) and strug

[web2py] Setting hidden fields with custom SQLFORMs

2013-07-28 Thread davedigerati
I've succeeded in using a custom SQLFORM to restrict how many fields of a table the user has to fill out, but now I am trying to set a hidden field value (status) and struggling. I tried in the model to use: form = SQLFORM(db.games) form.vars.status = 'active' but the field never gets w

[web2py] Re: How do I apply placeholder text to web2py forms?

2013-07-28 Thread davedigerati
form.custom.widget.tm_home}} > > You can move that first line into the controller if you like. > > Anthony > > On Sunday, July 28, 2013 1:41:22 PM UTC-4, davedigerati wrote: >> >> Been banging my head against the wall with this, trying to move from a >> simple form

[web2py] Re: How do I apply placeholder text to web2py forms?

2013-07-28 Thread davedigerati
Been banging my head against the wall with this, trying to move from a simple form to a sqlform, and placeholder is not working: in my view this works fine: {{=form.custom.widget.tm_home}} but {{=form.custom.widget.tm_home["_placeholder"] = "Home Team Name"}} or {{=form.custom.widget.tm_home['_pla

[web2py] Re: Front-end dev workflow on OS X?

2013-07-21 Thread davedigerati
Thanks Massimo, the link worked perfect / Christian thanks also, had a suspicion but didn't want to explore a potential rabbit hole if I could help it;) On Thursday, July 18, 2013 11:26:48 PM UTC-4, davedigerati wrote: > > > Newbie, first app with web2py, on OS X, have tried goo

[web2py] Re: Front-end dev workflow on OS X?

2013-07-19 Thread davedigerati
it and edit the fields it > contains, in particular Contents/Resources/applications/ > > On Thursday, 18 July 2013 22:26:48 UTC-5, davedigerati wrote: >> >> >> Newbie, first app with web2py, on OS X, have tried google/group/docs and >> am struggling with workflow: &g

[web2py] Front-end dev workflow on OS X?

2013-07-19 Thread davedigerati
Newbie, first app with web2py, on OS X, have tried google/group/docs and am struggling with workflow: The Mac binary is a package so the views & static files are hidden from the system- how are people designing front ends without pulling the files out (which breaks previewing) ? -- --- You