[web2py] sql form data in hebrew

2010-09-23 Thread Napoleon Moreno
Good night i have a simple form to input data in hebrew I works ok in in sqlLite. in GAE it returns: return ' AND '.join([str(filter) for filter in self.filters]) UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-11: ordinal not in range(128) db.define_table('category',

[web2py] Re: sql form data in hebrew

2010-09-25 Thread Napoleon Moreno
I removed this for the moment. Thanks for any advice. On Thu, Sep 23, 2010 at 9:38 PM, Napoleon Moreno wrote: > Good night > > i have a simple form to input data in hebrew > > I works ok in in sqlLite. > > in GAE it returns: > > return ' AND '.join([str(f

Re: [web2py] Re: sql form data in hebrew

2010-09-25 Thread Napoleon Moreno
pserver.py:3275] "GET /favicon.ico HTTP/1.1" 400 - On Sat, Sep 25, 2010 at 10:16 AM, mdipierro wrote: > can you help us debug? Try > > > db.category.name.requires = IS_NOT_IN_DB(db, 'category.name') > > On Sep 25, 8:37 am, Napoleon Moreno wrote: > > G

Re: [web2py] Re: sql form data in hebrew

2010-09-25 Thread Napoleon Moreno
aybe that is not the right solution, but it could help to fix it On Sat, Sep 25, 2010 at 10:55 AM, Napoleon Moreno wrote: > I tried it > > It works well in sqllite > > In gae returns a ticket: > > Traceback (most recent call last): > File "/home/napoleon/tr

[web2py] Searching and indexing a microsoft office documents

2010-09-29 Thread Napoleon Moreno
Good day I will work in a system to save office documents. It is all ok about it with web2py. But i need a feature to searching in those documents. I believe that i need read de documents and keep some kind of index of them. maybe could you help me with a advice to start?.

Re: [web2py] Re: Searching and indexing a microsoft office documents

2010-09-29 Thread Napoleon Moreno
Good afternoon Thanks for your comments. It will work on a lamp server. The databae will be mysql. Is there some issue in this environment? On Wed, Sep 29, 2010 at 2:53 PM, slestak wrote: > Maybe look at the java Lucene libraries. I understand there are some > ports to other languages. The

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
Good day Thanks a lot for share this code. It works well in my local sqlite environment. I can't make it work in my local GAE. It looks like it makes the authentication in facebook , but when it returns it raise the error in P.D Best regard Napoleon Traceback (most recent call last): File

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
that does > not find the ssl module. > > in your GAE env try the following: > > > import ssl > > mic > > > 2010/10/18 Napoleon Moreno : > > Good day > > > > Thanks a lot for share this code. > > > > It works well in my local sqlite environm

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
to import the > "ssl" module. > > Since it does not work it is not installed, see here: > > http://pypi.python.org/pypi/ssl/1.15 > > install it in your python (the python you use for GAE) and try again! > > mic > > > 2010/10/18 Napoleon Moreno : > > Tha

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
wrote: > wrong url... > > correct one: > http://code.google.com/intl/it-IT/appengine/docs/python/overview.html > > 2010/10/18 Michele Comitini : > > > http://code.google.com/intl/it-IT//docs/python/gettingstarted/devenvironment.html > > > > you need python2

[web2py] keeping the data inserted in the sql form after submit.

2010-11-13 Thread Napoleon Moreno
Good day. Is it posible keep the data in the form AFTER the submit. It is show me a new form. I need the inserted data continue in the form. Is it posible? Thanks

Re: [web2py] Re: keeping the data inserted in the sql form after submit.

2010-11-13 Thread Napoleon Moreno
Easy! thanks a lot! On Sat, Nov 13, 2010 at 9:23 AM, villas wrote: > Hi Napoleon > > Yes, look up 'keepvalues' in this chapter of the book. > http://www.web2py.com/book/default/chapter/07 > > -D > > On Nov 13, 1:52 pm, Napoleon Moreno wrote: > > Good day

[web2py] jqgrid with drowdown list

2010-11-14 Thread Napoleon Moreno
Good night. I am starting with jqgrid and i need a litle grid with a drowndonw list, and in line edit. Options to add a line and delele a line. It looks a bit complicated to me, I wonder if someone has something to start to work on it Thanks

[web2py] Re: jqgrid with drowdown list

2010-11-14 Thread Napoleon Moreno
Good night I currently could make a basic grid using the plugin_jqgrid or the plugin_editable_jqgrid. But i need include a drowndown list in a cell of the grid and the options to add or delete a line. Thanks for any advice. Napoleon On Sun, Nov 14, 2010 at 6:20 PM, Napoleon Moreno wrote

[web2py]

2010-11-15 Thread Napoleon Moreno
Good afternoon I am trying to use webgrid in a master- detail form. But i can't find the way to link the crud with the master form. any body knows how to do it? Thansk

[web2py] webgrid in a master -detail form

2010-11-15 Thread Napoleon Moreno
On Mon, Nov 15, 2010 at 5:15 PM, Napoleon Moreno wrote: > Good afternoon > > I am trying to use webgrid in a master- detail form. > > But i can't find the way to link the crud with the master form. > > any body knows how to do it? > > Thansk >

Re: [web2py] Re:

2010-11-15 Thread Napoleon Moreno
ose crud through a controller. In default.py, put this: > > def data(): > return dict(form=crud()) > > Then set the grid accordingly: > grid.crud_function = 'data' > > On Nov 15, 4:15 pm, Napoleon Moreno wrote: > > Good afternoon > > > > I am trying to use webgrid in a master- detail form. > > > > But i can't find the way to link the crud with the master form. > > > > any body knows how to do it? > > > > Thansk >

Re: [web2py] Re:

2010-11-15 Thread Napoleon Moreno
elect() > return dict(form=form, grid=grid(),referencia=referencia_id) > > > def diagnostico_referencia(): > crud.settings[request.args(0)+'_next'] = URL(r=request,f='referencia') > return dict(form=crud()) > > Is it posible that the form in di

Re: [web2py] Re:

2010-11-15 Thread Napoleon Moreno
Good afternoon I am not sure if i am expressing well. I need that the crud page inheritance the foreing key from the master page. In order that the user has not to write the referencia.id value in the crud page Thanks On Mon, Nov 15, 2010 at 6:02 PM, Napoleon Moreno wrote: > I am doing t

Re: [web2py] Re:

2010-11-15 Thread Napoleon Moreno
nks = ['delete'] grid.action_headers = [] grid.crud_function = 'diagnostico_referencia' crud.settings.controller = 'default' grid.datasource = db(db.diagnostico_referencia.referencia==referencia_id).select() return dict(form=form, grid=grid())

Re: [web2py] Re:

2010-11-17 Thread Napoleon Moreno
ay of linking tables, but notice how the id is > set. > Hope this helps. > -D > > On Nov 15, 11:49 pm, "mr.freeze" wrote: > > Sorry, I don't fully understand. You can email your app (with any > > personal data removed) and I will take a closer look. > >

Re: [web2py] Re:

2010-11-17 Thread Napoleon Moreno
k: >> >> http://www.web2pyslices.com/main/slices/take_slice/102 >> >> This is a short-cut way of linking tables, but notice how the id is >> set. >> Hope this helps. >> -D >> >> On Nov 15, 11:49 pm, "mr.freeze" wrote: >> > Sor

Re: [web2py] Re:

2010-11-17 Thread Napoleon Moreno
ostico_referencia' table. Any advice about it? On Wed, Nov 17, 2010 at 6:57 AM, Napoleon Moreno wrote: > Good day > > The webgrid is showing the fields of 'diagnostico_referencia' table. I need > that it shows the name field of the 'Diagnostico' table. I c

Re: [web2py] Re:

2010-11-17 Thread Napoleon Moreno
I found the answer in the book , like is usual db.define_table('diagnostico', Field('name','string'),format='%(name)s' ) It shows the name in every place where i have the diagnostico.id. I got my app running. Thanks everybody! On Wed, Nov 17