[web2py] Recommended Payment Gateway (besides PayPal)

2011-01-17 Thread cjrh
I am looking for recommendations for payment gateways.I already know about PayPal, and Authorize.NET. The former seems expensive, and has not been well-supported in my country in the past, and the latter is plagued with horror stories from disgruntled customers.

[web2py] Suggestion for the Web2py book regarding importing and exporting data

2011-01-17 Thread johntynan
In reading the chapter on CSV and Remote Database Syncronization in the web2py book, specifically in these sections: 2. Create a controller action to export the database: 3. Create a controller action to import a saved copy of the other database and sync records Would it be advisable to mention

[web2py] Is there a way to remove application name from URL()?

2011-01-17 Thread Bob
I'm using a routing file which makes my app load by default on localhost. It works well, but everywhere I have used the URL() function it prepends the application name to the URL. This of course no longer works, because my real URLs no longer need the name. So is there any configuration that will

[web2py] Table of Contents for plugin_wiki pages

2011-01-17 Thread blackthorne
Something that might interest plugin_wiki users, is the possibility to automatically generate tables of contents from a page based on headings and specially tagged divs. just put this on the page.html view of the plugin: {{extend 'layout.html'}} {{if page:}} {{if

Re: [web2py] Suggestion for the Web2py book regarding importing and exporting data

2011-01-17 Thread Kenneth Lundström
Appadmin already has the ability to expoert and import CSV-files. So no need putting them there. In one of my application users has the right to export data as CSV and even import it back. They don´t get all data, only data that belongs to the user. Kenneth In reading the chapter on CSV

[web2py] Timing issue in web2py

2011-01-17 Thread ondrejs
There appears to be a bug during startup. C:\Temp\web2pyweb2py.exe web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2011 Version 1.91.6 (2011-01-03 17:55:14) Database drivers available: SQLite3, pymysql Starting hardcron... Fatal Python error: PyEval_RestoreThread:

[web2py] request.vars question

2011-01-17 Thread Johann Spies
In the shell this works: In [7]: print db._lastsql -- print(db._lastsql) SELECT count(*) FROM artikel WHERE (artikel.id 0) In [8]: query = db.artikel.id 0 In [9]: l = db(query).count() In [10]: print db._lastsql --- print(db._lastsql) SELECT count(*) FROM artikel WHERE (artikel.id

[web2py] Reunião Coding Dojo

2011-01-17 Thread contatogilson...@gmail.com
Olá pessoal, Para todos ficarem cientes, nessa semana eu vou me reunir como coordenador da UNIP para acertamos o local e a data do evento. Att, _ *Gilson Filho* *Desenvolvedor Web Blog:* blog.gilsondev.com *Twitter:* twitter.com/gilsonfilho

[web2py] Re: Reunião Coding Dojo

2011-01-17 Thread cjrh
On Jan 17, 2:50 pm, contatogilson...@gmail.com contatogilson...@gmail.com wrote: Para todos ficarem cientes, nessa semana eu vou me reunir como coordenador da UNIP para acertamos o local e a data do evento. O que é UNIP, e que evento é tudo isso? Além disso, esta lista tem membros falando

[web2py] web2py social network designer/architect

2011-01-17 Thread yarden...@gmail.com
Hi, I am developing a social network with web2py. I will be using freelancer to do the work for me. However I lack an overall design for the social network. Can you help us with the overal design and architecture ? If you can recommend someone that will be good too. Thanks Dennis Yar Baby

[web2py] TAG and xml

2011-01-17 Thread carlo
I am trying to relaunch a question implicit in one of my previous posts. As I said TAG with its xml() serializer fails in generating valid xml when both name and value are unicode strings with non ascii chars (in my test it succeeds when either name or value is unicode string with non ascii

Re: [web2py] web2py social network designer/architect

2011-01-17 Thread Bruno Rocha
This is a social network built with web2py - http://tymr.com/ Bruno Rocha http://about.me/rochacbruno/bio 2011/1/17 yarden...@gmail.com yarden...@gmail.com Hi, I am developing a social network with web2py. I will be using freelancer to do the work for me. However I lack an overall

[web2py] Problem with one-to-many field

2011-01-17 Thread rif
Hi guys, I just started working with web2py and I like it a lot. I have a little problem with the following tables: The firma field in the second table is shown as a text field where I can only enter the ids and not as a select field. I admit that I might have saved the db.py with firma field as

Re: [web2py] Re: sqlform.factory, inserting variable number of records in an other table

2011-01-17 Thread Richard Vézina
Thanks Mart... I read back my mail and my english was terrible. ;-) I thought about it after sent the mail and I realise that subform seems what I was searching for. I will try what you propose and give feedback here. Richard On Sun, Jan 16, 2011 at 10:43 PM, mart msenecal...@gmail.com wrote:

[web2py] TAG name and XML: maybe a solution?

2011-01-17 Thread carlo
As in my previous post, TAG with its xml serializer fails when both tag Name and Contents are unicode strings with non ascii chars. What about this trivial solution in html.py? def xml(self): generates the xml for this component. (fa, co) = self._xml()

[web2py] Change upload behaviour: standard filename

2011-01-17 Thread grezly
I'd like to change the default behaviour for one app, concerning my uploads. Web2py normally rename the uploaded file, but in my particular case, web2py doesn't need to change my filename. Is something possible, while creating my model? Next to that i also like to store a hash of a file in my

Re: [web2py] request.vars question

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 4:43 AM, Johann Spies wrote: In the shell this works: In [7]: print db._lastsql -- print(db._lastsql) SELECT count(*) FROM artikel WHERE (artikel.id 0) In [8]: query = db.artikel.id 0 In [9]: l = db(query).count() In [10]: print db._lastsql ---

Re: [web2py] TAG name and XML: maybe a solution?

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 7:39 AM, carlo wrote: As in my previous post, TAG with its xml serializer fails when both tag Name and Contents are unicode strings with non ascii chars. What about this trivial solution in html.py? Makes sense to me, but I have to admit that I get a little confused by

[web2py] Re: upload widgets problem with nullable compound validators

2011-01-17 Thread Massimo Di Pierro
IS_NULL_OR([IS_XXX(..), IS_YYY(..), ..]) in trunk now. Good suggestion although I think an internal refactoring is in order. On Jan 16, 10:57 pm, kenji4569 hos...@s-cubism.jp wrote: I ended up with making a custom validator IS_ALL for the problem: IS_NULL_OR(IS_ALL([IS_XXX(..), IS_YYY(..),

[web2py] Re: Recommended Payment Gateway (besides PayPal)

2011-01-17 Thread Massimo Di Pierro
http://web2py.appspot.com/plugin_checkout/default/checkout On Jan 17, 2:34 am, cjrh caleb.hatti...@gmail.com wrote: I am looking for recommendations for payment gateways.    I already know about PayPal, and Authorize.NET.   The former seems expensive, and has not been well-supported in my

[web2py] Re: Table of Contents for plugin_wiki pages

2011-01-17 Thread Massimo Di Pierro
http://code.google.com/p/samaxesjs/wiki/TableOfContentsPlugin On Jan 17, 5:31 am, blackthorne francisco@gmail.com wrote: Something that might interest plugin_wiki users, is the possibility to automatically generate tables of contents from a page based on headings and specially tagged divs.

[web2py] Re: Timing issue in web2py

2011-01-17 Thread Massimo Di Pierro
Could please open an issue on googlecode about this. Thanks Ondrej On Jan 17, 6:21 am, ondrejs ondrej.s...@gmail.com wrote: There appears to be a bug during startup. C:\Temp\web2pyweb2py.exe web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2011 Version 1.91.6

[web2py] Re: web2py social network designer/architect

2011-01-17 Thread Massimo Di Pierro
Hey! This should be on web2py.com/poweredby On Jan 17, 7:32 am, Bruno Rocha rochacbr...@gmail.com wrote: This is a social network built with web2py -http://tymr.com/ Bruno Rochahttp://about.me/rochacbruno/bio 2011/1/17 yarden...@gmail.com yarden...@gmail.com Hi, I am developing

[web2py] Re: Problem with one-to-many field

2011-01-17 Thread Massimo Di Pierro
Replace Field('firma', db.firma, requires=[IS_IN_DB(db, 'firma.id', '% (nume)s')]), with Field('firma', db.firma, requires=IS_IN_DB(db, 'firma.id', '% (nume)s')), or even better Field('firma', db.firma), the validator is automatic for reference fields. Field('firma', db.firma,

Re: [web2py] Re: Testing the new router

2011-01-17 Thread Jonathan Lundell
On Jan 16, 2011, at 5:44 PM, Matt wrote: Hi Jonathan, Thanks for your quick response. Yes the application is 'app'. Sure, that would be great. I've been looking at this, and a couple of things aren't making sense to me. Your configuration sounds fine, at least what I see of it. I've

[web2py] Re: web2py social network designer/architect

2011-01-17 Thread Anthony
On Monday, January 17, 2011 11:27:49 AM UTC-5, Massimo Di Pierro wrote: Hey! This should be on web2py.com/poweredby Yes, already added it a few days ago: http://web2py.com/poweredby/default/site_read/89

[web2py] Re: web2py social network designer/architect

2011-01-17 Thread Francisco Costa
Thank you all for the inclusion. I haven't made any promotion here, because tymr.com is a one man project for now, and i'm not yet fully satisfied with the result. I'm looking for some angel ou vc investment but the economy is not very good in Portugal at the moment. On Jan 17, 4:58 pm, Anthony

Re: [web2py] Re: Testing the new router

2011-01-17 Thread Martín Mulone
return LOAD('plugin_comments','comments.load',args=[tablename, record_id, page],ajax=True) File /home/martin/Repositorios/google_appengine/web2py/gluon/compileapp.py, line 145, in __call__ extension=extension) File /home/martin/Repositorios/google_appengine/web2py/gluon/html.py, line 262,

[web2py] regarding social networking...

2011-01-17 Thread mart
Hi, This seems to be a popular subject lately, including places that are closer to home... My 8 year old desperately wants to join in the fun, but daddy (me) can't think of anything else to say but go clean your room or go bug your sisters or something... we'll talk when you're 40 ! ;) . But,

Re: [web2py] Re: Testing the new router (attn Massimo)

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 9:38 AM, Martín Mulone wrote: return LOAD('plugin_comments','comments.load',args=[tablename, record_id, page],ajax=True) File /home/martin/Repositorios/google_appengine/web2py/gluon/compileapp.py, line 145, in __call__ extension=extension) File

Re: [web2py] Re: Testing the new router (attn Massimo)

2011-01-17 Thread Martín Mulone
yes is trunk 2011/1/17 Jonathan Lundell jlund...@pobox.com On Jan 17, 2011, at 9:38 AM, Martín Mulone wrote: return LOAD('plugin_comments','comments.load',args=[tablename, record_id, page],ajax=True) File /home/martin/Repositorios/google_appengine/web2py/gluon/compileapp.py, line 145,

Re: [web2py] Re: sqlform.factory, inserting variable number of records in an other table

2011-01-17 Thread Richard Vézina
Not exactly what I seaching for... As far as I understand... It only let you simplified code by isolated repetitive piece of model code. Since it's only create one table I can't have a normalized schema. I would do something like this :

Re: [web2py] regarding social networking...

2011-01-17 Thread Richard Vézina
What about Diaspora open source social network that give you control over your own private information?? Richard On Mon, Jan 17, 2011 at 12:49 PM, mart msenecal...@gmail.com wrote: Hi, This seems to be a popular subject lately, including places that are closer to home... My 8 year old

Re: [web2py] Re: Testing the new router (attn Massimo)

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 10:07 AM, Martín Mulone wrote: yes is trunk OK, either try the workaround (url=) or if you want to wait, we'll get LOAD fixed in the trunk (might take a day or two). 2011/1/17 Jonathan Lundell jlund...@pobox.com On Jan 17, 2011, at 9:38 AM, Martín Mulone wrote: return

Re: [web2py] Re: Testing the new router (attn Massimo)

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 10:07 AM, Martín Mulone wrote: yes is trunk If you'd like to try a likely fix to LOAD, you can make this change. In gluon.compileapp.LoadFactory, you'll see this line toward the end: url = url or html.URL(request.application,c,

[web2py] Re: regarding social networking...

2011-01-17 Thread mart
Just had a look, thanks for that :) Yes, pretty close, isn't it? only a few things i see: 1) it not web2py ;) - my daughter is a HUGE fan, I am teaching her basic programming, and the web app world, all @ 127.0.0.1 (although, i have MUCH to learn my self ;) 2)Since this is for my daughter, i

[web2py] Re: sqlform.factory, inserting variable number of records in an other table

2011-01-17 Thread mart
yes, I see what you mean... that is interesting... Now, you have me wanting to look into that too ;) Could be very useful as a plugin (or ready made snippet of code), you are right with that. Mart :) On Jan 17, 1:08 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: Not exactly what I

[web2py] today's rewrite patch

2011-01-17 Thread Jonathan Lundell
The rewrite patch that just appeared in the trunk doesn't make any substantive changes; it's just a code reorganization to make it more modular and (hopefully) a little more readable. If you're experimenting with the new routing, it'd be helpful for you to track the changes so line numbers and

Re: [web2py] looking for advice on validation

2011-01-17 Thread Alexandre Andrade
I use to validate date : data = IS_NULL_OR(IS_DATE(format=T('%d/%m/%Y'))) def make_data(field): if field != None: return field.strftime(%d/%m/%Y) and in the Field Field('data_cadastro', 'date',default=request.now,label='Data de Registro',requires=data,represent= lambda field:

Re: [web2py] Re: sqlform.factory, inserting variable number of records in an other table

2011-01-17 Thread Richard Vézina
There is a couple of little problem with the script : one have been corrected by someone post... Look at Raymond on 9/2/10 12:11 AM The other problem, actually not a problem, but it could be much more fun for user to be able to erase only the added line they mistake on... So having a button

Re: [web2py] Re: Testing the new router (attn Massimo)

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 10:49 AM, Jonathan Lundell wrote: On Jan 17, 2011, at 10:07 AM, Martín Mulone wrote: yes is trunk If you'd like to try a likely fix to LOAD, you can make this change. In gluon.compileapp.LoadFactory, you'll see this line toward the end: url = url or

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Massimo Di Pierro
Are you using connection pooling? Can I see the line db = DAL(...)? On Jan 16, 2:24 pm, VP vtp2...@gmail.com wrote: Kenneth (see post above) had the same problem with MySQL. On Jan 16, 3:55 am, ron_m ron.mco...@gmail.com wrote: Is there any chance to try another server based database

[web2py] doesn't represents in a string format

2011-01-17 Thread web2py noob
can you help me with this, please? i can't find why producto.subcategoria doesn't represents in a string format. in jqgrid and sqltable shows the producto.subcategoria reference like an integer and should be represented as %(nombre)s, but it doesn't... am I forgeting something? my model:

[web2py] [plugin] Plugin comments

2011-01-17 Thread Martin.Mulone
http://martin.tecnodoc.com.ar/myblog/2011/01/17/plugin-comments-for-web2py

Re: [web2py] Re: web2py social network designer/architect

2011-01-17 Thread Bruno Rocha
@francisco, Tymr should be worldwide events+places social network, don't be only in Portugal, I liked so much your idea, let me know if you want to expand the idea, may be we can work together, I can try something in Brazil. Bruno Rocha http://about.me/rochacbruno/bio 2011/1/17 Francisco Costa

Re: [web2py] [plugin] Plugin comments

2011-01-17 Thread Bruno Rocha
Great! I am testing, silently since you commited it in to bitbucket. Very nice plugin. Bruno Rocha http://about.me/rochacbruno/bio

[web2py] Re: [plugin] Plugin comments

2011-01-17 Thread Anthony
You should add it to http://www.web2py.com/plugins/. Actually, we should probably clean up the free plugins list -- maybe archive the outdated ones. On Monday, January 17, 2011 2:20:00 PM UTC-5, Martin.Mulone wrote: http://martin.tecnodoc.com.ar/myblog/2011/01/17/plugin-comments-for-web2py

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread VP
Here it is with private information replaced with generic information. if request.env.web2py_runtime_gae:# if running on Google App Engine db = DAL('gae') # connect to Google BigTable session.connect(request, response, db = db) # and store sessions

[web2py] Basic Python ignorance? simplejson throwing TypeError(key + repr(key) + is not a string)

2011-01-17 Thread Lorin Rivers
No doubt this is my base Python ignorance being the problem. I've made some progress on my pivot problem, using this recipe http://code.activestate.com/recipes/334695-pivotcrosstabdenormalization-of-a-normalized-list/ (actually, the improved one from the comments). I'm getting what I want now

[web2py] Re: web2py social network designer/architect

2011-01-17 Thread Francisco Costa
and it's not only in Portugal.. I will email you! On Jan 17, 7:21 pm, Bruno Rocha rochacbr...@gmail.com wrote: @francisco, Tymr should be worldwide events+places social network, don't be only in Portugal, I liked so much your idea, let me know if you want to expand the idea, may be we can work

Re: [web2py] social network idea

2011-01-17 Thread Lorin Rivers
Actually, Facebook also uses social graphs to identify people you may know. This part of it is a pretty tough problem, but there are some pretty sharp people on this list… On Jan 17, 2011, at 13:43 , Massimo Di Pierro wrote: Most social network assue you know who your friends are and allow you

[web2py] Re: social network idea

2011-01-17 Thread NetAdmin
On Jan 17, 1:43 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Most social network assue you know who your friends are and allow you to share info with your friends. How about the opposite? Something like a bookmarking app that tells me who my friends should be based on physical

Re: [web2py] social network idea

2011-01-17 Thread Albert Abril
IMHO, I think that the best feature of facebook is that you can share things (links, video, music), with a subgroup of friends. In example, you if you have a group of friends that you know that they love music, you share music videos with them. (and only with them). Another example, the familiar

Re: [web2py] Basic Python ignorance? simplejson throwing TypeError(key + repr(key) + is not a string)

2011-01-17 Thread Thadeus Burgess
Because its using a tuple as a dictionary key. Why not use the file I sent you the other day? -- Thadeus On Mon, Jan 17, 2011 at 1:41 PM, Lorin Rivers lriv...@mosasaur.com wrote: No doubt this is my base Python ignorance being the problem. I've made some progress on my pivot problem,

[web2py] Re: Plugin comments

2011-01-17 Thread Massimo Di Pierro
It would be great is somebody could improve the appliance app to handle plugin. Here is the source: http://www.web2py.com/appliances/static/web2py.app.appliances.w2p Massimo

[web2py] Re: doesn't represents in a string format

2011-01-17 Thread web2py noob
On 17 ene, 16:19, web2py noob web2py.n...@gmail.com wrote: can you help me with this, please? i can't find why producto.subcategoria doesn't represents in a string format. in jqgrid and sqltable shows the producto.subcategoria reference like an integer and should be represented as %(nombre)s,

Re: [web2py] Re: Plugin comments

2011-01-17 Thread Bruno Rocha
2011/1/17 Massimo Di Pierro massimo.dipie...@gmail.com It would be great is somebody could improve the appliance app to handle plugin. Here is the source: I am working on a new *web2pyslices* my idea besides the new layout is to index every kind of slice related do web2py. I am planning a

[web2py] Janrain Basic limited to 2500 users

2011-01-17 Thread Anthony
I'm not sure if this is a new limitation, but I just noticed that the free Basic Janrain service is limited to 2500 registered users ( http://www.janrain.com/products/engage/get-janrain-engage). Since the book is pushing Janrain as the easiest way to incorporate OpenID and OAuth (

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Massimo Di Pierro
You should really have db = DAL('postgres://name:password@localhost:5432/db',pool_size=20) The reason is that client-server databases may set a max to number of open connections and it takes time to perform the 3-way handshake to establish a new connection at every http request. Without pooling

Re: [web2py] Re: Plugin comments

2011-01-17 Thread Martín Mulone
I'm thinking to modified the exibhition app. With little improve we can adapt it. 2011/1/17 Massimo Di Pierro massimo.dipie...@gmail.com It would be great is somebody could improve the appliance app to handle plugin. Here is the source:

[web2py] Re: Table of Contents for plugin_wiki pages

2011-01-17 Thread blackthorne
Thank you, you made my code useless :) Anyway, have you thought about using something like this to feed a search engine? what about the soup.prettify to make the code well indented? Thanks On Jan 17, 4:25 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote:

Re: [web2py] Re: Recommended Payment Gateway (besides PayPal)

2011-01-17 Thread Jason Brower
But this is only going to work in GAE is that correct? On 01/17/2011 06:23 PM, Massimo Di Pierro wrote: http://web2py.appspot.com/plugin_checkout/default/checkout On Jan 17, 2:34 am, cjrhcaleb.hatti...@gmail.com wrote: I am looking for recommendations for payment gateways.I already know

[web2py] Re: social network idea

2011-01-17 Thread mart
I am mostly thinking of the kids and parents' paranoia (like mine ;) ), where they need to start with something that is like what everyone else is doing, but safely and securely... I still think that the younger crowd are overlooked and excluded from the good stuff (and they do get the good stuff

Re: [web2py] Basic Python ignorance? simplejson throwing TypeError(key + repr(key) + is not a string)

2011-01-17 Thread Jonathan Lundell
Your key is a tuple, which is ok in Python but not in JS, I think. On Jan 17, 2011, at 11:41 AM, Lorin Rivers lriv...@mosasaur.com wrote: No doubt this is my base Python ignorance being the problem. I've made some progress on my pivot problem, using this recipe

[web2py] Schema migration to GAE / Creating a Test Suite

2011-01-17 Thread johntynan
I have a web2py app that has been running very well on Google App Engine (which also contains actual client's data). However, when I first deployed this app, I did not realize that in order to backup and synchronize the data, I needed to include a modified_on and uuid field on all my models. I

Re: [web2py] Re: Plugin comments

2011-01-17 Thread Anthony
This would be fantastic. 'plugins' and 'applications' are obviously well-defined, but I wonder if 'snippets', 'tips', and 'recipes' are sufficiently distinct to warrant separate categories (i.e., it might be difficult to decide if something is a snippet, tip, or recipe, and the user looking

[web2py] Re: Is there a way to remove application name from URL()?

2011-01-17 Thread Bob
In attempt to get some response I'll try to clarify/simplify my question. After rewriting with routes.py I have my app accessible as: http://127.0.0.1/ But all the internal links, created with the URL() function come as: http://127.0.0.1/myapp/ And obviously they don't work. Is there no way

[web2py] Re: doesn't represents in a string format

2011-01-17 Thread howesc
with the latest version of web2py i have found that you have to use represent on the field as well. see my post here: https://groups.google.com/d/topic/web2py/dnqKwf9Zxv0/discussion i think it may be a bug though i'm not sure if the behavior is correct or not. cfh

[web2py] Re: Is there a way to remove application name from URL()?

2011-01-17 Thread howesc
i'm pretty sure there is a section in the book that covers this topic exactly. there is also new versions of routing since i last wrote this. anyhow, my routes info: routes_in = (('/admin(?Pf.*)', '/admin$f' ), #make the admin app work ('/','/ec'), #/ goes to the ec app

[web2py] Re: Recommended Payment Gateway (besides PayPal)

2011-01-17 Thread Massimo Di Pierro
with and without. On Jan 17, 2:35 pm, Jason Brower encomp...@gmail.com wrote: But this is only going to work in GAE is that correct? On 01/17/2011 06:23 PM, Massimo Di Pierro wrote: http://web2py.appspot.com/plugin_checkout/default/checkout On Jan 17, 2:34 am,

Re: [web2py] Re: Is there a way to remove application name from URL()?

2011-01-17 Thread David J.
The easy way is to use init as your application name; It uses that by default. HTH. On 1/17/11 4:11 PM, howesc wrote: i'm pretty sure there is a section in the book that covers this topic exactly. there is also new versions of routing since i last wrote this. anyhow, my routes info:

[web2py] Re: social network idea

2011-01-17 Thread Massimo Di Pierro
I agree this does not address your issue. On Jan 17, 2:44 pm, mart msenecal...@gmail.com wrote: I am mostly thinking of the kids and parents' paranoia (like mine ;) ), where they need to start with something that is like what everyone else is doing, but safely and securely... I still think

[web2py] Re: doesn't represents in a string format

2011-01-17 Thread Massimo Di Pierro
If there was a change of behavior can you please post code that has changed behavior? If this happened was a bug not intentional. There was a change of behavior in appadmin and that was intentional. On Jan 17, 3:07 pm, howesc how...@umich.edu wrote: with the latest version of web2py i have found

[web2py] Re: TAG name and XML: maybe a solution?

2011-01-17 Thread carlo
Massimo, it works. I will post a link to my web2py app which converts Excel worksheets in xml files as soon as published. Now I am just curious to look into your changes in html.py..Thanks carlo On 17 Gen, 17:33, Massimo Di Pierro massimo.dipie...@gmail.com wrote: check trunk, please. I did it

[web2py] Typo in compile_app() function in admin/controllers/default.py

2011-01-17 Thread anton.mue...@googlemail.com
Hello everybody, a wrongly set closing bracket seems to prevent output of the code in case of failed compilation of an application. In the function compile_app() in the file applications/admin/ controllers/default.py, line 266/267 truncate the function T(...) after 'app:'), and let CODE(c) be an

[web2py] Re: social network idea

2011-01-17 Thread mart
How about something for the tinkers? Something like one of those super malls but for social networking. A place as varied in its members as it is in content? For example, assuming that life is more than just being about sharing pictures and one-liners on somebody's wall (not that there's anything

[web2py] Unable to compile application with dynamic {{include ...}} directives

2011-01-17 Thread anton.mue...@googlemail.com
Hello Everybody, when trying to compile an application an error occurs, which seems to be caused by dynamic arguments of {{include ...}} statements within a view template e.g.: {{if session.language!=None:}} {{include 'pageheader_%s.html' % session.language}} {{else:}} {{include

Re: [web2py] Re: Is there a way to remove application name from URL()?

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 1:06 PM, Bob wrote: In attempt to get some response I'll try to clarify/simplify my question. After rewriting with routes.py I have my app accessible as: http://127.0.0.1/ But all the internal links, created with the URL() function come as:

[web2py] Problems with the list Appliances in the Web2py site

2011-01-17 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, When I try to load some of the pages of the appliances I get messages like this on several of them: http://web2py.com/appliances/default/show/31 Internal error Ticket issued:

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread VP
Thanks. I fixed this. The performance seems to be a little better (requests/second), but the error is still there. On Jan 17, 2:20 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: You should really have db = DAL('postgres://name:password@localhost:5432/db',pool_size=20) The reason

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Michael Toomim
I have pool_size=100, and get the error. On Jan 17, 12:20 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: You should really have db = DAL('postgres://name:password@localhost:5432/db',pool_size=20) The reason is that client-server databases may set a max to number of open connections

[web2py] Re: social network idea

2011-01-17 Thread Massimo Di Pierro
What I proposed allows you post links and organize them. Why should the social network handle content? I can post a video on viemo,bookmark it with my network and find out who else is interested in it. I like the idea of being able to handle groups of users though. Facebook does it. In a sense a

[web2py] Re: Typo in compile_app() function in admin/controllers/default.py

2011-01-17 Thread Massimo Di Pierro
thanks. fixing in trunk. On Jan 17, 4:02 pm, anton.mue...@googlemail.com anton.mue...@googlemail.com wrote: Hello everybody, a wrongly set closing bracket seems to prevent output of the code in case of failed compilation of an application. In the function compile_app() in the file

[web2py] Re: Unable to compile application with dynamic {{include ...}} directives

2011-01-17 Thread Massimo Di Pierro
this is not possible because includes and extends must be resolved before compilation, not at runtime On Jan 17, 4:44 pm, anton.mue...@googlemail.com anton.mue...@googlemail.com wrote: Hello Everybody, when trying to compile an application an error occurs, which seems to be caused by dynamic

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Massimo Di Pierro
Can you share any more info you have about the errors? Does it happen with every action? Is there one in particular? What does it do? Do you use session? Do you use cache? Can you show us any code? Can you build a minimalist app to reproduce it? Are there a minimum number of steps to reproduce

[web2py] Re: Problems with the list Appliances in the Web2py site

2011-01-17 Thread Massimo Di Pierro
oops. sorry fixed. My fault. I Changed something and saved incomplete. On Jan 17, 4:58 pm, Offray Vladimir Luna Cárdenas off...@riseup.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, When I try to load some of the pages of the appliances I get messages like this on

Re: [web2py] Re: Testing the new router

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 9:38 AM, Martín Mulone wrote: return LOAD('plugin_comments','comments.load',args=[tablename, record_id, page],ajax=True) File /home/martin/Repositorios/google_appengine/web2py/gluon/compileapp.py, line 145, in __call__ extension=extension) File

[web2py] Re: upload widgets problem with nullable compound validators

2011-01-17 Thread kenji4569
Thanks for your support! Maybe the adopted one is much consistent. On 1月18日, 午前1:21, Massimo Di Pierro massimo.dipie...@gmail.com wrote: IS_NULL_OR([IS_XXX(..), IS_YYY(..), ..]) in trunk now. Good suggestion although I think an internal refactoring is in order. On Jan 16, 10:57 pm,

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Michael Toomim
The problem for me is that this occurs on a webapp used by mechanical turk, and it fails when I have hundreds of mechanical turkers using my app... which only happens when I pay them hundreds of dollars. So it's hard to reproduce right now without hundreds of dollars. I am excited to try using

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Massimo Di Pierro
How old web2py? We have had bugs in the past that may cause your problem. You should try upgrade. Massimo On Jan 17, 6:58 pm, Michael Toomim too...@gmail.com wrote: The problem for me is that this occurs on a webapp used by mechanical turk, and it fails when I have hundreds of mechanical

[web2py] Re: Apache, Wsgi problem

2011-01-17 Thread Michael Toomim
1.74.5. I will upgrade when I can reproduce the problem locally. On Jan 17, 5:13 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: How old web2py? We have had bugs in the past that may cause your problem. You should try upgrade. Massimo On Jan 17, 6:58 pm, Michael Toomim

[web2py] Re: Testing the new router

2011-01-17 Thread Matt
Hi Jonathan, As it turns out I'd mistakenly left a handler in my app.yaml that was causing the problem. Really sorry to have wasted your time on this. Otherwise the new routing code seems to be working really well. Much simpler which is fantastic! Thanks again for your help, Matt On Jan 18,

[web2py] Need web2py developer/consultant

2011-01-17 Thread Anand Vaidya
My friend needs a web2py developer/consultant for a project. The person must be located in Singapore to participate in their brainstorming etc. (and since I am on the move, I am unable to do it) Any one interested, please contact Daniel by email: yarden...@gmail.com Regards Anand

[web2py] Need web2py developer/consultant

2011-01-17 Thread Anand Vaidya
My friend needs a web2py proficient consultant/dev to handle the web2py portion of the project. The person must be located in Singapore (or maybe Malaysia and travel to SG) to participate in discussions etc. If you are interested please contact Dennis directly: yarden...@gmail.com

[web2py] Re: web2py tutorial at PyCon 2011 - important

2011-01-17 Thread Anthony
Note, the PyCon early bird prices have been extended to Jan. 25, so it's not too late to get the lower rates. But apparently it's filling up fast (the conference overall, not necessarily the web2py tutorial), so don't wait.

[web2py] Re: account for each user

2011-01-17 Thread Rick
I found that this line is the error-prone one: records = db(auth.settings.table_user==auth.user).select(db.day.theauth, distinct=True, orderby=db.day.thedate) ...I tested the next version too, but it also gave an error: records = db(db.day.theauth==auth.user).select(db.day.ALL,

Re: [web2py] Re: Testing the new router

2011-01-17 Thread Jonathan Lundell
On Jan 17, 2011, at 6:03 PM, Matt wrote: As it turns out I'd mistakenly left a handler in my app.yaml that was causing the problem. Really sorry to have wasted your time on this. Otherwise the new routing code seems to be working really well. Much simpler which is fantastic! Don't

Re: [web2py] social network idea

2011-01-17 Thread Offray Vladimir Luna Cárdenas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, This discussion is in perfect timing for me. I'm coming back to this community and still I'm learning the basics, but I have already thought some project to make in order to learn web2py that are similar with this idea. I would talk about this

[web2py] Re: doesn't represents in a string format

2011-01-17 Thread howesc
nope, i did a test and confirmed that this behavior is the same for older and newer versions of web2py. so to get the name field from the referenced table to show, you need to add a represent parameter to your field construction: db.define_table('stuff', Field('name', 'string',

[web2py] Re: SQLFORM and read-only references

2011-01-17 Thread howesc
it seems that upon further testing this is not a problem. i don't know what i was doing when this showed up. sorry for the noise. cfh

  1   2   >