[web2py] Re: web2py behind IIS - 404 File or Directory Not Found. - RESOLVED

2017-04-07 Thread weheh
64 bit that one encounters in the doc version of instructions. Remco's approach worked perfectly the first time and I was up and running in about 10 minutes. Thank you Remco! On Thursday, April 6, 2017 at 11:40:15 PM UTC-6, weheh wrote: > > Now I'm wondering if the wfastcgi.py 3.0.0 that

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
Now I'm wondering if the wfastcgi.py 3.0.0 that I downloaded is somehow not compatible with some of the python2.7 modules in the flow. On Thursday, April 6, 2017 at 7:48:44 PM UTC-6, weheh wrote: > > I've now compared my installation against a known good installation. All > th

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
-6, weheh wrote: > > Have been struggling with web2py behind IIS installation on AWS for a > couple of days now and getting nowhere. The best I am able to produce is a > 404 error message. I've tried two completely clean installations from > scratch, followed the web2py boo

[web2py] web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
Have been struggling with web2py behind IIS installation on AWS for a couple of days now and getting nowhere. The best I am able to produce is a 404 error message. I've tried two completely clean installations from scratch, followed the web2py book documentation to the letter, and still no go.

[web2py] web2py install on AWS with IIS

2017-04-05 Thread weheh
I am trying to get web2py to run behind IIS on an AWS EC2 instance. Can anyone help me get this running? I have followed the deployment instructions to the letter but getting nowhere. I have budget to get this done. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Too many open files / too many clients

2015-11-14 Thread weheh
Does anyone know how to deal with this situation? I'm running into this Error 24 Too many open files error message that was discussed at least a couple of times here. The ticket is this: 78 Framework IOError: [Errno 24] Too many open files:

[web2py] Re: Why is appadmin redirecting to URL('default', 'index') from within web2py IDE?

2015-10-26 Thread weheh
This continues to be an issue. http://127.0.0.1:8000/appadmin redirects to URL('default', 'index'). Any thoughts? On Friday, October 9, 2015 at 3:49:16 PM UTC-6, Leonel Câmara wrote: > > Deleting welcome shouldn't cause problems for your existing apps, as it > should use the appadmin in myapp's

[web2py] Re: SQLFORM.grid and ractive

2015-10-11 Thread weheh
No, this is super easy, and I've done it already. But I still need the search in some cases and grid would be convenient. On Tuesday, October 6, 2015 at 12:40:26 PM UTC-6, Niphlod wrote: > > without search capabilities, grid is just a keyed edit form for each > record. > Is it really that hard

[web2py] Why is appadmin redirecting to URL('default', 'index') from within web2py IDE?

2015-10-09 Thread weheh
I broke my web2py installation. I was cleaning out what I thought were unused files because I don't use welcome app. The problem is that when I click the database button from this page: http://127.0.0.1:8000/admin/design/myapp I'm getting redirected to URL('default', 'index') What did I

[web2py] Re: Version control: web2py and my application in separate repos?

2015-10-09 Thread weheh
Can you elaborate, please? On Friday, October 9, 2015 at 11:25:17 AM UTC-6, Leonel Câmara wrote: > > web2py tags releases so you don't really need your own github repo you can > just tell people to clone a given web2py tag. > -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: SQLFORM.grid and ractive

2015-10-06 Thread weheh
The problem, reported by FireBug, is Uncaught SyntaxError: Unexpected token ILLEGAL and appears to be caused by a script being output by the SQLFORM.grid. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: SQLFORM.grid and ractive

2015-10-06 Thread weheh
Yes, I will do it this week. First, I like grid. It's powerful and convenient. But, grid isn't formatted for bootstrap, which I use and the rest of web2py supports. This inconsistency causes trouble when I use the ui="web2py" argument to grid. I don't normally even load web2py.css for my app

[web2py] Job opening

2015-09-30 Thread weheh
I'm leading a large, multi-phase project with immediate need for additional software development human resource. We're searching for a top talent with the following full-stack expertise: - python - web2py - javascript & jQuery - ractive - Bootstrap - css - postgreSQL or MongoDB If you've got

[web2py] Re: Calling all Boulder, CO web2py users

2015-09-29 Thread weheh
Thanks for this suggestion. I have already contacted the main Boulder python Meetup group about this and they will welcome a set of talks on web2py. I would contact the Denver python Meetup group and invite them as well. I'm mostly interested in learning if there are already experienced web2py

[web2py] Re: Calling all Boulder, CO web2py users

2015-09-21 Thread weheh
Bumping. Can't believe there's only one other web2py-er in Boulder. How can that be? C'mon all you Boulderites, stand up and be counted. Not looking for a commitment to attend the meetup. Just a Boulder headcount. Thanks. p.s. Anyway, as you can see, Massimo is in. -- Resources: -

[web2py] Re: One form in multiple tabs

2015-09-21 Thread weheh
+1 Niphlod is top contributor. Never sarcastic. Always helpful. Insights are deep. Good guy to listen to. 'Nuf said. On Thursday, April 18, 2013 at 5:30:27 PM UTC-6, Massimo Di Pierro wrote: > > I am pretty sure Niphlod did not mean it in a sarcastic sense. We are from > the same country and I

[web2py] SQLFORM.grid and ractive

2015-09-17 Thread weheh
Anybody ever try to get an SQLFORM.grid(...) to render within a ractive template? I'm having trouble getting it to work. SQLTABLE works OK, but grid seems to bundle a script, which causes ractive to choke. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Calling all Boulder, CO web2py users

2015-09-17 Thread weheh
*** Please reply to this thread if you're interested in a Boulder, CO web2py meetup. *** Hello Boulder web2py users. I organized a very well received web2py meetup in Berkeley, CA, recently and would like to repeat something like it in Boulder, CO. Massimo has committed to attend and give a

Re: [web2py] All messed up

2015-06-09 Thread weheh
Alright, a little further now. I figured I needed to reinstall/upgrade psycopg2, which I did. Now I'm getting the ticket: Traceback (most recent call last): File G:\web2py\gluon\restricted.py, line 227, in restricted exec ccode in environment File

Re: [web2py] All messed up

2015-06-09 Thread weheh
@Niphlod: OK, I reinstalled Windows from source and this time web2py is back in working order. However, I'm still unable to connect to postgresql. I'm getting this ticket: Traceback (most recent call last): File G:\web2py\gluon\restricted.py, line 227, in restricted exec ccode in

Re: [web2py] All messed up

2015-06-09 Thread weheh
Thanks for the pointers. @Massimiliano, the suggestion is a good one but I found my pg_hba.conf file was OK. I finally got this working by rebooting the machine, so I'm closing the issue. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: My son made a new web2py logo

2015-06-05 Thread weheh
Commendable effort! But I second the folks who don't want any logo or name changes for the time being. Thanks. On Monday, June 1, 2015 at 11:06:16 AM UTC-7, Massimo Di Pierro wrote: Time to revamp the web site? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] All messed up

2015-06-05 Thread weheh
Grrr. I just upgraded postgresql to the latest version 9.4 on Windows. I was surprised to see that it didn't overwrite the Postgres 9.2 install on my system. So I backed up my 9.2 db, created a new db under 9.4 and restored the 9.2 db into the 9.4 db. Everything seemed OK. But web2py wouldn't

Re: [web2py] All messed up

2015-06-05 Thread weheh
- python web2py -S your app -M (to load the models), and try some operations from within there Kiran Subbaramanhttp://subbaraman.wordpress.com/about/ On Fri, 05-06-2015 2:50 PM, weheh wrote: Grrr. I just upgraded postgresql

Re: [web2py] All messed up

2015-06-05 Thread weheh
Alright. I took the error message over to another machine that has an older version of web2py running. Looks pretty fundamental. CountFileError10_0_globals.pyAttributeError: type object 'DAL' has no attribute 'Field' http://127.0.0.1:8000/admin/errors/admin#+ details

[web2py] Re: Which version of python to use with web2py?

2015-05-17 Thread weheh
encountered? On Saturday, May 16, 2015 at 6:17:07 PM UTC-4, weheh wrote: Anybody have any experience with web2py on Windows 7 SP1 and SSL? Which version of python? I need to know the X in python 2.7.X. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] Re: Which version of python to use with web2py?

2015-05-16 Thread weheh
thats how I am reading it. Assuming with python 3 it will be named web3py since its always backward compatible by definition so web2py will break with python version 3. On Friday, May 15, 2015 at 8:42:55 PM UTC-4, weheh wrote: What is the sanctioned Windows version of python to use

[web2py] Re: Which version of python to use with web2py?

2015-05-16 Thread weheh
Anybody have any experience with web2py on Windows 7 SP1 and SSL? Which version of python? I need to know the X in python 2.7.X. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Which version of python to use with web2py?

2015-05-15 Thread weheh
I'm upgrading a bunch of stuff and went with the latest version of python 2.7.10rc1 and found it had problems with HTTPSConnect. Backtracked version after version until now am on python 2.7.6, which is missing sslwrap module. Unbelievable that python is having so much trouble with SSL. Can

[web2py] Re: postgres/psychopg2 connect problem -- need help

2015-04-26 Thread weheh
the same result. On Sunday, April 26, 2015 at 1:14:38 AM UTC-7, Paolo Valleri wrote: you have to setup the user on the new postgres server. You have probably restored only the data of the database. On Sunday, April 26, 2015 at 9:10:11 AM UTC+2, weheh wrote: I'm moving my app to a new server

[web2py] postgres/psychopg2 connect problem -- need help

2015-04-26 Thread weheh
I'm moving my app to a new server. It's running Windows 8.1 (sorry about that, but it can't be avoided for technical reasons). Regardless, I backed up my postgres db on my old server and moved it over to the new server and sucked it into postgres. The db is associated with the same user name

[web2py] can't import files

2015-04-26 Thread weheh
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Traceback (most recent call last): File C:\web2py\gluon\restricted.py, line 224, in restricted exec ccode in environment File C:/web2py/applications/myapp/models/0_db_1_user.py http://127.0.0.1:8000/admin/edit/YAKiToMe/models/0_db_1_user.py, line 18,

[web2py] auth.accessible_query() speedup

2015-04-12 Thread weheh
I'm wondering if there's any kind of speedup possible on auth.accessible_query(...) by indexing the various auth tables (like auth.member, auth.group, ...)? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: mod_wsgi error caused (maybe) by css transferred with MIME type text/plain

2015-04-01 Thread weheh
I'm not sure if this is a problem or not? On Tuesday, March 31, 2015 at 11:39:07 PM UTC-7, Niphlod wrote: you're serving static files with no versioning and with web2py ... 1. x-powered-by: web2py On Wednesday, April 1, 2015 at 4:43:52 AM UTC+2, weheh wrote: I'm getting

[web2py] Re: mod_wsgi error caused (maybe) by css transferred with MIME type text/plain

2015-04-01 Thread weheh
I researched a bug in Apache/wsgiserver and my ISP installed a newer version. The problem went away, so it appears to have been a bug in that layer of the stack. On Tuesday, March 31, 2015 at 11:40:50 PM UTC-7, Niphlod wrote: the file served wrong come from cloudflare though 1.

[web2py] Re: mod_wsgi error caused (maybe) by css transferred with MIME type text/plain

2015-03-31 Thread weheh
Thanks, Jim. 32-bit Apache Version 2.2.x mod-wsgi for python 2.7 On Tuesday, March 31, 2015 at 1:46:26 PM UTC-7, Jim S wrote: What versions of Apache and mod-wsgi? 32 bit or 64 bit? -Jim -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: mod_wsgi error caused (maybe) by css transferred with MIME type text/plain

2015-03-31 Thread weheh
). The httpserver.log file for my Web2Py instance does show GET requests for the CSS files. /dps still wet behind the ears On Tuesday, March 31, 2015 at 10:27:25 PM UTC+2, weheh wrote: How do I figure out whether web2py is serving the css files? On Tuesday, March 31, 2015 at 12:39:00 AM UTC

[web2py] Re: mod_wsgi error caused (maybe) by css transferred with MIME type text/plain

2015-03-31 Thread weheh
:05:25 AM UTC+2, weheh wrote: Thanks, Brian. My page does have a lot of ajax calls. The problem seems to be that some of my css files aren't coming through. Firebug says they're being delivered as text/plain instead of text/css. Consequently, the page load incorrectly and users probably bail

[web2py] mod_wsgi errors -- dead in the water

2015-03-30 Thread weheh
On a Windows 7 server running the latest Apache, I'm getting the following mod_wsgi errors showing up in the Apache error.log file: mod_wsgi (pid=1233) Exception occurred processing WSGI script 'C:/web2py/wsgihandler.py'., referer: https://mysite.com/my_controller/my_action IOError: failed to

[web2py] Re: mod_wsgi errors -- dead in the water

2015-03-30 Thread weheh
Config? Windows 7. Apache 2.X. mod_wsgi. python 2.7.x. The modwsgi config is as follows: VirtualHost *:443 DocumentRoot C:/web2py/applications ServerName www.yakitome.com SSLCipherSuite AES128+EECDH:AES128+EDH SSLProtocol All -SSLv2 -SSLv3 SSLHonorCipherOrder On Header always set

[web2py] Re: mod_wsgi errors -- dead in the water

2015-03-30 Thread weheh
Thanks, Brian. My page does have a lot of ajax calls. The problem seems to be that some of my css files aren't coming through. Firebug says they're being delivered as text/plain instead of text/css. Consequently, the page load incorrectly and users probably bail, causing the IO Error in

[web2py] Re: [Web2py] redirect doesn't work with 'tab' as var name

2015-03-25 Thread weheh
What does your controller do with the tab var? On Tuesday, March 24, 2015 at 8:14:54 PM UTC-7, Phillip Parente wrote: In controller, redirect is not working with 'tab' as var name: redirect(URL('mycontroller', 'index', vars={'tab':'DF03'})) is not working redirect(URL('mycontroller',

[web2py] Re: Uncaught InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input ele

2015-03-24 Thread weheh
Bump with edits. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] LOADed component with field of type upload now fails where it used to work

2015-03-23 Thread weheh
I have a component form that tries to upload a file. This requires the jquery.Form.js, which I have installed and have been using successfully for quite some time. However, after making some changes to my layout file and juggling the order of my css and js loadings, I'm now getting this error

[web2py] Need help with app configuration -- $

2015-03-16 Thread weheh
I need help performance tuning my app. I have budget. The app is python 2.7.x, web2py latest release, Apache 2.4, mod_wsgi, Windows 7 server. The app on the server is running almost many times slower than on dev platform, which doesn't use Apache or mod_wsgi. I'm at wits end and need some help

[web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-10 Thread weheh
I should be OK. Got my fingers crossed. On Saturday, March 7, 2015 at 11:18:17 AM UTC-8, Massimo Di Pierro wrote: Who is opposed? Why? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: adding signature to url after login

2015-02-25 Thread weheh
. On Friday, 6 February 2015 15:18:55 UTC-6, weheh wrote: I have a URL that I want to direct to after login. Something like _next_url = URL(c, f, v, signature=True). The problem is this. The signature is computed before login. After login, the signature isn't valid. Is there a way to recompute

[web2py] how to style input upload button?

2015-02-09 Thread weheh
I'm using bootstrap. I have an SQLFORM() with a Field('my_field', 'upload', formstyle='divs', ...). Tried also with formstyle='bootstrap'. Either way, the form button that's produced says Choose File and has ugly sharp corners that I want to round off. Seems easy enough to do, round off

[web2py] Re: adding signature to url after login

2015-02-09 Thread weheh
Done. On Saturday, February 7, 2015 at 8:41:17 PM UTC-8, Massimo Di Pierro wrote: This is a good point. Please open a ticket (on github) and we will investigate. On Friday, 6 February 2015 15:18:55 UTC-6, weheh wrote: I have a URL that I want to direct to after login. Something like

[web2py] adding signature to url after login

2015-02-06 Thread weheh
I have a URL that I want to direct to after login. Something like _next_url = URL(c, f, v, signature=True). The problem is this. The signature is computed before login. After login, the signature isn't valid. Is there a way to recompute the signature for a URL after the fact ... after the URL

[web2py] trouble with like

2015-02-02 Thread weheh
I had a query db.mytable.myfield.like('%.mp3') where the actual field contents were mytable.myfield.cypher1.cypher2.mp3 and it worked OK. But now it's non-functional. After replacing the query with the following db.mytable.myfield.endswith('.mp3') everything is working fine again. What

[web2py] Re: jquery ui theming

2014-12-11 Thread weheh
Hi Jose, two comments. 1) forget jquery UI ... move to Bootstrap. I used jquery UI for a long time and moved to Bootstrap because it's easier to use and better at what it does. And it's better to start with Bootstrap than to have to migrate to it later on. 2) Regarding your question, your code

[web2py] Re: UPDATED AGENDA! Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-12-08 Thread weheh
Thanks to all attendees. The evening was a big success and informative. Thank you Massimo and Dex for your excellent presentations and demos. Thank you Richard for recording video of the proceedings. There seemed like a unanimous consensus to continue this venue and, so it shall be done.

[web2py] Re: UPDATED AGENDA! Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-12-04 Thread weheh
There will be wifi access through UC Berkeley conference services. I'm not familiar with it but I'm getting some instructions emailed to me. I'm told it will require you providing some personal info, like a conference would. That's as much as I can say until I get those instructions. --

[web2py] Re: UPDATED AGENDA! Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-29 Thread weheh
. On Thursday, November 6, 2014 1:48:14 AM UTC-6, weheh wrote: *Massimo Di Pietro, web2py's originator, will attend our own Bay Area* *web2py meetup* to meet, greet and present. Additional talks by Dexter Hadley, of Stanford University and Richard Gordon, of YAKiToMe! will be given. Details

[web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-25 Thread weheh
Done. And to Ruby and Django meetup groups. Any others? On Friday, November 21, 2014 11:19:09 AM UTC-8, Joe Barnhart wrote: Has anyone notified the BayPiggies list of our event? Should we? -- Joe On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote: Hi Bay Area web2py'ers. Get

Re: [web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread weheh
Thanks, Richard! I will have a backup just in case. I can offer a tripod as well. But I doubt I'll have the time to edit and post the video, so I really appreciate your volunteering to record the session. On Tuesday, November 11, 2014 11:33:49 AM UTC-8, Richard Warg wrote: I will bring a

[web2py] submit form via ajax ... outside of form

2014-11-10 Thread weheh
I wish to create an ajax button that is outside the form ... /form created by SQLFORM.factory, such that when I click the ajax button it will self-submit the form. Is this possible? For instance def mytest(): form=SQLFORM.factory(Field(mytext,text, requires=IS_NOT_EMPTY())) # add some

[web2py] Re: submit form via ajax ... outside of form

2014-11-10 Thread weheh
I think I just came up with a stupid simple way to do this. Just hide the regular submit button and trigger(click) on it when the other button is pressed. What do you think? On Monday, November 10, 2014 1:25:49 PM UTC-8, weheh wrote: I wish to create an ajax button that is outside the form

[web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-09 Thread weheh
FYI, BART is also an option as the North Berkeley station is close by. I'm willing to ferry a few passengers between station and meeting room assuming the timing is right. Contact me directly if you need this option. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Bay Area web2py meetup with Massimo! December 5, 6:30PM - 9:00PM Albany, CA (next to Berkeley)

2014-11-05 Thread weheh
Hi Bay Area web2py'ers. Here it is! Massimo will come to the Bay Area and give a talk at our web2py meetup. The details are as follows: Date: *Friday, December 5* Time: *6:30PM to 9:00PM* Location: *1125 Jackson Street, Albany, CA* Sponsor: *YAKiToMe.com* (a development-stage web2py-based

[web2py] Re: a very selfish request

2014-10-10 Thread weheh
I tweeted. Good luck and hope you get the well-deserved promotion. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you

[web2py] Re: web2py meetup with Massimo in north Bay Area

2014-09-23 Thread weheh
Massimo can not commit to a date yet, but his best guess is December 5. Pencil it into your calendar please: Friday December 5, 6PM to 9PM. Location, Berkeley CA. THIS IS AN ESTIMATE ONLY AND TENTATIVE. On Monday, September 15, 2014 7:18:48 PM UTC-7, weheh wrote: Target early December. How

[web2py] Re: web2py meetup Bay Area

2014-09-21 Thread weheh
This thread continues here https://groups.google.com/forum/#!topic/web2py/9qE3FXVrlLQ. On Wednesday, September 10, 2014 12:12:14 PM UTC-7, weheh wrote: I've moved back to the Bay Area and was surprised to find there is no web2py meetup group. Massimo, how did your web2py meetup in San Fran

[web2py] Re: web2py meetup with Massimo in north Bay Area

2014-09-18 Thread weheh
I'm counting 6 including Massimo and me. Is that really it? C'mon web2py'ers... Massimo in the Bay Area December to give a talk in San Fran! Let's hear your support! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] web2py meetup with Massimo in north Bay Area

2014-09-15 Thread weheh
Target early December. How much interest? Looking for another speaker. Will try to leverage python user's group. Otherwise, I have a nice room on UC Berkeley campus large enough for 20+. Trying to get a measure of the audience. 1 additional volunteer speaker requested. -- Resources: -

[web2py] Re: web2py meetup Bay Area

2014-09-11 Thread weheh
Thanks for the replies. I went to a meetup last night for the Bay Area python group (not the Bay Area Piggies group), which is one of the largest if not the largest python group in the North Bay. I also looked into setting up a more permanent meetup group for web2py. Here are my conclusions

[web2py] web2py meetup Bay Area

2014-09-10 Thread weheh
I've moved back to the Bay Area and was surprised to find there is no web2py meetup group. Massimo, how did your web2py meetup in San Fran go many moons ago? How was the interest level? Bay Area web2py community, are you interested in a web2py meetup? Or should we continue to piggy-back the

[web2py] Re: trouble with session and default controller

2014-06-10 Thread weheh
the default file based sessions? On Friday, June 6, 2014 9:08:38 AM UTC-4, weheh wrote: Fair question. Dunno the answer. It was just an example. The real application is that I'm filling the dict with other stuff. It's keeping track of the state of my GUI -- active tabs and stuff. So in that case

[web2py] trouble with session and default controller

2014-06-06 Thread weheh
I'm using an ajax call to default.py controller. The default.py sets a session variable. Paraphrased, it looks like this: # model if not session.myvars: session.myvars = dict( somevar=dict(), othervar=dict(), ... ) # view script ... ajax({{=

[web2py] trouble with session and default controller

2014-06-06 Thread weheh
I'm using an ajax call to default.py controller. The default.py sets a session variable. Paraphrased, it looks like this: # model if not session.myvars: session.myvars = dict( somevar=dict(), othervar=dict(), ... ) # view script ... ajax({{=

[web2py] Re: trouble with session and default controller

2014-06-06 Thread weheh
dictionaries and is not at this point an empty dictionary (which would trigger the model code to refill it)? On Friday, June 6, 2014 3:46:11 AM UTC-4, weheh wrote: I'm using an ajax call to default.py controller. The default.py sets a session variable. Paraphrased, it looks like this: # model

[web2py] Re: which version of bootstrap is web2py running?

2014-05-30 Thread weheh
line 2: * * Bootstrap v2.3.2 says it all :) Am Donnerstag, 29. Mai 2014 05:52:56 UTC+2 schrieb weheh: title says it all -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues

Re: [web2py] Why won't my bootstrap modal form close?

2014-05-28 Thread weheh
Alright, I got it to work, but it's super fugly. I created a javascript function: function hide_modal() { $(#contact-dialog).modal(hide); } and then in my controller I replaced the response.js with this: response.js = 'hide_modal(#contact-dialog);' So that works. But WHY? I think there's

[web2py] which version of bootstrap is web2py running?

2014-05-28 Thread weheh
title says it all -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users

Re: [web2py] Why won't my bootstrap modal form close?

2014-05-27 Thread weheh
On Mon, May 26, 2014 at 11:22 PM, weheh richard...@verizon.netjavascript: wrote: My bootstrap modal won't close when the user clicks the submit button. Console says, Uncaught TypeError: undefined is not a function Here's what I'm doing. # view does a load of a skeleton {{= LOAD('contact

Re: [web2py] Why won't my bootstrap modal form close?

2014-05-27 Thread weheh
I forgot to mention that I also tried response.js = XML('$(#contact-dialog).modal(hide);') and this threw an internal server error, which surprised me a bit, since I've wrapped response.js statements with the XML helper before without incident. Here's the traceback: Traceback 1. 2.

Re: [web2py] Why won't my bootstrap modal form close?

2014-05-27 Thread weheh
Richard - this modal is a component. I'm rapidly coming to the conclusion that there's some jQuery variable scope issue at play. I just haven't found it, yet. Very frustrating. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] forms and bootstrap modals

2014-05-26 Thread weheh
Bootstrap modals have header, body and footer sections. I haven't figured this out, yet, but is there a way to get formstyle='bootstrap' to send the submit button to the footer, the form contents to the body and maybe a title to the header sections? Obviously, this can be done with custom

[web2py] Why won't my bootstrap modal form close?

2014-05-26 Thread weheh
My bootstrap modal won't close when the user clicks the submit button. Console says, Uncaught TypeError: undefined is not a function Here's what I'm doing. # view does a load of a skeleton {{= LOAD('contact', 'dialog.load', ajax=True)}} # contact controller looks like this def dialog():

[web2py] Re: web2py and whoosh

2014-05-26 Thread weheh
I know nothing of whoosh and It's hard to tell without seeing any code. Are you decoding from a web2py record and then encoding when going into whoosh? Where are the data coming from originally. Are the documents being uploaded to web2py then written to the server's file system or written to a

[web2py] how to turn python array into javascript array inside of a SCRIPT(...)

2014-05-24 Thread weheh
I've seen this one asked regarding how to pass python array into javascript array inside of a view, but here I want to do it inside a SCRIPT and it's eluding me. I have a module.py that's generating a button with pulldown. I want to be able to do something like this: def mymodule(): T =

[web2py] Re: how to turn python array into javascript array inside of a SCRIPT(...)

2014-05-24 Thread weheh
the translated values in the script below return CAT( DIV(... some stuff ...), SCRIPT($(function() { x = %(x)s; ... do something with x ... % dict(x=json(x)) ) On Saturday, 24 May 2014 03:00:12 UTC-5, weheh wrote: I've seen

[web2py] Re: how to turn python array into javascript array inside of a SCRIPT(...)

2014-05-24 Thread weheh
Yup, it works. I guess I was getting hung up on something else and confused it with this issue. Sorry for the bother thanks, as usual, for the help. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Having trouble with bootstrap glyphicons -- need some help

2014-05-21 Thread weheh
Thanks, Annet. I helps to know that it works for you. Since I'm not starting raw, but rather trying to migrate from jQuery UI, I wouldn't be surprised if something else was interfering with the code. I've tried to rip out all the old jQuery UI stuff, but maybe there's something lurking in the

[web2py] Re: Having trouble with bootstrap glyphicons -- need some help

2014-05-21 Thread weheh
I'm still getting nowhere. I've gotten rid of all the jquery UI stuff so I'm down to some raw Bootstrap. I suspect it's not picking up the glyphicons files. Where are your glyphicon .png files residing? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Having trouble with bootstrap glyphicons -- need some help

2014-05-20 Thread weheh
Doing a double migration to web2py 2.9.5 and bootstrap. I'm trying to get glyphicons to work with buttons but icons not showing at all. For example: my layout.html file has: response.files.insert(0,URL('static','css/web2py.css'))

[web2py] bootstrap html attributes with web2py helpers

2014-05-20 Thread weheh
Bootstrap uses some html attributes that won't work with web2py html helpers. Is there a way to get web2py helpers to work with these attributes or must we resort to raw html? For example, from the bootstrap doc: button type=button class=btn btn-primary data-toggle=buttonSingle toggle/button

Re: [web2py] web2py conference - online talks

2014-05-17 Thread weheh
Massimo, thanks for the pointer to ractive.js and comments about Angular.js. I still don't see much more I need that isn't provided by web2py components and some simple js scripts or jQuery routines. Angular somehow didn't pass my sniff test. Seemed like it was going to get out of hand too

Re: [web2py] web2py conference - online talks

2014-05-17 Thread weheh
I like the idea of serving only small JSON snips to the client. Yah, I'm beginning to see how it could work better/faster. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

Re: [web2py] web2py conference - online talks

2014-05-12 Thread weheh
no diference here. Its only a matter of taste. I could as well say that using only web2py,if i have 1000 users and everytime i need to hide a row in a table i need an http call, my server will die soon with all requests.. and for this angular is a perfect fit. 2014-05-12 3:28 GMT+01:00 weheh

Re: [web2py] web2py conference - online talks

2014-05-12 Thread weheh
about filtering with a live search box above the table. Angular Filters and directives are awesome and once you know them you cant stop thinking about them. I´m here to learn so feel free to pun me... :P 2014-05-12 16:25 GMT+01:00 weheh richard...@verizon.net javascript:: @Ramos

Re: [web2py] web2py conference - online talks

2014-05-11 Thread weheh
+1 regarding the AngulaJS talk with web2py by Amber Doctor. Kudos to Amber for a talk well given! I've been studying AngularJS a little and haven't written any code, yet, but my web Spidey sense is giving off alarms. I think Amber's talk underscores a potential danger of client-side MVC.

[web2py] ImportError: No module named myapp.modules

2014-04-20 Thread weheh
I'm in the process of installing a new version of my app and getting this error message right off the bat. My modules folder does contain an __init__.py file, so it should be OK. But I'm getting this traceback. This has got me dead in the water, so any quick help would be much appreciated.

[web2py] Re: 2.9.5-stable Version throws ticket when /admin accessed - dead in water

2014-03-22 Thread weheh
Thanks PN and Dave. I neglected to mention that visiting a ticket just generates another ticket, so inspecting the error via the admin interface is a no go. I'll have to get at it some other way. I also neglected to mention that I had already performed the age-old ritual of deleting old

[web2py] Re: Pulling data every 30s for a ticker with web2py

2014-03-22 Thread weheh
+1 on PN's suggestion. That's how I do it. Works great. On Friday, March 21, 2014 5:25:47 AM UTC+8, PN wrote: You can also use web2py components (see the chapter titled 'Components and Plugins' in the web2py book). Basically first make a normal web2py page that reads the remote API every

[web2py] Re: 2.9.5-stable Version throws ticket when /admin accessed - dead in water

2014-03-22 Thread weheh
The problem clearly has to do with python not recognizing the with statement. I tried retrieving an older version of /admin followed by a complete clean wipe and then re-install of python 2.5.4. The problem persists. Not sure what to do next. Any suggestions? -- Resources: -

Re: [web2py] Re: 2.9.5-stable Version throws ticket when /admin accessed - dead in water

2014-03-22 Thread weheh
Michele - Thanks for the suggestions. Moving to python 2.7 opens another can of worms because of a module I'm using that isn't ported to 2.7. So that test must wait until very last. However, I did remove .pyc all around, but still no go -- same problem. On Saturday, March 22, 2014 5:11:42 PM

Re: [web2py] Re: 2.9.5-stable Version throws ticket when /admin accessed - dead in water

2014-03-22 Thread weheh
at the same time. Then I ran into this trouble so reverted to an older version of web2py that I thought worked, But the troubles tagged along. On Saturday, March 22, 2014 8:43:48 PM UTC+8, Niphlod wrote: @weheh: try to edit admin/controllers/default.py putting from __future__ import with_statement

Re: [web2py] Re: 2.9.5-stable Version throws ticket when /admin accessed - dead in water

2014-03-22 Thread weheh
Sorry, I may have not have gotten the most recent ticket traceback. It is now this: S'Traceback (most recent call last):\n File I:\\web2py\\gluon\\restricted.py, line 212, in restricted\nexec ccode in environment\n File I:\\web2py\\applications\\admin\\controllers/default.py, line 16,

  1   2   3   4   5   6   7   8   9   10   >