[web2py] Need some more resources from the community...

2010-10-06 Thread Jason Brower
I am creating a massive social networking application involving music and something we currently called beattronic. http://beattronic.com I need to get available resources as I am talking to an investor this next week about our budgeting. I need someone that can build in web2py a strong social ne

[web2py] XML on GAE

2010-10-06 Thread Relsi Hur
Hello, I'm learning to use web2py and created a small application and deploy on GAE, in this app I have a action that return a xml: #xml tags def export_xml(rows): idx=range(len(rows.colnames)) colnames=[item.replace('users.','') for item in rows.colnames] users=[] for row in rows.

[web2py] Re: SQLFORM dropdown odd orderby

2010-10-06 Thread annet
This being your model: db.define_table('teachers', Field('code',length=18,default='',notnull=True,unique=True), migrate='teachers.table') db.define_table('subjects', Field('code',length=30,default='',notnull=True,unique=True), migrate='subjects.table') db.define_table('teachers

[web2py] Re: Don't show all rows in drop-down via crud

2010-10-06 Thread annet
Have a look at the reply I posted to this question: http://groups.google.com/group/web2py/browse_thread/thread/17199dd523e995b3 I hope it helps you solve the problem. Kind regards, Annet

[web2py] Re: SQLFORM dropdown odd orderby

2010-10-06 Thread annet
This being your model: db.define_table('teachers', Field('code',length=18,default='',notnull=True,unique=True), migrate='teachers.table') db.define_table('subjects', Field('code',length=30,default='',notnull=True,unique=True), migrate='subjects.table') db.define_table('teachers_s

[web2py] Re: Don't show all rows in drop-down via crud

2010-10-06 Thread annet
Have a look at my reply to this post: http://groups.google.com/group/web2py/browse_thread/thread/17199dd523e995b3# Maybe, it helps you solve the problem. Kind regards, Annet

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

2010-10-06 Thread Jason Brower
Well, I tried the change that you had requested. And, IT WORKED, I made the change and the session doesn't get reset and I don't get the errors at all anymore! Just to make sure I put the file back and tried it again. And sure enough the issue came back again. Very cool to see that happen.

[web2py] Troubleticketing application?

2010-10-06 Thread 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 such a system? Thanks

[web2py] Re: Decimal Field omitted in rows.as_dict()

2010-10-06 Thread mdipierro
I i have fixed this (partially) partially since as_dict is used in json serialization and therefore decimal is converted into float. On Oct 5, 4:35 pm, yamandu wrote: > Sure, it was posted. > > On Oct 5, 3:00 pm, mdipierro wrote: > > > This is a bug. Will look into it. Woud you post a bug report

[web2py] Re: deploying web2py to a shared host

2010-10-06 Thread mdipierro
OK. edit mywsgiproject.wsgi and in it: import sys import os sys.path.insert(0, '') path = os.path.dirname(os.path.abspath(__file__)) if not path in sys.path: sys.path.append(path) sys.path.append(os.path.join(path,'site-packages')) os.chdir(path) import gluon.main application = gluon.main.

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

2010-10-06 Thread mdipierro
Perhaps I do not understand the question. If you add a field you know you are adding it. If you need to initialize it with a function then you have to loop over all records and to an update_record. Are you trying to prevent the update from accidentally happening twice? Massimo On Oct 5, 6:26 pm,

[web2py] Re: spree clone

2010-10-06 Thread mdipierro
Look into gluon/contrib/AuthorizeNet.py On Oct 6, 12:24 am, bally boy wrote: > Hi Albert! > In fact Massimo had created a shopping cart which can be modified in the > best possible manner to create something like this. In fact I had created a > small cart along these lines. But there is definitel

[web2py] Re: XML on GAE

2010-10-06 Thread mdipierro
Try replace db().select(db.auth_user.bio, db.auth_user.lat, db.auth_user.lgt, db.auth_user.first_name, db.auth_user.country) with 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) On Oct 6, 2:23 am, Relsi Hur wrote

[web2py] Re: SQLFORM dropdown odd orderby

2010-10-06 Thread mdipierro
you can pass orderby to IS_IN_DB from the shell you can get help about every function like >>> help(IS_IN_DB) On Oct 6, 2:55 am, annet wrote: > This being your model: > > db.define_table('teachers', >     Field('code',length=18,default='',notnull=True,unique=True), >     migrate='teachers.table

[web2py] Re: Don't show all rows in drop-down via crud

2010-10-06 Thread mdipierro
when you set requires=IS_IN_DB(db,'table.field') it triggers the dropdown. You can also do db.table.field.requires=IS_IN_DB(db(query),'totherable.otherfield') and the query can be used to field records. If you need something more sofisticated, fetch the records yourself and use IS_IN_SET On Oc

[web2py] Re: Session data lose...

2010-10-06 Thread mdipierro
In trunk! thanks ron! On Oct 6, 3:53 am, Jason Brower wrote: > Well, I tried the change that you had requested.  And, IT WORKED, I made > the change and the session doesn't get reset and I don't get the errors > at all anymore!  Just to make sure I put the file back and tried it > again.  And sur

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

2010-10-06 Thread Scott Hunter
My scenario is that I have version X of an appliance which is missing the field in question, and I add it to the model for version X+1. Currently, web2py will handle adding that field to the appropriate table when the new version of the appliance is run for the first time using the new model. So w

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

2010-10-06 Thread mdipierro
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 Hunter wrote: > My scenario is that I have version X of an appliance which is missing > the field in question, and I add it

[web2py] pre-populating SQLFORM list:string field

2010-10-06 Thread Chuck Paulson
I am new to web2py and am writing my first app. I would like to pre- populate an SQLFORM field of type list:string with a list of strings and then display the form. The problem is that the syns always displays a one text box with a string that is either values separated by '|' or values or a string

[web2py] Re: pre-populating SQLFORM list:string field

2010-10-06 Thread mdipierro
Instead of this: form = SQLFORM(db.syntable) form.vars.phrase = word #form.vars.syns = '|'+'|'.join(wordlist)+'|' form.vars.syns = wordlist if form.accepts(request.vars, session): redirect(URL('test',args=myid)) do db.syntable.phrase.default = word db.syntable.syns.default = wordlist form =

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

2010-10-06 Thread mdipierro
looks like a bug. Can you please open a ticke in googlecode? On Oct 5, 3:52 am, zdzana wrote: > I created my own error pages for 400/404 using routes_onerror. This > works well, but the problem is the lack of proper http status (200 > instead of the expected 404). Is there a way to error on my we

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

2010-10-06 Thread Jason Brower
Wah?! Are we filing bugs on google code now? If so great! BR, Jason Brower On 10/06/2010 05:07 PM, mdipierro wrote: looks like a bug. Can you please open a ticke in googlecode? On Oct 5, 3:52 am, zdzana wrote: I created my own error pages for 400/404 using routes_onerror. This works wel

[web2py] Re: pre-populating SQLFORM list:string field

2010-10-06 Thread Chuck Paulson
Thanks Massimo! Works great now. I'm really liking web2py. It's very productive, your time is primarily spent on design instead of coding which is how it should be. On Oct 6, 10:02 am, mdipierro wrote: > Instead of this: > > form = SQLFORM(db.syntable) > form.vars.phrase = word > #form.vars.syns

[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

[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

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] 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.

[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

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: 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

[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: 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] 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] 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] 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] 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: 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] 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: 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?

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: 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

[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 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: 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] 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 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] 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] 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: 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] 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: 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] 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.

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] 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

[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 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] 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: 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] 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] 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: 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] 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: 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: 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: 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: 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: "unable to create application" on Ubuntu 10.04 LTS

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

[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: pygooglevoice

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

[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: 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: 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

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

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

[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 : > > > >

[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: 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

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: 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

[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

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: 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

[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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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] 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.

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] 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] 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] 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] 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 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: >

  1   2   >