[web2py] Re: Session data lose...

2010-10-06 Thread ron_m
I did a patch. The globals.py change covers what Jason had which is when cPickle.load fails. I wasn't 100% sure why another session_file.close code branch did a del response.session_file but included that in the addition in case the protocol with the class depends on that somewhere else. For main.

[web2py] Re: new cool jQuery plugins

2010-10-06 Thread mart
indeed! On Oct 7, 1:55 am, mdipierro wrote: > http://speckyboy.com/2010/03/01/25-amazing-and-fresh-jquery-plugins/

[web2py] Re: WARNING:web2py.cron:WEB2PY CRON:

2010-10-06 Thread mdipierro
I just added it. On Oct 6, 11:55 pm, Jason Brower wrote: > Should we have a special message telling to do this? > BR, > Jason Brower > > On 10/06/2010 09:00 PM, mdipierro wrote: > > >http://sourceforge.net/projects/pywin32/files/ > > > On Oct 6, 12:51 pm, Jos Luna Venezuela  wrote: > > >> I'm get

Re: [web2py] Re: WARNING:web2py.cron:WEB2PY CRON:

2010-10-06 Thread Jason Brower
Should we have a special message telling to do this? BR, Jason Brower On 10/06/2010 09:00 PM, mdipierro wrote: http://sourceforge.net/projects/pywin32/files/ On Oct 6, 12:51 pm, José Luna Venezuela wrote: I'm getting this when i try tu run from source en win: C:\Python27\web2py>python w

Re: [web2py] Re: Dreamhost wants you to sell your app to them for 1-click install

2010-10-06 Thread Jason Brower
Boy this would save lots of time for me! On 10/07/2010 07:54 AM, mdipierro wrote: Once/id we have a on-click web2py we can build an interface with checkboxes for the most popular appliances. On Oct 6, 11:26 pm, Bruno Rocha wrote: Massimo said he filled up that form today. What about Inst

Re: [web2py] Re: Session data lose...

2010-10-06 Thread Jason Brower
Tell me when the patch is in, I am eager to try it. BR, Jason On 10/07/2010 02:41 AM, mdipierro wrote: I would take this patch but we have to be careful to make sure it works with python 2.4. Try prevents try: except: finally: and the user of "with". On Oct 6, 6:23 pm, ron_m wrote: Glad

[web2py] Re: Dreamhost wants you to sell your app to them for 1-click install

2010-10-06 Thread mdipierro
Once/id we have a on-click web2py we can build an interface with checkboxes for the most popular appliances. On Oct 6, 11:26 pm, Bruno Rocha wrote: > Massimo said he filled up that form today. > > What about InstantPress, redish, conf2py, cube2py and more? > are they ready for being there too? >

Re: [web2py] Re: Session data lose...

2010-10-06 Thread Jason Brower
Yes, this still happens over time. I thought it had to do with my code, but perhaps it was something else? Best Regards, Jason Brower On 10/07/2010 02:23 AM, ron_m wrote: Glad to help. While looking in the code I noticed something else and thought I should ask. Jason had also mentioned a prob

[web2py] primary database and valid in many app sess ion - base de datos principal y sesión validas en muchas ap p

2010-10-06 Thread Luis Díaz
#google translator Need: - main application> welcome - many applications related> app1, app2, App3 ... etc. - users to register and login in welcome, assign groups, permissions and that the session is valid at any app - the primary database is in welcome and any app can work with

Re: [web2py] Dreamhost wants you to sell your app to them for 1-click install

2010-10-06 Thread Jason Brower
That's great! Lot's hope it happens. On 10/07/2010 07:26 AM, Bruno Rocha wrote: Massimo said he filled up that form today. What about InstantPress, redish, conf2py, cube2py and more? are they ready for being there too? 2010/10/7 Thadeus Burgess > http://www

Re: [web2py] Dreamhost wants you to sell your app to them for 1-click install

2010-10-06 Thread Bruno Rocha
Massimo said he filled up that form today. What about InstantPress, redish, conf2py, cube2py and more? are they ready for being there too? 2010/10/7 Thadeus Burgess > http://www.dreamhost.com/hosting-oneclick-installer-submitter.cgi > > Maybe they can put together something for web2py? > > -- >

Re: [web2py] Dreamhost wants you to sell your app to them for 1-click install

2010-10-06 Thread Jason Brower
Heh... Didnt know there was a form for that! I will look into it. Busy as hell but it may be worth it. -Jb - Original message - > http://www.dreamhost.com/hosting-oneclick-installer-submitter.cgi > > Maybe they can put together something for web2py? > > -- > Thadeus

[web2py] Re: DjangoPeople Clone

2010-10-06 Thread Relsi Hur
Thanks for all feedback. I fix the point marks bug (not definite yet), and I will fix the others bugs and apply the suggestions. This weekend I'll improve the code and put in a public repository for everyone in the community have access, and for those who want to collaborate with the code. I notic

[web2py] Dreamhost wants you to sell your app to them for 1-click install

2010-10-06 Thread Thadeus Burgess
http://www.dreamhost.com/hosting-oneclick-installer-submitter.cgi Maybe they can put together something for web2py? -- Thadeus

Re: [web2py] Re: spree clone

2010-10-06 Thread Bruno Rocha
Looks Great! Sugestions: I see that you defined checkout functionality under /chechout action, and it is using GoogleCheckout hardcoded as payment gateway. Should be better if payment option can be configurable, in Brazil i.e GoogleCheckout does not work, here we have to use Paypal, PagSeguro or

Re: [web2py] Re: spree clone

2010-10-06 Thread Bruno Rocha
2010/10/6 Richard > > I am working to clone radiantCMS (rails)http://radiantcms.org/ > > exciting! > How ambitious is your clone? I want to clone everything I can, all you can see here http://radiantcms.org/overview/, but using markmin instead of markdown. I use radiant as intranet service in

[web2py] Re: spree clone

2010-10-06 Thread mdipierro
Will maintain this? Is any objection on removing the eStore from appliances and link yours? Massimo On Oct 6, 9:27 pm, Richard wrote: > On Oct 6, 4:24 pm, bally boy wrote: > > > Hi Albert! > > In fact Massimo had created a shopping cart ... > > I modified Massimo's estore to add a few features

[web2py] Re: spree clone

2010-10-06 Thread Richard
On Oct 6, 4:24 pm, bally boy wrote: > Hi Albert! > In fact Massimo had created a shopping cart ... I modified Massimo's estore to add a few features and make it work on Google App Engine: http://code.google.com/p/web2py-estore/ http://web2py-estore.appspot.com/ It's basic and definitely needs a

[web2py] Confoo 2011 Call for speakers

2010-10-06 Thread Mathieu Leduc-Hamel
Greetings, We, Montréal-Python, are the coordinators of the Python track at ConFoo 2011 and we are very proud to announce our call for speakers. PHP-Québec, Montréal-Python, Montreal.rb, W3Qc, and OWASP Montréal are organizing the second edition of the ConFoo conference, which will be held in Mon

[web2py] Re: spree clone

2010-10-06 Thread Richard
> I am working to clone radiantCMS (rails)http://radiantcms.org/ exciting! How ambitious is your clone? Are you also going to implement their extension functionality? Thadeus' Blogitizor is also partially based on RadiantCMS: http://code.google.com/p/blogitizor/

[web2py] Re: dynamic notifications

2010-10-06 Thread mdipierro
You may want to change web2py_ajax.html and replace if(jQuery('.flash').html()!='') jQuery('.flash').slideDown('slow'); ... if(flash) jQuery('.flash').html(flash).slideDown(); with if(jQuery('.flash').html()!='') jQuery.jGrowl(jQuery('.flash').html()); ... if(flash) jQuery.jGrowl(flash); so thi

[web2py] Re: pygooglevoice

2010-10-06 Thread mart
WOW! i didn't relalize just how much documentation they have! they are intensely serious! For now, here a great place to start (for the NLTK part) - i watched this video you tube: http://www.youtube.com/watch?v=keXW_5-llD0 eye opening hour! :) On Oct 6, 8:16 pm, mart wrote: > I think it will

[web2py] Re: dynamic notifications

2010-10-06 Thread Richard
> Can you write a recipe? Probably not necessary because it's just $.jGrowl("Hello world!")

[web2py] Re: dynamic notifications

2010-10-06 Thread Richard
nice What would you do when you have multiple notifications to display? jgrowl stacks them. On Oct 7, 1:02 pm, mdipierro wrote: > The built-in system allows notifications not just on load. You just > say > > jQuery('.flash').val('Hi there').slideDown(); > > On Oct 6, 8:23 pm, Richard wrote: >

Re: [web2py] Re: dynamic notifications

2010-10-06 Thread Bruno Rocha
I think one of JGrow advantage is that you can open more than one flash message at the same time. 2010/10/6 mdipierro > The built-in system allows notifications not just on load. You just > say > > jQuery('.flash').val('Hi there').slideDown(); > > On Oct 6, 8:23 pm, Richard wrote: > > I have be

[web2py] Re: dynamic notifications

2010-10-06 Thread mdipierro
The built-in system allows notifications not just on load. You just say jQuery('.flash').val('Hi there').slideDown(); On Oct 6, 8:23 pm, Richard wrote: > I have been using jGrowl for notifications instead of the default > response.flash:http://stanlemon.net/projects/jgrowl.html > Main advantage

Re: [web2py] dynamic notifications

2010-10-06 Thread Bruno Rocha
Can you write a recipe? Even not replacing the traditional response.flash, we can have this option as a plugin, addon or a recipe in web2pyslices.com 2010/10/6 Richard > I have been using jGrowl for notifications instead of the default > response.flash: http://stanlemon.net/projects/jgrowl.html

[web2py] dynamic notifications

2010-10-06 Thread Richard
I have been using jGrowl for notifications instead of the default response.flash: http://stanlemon.net/projects/jgrowl.html Main advantage is I can add dynamic notifications when I want, not just onload. Would it be worth replacing the current response.flash system with that?

Re: [web2py] Re: DjangoPeople Clone

2010-10-06 Thread Bruno Rocha
I registered but I cant see my location on map. there are another project like that: http://www.appenginepeople.net/users/tag/web2py/ 2010/10/6 Relsi Hur > Great suggestions, I'll make changes. > > I initially thought of using only the location of the city and > country, but I need the geogra

[web2py] Web2py or Apache unable to access python file in modules directory

2010-10-06 Thread Tyler Laing
My site is hosted at webfaction.com, and I find that if no one's visited the site in awhile, then apache or web2py cannot access the file utils.py in modules/ Anyone run into this problem before? I've solved this problem by adding __init__.py to controllers/ and importing utils.py from there.

[web2py] Re: DjangoPeople Clone

2010-10-06 Thread Richard
looks like a good start. Use routes to make URLs more pretty. Didn't see a Google Maps marker for my location after registration. logout -> Logout On Oct 7, 5:58 am, Relsi Hur wrote: > Great suggestions, I'll make changes. > > I initially thought of using only the location of the city and >

[web2py] Re: SQLFORM dropdown odd orderby

2010-10-06 Thread Tiago Rosa
Hello annet and Massimo! Thank you very much for your help! I still need some enlightenment though =) I've managed to make it work thanks to annet's tip. Here's how I am currently doing it: I have defined a helper function that takes a teacher_id and spits out the dropdown field (!) generated th

[web2py] Re: pygooglevoice

2010-10-06 Thread mart
I think it will most definitely deliver on promises... but, as we see with the article, it will probably take a bit of time to iron out both the foreseen and unforeseen creases. Will definitely be an interesting wrestling match to be seen amongst the giants (where I predict Adobe will not fare as

[web2py] Re: Making plugin data accessible

2010-10-06 Thread iiijjjiii
Here is the proof of concept I am using. models/db.py db.define_table('customer', db.Field('name'), db.Field('phone'), migrate=True, ) db.define_table('product', db.Field('name'), migrate=True, ) db.define_table('purchase',

[web2py] Re: plugin legacy mysql: generates web2py code to access your mysql legacy db

2010-10-06 Thread DJ
The legacy database to Web2py conversion would be a great add-on. I get the following errors when I tried this script on a database with tables having primary key 'id' set to autoincrement. C:\Program Files (x86)\web2py\scripts>extract_mysql_models.py bio:b...@nrcf Traceback (most recent call last

[web2py] Re: Session data lose...

2010-10-06 Thread mdipierro
I would take this patch but we have to be careful to make sure it works with python 2.4. Try prevents try: except: finally: and the user of "with". On Oct 6, 6:23 pm, ron_m wrote: > Glad to help. While looking in the code I noticed something else and > thought I should ask. Jason had also menti

[web2py] Re: Session data lose...

2010-10-06 Thread ron_m
Glad to help. While looking in the code I noticed something else and thought I should ask. Jason had also mentioned a problem he had with running out of file table slots - the server could not open any more files. This is likely related to the session problem he experienced. The Python reference m

[web2py] Re: a simple question about cache

2010-10-06 Thread Martin.Mulone
Sorry not failing working ok this code. I have to think more about the problem, my problem is that i want to get the response render, but my return have to be: d = dict(html=someinfo) return sj.dumps(response.render(d)) this is different to: info={} info['html']=someinfo return sj.dumps(info)

[web2py] Re: Propose to add case-independ like

2010-10-06 Thread howesc
Just a random idea...but how about selecting all of it and creating a computed field that does the case conversion and then filter it? it's not very efficient if you have lots of rows before applying the filter, but it should work on multiple database types. On Oct 5, 8:17 pm, KMax wrote: > Hell

[web2py] Re: Session data lose...

2010-10-06 Thread ron_m
Wow I am glad that solves it for you. The power of open source and the ability to collaborate shows once again. When I saw you write in an earlier post that a year of work was at risk I thought to myself, been there and know the feeling. On Oct 6, 1:53 am, Jason Brower wrote: > Well, I tried the

[web2py] Re: a simple question about cache

2010-10-06 Thread mdipierro
Perhaps I do not understand but I do not see any problem with your example code below. On Oct 6, 4:44 pm, "Martin.Mulone" wrote: > i see, well this "caching" method is more dangerous what i think, i > have to validate all the external vars, but this is my issue because > always have to do that :P

[web2py] Re: a simple question about cache

2010-10-06 Thread Martin.Mulone
i see, well this "caching" method is more dangerous what i think, i have to validate all the external vars, but this is my issue because always have to do that :P. Last question: How do i do to cache render view of simple json return?. Sample: @cache(request.env.path_info, time_expire=CACHE_TIM

Re: [web2py] Re: Nice Hosting Company Option

2010-10-06 Thread Bruno Rocha
2010/10/6 Christopher Steel > Hi Bruno, > > I have some accounts at Webfaction. They seem OK. > > Chris. > Are you running web2py apps there? I am thinking about changing my websites to there, the problem is that they have no reseller plan, I am thinking about create my own ControlPanel for my c

[web2py] Re: Autocomplete Widget Issue

2010-10-06 Thread luismurciano
Thank you for the fast response. I have tested the widget and it works as expected when i don't need the IS_IN_DB requirement and there's not an id/attribute translation. But the main issue for me it's that the widget doesn't change the displayed text in the input field and I think that maybe con

[web2py] Re: Nice Hosting Company Option

2010-10-06 Thread Christopher Steel
Hi Bruno, I have some accounts at Webfaction. They seem OK. Chris. On Oct 5, 6:26 pm, Bruno Rocha wrote: > Do you know if they have reseller plans? > > Anybody here using webfaction? > > 2010/10/5 NetAdmin > > > > > I decided to try hosting a Web2py app using > > the Rackspace Cloud-Server of

Re: [web2py] spree clone

2010-10-06 Thread Bruno Rocha
I am working to clone radiantCMS (rails) http://radiantcms.org/ would be great to keep some way to integrate your shopping cart with CMS. 2010/10/5 Albert Abril > Is anybody working in an e-commerce or shopping cart app? > > I am planning to rewrite spree with web2py. > Spree is a RubyOnRails

[web2py] Re: spree clone

2010-10-06 Thread Christopher Steel
That sounds like a great Albert. Let us know how it is going and if you need any grunt work done ;) Cheers, Chris VoiceofAccess.org On Oct 5, 8:08 pm, Albert Abril wrote: > Is anybody working in an e-commerce or shopping cart app? > > I am planning to rewrite spree with web2py. > Spree is a Ru

[web2py] Re: update_record not in row object

2010-10-06 Thread yamandu
I understand, perharps it does not make much sense. But thanks for the answer. On Oct 6, 2:57 pm, mdipierro wrote: > If you do not select the record id there is not update_record because > web2py does not know what the id of the record is. > > On Oct 6, 12:54 pm, yamandu wrote:> Had to fix the

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
Yes it is somewhere in the manual. On Oct 6, 3:41 pm, Carlos Costa wrote: > Things make more sense now. > I always got the message Cron disable because no file locking. > I had to pass -N argument for it to stop anoying me. > Is that documented? > > Thanks again. > > 2010/10/6 mdipierro : > > > >

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread Carlos Costa
Things make more sense now. I always got the message Cron disable because no file locking. I had to pass -N argument for it to stop anoying me. Is that documented? Thanks again. 2010/10/6 mdipierro : > If you run web2py from source under windows you need it. If you use > the web2py binary then it

Re: [web2py] Troubleticketing application?

2010-10-06 Thread Alexandre Andrade
This is a recorrent issue, and I think we haven't this kind of solution yet. 2010/10/6 Vincent Borghi > Hello, > > Is there a web2py application available somewhere that could be used as a > trouble ticketing (issue tracking) system, or could serve as a basis > to build on > for implementing s

[web2py] Re: cube2py vs. plugin_wiki

2010-10-06 Thread Lobo
Massimo, Great - thanks for clarifying this ! Carlos On Oct 6, 3:06 pm, mdipierro wrote: > plugin_wiki works with any app as long as you apply it. > > cube2py is a clone of the welcome app including plugin_wiki that can > be used as an example. There is nothing special in cube2py other than

[web2py] Re: cube2py vs. plugin_wiki

2010-10-06 Thread mdipierro
plugin_wiki works with any app as long as you apply it. cube2py is a clone of the welcome app including plugin_wiki that can be used as an example. There is nothing special in cube2py other than the fact it includes plugin_wiki. Massimo On Oct 6, 2:11 pm, Lobo wrote: > Hi, > > What are the ma

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
If you run web2py from source under windows you need it. If you use the web2py binary then it comes with it. without it you have no file locking and it is possible thet two web2py threads conflict (one writes a file, another tries to open, fails, overwrites it). Massimo On Oct 6, 2:07 pm, yamand

[web2py] Re: pygooglevoice

2010-10-06 Thread slestak
Festival is another toolkit that may be of use.

[web2py] cube2py vs. plugin_wiki

2010-10-06 Thread Lobo
Hi, What are the main differences between cube2py and plugin_wiki?. I believe cube2py runs on top of plugin_wiki, correct?. Are both currently supported/stable and in active development?. When I installed plugin_wiki on my web2py, did cube2py come with it (automatically as a plugin/component)?,

[web2py] Re: "unable to create application" on Ubuntu 10.04 LTS

2010-10-06 Thread Lobo
Problem solved on my end too. Thanks Massimo ! Lobo

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
Well, I think I never heard of it? I looked into python help and couldn´t find it. Should I have it? On Oct 6, 3:21 pm, mdipierro wrote: > I think I see what the problem is... do you have Mark hammond win32 > extensions installed? > > Massimo > > On Oct 6, 1:13 pm, yamandu wrote: > > > I am usi

[web2py] Re: pygooglevoice

2010-10-06 Thread mdipierro
BTW... what do you think about this? http://www.infoworld.com/d/developer-world/w3c-hold-html5-in-websites-041 On Oct 6, 1:46 pm, mart wrote: > which one... googleVoice + + +? , or HTML 5 ? or both? > > Mart :) > > On Oct 6, 12:23 pm, mdipierro wrote: > > > I like this idea... where do we start

[web2py] Re: pygooglevoice

2010-10-06 Thread mdipierro
both but it may be simpler to start implementing the API you proposed. On Oct 6, 1:46 pm, mart wrote: > which one... googleVoice + + +? , or HTML 5 ? or both? > > Mart :) > > On Oct 6, 12:23 pm, mdipierro wrote: > > > I like this idea... where do we start? > > > On Oct 6, 9:42 am, mart wrote:

[web2py] Re: DjangoPeople Clone

2010-10-06 Thread Relsi Hur
Great suggestions, I'll make changes. I initially thought of using only the location of the city and country, but I need the geographic location of a street or a building to another project and no need the coutry or city, so I used this application as a laboratory. ;) But I can change in this, In

[web2py] Re: a simple question about cache

2010-10-06 Thread mdipierro
No. This will render the page the same to all users including the welcome message. Moreover the @cache(request.env.path_info) will cause a vulnerability because http://.../index http://.../index/1 http://.../index/2 ... http://.../index/999 will all be cached separately and cause a memory

[web2py] Re: pygooglevoice

2010-10-06 Thread mart
which one... googleVoice + + +? , or HTML 5 ? or both? Mart :) On Oct 6, 12:23 pm, mdipierro wrote: > I like this idea... where do we start? > > On Oct 6, 9:42 am, mart wrote: > > > I think someone mentioned something about that openSource Natural > > Language Toolkit (http://www.nltk.org/) l

[web2py] a simple question about cache

2010-10-06 Thread Martin.Mulone
a simple question about cache if i have this in controller: @cache(request.env.path_info, time_expire=CACHE_TIME_EXPIRE_PAGES, cache_model=cache.ram) def index(): try: page = int(request.args[0]) except: page = 1 d = dict(page=page) return response.render(d) but

[web2py] Re: Autocomplete Widget Issue

2010-10-06 Thread mdipierro
This boils down to the expected behavior of a autocomplete. if one types an incomplete string that has a match, should the match be returned or not? What do other people think? Massimo On Oct 6, 9:51 am, luismurciano wrote: > Hello everyone. > > I have found something that I want to discuss. > U

[web2py] Re: Making plugin data accessible

2010-10-06 Thread mdipierro
Can you make a concrete example? On Oct 6, 10:11 am, iiijjjiii wrote: > I am working on a plugin that allows a user to select from several > options. I have a page with a form and the plugin. When the form > submits, the controller saves the form data but also needs to record > the option selecte

[web2py] tip of the day: how to make a ON/OFF toggle button to represent a boolean field

2010-10-06 Thread mdipierro
Say you have a table db.define_table('item',Field('name'),Field('check','boolean',default=False)) you can have two controllers like def items(): rows=db(db.item.owner==auth.user_id).select() return dict(rows=rows) def check(): # this is a callback! record=db.item(request.ar

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
I think I see what the problem is... do you have Mark hammond win32 extensions installed? Massimo On Oct 6, 1:13 pm, yamandu wrote: > I am using web2py server in Windows 7. > > The actual file is changed and I have to translate again (pt-br.py). > > I tried to replicate the situation now but I c

[web2py] Re: DjangoPeople Clone

2010-10-06 Thread mdipierro
This is nice and useful. Some suggestions: 1) to the auth_user table add: Field('city'),Field('country'),Field('bio'),Field('completed_registration','boolean',default=False) 2) make compleed_registration, latitude and longitude writable=False 3) use rpx for login 4) add this if auth.user and

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
I am using web2py server in Windows 7. The actual file is changed and I have to translate again (pt-br.py). I tried to replicate the situation now but I coud not. Restart the server, restart the editor (thought it could be problem with SVN plugin). But the problem not ocurred. Maybe if restart th

Re: [web2py] Re: WARNING:web2py.cron:WEB2PY CRON:

2010-10-06 Thread Jose Luna
thx Massimo 2010/10/6 mdipierro > http://sourceforge.net/projects/pywin32/files/ > > On Oct 6, 12:51 pm, José Luna Venezuela wrote: > > I'm getting this when i try tu run from source en win: > > > > C:\Python27\web2py>python web2py.py > > web2py Enterprise Web Framework > > Created by Massimo D

[web2py] DjangoPeople Clone

2010-10-06 Thread Relsi Hur
Hi, a make a very very simple clone of http://www.djangopeople.net, just to practice the development of applications with web2py. For now, has only the registration and location on the map, later I will implement the listings of users by country, and others things. see: http://web2pyople.appspot.

[web2py] Re: WARNING:web2py.cron:WEB2PY CRON:

2010-10-06 Thread mdipierro
http://sourceforge.net/projects/pywin32/files/ On Oct 6, 12:51 pm, José Luna Venezuela wrote: > I'm getting this when i try tu run from source en win: > > C:\Python27\web2py>python web2py.py > web2py Enterprise Web Framework > Created by Massimo Di Pierro, Copyright 2007-2010 > Version 1.86.2 (20

[web2py] Re: update_record not in row object

2010-10-06 Thread mdipierro
If you do not select the record id there is not update_record because web2py does not know what the id of the record is. On Oct 6, 12:54 pm, yamandu wrote: > Had to fix the subject but problem persists. > > On Oct 6, 2:45 pm, yamandu wrote: > > > When I do a select() the row objects generated up

[web2py] Re: update_record not in row object

2010-10-06 Thread yamandu
Had to fix the subject but problem persists. On Oct 6, 2:45 pm, yamandu wrote: > When I do a select() the row objects generated update_record and all > expected methods. > But when I do a select(db.table.somefield) the rows objects have no > update_record or any other method. > > Is this expected

[web2py] WARNING:web2py.cron:WEB2PY CRON:

2010-10-06 Thread José Luna Venezuela
I'm getting this when i try tu run from source en win: C:\Python27\web2py>python web2py.py web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2010 Version 1.86.2 (2010-10-04 03:13:15) Database drivers available: SQLite3, MSSQL/DB2 Starting hardcron... WARNING:web2py.cron:

[web2py] Re: XML on GAE [Resolved]

2010-10-06 Thread Relsi Hur
Thank you very much Massimo, now this returns only the selected fields. =) On 6 out, 14:09, mdipierro wrote: > You cannot export binary data (from blob) in xml. The problem is that > GAE ignores your list of fields. Instead you can do > > #xml tags > def export_xml(rows,fields): >     users=[] >

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
what os are you using? hat web server? you see the translation in english or you find the contect of a languages/xx.py file actually changing? can you send me an example of the languages/xx.py file before and after it gets overwritten? Massimo On Oct 6, 11:38 am, yamandu wrote: > Everytime I r

[web2py] update_record omitted not in row object

2010-10-06 Thread yamandu
When I do a select() the row objects generated update_record and all expected methods. But when I do a select(db.table.somefield) the rows objects have no update_record or any other method. Is this expected or bug?

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
1.86.2 On Oct 6, 1:38 pm, mdipierro wrote: > which web2py version? I remember fixing a bug about this months ago. > > On Oct 6, 11:38 am, yamandu wrote: > > > Everytime I restart the we2py server my language file become in > > english again. > > What may cause this behavior? > >

[web2py] Re: XML on GAE

2010-10-06 Thread mdipierro
You cannot export binary data (from blob) in xml. The problem is that GAE ignores your list of fields. Instead you can do #xml tags def export_xml(rows,fields): users=[] for row in rows: users.append(TAG.user(*[TAG[f](row[f]) for f in fields])) return TAG.users(*users).xml() #xml view

[web2py] Re: SQLFORM dropdown odd orderby

2010-10-06 Thread annet
Massimo, > you can pass orderby to IS_IN_DB To which IS_IN_DB do I have to pass the orderby to get the same result. The resultset reads like: 1 1 a 1 4 d 1 7 9 None 2 b None 3 c None 5 e None 6 f The orderby: orderby=~db.teachers_subjects.teacher_id|db.subjects.i

[web2py] Re: XML on GAE

2010-10-06 Thread Relsi Hur
well, in this way: db(db.auth_user.id>0).select(db.auth_user.bio, db.auth_user.lat, db.auth_user.lgt, db.auth_user.first_name, db.auth_user.country) Returns all fields of database, and not my selected, look: 46005 Relsi Hur Maron patosav...@gmail.com

Re: [web2py] My web2py project GeBi (ita only)

2010-10-06 Thread rochacbruno
Is it open source? I am willing to translate it to portuguese, and help with english translation too. In fact I am starting a similar project for a school, if this is open source I can use your source and help you. I like your logo and site design, are you the designer? Enviado via iPhone Em

[web2py] Re: Language File is Reseted when Server is Reseted

2010-10-06 Thread mdipierro
which web2py version? I remember fixing a bug about this months ago. On Oct 6, 11:38 am, yamandu wrote: > Everytime I restart the we2py server my language file become in > english again. > What may cause this behavior?

[web2py] Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
Everytime I restart the we2py server my language file become in english again. What may cause this behavior?

[web2py] Re: pygooglevoice

2010-10-06 Thread mdipierro
I like this idea... where do we start? On Oct 6, 9:42 am, mart wrote: > I think someone mentioned something about that openSource Natural > Language Toolkit (http://www.nltk.org/) last month, which is I think > is a most worthy effort. My employer is a leader in this field, and > unfortunately no

[web2py] Re: My web2py project GeBi (ita only)

2010-10-06 Thread mdipierro
Nice work. I am sure when done it can be translated. On Oct 6, 9:31 am, ceriox wrote: > Hi all, > i'm sorry but my project is only for italy, so the rest of the message > is in italian language. > > Ciao a tutti gli utenti italiani di questo gruppo. > vorrei segnalarvi il sito del mio progetto >

[web2py] Re: XML on GAE

2010-10-06 Thread mdipierro
I do not understand. On Oct 6, 9:37 am, Relsi Hur wrote: > Thank you very much Massimo, > > Now returns alls fiels of model, but not complete structure, have > error in image element: > > here: \u\ufffd\ufffd\ufffd > > is not closing the tag, if have a image in db. > > On 6 out, 10:42, mdipie

[web2py] Making plugin data accessible

2010-10-06 Thread iiijjjiii
I am working on a plugin that allows a user to select from several options. I have a page with a form and the plugin. When the form submits, the controller saves the form data but also needs to record the option selected in the plugin. How can this be done? My current method is to use jquery. The

[web2py] Autocomplete Widget Issue

2010-10-06 Thread luismurciano
Hello everyone. I have found something that I want to discuss. Using the Autocomplete Widget if I write in the field with this widget the dropdown suggestion menu appears correctly but I have noticed the widget submits the first value of that list but doesn't put the value in the field. Example:

[web2py] Re: How to do 3 (hopefully not too weird) things w/ my DB definition in models

2010-10-06 Thread Scott Hunter
Perfect, and checking for "CREATE TABLE", I can address #3. Thanks, Scott On Oct 6, 10:00 am, mdipierro wrote: > Now I understand. There is not api exposed to do this but you can with > a trick > > if 'ADD fieldname' in db._lastsql: >     do_whatever_you_need_to_do() > > On Oct 6, 8:48 am, Scott

[web2py] Re: pygooglevoice

2010-10-06 Thread Martin.Mulone
i think the future is html5, html5 is getting webcam and voice support. As google said the future of applications are web applications. On Oct 6, 11:42 am, mart wrote: > I think someone mentioned something about that openSource Natural > Language Toolkit (http://www.nltk.org/) last month, which i

[web2py] Re: My web2py project GeBi (ita only)

2010-10-06 Thread Martin.Mulone
Look great!. do you plan in future to make english language? are you using T()?. Un saluti de martín. On Oct 6, 11:31 am, ceriox wrote: > Hi all, > i'm sorry but my project is only for italy, so the rest of the message > is in italian language. > > Ciao a tutti gli utenti italiani di questo grup

Re: [web2py] Re: "unable to create application" on Ubuntu 10.04 LTS

2010-10-06 Thread Luis Díaz
Thank you very much .. problem solved -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontología

[web2py] Re: pygooglevoice

2010-10-06 Thread mart
I think someone mentioned something about that openSource Natural Language Toolkit (http://www.nltk.org/) last month, which is I think is a most worthy effort. My employer is a leader in this field, and unfortunately no API is available to the openSource community (not even a "dummied" down version

[web2py] Re: XML on GAE

2010-10-06 Thread Relsi Hur
Thank you very much Massimo, Now returns alls fiels of model, but not complete structure, have error in image element: here: \u\ufffd\ufffd\ufffd is not closing the tag, if have a image in db. On 6 out, 10:42, mdipierro wrote: > Try replace > > db().select(db.auth_user.bio, db.auth_user.

Re: [web2py] Re: DAL, legacy keyed table, field references

2010-10-06 Thread Ivan Matveev
Massimo, Denes, thank you for your answers. Before touching sql.py I have updated web2py to recent version(1.86.1) and found that now references in KeyedTable do work now if string notation is used like this: Field('model_id', 'reference car_models.model_id'), After this print( getattr(db.car_

[web2py] My web2py project GeBi (ita only)

2010-10-06 Thread ceriox
Hi all, i'm sorry but my project is only for italy, so the rest of the message is in italian language. Ciao a tutti gli utenti italiani di questo gruppo. vorrei segnalarvi il sito del mio progetto www.gebix.tk è un gestionale per biblioteche di nuova generazione, con funzioni di condivisione con

[web2py] Re: Custom 404 page with no 404 status

2010-10-06 Thread mdipierro
we always did. Often people do not bother because they an be fixed in less time than it takes to open and close the report. On Oct 6, 9:10 am, Jason Brower wrote: > Wah?! Are we filing bugs on google code now?  If so great! > BR, > Jason Brower > > On 10/06/2010 05:07 PM, mdipierro wrote: > > > l

  1   2   >