[web2py:34639] Re: Join web2py wave

2009-11-04 Thread Thadeus Burgess
Richard, could you keep me in mind when the invites start back up? -Thadeus On Wed, Nov 4, 2009 at 9:05 PM, Vincent wrote: > > I am interested. > Vincent > > On Nov 4, 6:15 pm, Richard wrote: > > I would invite you but it seems Google has temporarily disabled > > inviting: > http://www.goog

[web2py:34638] Re: Join web2py wave

2009-11-04 Thread Vincent
I am interested. Vincent On Nov 4, 6:15 pm, Richard wrote: > I would invite you but it seems Google has temporarily disabled > inviting:http://www.google.com/support/wave/bin/answer.py?hl=en&answer=162237 > > On Nov 5, 4:38 am, Thadeus Burgess wrote: > > > I would love to as well if I had an in

[web2py:34637] Re: Join web2py wave

2009-11-04 Thread Richard
I would invite you but it seems Google has temporarily disabled inviting: http://www.google.com/support/wave/bin/answer.py?hl=en&answer=162237 On Nov 5, 4:38 am, Thadeus Burgess wrote: > I would love to as well if I had an invitation. > > -Thadeus > > On Wed, Nov 4, 2009 at 9:58 AM, hcvst wrot

[web2py:34636] Re: PyCon 2010

2009-11-04 Thread mdipierro
Yarko, you are misreading this. we are cool. I am in the organizing committee as you are. I do not like the process but I defend it. No negative comment about Django was made. I actually thanked the Django People who, in fact, gave positive reviews to web2py. The point is not "have web2py talke

[web2py:34635] Re: PyCon 2010

2009-11-04 Thread Yarko Tymciurak
just to own up - of the voting on the web2py design talk, there were several rounds, and the votes were really positive (perhaps I was one of only one or two who voted NO for the design talk). It boils down to a process of what is there room for, and what will benefit the python community most...

[web2py:34634] Re: Bulk loading data into web2py database?

2009-11-04 Thread mdipierro
That is the place. On Nov 4, 4:20 pm, David Mitchell wrote: > Thanks guys, I'm on my way now! > > Next question - is there a standard directory under my application that I > should use to hold these scripts?  At the moment, I'm putting them under > web2py/applications/my_app/private, but I'm not

[web2py:34633] Re: Can't load web2py GAE on version 1.71.1

2009-11-04 Thread mdipierro
should be fixed. 1.71.2 it posted. On Nov 4, 3:43 pm, Chris S wrote: > Oh good it's not me then :) > > On Nov 4, 3:42 pm, mdipierro wrote: > > > oops. I will repost 1.71.2 in a minute. I made a mistake. > > > Massimo > > > On Nov 4, 3:22 pm, Chris S wrote: > > > > I'm at a loss here.  I saw th

[web2py:34632] Does your Response Flash get in the way?

2009-11-04 Thread Russell
Hi there, A mild annoyance: Sometimes the response flash covers other text on the screen and, when you are doing lots of testing, you are continually clicking it to make it go away. My suggestion is to replace web2py_ajax.html line 36: jQuery('.flash').click(function() { jQuery(this).fadeOut('s

[web2py:34631] Re: Bulk loading data into web2py database?

2009-11-04 Thread David Mitchell
Thanks guys, I'm on my way now! Next question - is there a standard directory under my application that I should use to hold these scripts? At the moment, I'm putting them under web2py/applications/my_app/private, but I'm not sure that that's the appropriate path. Regards monch1962 2009/11/5 m

[web2py:34630] Re: web2py pagination

2009-11-04 Thread Wes James
You may want to take a look at t2.py and look itemize. T2 is deprecated, but you might still get some ideas from the code. http://www.web2py.com/examples/static/t2.pdf -wes On Wed, Nov 4, 2009 at 2:30 AM, Mengu wrote: > > hi everyone. > > i have a problem with paginating my results. i guess i

[web2py:34629] Re: web2py pagination

2009-11-04 Thread Vasile Ermicioi
perpage = 2 totalposts = db(db.post.id > 0).count() totalpages = totalposts / perpage page = int(request.vars.page) if request.vars.page else 1 limit = int(page - 1) * perpage posts = db(db.post.id > 0).select(orderby=~db.post.id, limitby=(limit+1,limit+perpage+1)) I changed just your last line. H

[web2py:34628] Re: Plugin Layout

2009-11-04 Thread mdipierro
barebone has no css. The others do. Don't you have these files: static/plugin_layout/hotel/ static/plugin_layout/hotel/examples.html static/plugin_layout/hotel/images/ static/plugin_layout/hotel/images/content-bg-left.png static/plugin_layout/hotel/images/content-bg-right.png static/plugin_layout

[web2py:34627] Re: Can't load web2py GAE on version 1.71.1

2009-11-04 Thread Chris S
Oh good it's not me then :) On Nov 4, 3:42 pm, mdipierro wrote: > oops. I will repost 1.71.2 in a minute. I made a mistake. > > Massimo > > On Nov 4, 3:22 pm, Chris S wrote: > > > I'm at a loss here.  I saw there were GAE changes for version 1.71.1 > > and wanted to see what it would take to ge

[web2py:34626] Re: Can't load web2py GAE on version 1.71.1

2009-11-04 Thread mdipierro
oops. I will repost 1.71.2 in a minute. I made a mistake. Massimo On Nov 4, 3:22 pm, Chris S wrote: > I'm at a loss here.  I saw there were GAE changes for version 1.71.1 > and wanted to see what it would take to get my project upgraded.  To > start with I've just downloaded the web2py_src, I r

[web2py:34625] Re: Can't load web2py GAE on version 1.71.1

2009-11-04 Thread Chris S
If it helps this is the log file from the Log Console from the GAE Launcher: - INFO 2009-11-04 21:39:26,907 dev_appserver_main.py:478] Running application web2py on port 8082: http://localhost:8082 WARNING 2009-11-04 21:39:40,017 py_zipimport.py:103] Can't open zipfile C:\Python2

[web2py:34624] Re: web2py pagination

2009-11-04 Thread Mengu
sorry massimo, i didn't understand again. i guess i need some rest. can you explain me the web2py way of pagination? my algorithm is as the following: 1) set a limit to display per page. 2) get the total posts. 3) get the total pages by totalposts/perpage 4) get page via request.vars.page if exi

[web2py:/] Can't load web2py GAE on version 1.71.1

2009-11-04 Thread Chris S
I'm at a loss here. I saw there were GAE changes for version 1.71.1 and wanted to see what it would take to get my project upgraded. To start with I've just downloaded the web2py_src, I ran 'python web2py.py' and it starts up building the applications. After that I add the web2py folder to my G

[web2py:34622] Re: Plugin Layout

2009-11-04 Thread JorgeRpo
ok. I installed the plugin and see the 'change layout' link when I click on it, i see: Apply a layout to your app barebone emporium golf hotel ...revert to original But when I click on any of these options, there is no CSS, so there is no any layout. On Nov 4, 3:50

[web2py:34621] Re: "LIKE" in GAE

2009-11-04 Thread mike
I reinstalled it, and it all works. But here is another question: i have some 100,000 entries (im writing Chinese-> English dictionary), and based on the documentation, the above solutions pulls all the records and lets python filter them down. This takes a long time. Looking at the Google docs

[web2py:34620] Re: Maintain backward compatibility, but ...

2009-11-04 Thread mdipierro
strange because a Reference object is derived by an int. I will patch simplejson to accomodate it. On Nov 4, 2:52 pm, omicron wrote: > On 4 nov, 19:28, mdipierro wrote: > > > On Nov 4, 12:22 pm, omicron wrote: > > > > With version 1.71.1 I have two problems: > > >  * Rows object has no longer

[web2py:34619] Re: Maintain backward compatibility, but ...

2009-11-04 Thread omicron
On 4 nov, 19:28, mdipierro wrote: > On Nov 4, 12:22 pm, omicron wrote: > > > With version 1.71.1 I have two problems: > >  * Rows object has no longer attribute "response" ? Before > > Rows.response was what I want to send to QooxDoo to populate table > > models. Now I must construct my list w

[web2py:34618] Re: Plugin Layout

2009-11-04 Thread JorgeRpo
On Nov 4, 3:48 pm, JorgeRpo wrote: > On Nov 4, 3:40 pm, mdipierro wrote: > > > > > No. You have not upgraded the admin interface. > > Do that with > > >    web2py.py --upgrade=yes > > > or manually > > >    cd applications/admin > >    tar zxvf ../../admin.w2p > > > Since 1.70.1 there is a new

[web2py:34617] Re: Plugin Layout

2009-11-04 Thread mdipierro
No. web2py does not automatically upgrades any of the applications (not even admin, examples, welcome) because you may have edited them. Massimo On Nov 4, 2:48 pm, JorgeRpo wrote: > On Nov 4, 3:40 pm, mdipierro wrote: > > > > > No. You have not upgraded the admin interface. > > Do that with >

[web2py:34616] Re: Plugin Layout

2009-11-04 Thread JorgeRpo
On Nov 4, 3:40 pm, mdipierro wrote: > No. You have not upgraded the admin interface. > Do that with > >    web2py.py --upgrade=yes > > or manually > >    cd applications/admin >    tar zxvf ../../admin.w2p > > Since 1.70.1 there is a new plugin thing at the bottom. > > On Nov 4, 2:38 pm, JorgeR

[web2py:34615] Re: Plugin Layout

2009-11-04 Thread mdipierro
No. You have not upgraded the admin interface. Do that with web2py.py --upgrade=yes or manually cd applications/admin tar zxvf ../../admin.w2p Since 1.70.1 there is a new plugin thing at the bottom. On Nov 4, 2:38 pm, JorgeRpo wrote: > > 4) Go to the bottom of the [admin][Design] pa

[web2py:34614] Re: Plugin Layout

2009-11-04 Thread JorgeRpo
> 4) Go to the bottom of the [admin][Design] page for your app and > insert the plugin. at the bottom, you mean as a 'module'? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this g

[web2py:34613] Re: web2py pagination with Datatables

2009-11-04 Thread mr.freeze
If you are generating the table in your view manually, make sure it has a thead tag. You can also use SQLTABLE to generate a DataTables compliant table. On Nov 4, 1:04 pm, FERNANDO VILLARROEL wrote: > Hello All. > > Regarding of pagination. > > Anyone could me explain how i can use Datatables; i

[web2py:34612] Re: how to use bzr on snowleopard

2009-11-04 Thread Wes James
I just tried to update t4 to any new changes. What is the command to update with bzr. When I run the command "bzr checkout" on an existing t4, I get: bzr: ERROR: File exists: u'/opt/web2py/applications/t4/.bzr': [Errno 17] File exists: '/opt/web2py/applications/t4/.bzr' . 60 seconds la

[web2py:34611] Re: PyCon 2010

2009-11-04 Thread mdipierro
Follow up... The web2py tutorial has also been rejected (it was rejected last year too). There will be be 3 Django tutorials, 1 Pinax tutorial, 2 SQLAlchemy tutorials, and other 15 tutorials on various topics. Last year the open space worked all right. I will consider that. This year we may hav

[web2py:34610] Re: PyCon 2010

2009-11-04 Thread mdipierro
ERRATA I said something wrong. I said I do not know the content of the reviews. That is because I did not scroll the rejection letters to the bottom. The reviews are there and they are actually good. I do not know if those reviewers are here. If they are, thank you. Talk #1 === Reviewer #3

[web2py:34609] Re: web2py pagination

2009-11-04 Thread mdipierro
All this does is when you do for row in db(...).select(limitby=(2,10)): print row it will skip the first two rows and loop over the remaining 10-2=8 rows. Massimo On Nov 4, 11:04 am, Mengu wrote: > hi massimo, > > i didn't undertand the pagination logic here. could you please > explain? > > s

[web2py:34608] Re: web2py pagination with Datatables

2009-11-04 Thread FERNANDO VILLARROEL
Hello All. Regarding of pagination. Anyone could me explain how i can use Datatables; i am trying but not works. Or if anyone could send to me a example how i can use it. Regards. Fernando --- On Wed, 11/4/09, mdipierro wrote: > From: mdipierro > Subject: [web2py:34574] Re: web2py paginati

[web2py:34607] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-04 Thread mr.freeze
Done. Thanks for the heads up. On Nov 4, 12:12 pm, waTR wrote: > Mr. Freeze, > > you need to go tohttp://www.fortiguard.com/webfiltering/webfiltering.html > and search up your domain. It is classified as Malware by them, and > you need to enter your contact info to undo that. > > On Nov 4, 7:26

[web2py:34606] Re: Maintain backward compatibility, but ...

2009-11-04 Thread mdipierro
On Nov 4, 12:22 pm, omicron wrote: > With version 1.71.1 I have two problems: >  * Rows object has no longer attribute "response" ? Before > Rows.response was what I want to send to QooxDoo to populate table > models. Now I must construct my list with iterator ? Rows.response was an internal t

[web2py:34605] Re: running the source verison of web2py

2009-11-04 Thread mdipierro
I think it is one .exe file you need to install. On Nov 4, 12:19 pm, mike wrote: > No i do not, do i need all off them?  Must of missed that point. > > On Nov 4, 1:13 pm, mdipierro wrote: > > > Do you have the Mark Hammond win32 extensions? > > > On Nov 4, 12:02 pm, mike wrote: > > > > I have

[web2py:34604] Maintain backward compatibility, but ...

2009-11-04 Thread omicron
With version 1.71.1 I have two problems: * Rows object has no longer attribute "response" ? Before Rows.response was what I want to send to QooxDoo to populate table models. Now I must construct my list with iterator ? * I have a pb with json_rpc : Example I call a function with parameters, for

[web2py:34603] Re: running the source verison of web2py

2009-11-04 Thread mike
No i do not, do i need all off them? Must of missed that point. On Nov 4, 1:13 pm, mdipierro wrote: > Do you have the Mark Hammond win32 extensions? > > On Nov 4, 12:02 pm, mike wrote: > > > > > I have just downloaded it and trying to run it, but Im getting the > > following errors: > > > Trac

[web2py:34602] Re: running the source verison of web2py

2009-11-04 Thread mdipierro
Do you have the Mark Hammond win32 extensions? On Nov 4, 12:02 pm, mike wrote: > I have just downloaded it and trying to run it, but Im getting the > following errors: > > Traceback (most recent call last): >   File "D:\servers3\web2py\web2py.py", line 20, in >     gluon.widget.start(cron=True)

[web2py:34601] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-04 Thread waTR
Mr. Freeze, you need to go to http://www.fortiguard.com/webfiltering/webfiltering.html and search up your domain. It is classified as Malware by them, and you need to enter your contact info to undo that. On Nov 4, 7:26 am, "mr.freeze" wrote: > >>The pain with the pingoworks autocomplete is >

[web2py:34600] running the source verison of web2py

2009-11-04 Thread mike
I have just downloaded it and trying to run it, but Im getting the following errors: Traceback (most recent call last): File "D:\servers3\web2py\web2py.py", line 20, in gluon.widget.start(cron=True) File "D:\servers3\web2py\gluon\widget.py", line 810, in start master = web2pyDialog(r

[web2py:34599] Re: FYI Malware

2009-11-04 Thread mdipierro
Yarko, it is easy to force a remote spam server to classify a source as spam. This is not the place to explain it. Anyway, you should know, you had to change your email address on this list because you were classified as spam. Massimo On Nov 4, 11:45 am, Yarko Tymciurak wrote: > On Wed, Nov 4,

[web2py:34598] Re: FYI Malware

2009-11-04 Thread rondevu
Once I have tried reporting to fortiguard on miscategorised site (that I was previously managing) that happened to be blocked and they got it sorted out and that block never happened again. I think it will be good if you can personally submit the correction here http://www.fortiguard.com/webfilte

[web2py:34597] Re: FYI Malware

2009-11-04 Thread Yarko Tymciurak
On Wed, Nov 4, 2009 at 10:49 AM, mdipierro wrote: > > Unfortunately this is a problem for web2py.com too. It is explained > here > I think the more intersting question is "why / how did this get tagged as malware?" - assuming it is malicious, without evidence of that (or lack of evidence of some

[web2py:34596] Plugin Layout

2009-11-04 Thread mdipierro
We had so much talk about plugins. Here is an example of a plug-and- play plugin that ley you change the layout of your apps. NO CODING NECESSARY 1) make sure you run 1.71.1 and run it it with web2py.py --upgrade=yes 2) Download: http://web2py.com/examples/static/web2py.plugin.layout.w2p (thi

[web2py:34595] Re: Join web2py wave

2009-11-04 Thread Thadeus Burgess
I would love to as well if I had an invitation. -Thadeus On Wed, Nov 4, 2009 at 9:58 AM, hcvst wrote: > > Hi Snoogie, > > I had an invite left. Just added you. Might take a couple of days for > Google to > send out the invitation. > > HC > > On Nov 4, 4:20 pm, Sebastian Brandt wrote: > > Hi

[web2py:34594] SQLFORM Date field with no calendar

2009-11-04 Thread Adolfo
Hello I'd like to know if theres a way to make a SQLFORM with a date field but instead of showing the calendar it shows me 3 combo box (classic style - day, month, year) or if i have to make the form without SQLFORM thanx for your advice Adolfo --~--~-~--~~~---~--~--

[web2py:34593] Re: Attempting to use a new DAL feature reference fields

2009-11-04 Thread Thadeus Burgess
Ok, [SOLVED] the problem. I ended up having this in my data model db.define_table('table', Field('category', length=1)) db.category.requires = IS_IN_SET(('g', 'c', 'd', 'a'), ('good', 'calm', 'damaged', 'acting'), multiple=True) The problem was setting the length in a multiple text record. -Th

[web2py:34592] Re: Retrieve URLs in redirect chain

2009-11-04 Thread LB22
Thanks Massimo, I'll try this when I get home. I've sent you one of the links I'm talking about (can't post it publicly). Much appreciated. LB On Nov 4, 4:51 pm, mdipierro wrote: > Can you post one of these links so we can look at it in particular? > I think this may help: > > http://stackove

[web2py:34591] Re: web2py pagination

2009-11-04 Thread Mengu
hi massimo, i didn't undertand the pagination logic here. could you please explain? sincerely Mengu On Nov 4, 5:30 pm, mdipierro wrote: > limitby=(a,b) > > returns rows[i] for a <= i < b > > On Nov 4, 3:30 am, Mengu wrote: > > > hi everyone. > > > i have a problem with paginating my results.

[web2py:34590] Re: Retrieve URLs in redirect chain

2009-11-04 Thread mdipierro
Can you post one of these links so we can look at it in particular? I think this may help: http://stackoverflow.com/questions/301924/python-urllib-urllib2-httplib-confusion On Nov 4, 10:23 am, LB22 wrote: > Hi, > > OK to be a little less ambiguous (apologies for that), the redirects > of the ur

[web2py:34589] Re: FYI Malware

2009-11-04 Thread mdipierro
Unfortunately this is a problem for web2py.com too. It is explained here http://groups.google.com/group/web2py/browse_thread/thread/861454b094104daf There are active campaigns to: - try classify web2py as spam so it gets blocked - attack the web2py site and post porn in the pages - force ban use

[web2py:34588] web2py 1.71.1 is OUT

2009-11-04 Thread mdipierro
Includes: Some bug fixes French translation, thanks Olivier A complete rewrite or the Rows object that make web2py faster and smaller DALStorage is renamed Row Now you can call web DAL form any Python program from gluon.sql import DAL, Field db=DAL('sqlite://storage',folder='/path/to/da

[web2py:34587] FYI Malware

2009-11-04 Thread rondevu
Strangely http://www.web2pyslices.com/ has been categorised as malware by my corporate fortigate firewall. Can't access it for now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this

[web2py:34586] Re: Retrieve URLs in redirect chain

2009-11-04 Thread LB22
Hi, OK to be a little less ambiguous (apologies for that), the redirects of the urls I'm probing happen within scripts, like those used in affiliate links, or url shorteners. But it just so happens that when say a user clicks a link, they don't only get redirected from point A to point B, but act

[web2py:34585] Re: PyCon 2010

2009-11-04 Thread mdipierro
Let me re-state what I said in case it was misread. I did not say that DjangoPeople voted web2py down. In fact I suspect it is the opposite since web2py talks passed the first round. The talks where definitively pruned because of limited space and not because of political reasons. Nevertheless,

[web2py:34584] Re: Retrieve URLs in redirect chain

2009-11-04 Thread mdipierro
what do you mean by "masked". Do you have to parse pages or is this done via HTTP 303/307? On Nov 4, 9:54 am, LB22 wrote: > Hi Everyone, > > I'm not sure this is strictly a web2py question, but I figured I'd > pose the question anyway, so here it goes. > > I had a task of going through several h

[web2py:34583] Re: PyCon 2010

2009-11-04 Thread Julio
While the fact that the "reviewers" were registered DjangoPeople does not mean much (heck, I am even registered there), it would be a pity that these people voted down web2py for their own agenda, I've personally seen more "negativeness" from django users towards web2py than the other way around,

[web2py:34582] Re: PyCon 2010

2009-11-04 Thread Mark Eichin
http://catherinedevlin.blogspot.com/2009/11/pycon-program-committee-volunteer.html suggests that they had to do a *lot* of cutting (and still had 5 tracks? wow) to fit, and adding more days (in future years, of course) makes the conference more expensive... Also, from looking over the shoulder o

[web2py:34581] Re: Join web2py wave

2009-11-04 Thread hcvst
Hi Snoogie, I had an invite left. Just added you. Might take a couple of days for Google to send out the invitation. HC On Nov 4, 4:20 pm, Sebastian Brandt wrote: > Hi, > I would like to join but I didn't receive an invitation fpr wave > yet :-) > > Greets > Snoogie > > On 4 Nov., 07:54, hcvst

[web2py:34580] Re: PyCon 2010

2009-11-04 Thread Julio
I have the same question, did they reject the proposed talks due to schedule constraints (that would be understandable), or was this more a "political" decision (bad).. On Nov 4, 6:55 am, Hipertracker wrote: > On Nov 4, 4:23 am, mdipierro wrote: > > > I am sorry to inform you that both the talk

[web2py:34579] Retrieve URLs in redirect chain

2009-11-04 Thread LB22
Hi Everyone, I'm not sure this is strictly a web2py question, but I figured I'd pose the question anyway, so here it goes. I had a task of going through several hundred urls to find out where they lead, so I used URLLIB2 in a web2py app to get and display the end destinations of the "masked" lin

[web2py:34578] Re: PyCon 2010

2009-11-04 Thread mdipierro
They do not, but I am familiar with the process since I participated in reviewing other talks. There is a committee, and I am in it. Members of the committee are blind to their own talk proposals so I could see reviews about mine, only the names of the reviewers. People vote +1, +0, -0, -1. Than

[web2py:34577] Re: Bulk loading data into web2py database?

2009-11-04 Thread mdipierro
even better. For info: web2py.py -h or web2py.py -S yourapp -M -R yourscript.py --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To

[web2py:34576] Re: "LIKE" in GAE

2009-11-04 Thread mdipierro
I think something is wrong with your installation. Can you try reinstalling web2py? On Nov 4, 8:21 am, mike wrote: > Im currently only using mysql, localy, not yet on GAE > > On Nov 3, 5:18 pm, "mr.freeze" wrote: > > > Does it work locally but not on GAE? I am using the same version with > > no

[web2py:34575] Re: Exception handling during GAE datastore maintenance

2009-11-04 Thread mdipierro
Technically it is a problem. The fact is even if the DAL catches it, how does it know how to deal with it? Isn't it better if you catch it in you code or if you use routes_onerror to redirect the user to an error page? On Nov 4, 5:51 am, Guillermo wrote: > Dear all > > Yesterday (november 3rd)

[web2py:34574] Re: web2py pagination

2009-11-04 Thread mdipierro
limitby=(a,b) returns rows[i] for a <= i < b On Nov 4, 3:30 am, Mengu wrote: > hi everyone. > > i have a problem with paginating my results. i guess i didn't > understand the logic in limitby. > > normally an sql query SELECT * FROM post LIMIT 2 OFFSET 0 displays the > first 2 results. And I ca

[web2py:34573] Re: JqGrid in Php to JqGrid in Web2py -- newbies

2009-11-04 Thread mdipierro
cool. can you make a slice? On Nov 4, 2:57 am, zahar wrote: > I like to share the code snippet in converting JqGrid in Php to JqGrid > in Web2py. > > 1. You need to installed Firebug in FireFox to check for error, if you > see blank screen. > 2. You need to install the css style sheet and right

[web2py:34572] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-04 Thread mr.freeze
>>The pain with the pingoworks autocomplete is >>that only complete words with a 'start-with' match... This is done on the server. The pingoworks plugin just sends whatever is in the text input to the server. Just change this: >>return "\n".join([f for f in states if >>f.lower().startswith(requ

[web2py:34571] Re: format date in function

2009-11-04 Thread annet
Hi Mengu, Thanks for the link to the tutorial site. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubs

[web2py:34570] Re: PyCon 2010

2009-11-04 Thread Hipertracker
On Nov 4, 4:23 am, mdipierro wrote: > I am sorry to inform you that both the talks I proposed to PyCon 2010 > about web2py have been rejected. > This is the third year all web2py related talks have been rejected. > I do not have any additional information about this. Did they explain why? --~--

[web2py:34569] Re: Bulk loading data into web2py database?

2009-11-04 Thread Beerc
See http://www.web2py.com/AlterEgo/default/show/215 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, se

[web2py:34568] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-04 Thread DenesL
Nice! On Nov 3, 1:46 pm, "mr.freeze" wrote: > Screenshots added. > > On Nov 3, 12:28 am, Mengu wrote: > > > i have a suggestion for all your slices, why don't you also add the > > screenshots? :) --~--~-~--~~~---~--~~ You received this message because you are sub

[web2py:34567] Re: PyCon 2010

2009-11-04 Thread DenesL
LOL On Nov 4, 1:56 am, Joe Barnhart wrote: > New promotion... web2py -- the framework so powerful *they don't want you to > know about it! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To po

[web2py:34566] Re: {{=month.replace(...)}}

2009-11-04 Thread DenesL
Annet, there is not enough info to tell where the problem might be. On Nov 4, 5:33 am, annet wrote: > I defined a table newsmonth: > > db.define_table('nieuwsmonth', > db.Field > ('number',type='integer',length=2,default='',notnull=True), > db.Field('month',length=14,default='',notnull

[web2py:34565] Re: "LIKE" in GAE

2009-11-04 Thread mike
Im currently only using mysql, localy, not yet on GAE On Nov 3, 5:18 pm, "mr.freeze" wrote: > Does it work locally but not on GAE? I am using the same version with > no problems locally. > > On Nov 3, 2:46 pm, mike wrote: > > > > > Version 1.71.0 (2009-10-31 01:13:28) > > > On Nov 3, 3:42 pm, m

[web2py:34564] Re: "LIKE" in GAE

2009-11-04 Thread mike
Besides the code i have posted, is there any other requirements for this to work. On Nov 3, 5:18 pm, "mr.freeze" wrote: > Does it work locally but not on GAE? I am using the same version with > no problems locally. > > On Nov 3, 2:46 pm, mike wrote: > > > > > Version 1.71.0 (2009-10-31 01:13:28

[web2py:34563] Re: Join web2py wave

2009-11-04 Thread Sebastian Brandt
Hi, I would like to join but I didn't receive an invitation fpr wave yet :-) Greets Snoogie On 4 Nov., 07:54, hcvst wrote: > http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2... > > A public wave to discuss wave development on web2py. > > HC --~--~-~--~~-

[web2py:34562] Exception handling during GAE datastore maintenance

2009-11-04 Thread Guillermo
Dear all Yesterday (november 3rd) Googgle's datastore was in maintenance and during that period it was in read only mode. In the app engine website they recommended us to include the following code do handle exceptions: google.appengine.runtime.apiproxy_errors.CapabilityDisabledError. This will

[web2py:34561] Bulk loading data into web2py database?

2009-11-04 Thread David Mitchell
Hello group, I'm just getting started with web2py, so please be gentle... Now that I've got a model defined within web2py, I need to load up a huge pile of reference data for my application - we're talking several hundred thousand records. Is there a way I can write Python code that runs from th

[web2py:34560] Re: format date in function

2009-11-04 Thread Mengu
dear annet, i'm glad that helped. here you can find a list of formats that you can use with strftime() method: http://www.tutorialspoint.com/python/time_strftime.htm sincerely Mengu On Nov 4, 1:37 pm, annet wrote: > Hi Mengu, > > Thanks for your help, using fromdate.strftime("%d-%m-%Y") displ

[web2py:34559] Re: format date in function

2009-11-04 Thread annet
Hi Mengu, Thanks for your help, using fromdate.strftime("%d-%m-%Y") displays the date in the correct format. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to t

[web2py:34558] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-04 Thread Alex Fanjul
The pain with the pingoworks autocomplete is that only complete words with a 'start-with' match, not a completed match, so you for example could find "New York" searching for 'New' but not searching for 'York', the same with surnames, etc. One day I was searching such a kind of autocomplete for

[web2py:34557] Re: {{=month.replace(...)}}

2009-11-04 Thread annet
I defined a table newsmonth: db.define_table('nieuwsmonth', db.Field ('number',type='integer',length=2,default='',notnull=True), db.Field('month',length=14,default='',notnull=True,unique=True), db.Field('publish',type='boolean'), migrate=False) ... which I use to display archived

[web2py:34556] Re: format date in function

2009-11-04 Thread Mengu
dear annet, you can use strftime if the type of fromdate and todate is datetime. fromdate.strftime("%B %d, %Y) sincerely Mengu On Nov 4, 12:15 pm, annet wrote: > In one of my functions I have: > > response.flash='Club(s) in ' + request.vars.plaats > > I also have functions in which the vars a

[web2py:34555] format date in function

2009-11-04 Thread annet
In one of my functions I have: response.flash='Club(s) in ' + request.vars.plaats I also have functions in which the vars are of type date. I tried: response.flash='Event(s) van ' + str(fromdate) + ' tot ' + str(todate) ... but that results in dates that aren't formatted correctly. In my view

[web2py:34554] Re: PyCon 2010

2009-11-04 Thread Douglas Soares de Andrade
Em Tue, 3 Nov 2009 22:56:45 -0800 Joe Barnhart escreveu: > New promotion... web2py -- the framework so powerful *they don't want > you to know about it! > * LOL > On Tue, Nov 3, 2009 at 8:23 PM, mdipierro > wrote: > > > > > Dear friends, > > > > I am sorry to inform you that both the talks I

[web2py:34553] web2py pagination

2009-11-04 Thread Mengu
hi everyone. i have a problem with paginating my results. i guess i didn't understand the logic in limitby. normally an sql query SELECT * FROM post LIMIT 2 OFFSET 0 displays the first 2 results. And I can get the first 2 records with db (db.post.id>0).select(limitby(0,2)). so limit is 2 and off

[web2py:34552] JqGrid in Php to JqGrid in Web2py -- newbies

2009-11-04 Thread zahar
I like to share the code snippet in converting JqGrid in Php to JqGrid in Web2py. 1. You need to installed Firebug in FireFox to check for error, if you see blank screen. 2. You need to install the css style sheet and right javascripts in the static directory of your application The controller