Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread Bruno Rocha
Look what i am talking about, in action -> http://www.pyforum.org/pyforum/default/view_topic/507 2010/7/12 Bruno Rocha > PHP manual is great, I always use, the information are easy to find, and > connections with related subjects are simple, one advantage is that it was > written in a way that a

Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread Bruno Rocha
PHP manual is great, I always use, the information are easy to find, and connections with related subjects are simple, one advantage is that it was written in a way that allows various applications, badges, widgets etc using your content I think that information in the PHP manual is organized much

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread weheh
Massimo, I couldn't agree more. This is not a tech issue. It's an issue of resolve by the community to help build doc. I do not wish to make more work for you. I may be naive, but I hope for the opposite -- to distribute the doc burden more on the community. The existing doc v2 is a major improvem

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread mdipierro
This issue issue comes up regularly and my answer does not change. I very much welcome a community effort to have a better documentation. It was attempted many times before and many times it has failed. It failed because people think it is a technological issue (which wiki do we use?) but it is no

[web2py] Re: may be a bug, fail after upgrade

2010-07-11 Thread mdipierro
Ignore my previous comments. access_types and public_fields are not web2py variables. They are KPAX specific variables. Are you modifying KPAX? Massimo On 11 Lug, 13:18, mdipierro wrote: > db.users_group.access_types=['no','view','join'] > db.users_group.public_fields=['company','name','descri

[web2py] Re: Editable jqgrid

2010-07-11 Thread Kenneth
Thanks Dieter, Enter is about the only key that I have not pressed. This makes the jqgrid useless for my application, I had hoped for an grid you can edit anywhere on the grid and everything is either auto saved or saved when you press a Save key. Then I´ll just have to continue with my selfmade

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread weheh
Massimo, do you think 5M pageviews would be exceeded in any month for the time being? ra3don: I like your idea of a download version. If we pack all into a .w2p then the downloadable reference manual would be implemented. Then you could install it on your local machine and access it later, even if

Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread rochacbruno
What about having the reference manual divided in 9 apps. The limit is by app, and a single account can create 9 apps. One chapter per app. Sent from my iPhone On 11/07/2010, at 18:56, ra3don wrote: > One other thing we might consider, as Kenneth said 5 million monthly > page views, we could

[web2py] Re: Editable jqgrid

2010-07-11 Thread AsmanCom
Hi, you have to press enter when you have finished your changes. Dieter Asman On 11 Jul., 22:45, Kenneth wrote: > Hello, > > I´m trying to make a editable jqgrid or something like a editable > jqgrid. It doesn´t have to be a jqgrid. > > I have downloaded the plugin from Eban Software but can´t

[web2py] Re: may be a bug, fail after upgrade

2010-07-11 Thread Frank
after change the db.users_group I get this error in 1.79.2, Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 178, in restricted exec ccode in environment File "C:/web2py/applications/nano/models/db.py", line 269, in db.users_group.access_types.requires=IS

[web2py] Re: translation data in a database

2010-07-11 Thread mdipierro
My advice it keep using the web2py translation but create a database copy and work on it. This may be useful web2py/scripts/sync_languages.py On 11 Lug, 17:16, max wrote: > thanks for the reply. > I have lots of small data tables, where i  have the translations. They > are really a lot and I hand

[web2py] Re: translation data in a database

2010-07-11 Thread max
thanks for the reply. I have lots of small data tables, where i have the translations. They are really a lot and I handle 5 langauges simmultaneously. I have to add new words often and in the database i can add them once and then it is ok. but in the texts i have to write them manually and it is

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread ra3don
One other thing we might consider, as Kenneth said 5 million monthly page views, we could cut that by providing a download version of the reference manual, so that us that frequent it aren't racking up on the page views. On Jul 11, 8:39 am, Kenneth wrote: > I´m intrested in helping setting up a r

[web2py] Editable jqgrid

2010-07-11 Thread Kenneth
Hello, I´m trying to make a editable jqgrid or something like a editable jqgrid. It doesn´t have to be a jqgrid. I have downloaded the plugin from Eban Software but can´t get it to work. If I edit a row in the grid it doesn´t get saved. Same if I go to http://app.ebansoftware.net/editable_jqgrid/

[web2py] GAE/Jython

2010-07-11 Thread NickFranceschina
anyone running Web2py with Jython on GAE? just wondering...

[web2py] Re: cube2py

2010-07-11 Thread JmiXIII
Ok I was wondering if I missed something. Sorry I'm not a good hacker, but I'll try to patch it On 11 juil, 20:21, mdipierro wrote: > On 11 Lug, 09:29, JmiXIII wrote: > > > Hello, > > > I've just tried to import plugin_wiki in my app. > > It seems to work nice and I think it will help me a

[web2py] Re: IS_IMAGE() broke?

2010-07-11 Thread Rob
I just recently added: db.Item.image.requires = IS_IMAGE() The records that existed prior to adding this line does not obey the IS_IMAGE() (ie: they still allow me to upload a PDF). All new records created DO work - they force me to select an image or else they show an error. steps to reproduce

[web2py] Re: IS_IMAGE() broke?

2010-07-11 Thread mdipierro
Please tell us more. When do you get an error? What is the error? On 11 Lug, 11:57, Rob wrote: > This issue only happens for records that were created before I added > the .requires fields.  Error handling on new records works as > expected...  so... is it still a bug? > > On Jul 11, 9:15 am, Rob

[web2py] Re: submit many forms

2010-07-11 Thread mdipierro
something like this? submit all On 11 Lug, 10:56, Rob wrote: > http://www.9lessons.info/2009/06/submit-multiple-forms-jquery-ajax.html > that might be better?  apparently the issue is somewhat painful... > > On Jul 11, 7:02 am, Rick wrote: > > > Hi, > > > Let's say that there are a number of fo

[web2py] Re: cube2py

2010-07-11 Thread mdipierro
On 11 Lug, 09:29, JmiXIII wrote: > Hello, > > I've just tried to import plugin_wiki in my app. > It seems to work nice and I think it will help me a lot. > > Yet I've tried Crud via ``create. and list via ``jqgrid... > * Would it be possible to have a full Crud interface with the jqgrid > (I

[web2py] Re: may be a bug, fail after upgrade

2010-07-11 Thread mdipierro
db.users_group.access_types=['no','view','join'] db.users_group.public_fields=['company','name','description','open'] should be db.users_group.access_types.requires=IS_IN_SET(['no','view','join']) db.users_group.public_fields.requires=IS_IN_SET(['company','name','description','open']) On 11 Lug,

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-11 Thread Michele Comitini
I suspect this is the GIL causing troubles with Rocket. I read http://packages.python.org/rocket/usage.html#architecture-considerations It seems that Rocket's people insist on using threading vs forking: this could be a major problem because of CPython's GIL. IMHO such implementation urges a mig

[web2py] Re: Can not send verification email

2010-07-11 Thread MikeEllis
Solved, or at least hacked well enough for the time being :-) --enable_sendmail did the trick. It needs to be entered in the app launch settings in the GAE Launcher: * stop the app * double-click app in listing * enter --enable_sendmail in the Launcher settings "extra flags" field * restart the

[web2py] Re: IS_IMAGE() broke?

2010-07-11 Thread Rob
This issue only happens for records that were created before I added the .requires fields. Error handling on new records works as expected... so... is it still a bug? On Jul 11, 9:15 am, Rob wrote: > db.define_table('Category', >                 Field('name')) > > db.define_table('Item', >    

[web2py] Re: Can not send verification email

2010-07-11 Thread MikeEllis
Solved, or at least hacked well enough for the time being :-) --enable_sendmail did the trick. It needs to be entered in the app settings in the GAE Launcher: * stop the app * double-click app in listing * enter --enable_sendmail in listing Here's the blog post that put me on the right track: h

[web2py] Re: Can not send verification email

2010-07-11 Thread MikeEllis
I just modified my tools.py as follows: elif self.settings.server == 'gae': logging.warn("using gae mail server") from google.appengine.api import mail attachments = attachments and [(a.my_filename,a.my_payload) for a in attachments]

[web2py] IS_IMAGE() broke?

2010-07-11 Thread Rob
db.define_table('Category', Field('name')) db.define_table('Item', Field('category', db.Category), Field('description'), Field('need', 'boolean'), Field('image', 'upload')) db.Item.category.requires = IS_IN_DB(db, db.

[web2py] Re: submit many forms

2010-07-11 Thread Rob
http://www.9lessons.info/2009/06/submit-multiple-forms-jquery-ajax.html that might be better? apparently the issue is somewhat painful... On Jul 11, 7:02 am, Rick wrote: > Hi, > > Let's say that there are a number of forms on the same page. There > would be no problem to put a submit button afte

[web2py] Re: submit many forms

2010-07-11 Thread Rob
after a quick google search: http://www.codetoad.com/forum/15_24387.asp Looks like it can easily be done with JS. Good luck! On Jul 11, 7:02 am, Rick wrote: > Hi, > > Let's say that there are a number of forms on the same page. There > would be no problem to put a submit button after each of th

[web2py] cube2py

2010-07-11 Thread JmiXIII
Hello, I've just tried to import plugin_wiki in my app. It seems to work nice and I think it will help me a lot. Yet I've tried Crud via ``create. and list via ``jqgrid... * Would it be possible to have a full Crud interface with the jqgrid (I've noticed that create, del are set to false in p

[web2py] submit many forms

2010-07-11 Thread Rick
Hi, Let's say that there are a number of forms on the same page. There would be no problem to put a submit button after each of them, but how to submit all forms at the same time with one single submit button? Thanks in advance for help!

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-11 Thread Kenneth
I´m intrested in helping setting up a reference manual, I have never done anthing like this before so help is needed, I´m neither so deep into web2py yet that I know where to start. I guess we need to start and agree on three things: a) type of manual, wiki or "php forum style". I think wiki soun

Re: [web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-11 Thread Phyo Arkar
Thats works better! with normal form=auth() it append /login argument at every page making request.args(0) fail. thanks alot massimo! On Sun, Jul 11, 2010 at 6:44 AM, mdipierro wrote: > You did not say so before. Forget the action. In views.html: > > {if auth.user:}} > {{=T('Welcome %s',auth.

[web2py] Re: GAE Launcher error trying to import from _ctypes

2010-07-11 Thread MikeEllis
The thread on the googleappengine site contains posts from a google employee who seems to be responsible for the issue. He doesn't explicitly say so, but I get the impression they *intend* to support 2.6 but, for whatever reason, haven't committed a fix for this particular problem on OS X. On Jul

[web2py] Re: translation data in a database

2010-07-11 Thread Kenneth
The reason for not using a database is speed, I think. It is much faster to read a text file than read the texts from a database. What kind of a problem do you have with the text files? Kenneth On Jul 11, 9:59 am, max wrote: > I am  writing a enterprise multi-linugual web application  using >

[web2py] State of the DAL rewrite

2010-07-11 Thread Pystar
I would like to know the status of the DAL rewrite in respect to NoSQL support. How can I help in the work being done?

[web2py] Re: markmin, t2, t3, cube9 etc. (important update)

2010-07-11 Thread aure
Comment below On Jul 10, 9:32 am, mdipierro wrote: > Answers below > > On 9 Lug, 21:42, Scott wrote: > > > I think this should replace the Welcome application and the > > documentation should be integrated into the web2py book.  I'm > > impressed with the complete rewrite!  I like the way that y

[web2py] Re: may be a bug, fail after upgrade

2010-07-11 Thread Frank
my model for users_group db.define_table('users_group', Field('name'), Field('description','text',default='No group description'), Field('owner',db.auth_user), Field('company',db.auth_user), Field('open','boolean',default=False), Field('created_on','datetime',default=timestamp))

[web2py] Re: may be a bug, fail after upgrade

2010-07-11 Thread Frank
I found db.auth_event in admin in my program have same problem in 1.79.2 while not problem in 1.76.4 and got same error message as following. Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 178, in restricted exec ccode in environment File "C:/web2py/applicati

[web2py] Re: crud.update not updating image correctly?

2010-07-11 Thread Rob
FYI, the problem also appears when using SQLFORM. Your fix works when using crud - slightly modified: form = crud.update(db.Item, item, next=URL(r=request, args=item)) This fix doesn't appear to work for SQLFORM. On Jul 10, 11:46 pm, mdipierro wrote: > form = crud.update(db.Item, item,next=URL(

[web2py] translation data in a database

2010-07-11 Thread max
I am writing a enterprise multi-linugual web application using web2py. I am having a hard time converting the csv files, language files in the text format. Is there any way that I can save the translation data in a database. thanks a lot.