[web2py] Re: Instant Press in beta

2010-10-18 Thread cjrh
On Oct 18, 5:09 pm, "Martin.Mulone" wrote: > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a proof of concept, of what can > i do in web2py, i have to thank to massimo and the community to > answered my littles questions. It's very g

[web2py] Re: Newbie Parent/Child editing- The right way

2010-10-18 Thread Markandeya
Thank you so very much for your lightening fast replies with real help. So much appreciated. Now i will do my homework and learn. thank you again, Markandeya

[web2py] Re: PyScripter is nice Python IDE for Windows ....

2010-10-18 Thread cjrh
On Oct 19, 2:37 am, DenesL wrote: > Looks good. Thanks. > Any tips on using it with web2py?. Not much. Edit your files. You get code-completion and method argument "intellisense" for Python built-ins as well as your own code in the same file. As you edit, refresh your browser and the changes

Re: [web2py] question re form processing via ajax

2010-10-18 Thread Bruno Rocha
I tried here, and you can use FORM() If your raw html is you need index to: form=FORM(INPUT(_name='bar',_type='text',requires=IS_NOT_EMPTY(error_message='it is empty'))) errors=form.errors if form.accepts(request.vars,session=None,formname='foo'): redirect(URL(r=request, f='index')) e

[web2py] Pinging the gae dummy url(_ah/queue/default) to keep the app fresh in cache

2010-10-18 Thread bally boy
Hi I remember having read it somewhere, on how to do this, just seem to have lost the link. Can someone point me to the link please.

Re: [web2py] question re form processing via ajax

2010-10-18 Thread Bruno Rocha
Not sure, but I think you need to specify a form object in order to use .accepts to validate from the book: All the work is done by the accepts method of the form object. It filters the request.varsaccording to the declared requirements (expressed by validators). accepts stores those variables tha

[web2py] Re: question re form processing via ajax

2010-10-18 Thread weheh
To tell the truth, I didn't event specify a form. Bottom line: no form name. Just raw , since it was never intended to be processed by a submit button. This is new stuff for me, and I'm seriously experimenting, so I don't know if this approach will blow up in my face in my app. Am I doing anything

Re: [web2py] question re form processing via ajax

2010-10-18 Thread Bruno Rocha
What is the name of the form, really? Which one you specified in does not works? 2010/10/19 weheh > If I build a form comprising a few raw html input fields and then use > ajax to submit them, their values end up in request.vars. Now, I would > like to use my_html_form.accepts(...) to process

[web2py] question re form processing via ajax

2010-10-18 Thread weheh
If I build a form comprising a few raw html input fields and then use ajax to submit them, their values end up in request.vars. Now, I would like to use my_html_form.accepts(...) to process the contents, but is that possible? What is the name of the form, really?

[web2py] Re: Stand Alone DAL and migrations (again)

2010-10-18 Thread Bruno Rocha
I forgot to mention that I tried: DAL(,folder=...) pointing folder="" to the directory where .table files are, but does not works. 2010/10/19 Bruno Rocha > I know DAL was not made for that, but I'm using the DAL in a desktop > application with PyGTK, and it is working very well :-) > > It

[web2py] Stand Alone DAL and migrations (again)

2010-10-18 Thread Bruno Rocha
I know DAL was not made for that, but I'm using the DAL in a desktop application with PyGTK, and it is working very well :-) It is a simple application that monitors the presence of employees in a company and reads small CSV files from a time clock, people has cards that open the gates/doors of th

[web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2010-10-18 Thread mdipierro
The Apache options is better because allows you to also map static files. In my examples web2py was serving static files and that is not a production setting. The apache routes config is more portable (does not depend on web server). Massimo On Oct 18, 9:07 pm, VP wrote: > The way I did this is

[web2py] Re: compiling app manually?

2010-10-18 Thread VP
This worked. Thank you. On Oct 18, 5:55 pm, "Martin.Mulone" wrote: > http://groups.google.com/group/web2py/browse_thread/thread/4abaf58c38... > > from mdipierro > yes, make a script compile.py >     from gluon.admin import app_compile >     app_compile(request.application, request) > and run it

[web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2010-10-18 Thread VP
The way I did this is through Apache, by adding ServerName domain.com ServerAlias *.domain.com to the web2py configuration section in site-enabled/000-default Which one is more preferable? pros and cons? Thanks.

[web2py] Re: tip of the day. The power of routes

2010-10-18 Thread VP
thank you. I think many of us can use this tip. Many of these tips should be archived somewhere.

Re: [web2py] Re: Can't install gae remote_api using web2py

2010-10-18 Thread Nathan VanHoudnos
I do have the most recent version of the App Engine SDK loaded and I've double checked I'm calling the correct version. I'll ask my question on the GAE forum as Richard suggested. (I had thought at first that this was a web2py issue. I'm new to both, so I'm often unsure if my question should be an

[web2py] Re: compiling app manually?

2010-10-18 Thread Bruno Rocha
This is a good example from Thadeus blog -> http://thadeusb.com/weblog/2010/4/21/compile_web2py_apps_externally On Oct 18, 8:55 pm, "Martin.Mulone" wrote: > http://groups.google.com/group/web2py/browse_thread/thread/4abaf58c38... > > from mdipierro > yes, make a script compile.py >     from gluon

[web2py] Re: PyScripter is nice Python IDE for Windows ....

2010-10-18 Thread DenesL
Looks good. Thanks. Any tips on using it with web2py?. Denes. On Oct 18, 9:18 am, cjrh wrote: > On Oct 18, 1:26 pm, David Marko wrote: > > > PyScripter seems to be alive again and releasing new > > versions.http://code.google.com/p/pyscripter/ > > I've been using PyScripter ever since it was

[web2py] Re: Can't install gae remote_api using web2py

2010-10-18 Thread howesc
perhaps silly question...but did you upgrade the google SDK to the latest version? being that it's a new feature you want to make sure you are using the latest SDK to do the upload. (perhaps you have an old version of appcfg.py on your path?) cfh On Oct 18, 11:21 am, Nathan VanHoudnos wrote: >

[web2py] Re: Instant Press in beta

2010-10-18 Thread Richard
this is fantastic! Love the use of jGrowl. Some questions: - Opening and closing all those admin panels takes a lot of mouse work - have you considered shortcuts keys? - I saw you can change the CSS. Can you also embed additional JavaScript? - How would you recommend adding extensions, such as a c

[web2py] Re: Can't install gae remote_api using web2py

2010-10-18 Thread Richard
that "- remote_api: on" option was just added in the latest version. Do you have the latest version of GAE source? You may want to ask these kind of questions in the GAE group: http://groups.google.com/group/google-appengine http://groups.google.com/group/google-appengine-python On Oct 19, 5:21 

[web2py] Re: sorry I don't understand URL

2010-10-18 Thread mdipierro
Mind that it is not a good idea to do this: URL("call", "run", "Set_Page", args="77" ) i.e. pass the application name. You want instead URL("run", "Set_Page", args="77" ) else if the app is renamed the links break. On Oct 18, 6:52 pm, Stef Mientki wrote: >  hello, > > I'm trying to call a ser

[web2py] Re: sorry I don't understand URL

2010-10-18 Thread DenesL
Hi Stef, URL is a helper, so it really creates a gluon.html.XML object. What you want in this case is the string: URL("call", "run", "Set_Page", args="77").xml() Denes On Oct 18, 7:52 pm, Stef Mientki wrote: >  hello, > > I'm trying to call a service from menu buttons, > and I read somewhere i

[web2py] sorry I don't understand URL

2010-10-18 Thread Stef Mientki
hello, I'm trying to call a service from menu buttons, and I read somewhere in the manual, you should always use URL() Now this works: LSB_Menu.append ( [ 'Stef3',"call/run/Set_Page/77" ]) But the following don't (while printing the URL result, looks ok), why ?? #LSB_Menu.append ( [ 'Stef4'

[web2py] Using upload fixtures in GAE

2010-10-18 Thread Tiago Rosa
Hi folks, I've recently created some fixture files to prepopulate my application's database with some data I need to be there from the beginning. The fixtures are basically files located under the 'models' directory that contain insert statements (and checks to only execute the inserts if the tabl

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread rochacbruno
Martin, a suggestion is to include the option of writing in Markmin format. I will try to do a test here. Do you have a clone in BitBicket or Mercurial in Google ? Great work Thanks Enviado via iPhone Em 18/10/2010, às 20:56, "Martin.Mulone" escreveu: > ckeditor > > On 18 oct, 19:11, Ste

Re: [web2py] Instant Press in beta

2010-10-18 Thread Luis Díaz
congratulations very good job. request: can you write an article ... recommendations or suggestions .. or good practices applied during the development of "Instant Press"? -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontología

Re: [web2py] Instant Press in beta

2010-10-18 Thread appydev
Congratulations, it's great. 2010/10/18 Martin.Mulone > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a proof of concept, of what can > i do in web2py, i have to thank to massimo and the community to > answered my littles questions

[web2py] Re: Instant Press in beta

2010-10-18 Thread Martin.Mulone
ckeditor On 18 oct, 19:11, Stef Mientki wrote: >  looks fantastic !!! > which html editor did you include ( can't remember having a so extended > editor in a web2py > application) ? > thanks, > Stef > > On 18-10-2010 17:09, Martin.Mulone wrote: > > > > > After almost 3 month of heavy development

[web2py] Re: compiling app manually?

2010-10-18 Thread Martin.Mulone
http://groups.google.com/group/web2py/browse_thread/thread/4abaf58c38f31ae5/5a3b1f19ce4dbab0?lnk=gst&q=compile+application+#5a3b1f19ce4dbab0 from mdipierro yes, make a script compile.py from gluon.admin import app_compile app_compile(request.application, request) and run it with python

[web2py] Re: compiling app manually?

2010-10-18 Thread mr.freeze
from gluon.admin import app_compile errs = app_compile('myapp',request) if errs: response.flash = 'There were errors' else: response.flash = 'Application compiled' On Oct 18, 3:58 pm, VP wrote: > Is there a way to compile apps manually (instead of through the admin > interface)? > > Than

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
Thanks a lot for your help. It is working well now. I was working in ubuntu 10.4 lucid lynx. it comes with python2.6 by default! I wonder why i had not problems with it until now. best regard Napoleon On Mon, Oct 18, 2010 at 5:25 PM, Michele Comitini < michele.comit...@gmail.com> wrote: > wr

[web2py] Re: compiling app manually?

2010-10-18 Thread Joschua
As I unterstood, web2py uses the compile_all-module, which documentation can be found here: http://docs.python.org/library/compileall.html On 18 Okt., 22:58, VP wrote: > Is there a way to compile apps manually (instead of through the admin > interface)? > > Thanks.

Re: [web2py] facebook apps

2010-10-18 Thread Michele Comitini
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.5 > > > > 2010/10/18 Napoleon Moreno : >> I tried to install it >>

[web2py] Re: labels in crud.select

2010-10-18 Thread Alex
No problem. The fields attribute shouldn't affect the headers attribute and vice versa. You should be able to hide columns with the Fields attribute. Good luck! On Oct 18, 11:13 am, Richard Vézina wrote: > Ok! > > It works, thanks Alex > > I will have much more work since fields=['field1','fie

Re: [web2py] Instant Press in beta

2010-10-18 Thread Stef Mientki
looks fantastic !!! which html editor did you include ( can't remember having a so extended editor in a web2py application) ? thanks, Stef On 18-10-2010 17:09, Martin.Mulone wrote: > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a p

[web2py] Re: Learning Management System survey

2010-10-18 Thread mdipierro
This is closer to have I have in mind It should definitively not focus on the course. If should not focus specifially on the learner. It should focus on the user (whether a student, faculty or an administrator) because the same person may have different roles. Whatever the user and its roles, h

Re: [web2py] facebook apps

2010-10-18 Thread Michele Comitini
http://code.google.com/intl/it-IT//docs/python/gettingstarted/devenvironment.html you need python2.5 2010/10/18 Napoleon Moreno : > I tried to install it > > It answers: > > "This extension should not be used with Python 2.6 or later (already built > in), and has not been tested with Python 2.3

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
I tried to install it It answers: "This extension should not be used with Python 2.6 or later (already built in), and has not been tested with Python 2.3.4 or earlier." It looks like it is currently installed In the console of python i could import ssl I am working with the release: "1.3.7" o

Re: [web2py] Re: Learning Management System survey

2010-10-18 Thread Tom Atkins
Just in case anyone is still thinking about eLearning or Learning Management Systems here's an interview with the creator of Moodle: http://www.edugeekjournal.com/2010/10/18/is-moodle-going-down-the-path-of-open-social-learning/ Worth noting that he's considering a complete rewrite focuesed round

Re: [web2py] facebook apps

2010-10-18 Thread Michele Comitini
The import was just to test if your application was able 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 : > Thanks for y

[web2py] compiling app manually?

2010-10-18 Thread VP
Is there a way to compile apps manually (instead of through the admin interface)? Thanks.

Re: [web2py] facebook apps

2010-10-18 Thread Napoleon Moreno
Thanks for your answer. where should i import ssl? I am try in db.py and the facebook.py. it does not work. best regards Napoleon On Mon, Oct 18, 2010 at 2:12 PM, Michele Comitini < michele.comit...@gmail.com> wrote: > That error is usually because you are using a python version that does > no

[web2py] Re: Slow streaming of several images

2010-10-18 Thread VP
Another comment is that cache.ram (both controller and view) doesn't seem to improve that much (in this particular case).

[web2py] Re: Instant Press in beta

2010-10-18 Thread VP
I looked at the youtube video... One comment, the music is very distracting.

[web2py] Re: Slow streaming of several images

2010-10-18 Thread VP
To follow up on this... (1) To recap, I have a dozen of thumbnails of sizes ranging from 5kb to 15kb on one page (a gallery type of things). Observed occasional slow rendering of the page, on local server. (2) I think this slowness has to do with rocket server. After trying on another server wi

[web2py] Re: Instant Press in beta

2010-10-18 Thread Christopher Steel
This rocks Martin! Great work! Chris On Oct 18, 11:09 am, "Martin.Mulone" wrote: > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a proof of concept, of what can > i do in web2py, i have to thank to massimo and the community to > an

Re: [web2py] Re: hack appadmin.py

2010-10-18 Thread Richard Vézina
I try to recreate the table grid as in the appadmin for some tables. It's not going to badly until now, but I fall on some limitations. For example, If I want all the fields or columns except some of thoses : db.table.field.readable=False is not working. I have not try yet with SQLTABLE, but I w

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread Michele Comitini
great piece of work! 2010/10/18 mr.freeze : > This is killer!!! > > On Oct 18, 10:09 am, "Martin.Mulone" wrote: >> After almost 3 month of heavy development, i think its mature enough >> to move to beta phase. Well for me was a proof of concept, of what can >> i do in web2py, i have to thank to m

[web2py] Re: hack appadmin.py

2010-10-18 Thread mdipierro
Mind that appadmin is designed for administrator. If you expose it to users it would introduce injection vulnerabilities. Why not just use crud.create crud.update crud.search On Oct 18, 2:01 pm, Richard Vézina wrote: > Hello, > > I try to hack the appadmin.py to use it with a limited numbe

Re: [web2py] facebook apps

2010-10-18 Thread Michele Comitini
That error is usually because you are using a python version 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 environment. > > I can't make it

[web2py] hack appadmin.py

2010-10-18 Thread Richard Vézina
Hello, I try to hack the appadmin.py to use it with a limited number of tables that I would define... How may I define the tables that I want without to much alter the appadmin.py functionning. Grossly I would like to gain acces to a kind of summary of all the tables that users are filling with

[web2py] Re: DAL -> not in list

2010-10-18 Thread Joergi
thank you for the quick support -> you are the best!!!

[web2py] Can't install gae remote_api using web2py

2010-10-18 Thread Nathan VanHoudnos
Hi, Attempting to follow the directions here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html So I added to my app.yaml: builtins: - remote_api: on And then I try to to run appcfg.py update: vanho...@gauze:~/google_appengine$ python2.5 appcfg.py update ../workspace/nat

[web2py] Re: Instant Press in beta

2010-10-18 Thread mr.freeze
This is killer!!! On Oct 18, 10:09 am, "Martin.Mulone" wrote: > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a proof of concept, of what can > i do in web2py, i have to thank to massimo and the community to > answered my littles que

[web2py] Re: Need help installing MySQLdb in Mac OSX

2010-10-18 Thread mart
Hi Franklin, I had posted the steps I went through to get that installed on mac os... but I don't see the reply. Perhaps I clicked on "reply to author:" instead of "reply"? if I didn't choose "reply to author" the message is lost somewhere in the Ether, then let me know I will repost. Mart :) On

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread Albert Abril
Me too. Also, it's a killer app. :) On Mon, Oct 18, 2010 at 7:11 PM, mdipierro wrote: > I like it too. > > On Oct 18, 11:45 am, rochacbruno wrote: > > I like Instant Press. This makes me think about "rapid publishing" which > means "easy to publish" or something "Agile" like that. > > > > Envi

[web2py] Re: yet another question about tables...

2010-10-18 Thread mart
right... hashing it would work ;) thanks (again * 3) Mart :) On Oct 18, 1:15 pm, mdipierro wrote: > def table_exists(db,name): >     import os >     from utils import md5_hash >     filename = os.path.join(request.folder,'databases','%s_%s.table' % > (md5_hash(db._uri), tablename)) >     return

[web2py] Re: Need help installing MySQLdb in Mac OSX

2010-10-18 Thread mart
Yes, a little more involved that I remembered. So, to go through the steps correctly, I started from scratch. This is what I did: 1) downloaded latest version of MySQLdb form http://sourceforge.net/projects/mysql-python/ 2) went to my default Python folder, and checked for any file or folder with

[web2py] Re: yet another question about tables...

2010-10-18 Thread mdipierro
def table_exists(db,name): import os from utils import md5_hash filename = os.path.join(request.folder,'databases','%s_%s.table' % (md5_hash(db._uri), tablename)) return os.path.exists(filename) On Oct 18, 11:58 am, mart wrote: > wow... again! that easy? > > fb87181b96a99be45f5a2

[web2py] Re: Instant Press in beta

2010-10-18 Thread mdipierro
I like it too. On Oct 18, 11:45 am, rochacbruno wrote: > I like Instant Press. This makes me think about "rapid publishing" which > means "easy to publish" or something "Agile"  like that. > > Enviado via iPhone > > Em 18/10/2010, às 14:42, "Martin.Mulone" escreveu: > > > I already have the dom

[web2py] Re: how to create the left sidebar menu, like in web2py plugins ?

2010-10-18 Thread mart
tried this (sidebar make more sense for what I am doing) and mine looks like a badly designed stair case... I played with the css (where i am glad to have made a copy before my design blunder). Any chance I should be taking my esthetically-cruel design practices to another file than base.css? I thi

[web2py] Re: yet another question about tables...

2010-10-18 Thread mart
wow... again! that easy? fb87181b96a99be45f5a23f4277867ce_cmdcompileProperties.table so to check this, i just need this (can omit prefix) if *_cmdsearchAndReplaceProperties.table: logger('blablabla') thanks (again * 2), Mart :) On Oct 18, 12:42 pm, mdipierro wrote: > Each table web2py ha

[web2py] Re: deleting tables depending on user action

2010-10-18 Thread mart
oh.. well that is pretty much straight forward. I may be have been over thinking this. Fantanstic! thanks for the help! Mart :) On Oct 18, 12:41 pm, mdipierro wrote: > def cleanup(app): >     import os >     for sub in > ['databases','cache','sessions','tickets','errors','uploads']: >         p

[web2py] Re: Vote for a new logo

2010-10-18 Thread Anthony
On Oct 18, 11:59 am, Jonathan Lundell wrote: >I do like the concept; I'm not entirely satisfied with the letterforms of the >current >logo. I see your point -- I can imagine that there might be something better out there somewhere -- but I just haven't seen it yet. The current crop of entries in

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread rochacbruno
I like Instant Press. This makes me think about "rapid publishing" which means "easy to publish" or something "Agile" like that. Enviado via iPhone Em 18/10/2010, às 14:42, "Martin.Mulone" escreveu: > I already have the domain instant2press.com > > On Oct 18, 1:36 pm, mdipierro wrote: >> p

[web2py] Re: Instant Press in beta

2010-10-18 Thread Martin.Mulone
I already have the domain instant2press.com On Oct 18, 1:36 pm, mdipierro wrote: > press2py, word2py, py2press, press4web, word4web, etc. > > On Oct 18, 11:05 am, Jonathan Lundell wrote: > > > > > Here's an idea, free for nothing, for this or some other application: name > > it Web Press. (I ha

[web2py] Re: yet another question about tables...

2010-10-18 Thread mdipierro
Each table web2py has knowledge how corresponds to a file in databases/ *_filename.table On Oct 18, 11:31 am, mart wrote: > I was looking up in the book how migration is done, which seems very > useful. Is there a way check for the existence of tables, and NOT have > them created if not exist? I

[web2py] Re: deleting tables depending on user action

2010-10-18 Thread mdipierro
def cleanup(app): import os for sub in ['databases','cache','sessions','tickets','errors','uploads']: path=os.path.join(request.folder,'..',app,sub) for file in os.listdir(path): os.unlink(os.path.join(path,file)) On Oct 18, 11:18 am, mart wrote: > ah... I didn't see

[web2py] Re: Instant Press in beta

2010-10-18 Thread mdipierro
press2py, word2py, py2press, press4web, word4web, etc. On Oct 18, 11:05 am, Jonathan Lundell wrote: > Here's an idea, free for nothing, for this or some other application: name it > Web Press. (I haven't checked for conflicts.) > > The reason I especially like it is that a "web press" has an old

[web2py] yet another question about tables...

2010-10-18 Thread mart
I was looking up in the book how migration is done, which seems very useful. Is there a way check for the existence of tables, and NOT have them created if not exist? I would like a "does not exist" answer to simply be that, some sort of False statement and nothing more... As mentioned in my previ

[web2py] Re: deleting tables depending on user action

2010-10-18 Thread mart
ah... I didn't see your reply... so, i don't think I want to start the app from scratch but rather restart the build process just delete unused table (specially if a table exists because of previous trial runs). Here's the logic: * there is a build system. I made it to let some users configure an

Re: [web2py] Re: labels in crud.select

2010-10-18 Thread Richard Vézina
Ok! It works, thanks Alex I will have much more work since fields=['field1','field etc.'] broke the behavior of the headers dict... So I can't hide field I don't want to show... I probably must specify a query that will only include the column I want... Richard On Fri, Oct 15, 2010 at 7:29 PM,

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread Jonathan Lundell
Here's an idea, free for nothing, for this or some other application: name it Web Press. (I haven't checked for conflicts.) The reason I especially like it is that a "web press" has an old meaning: the large, high-volume roll-fed presses used by newspapers and the like. You've probably seen the

Re: [web2py] Re: Vote for a new logo

2010-10-18 Thread Jonathan Lundell
A feature request for the logovote website (a simple one). At the top of each candidate is its id number. Would you please format that this way: #14. (with a leading # and a trailing period). That way we can do a simple browser search for a candidate by id number, without getting a lot of false

Re: [web2py] Re: Vote for a new logo

2010-10-18 Thread Jonathan Lundell
On Oct 18, 2010, at 7:16 AM, Anthony wrote: > > I agree with Bruno's thoughts on the current logo (i.e., #5 and #17 on > the logovote site). It is based on Massimo's thoughtful design concept > -- if you missed his message about it, you can read it here: > http://groups.google.com/group/web2py/msg

[web2py] Re: Packaging web2py for Debian

2010-10-18 Thread José L .
The debian packaging group is online: http://alioth.debian.org/projects/pkg-web2py/ Please, join the group if you want to collaborate/help/test the packaging. I'll wait some days before beginning to upload the first files. Also, all the packaging talk can be done in the group, instead of floodin

Re: [web2py] Re: turn off caching of code?

2010-10-18 Thread Jonathan Lundell
On Oct 18, 2010, at 8:10 AM, mdipierro wrote: > > It is not web2py doing. web2py files (models, views, controllers) and > not cached unless explicitly stated. > > Python caches modules. > > after > > import module > > you can do > > reaload(module) > > to force reload. A variation on the th

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread Bruno Rocha
Cool! the component can be made in /appliances, then we load that in /examples 2010/10/18 mdipierro > How about I add a field (featured) to appliances and we embed a list > of featured from there? > > On Oct 18, 10:26 am, Bruno Rocha wrote: > > What do you think about to include a section cal

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

[web2py] Re: Instant Press in beta

2010-10-18 Thread mdipierro
How about I add a field (featured) to appliances and we embed a list of featured from there? On Oct 18, 10:26 am, Bruno Rocha wrote: > What do you think about to include a section called "featured appliances" > under web2py.com/download ? > > For now, this could have cube2py, conf2py, InstantPres

Re: [web2py] Instant Press in beta

2010-10-18 Thread Bruno Rocha
The new appadmin Layout proposed by Martin in this video http://www.youtube.com/watch?v=gtdJ5JCxiJQ is very nice! 2010/10/18 Martin.Mulone > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a

[web2py] Re: special characters in database credentials

2010-10-18 Thread mdipierro
can you please email it to me? On Oct 18, 10:30 am, Josh J wrote: > Hey Massimo, > > I've taken the initiative and built a patch to allow encoded > credentials in database URIs. > > The following patch adds an additional boolean argument to the SQLDB > initializer called decode_credentials (defau

[web2py] Re: Python Excel

2010-10-18 Thread mdipierro
For those instead that want a excel-like clone in web2py: http://web2py.com/examples/spreadsheet has been there for a year or longer. try write in r0c2 "=r0c0+r0c1" and then type some numbers in r0c0 and r0c1. You can use any python in expressions (math only but you can create your own function).

[web2py] Re: special characters in database credentials

2010-10-18 Thread Josh J
Hey Massimo, I've taken the initiative and built a patch to allow encoded credentials in database URIs. The following patch adds an additional boolean argument to the SQLDB initializer called decode_credentials (defaults to False). The decode_credentials argument is used to build the 'credential_

Re: [web2py] Re: Instant Press in beta

2010-10-18 Thread Bruno Rocha
What do you think about to include a section called "featured appliances" under web2py.com/download ? For now, this could have cube2py, conf2py, InstantPress, and another rated by user votes, we can put a small screenshot linking to app source or demo on GAE. 2010/10/18 mdipierro > This is the

Re: [web2py] Python Excel

2010-10-18 Thread Richard Vézina
Thank you! Richard On Mon, Oct 18, 2010 at 7:57 AM, Bruno Rocha wrote: > For those who needs to work with M$ excel files. > > http://www.python-excel.org/ > >

[web2py] Re: Instant Press in beta

2010-10-18 Thread mdipierro
This is the best web2py app I have ever seen! You should post it here: python-annou...@python.org On Oct 18, 10:09 am, "Martin.Mulone" wrote: > After almost 3 month of heavy development, i think its mature enough > to move to beta phase. Well for me was a proof of concept, of what can > i do in

[web2py] Re: deleting tables depending on user action

2010-10-18 Thread mart
That's what I thought and that's what I had but the tables were still sticking around... I figured, it was probably just a way to keep some record of activity around... so, thanks for that, I will re- insert those lines and see about my refresh issue. Thanks a bunch, and much appreciate the repl

[web2py] Re: turn off caching of code?

2010-10-18 Thread mdipierro
It is not web2py doing. web2py files (models, views, controllers) and not cached unless explicitly stated. Python caches modules. after import module you can do reaload(module) to force reload. On Oct 18, 10:00 am, apple wrote: > This driving me crazy. Is there some kind of code cache in

[web2py] Instant Press in beta

2010-10-18 Thread Martin.Mulone
After almost 3 month of heavy development, i think its mature enough to move to beta phase. Well for me was a proof of concept, of what can i do in web2py, i have to thank to massimo and the community to answered my littles questions. What's new in beta, well i suggest to see the page and watch new

[web2py] Re: deleting tables depending on user action

2010-10-18 Thread mdipierro
If you really need to restart an app from scratch and you use sqlite, you can sply delete everyting under - databases - uploads - cache - sessions - errors On Oct 18, 9:59 am, ron_m wrote: > http://web2py.com/book/default/chapter/06?search=drop#drop > > db.table_name.drop() > > Ron > > On Oct 1

[web2py] Re: Problem to deploy web2py in a Shared Hosting with web2py

2010-10-18 Thread mdipierro
You are assuming they know how to do that. It will be easier to just ask them to install python2.5. On Oct 18, 9:07 am, Bruno Rocha wrote: > You can tell to the host to install a virtualenv for you, with Python2.5+ > > 2010/10/18 victors > > > > > But I can install Python 2.5 localy or  Need I t

[web2py] Re: Newbie Parent/Child editing- The right way

2010-10-18 Thread mdipierro
Look at the source code of this app: http://www.web2py.com/appliances/default/show/63 It does what you ask (although for radio logs but you can change table names and add fields) and it is very compact. Done by the book. On Oct 18, 12:59 am, Markandeya wrote: > Dear Friends of Web2py, > i am st

[web2py] turn off caching of code?

2010-10-18 Thread apple
This driving me crazy. Is there some kind of code cache in web2py and how do I turn it off? >From a controller I call a python program in modules and web2py correctly reports an error: html=cleaner.clean_html(html) NameError: global name 'cleaner' is not defined I then comment out the offen

[web2py] Re: deleting tables depending on user action

2010-10-18 Thread ron_m
http://web2py.com/book/default/chapter/06?search=drop#drop db.table_name.drop() Ron On Oct 18, 7:40 am, mart wrote: > Hi, > > does anybody know how to delete a table using dal.py? I need to > provide users with the choice of starting a process from scratch (and > over and over again until satis

[web2py] Re: sqltable behaviour

2010-10-18 Thread leone
OK. I was confused by epydoc example: def mylink(field, type, ref): return URL(r=request, args=[field]) rows = db.select(db.sometable.ALL) table = SQLTABLE(rows, linkto=mylink) Thanks very much. On 18 Ott, 14:23, mdipierro wrote: > This is correct. I think you want this: > > def mylin

[web2py] deleting tables depending on user action

2010-10-18 Thread mart
Hi, does anybody know how to delete a table using dal.py? I need to provide users with the choice of starting a process from scratch (and over and over again until satisfied). Which means on the first go, a user who is defining some steps in a software build setup, may be configuring, let' call ca

[web2py] Re: Vote for a new logo

2010-10-18 Thread Martin.Mulone
A new variation to favicon + current design: http://blouweb.com/logovote/default/index?logoid=124 On Oct 18, 11:16 am, Anthony wrote: > I agree with Bruno's thoughts on the current logo (i.e., #5 and #17 on > the logovote site). It is based on Massimo's thoughtful design concept > -- if you miss

[web2py] Re: Vote for a new logo

2010-10-18 Thread Anthony
I agree with Bruno's thoughts on the current logo (i.e., #5 and #17 on the logovote site). It is based on Massimo's thoughtful design concept -- if you missed his message about it, you can read it here: http://groups.google.com/group/web2py/msg/dc9b9c33246c985b - It is straightforward, broadly app

  1   2   >