[web2py] Fwd: Re: Unable to edit static files in web-editor

2014-02-01 Thread Paolo Valleri
-- Forwarded message -- From: "Paolo Valleri" Date: Feb 1, 2014 1:49 PM Subject: Re: Unable to edit static files in web-editor To: "Yuriy Lopin" Hi, i should have already fixed it; could you try to reproduce the issue using web2py trunk? Regards Paolo 2014-02-01 Yuriy Lopin :

[web2py] Re: add the session value to an existing session

2014-02-01 Thread 黄祥
how can i get and set the session value that is store as a tuple? e.g. *controllers/transaction.py* def purchase_order_callback(): #from gluon.debug import dbg #dbg.set_trace() id = int(request.vars.id) quantity, price = session.purchase_order.get(id, (0, 0) ) if request.vars.action == 'add': quant

Re: [web2py] form in hebrew

2014-02-01 Thread Izar Tarandach
That would take care of the string translation, but not change the order of the label/input fields. For that I suppose you'd have to create your own form by hand as described in http://web2py.com/book/default/chapter/07#Custom-forms Although I'm not sure (no CSS/HTML/browser wizard myself) - if t

Re: [web2py] Re: Companies and Startups that use WEB2PY

2014-02-01 Thread Massimo Di Pierro
nice. On Saturday, 1 February 2014 08:06:14 UTC-6, abrilc wrote: > > I am working on another one. It is made with web2py and a bit of CanJS on > the browser side. Here it is: http://beta.spottinstyle.com > > Kind regards, > Albert. > > > > On 29 January 2014 22:55, NeoToren >wrote: > >> http://

Re: [web2py] Re: Email and PGP

2014-02-01 Thread horridohobbyist
I thought about that, but I don't think there's an actual www-data:www-data user on my Linux server by virtue of installing web2py, is there?? How would I login? Thanks. On Saturday, 1 February 2014 13:14:35 UTC-5, Alan Etkin wrote: > > > Something I don't understand... >> >> If I'm sending to

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Avi A
Yes, that's what I want. I'll give it a try , thanks. On Saturday, February 1, 2014 10:30:28 PM UTC+2, Anthony wrote: > > Without the ability to post data to reference fields it's a problem to >> achieve it. just posting the reference data as strings won't allow me to >> make these filters, unle

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Anthony
> > Without the ability to post data to reference fields it's a problem to > achieve it. just posting the reference data as strings won't allow me to > make these filters, unless I will insert them into tables after posting to > the tests results table. (I think). > Keep in mind, a reference f

Re: [web2py] Re: mini web2py and logs

2014-02-01 Thread Manuele Pesenti
Il 01/02/14 21:13, Niphlod ha scritto: > what is a "minified" version of web2py ? > usually, logs are where you configured them on logging.conf, while > tracebacks are stored into every app's error/ folder... Thank you Niphold... this is a minified version of web2py: http://web2py.com/books/default

[web2py] Re: mini web2py and logs

2014-02-01 Thread Niphlod
what is a "minified" version of web2py ? usually, logs are where you configured them on logging.conf, while tracebacks are stored into every app's error/ folder... On Friday, January 31, 2014 2:29:00 PM UTC+1, Manuele wrote: > > Hi! > where can I find logs of errors tracebacks when I work on a m

Re: [web2py] form in hebrew

2014-02-01 Thread Adnan Smajlovic
Hi Danny, Use/Create a translation file en-he, and all will be done for you. After that, use all your text with a T() tag. Field('message', 'text', label=*T*('Inquiry Message'), default='') There will be no issues: http://beauty-spots.com/inquire (Just spotted that first field wasn't translated,

Re: [web2py] Re: Email and PGP

2014-02-01 Thread Alan Etkin
> Something I don't understand... > > If I'm sending to myself (my_h...@gmail.com ), isn't my > public key the same as the recipient key? It's already in the key-ring. > > Do I have to import the public key again using 'gpg'? > No. In fact, I tried an auto-send and as you said, there is no nee

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Avi A
On Thursday, January 30, 2014 12:30:52 PM UTC+2, Avi A wrote: > > Hi, > I am trying something like that: > #on one local script instance: > import requests > > test_params = {'api_key': 'api_key', 'test': 'test', 'f_platform': > 'platform', 'f_device': 'device', 'f_steps': '10', >

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Avi A
I agree. This is the app flow: A user defines on the site a generic data he will use in the tests. Each data is in a separate table, and then on the test he can combine different combinations: -test name. combinations: - project: (tablet pdf reader, on line editor, etc") -platform: (android, ios,

[web2py] Re: Reusing Django/SQLAlchemy models in web2py

2014-02-01 Thread Anthony
If you look at that more closely, you'll see it is only for translating Django/SQA models to web2py DAL models. Once you have the models, you still need to use web2py DAL syntax for all database operations, and the DAL still drives all the communication with the database (so it won't magically

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Anthony
Not sure that's the right approach. A reference field is not a string, it is an integer storing the id of the record in another table. It does not refer to a string value in another table but rather to an entire record in another table. If you API receives some parameters that are not fields in

[web2py] sqlite 3.7 with web2py

2014-02-01 Thread peter
My apologies, this is already a thread here. https://groups.google.com/forum/m/#!topic/web2py/NGzmHyLVjEo I have continued the discussion there. Peter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.c

Re: [web2py] uwsgi question

2014-02-01 Thread peter
I have exactly the same problem as Vasile. The site version within python2.7 is sqlite 3.7. My only difference is that I am on Centos 5. I have tried both of Roberto's suggested solutions and neither seem to work for me. I built uwsgi with python2.7, but this still left me with sqlite 3.3.6 with

Re: [web2py] Re: Email and PGP

2014-02-01 Thread horridohobbyist
Something I don't understand... If I'm sending to myself (my_han...@gmail.com), isn't my public key the same as the recipient key? It's already in the key-ring. Do I have to import the public key again using 'gpg'? Thanks. On Saturday, 1 February 2014 06:39:02 UTC-5, Alan Etkin wrote: > > Well

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Avi A
Alright, I turned those fields to be strings, also had to modify the DAL and added (no idea why): ", adapter_args=dict(foreign_keys=False), And now it's working. Thanks a lot of the support, the teaching and the patient. On Saturday, February 1, 2014 11:19:36 AM UTC+2, Avi A wrote: > > Yes, some

Re: [web2py] Re: Companies and Startups that use WEB2PY

2014-02-01 Thread Albert Abril
I am working on another one. It is made with web2py and a bit of CanJS on the browser side. Here it is: http://beta.spottinstyle.com Kind regards, Albert. On 29 January 2014 22:55, NeoToren wrote: > http://icd10doc.com/ -- Resources: - http://web2py.com - http://web2py.com/book (Documentati

[web2py] Re: Find Next

2014-02-01 Thread jc
If you scroll down to the bottom of the page containing the web editor a short list of short-cuts is displayed, including Cmd-G / Ctrl-G for repeat find. On Saturday, 1 February 2014 01:23:54 UTC, horridohobbyist wrote: > > Stooopid question: In the web-based editor, how do you "find next"? It's

Re: [web2py] Re: Email and PGP

2014-02-01 Thread Alan Etkin
> > Well, given the state of disarray that this matter is in, I'd best cut my > losses and abandon PGP email altogether. I can't wait forever for this > matter to be resolved/fixed. > I have tested the recipe in development and it works. I had to create the recipient public key which is not in

[web2py] form in hebrew

2014-02-01 Thread danny
so far I have great success using web2py and forms, but my knowledge of html/css etc tends to zero, so is there a simple way to have a form in hebrew? i.e hebrew input data : hebrew field name thanks, danny -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://g

[web2py] Re: Do I need to set auth.settings.hmac_key?

2014-02-01 Thread Tim Richardson
I'll make a PR to fix the book. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: Trying to build a post api.

2014-02-01 Thread Avi A
Yes, some of the params are reference type fields. Each test I want to post the results of, has it's metadata, (the reference type fields, which are all strings at their root table.) and the results themselves. (integers). On Friday, January 31, 2014 11:44:01 PM UTC+2, Anthony wrote: > > The st

[web2py] Reusing Django/SQLAlchemy models in web2py

2014-02-01 Thread damondeville
Hi, I stumbled upon an interesting but fairly old Massimo post: http://web2py.com/AlterEgo/default/show/189 >From my limited understanding, it looks like a concise and elegant way of "wrapping" Django or SQLAlchemy models for reuse/call inside web2py. I am wondering whether this approach c