[web2py:18482] Re: Full documentation

2009-03-23 Thread cjparsons
A lot of free documentation is available, including example code in the posts on this mailing list. The web2py book is very reasonably priced, especially in PDF form. As I understand it, the documentation is in the form of a proper publication because Massimo has developed web2py in the context o

[web2py:18480] Re: How to hide the console window?

2009-03-23 Thread cjparsons
I have renamed web2py.py to web2py.pyw and then start web2py using a shortcut with target set to \web2py.pyw -t You need to have .pyw appropriately set up as a file type in windows explorer for this to work I think. I had installed a windows distribution of Python before I had web2py, and I the in

[web2py:18481] jquery jqGrid JSON url problem

2009-03-23 Thread ed
Hi, I've been trying to execute a jquery jqGrid url to return JSON data but failed. Only a blank table with exact headings is displayed. I tried changing the url several times but no data is displayed. The following is part of the code. -

[web2py:18483] Re: Qusestion about the book?

2009-03-23 Thread Baron
> I would stay away from this kind of posting. At worst, you are presuming a > legal position on how to take copyrighted material without consequences. Perhaps Massimo could step in to clarify his position to prevent speculation. So far I've read that he needs to publish for the university, but

[web2py:18484] Re: How to hide the console window?

2009-03-23 Thread Iceberg
Thanks Chris but that is not the case. I already know the py and pyw difference but that only works when you have python distribution installed on the target PC. What I am talking about is trying to achieve same pyw effect on a PC with no python available but only web2py_win package is installed.

[web2py:18485] Change Control Process for web2py

2009-03-23 Thread dbb
All: It is very important to have change control process for web2py, this change control process will include : - formal submission of idea or improvement using a form - voting on the idea or improvement with supporting reasonings - incorporating the the idea or improvements

[web2py:18486] problems with a query

2009-03-23 Thread Marco Prosperi
hi all, I would like to make a query to fetch records in reverse order. The manual says to use ˜ by I get this error (everything works if a eliminate ˜). On web2py (maybe not after pasting the message in googlegroups) the arrow indicating the problems point to ˜. Am I missing something or is a pro

[web2py:18487] under load

2009-03-23 Thread AchipA
I have an interesting situation, where while in a Apache/WSGI 1 process environment, running under high load (which makes this a likely race condition/lock issue) web2py just explodes: [Mon Mar 23 14:19:44 2009] [error] Traceback (most recent call last): [Mon Mar 23 14:19:44 2009] [error] File

[web2py:18488] Re: Web2py in Debug mode ?

2009-03-23 Thread Kent Borg
DenesL wrote: > Despite its misleading name Winpdb is a platform independent GPL > [...] > In a hurry? just read: > http://groups.google.com/group/web2py/msg/ee46125b7c93fdd4 > In quickly trying it, it seems to work great! Thanks, -kb --~--~-~--~~~---~--~-

[web2py:18489] html META error

2009-03-23 Thread notabene
META('',_http-equiv='content-type',_content='text/html', _charset='utf-8') or TAG.meta('',_http-equiv='content-type',_content='text/html', _charset='utf-8') or META(_charset='utf-8') returns SyntaxError: tags cannot have components --~--~-~--~~~---~--~~ You recei

[web2py:18490] Re: Full documentation

2009-03-23 Thread Tito Garrido
Alvaro you should check http://mdp.cti.depaul.edu/AlterEgo There is some documentation there... On Mon, Mar 23, 2009 at 6:33 AM, cjparsons wrote: > > A lot of free documentation is available, including example code in > the posts on this mailing list. > > The web2py book is very reasonably price

[web2py:18491] Re: jquery jqGrid JSON url problem

2009-03-23 Thread Mike
Hey Ed, We're using jqGrid with XML data. Something thoughts (if you haven't tried them already): 1.) Try your grid with the FireBug plugin for FireFox and look at the response being returned to the grid. I've had web2py tickets thown at that point and the only to see it is via Firebug. Or just

[web2py:18492] Re: Full documentation

2009-03-23 Thread dbb
That is why like all other new applications ( framework)let us pay membership fee for web2py to grow and be a household name. The fee will help take some of the trivial work to a payed student and Massimo be available to the difficult task what is ahead. I know Yaro and others, whom I am learning

[web2py:18493] Re: html META error

2009-03-23 Thread DenesL
Try: META(**{'_http-equiv':'content-type','_content':'text/ html','_charset':'utf-8'}) note: you need the dictionary syntax since _http-equiv is an invalid identifier in Python and can not be used as a keyword argument. --~--~-~--~~~---~--~~ You received this me

[web2py:18494] Re: html META error

2009-03-23 Thread notabene
Thats it - Thank You! On 23 Mar., 18:57, DenesL wrote: > Try: > > META(**{'_http-equiv':'content-type','_content':'text/ > html','_charset':'utf-8'}) > > note: you need the dictionary syntax since _http-equiv is an invalid > identifier in Python and can not be used as a keyword argument. --~--~-

[web2py:18495] Re: problems with a query

2009-03-23 Thread Hilbert Markus
hi, this looks like a scripting error to me. i'm not a web2py-developer right now, but have some knowledge on python... the linebreak after select makes the mess: for i,r in enumerate(db().select(db.allineamento_erp.data_allineamento, or

[web2py:18496] Re: How to hide the console window?

2009-03-23 Thread Fran
On Mar 22, 3:44 am, Iceberg wrote: > I am using web2py 's windows distribution. Is there some way to hide > the console window (a.k.a. the black dos window) in which web2py is > running? I run as a service using: http://mdp.cti.depaul.edu/AlterEgo/default/show/77 I get no console window. PS Th

[web2py:18497] Re: problems with a query

2009-03-23 Thread Marco Prosperi
thanks for the time you spent on my question but I don't have any linebreak in my code after 'select'. It appears in my post after copying the error message from web2py and pasting it to googlegroups. If I cancel the character ˜ everything works fine in my application Marco On 23 Mar, 19:14, H

[web2py:18498] Re: problems with a query

2009-03-23 Thread Yarko Tymciurak
Hello Marco - Try this and tell us what you get: $ python web2py.py -S crm -M >>> result=db().select( db.allineamento_erp.data_allineamento, \ orderby=˜db.allineamento_erp.data_allineamento) >>> str(result) On Mon, Mar 23, 2009 at 4:29 PM, Marco Prosperi wrote: > > thanks for the time yo

[web2py:18499] Re: auth questions

2009-03-23 Thread Fran
On Mar 23, 3:27 am, ctalley wrote: > There's still one thing I don't get.  "Table Name:" in the appadmin > form is a drop down list and the only tables selectable from the list > are auth_user, auth_group, auth_membership, and auth_permission.  To > me, this implied that it was only possible to s

[web2py:18500] Re: Change Control Process for web2py

2009-03-23 Thread Anand Vaidya
Hi dbb, You bring up several good ideas... I have some (hopefully useful) comments below: On Mar 23, 9:44 pm, dbb wrote: > All: > > It is very important to have change control process for web2py, this > change control process  will include : >        - formal submission of idea or improvement u

[web2py:18501] balancing

2009-03-23 Thread desfrenes
hi web2py people, I'm still balancing between Django and Web2py, althought I think I start to like web2py more and more because it really eases the process of writing an app. I tried to expose my views in my blog, if any french-spoken is interested: http://www.desfrenes.com/blog/post/quel-framew

[web2py:18502] Multi Column Unique Key, how to code best in web2py?

2009-03-23 Thread Hans
Massimo and web2py.experts, After initial successful tests with web2py we are trying to get the first 'little' enterprise application done with it. And like enterprises do we need to life with extensive use of multi column unique keys. Despite reading through various threads on this we could not

[web2py:18503] Re: How to hide the console window?

2009-03-23 Thread Iceberg
On Mar24, 5:20am, Fran wrote: > On Mar 22, 3:44 am, Iceberg wrote: > > > I am using web2py 's windows distribution. Is there some way to hide > > the console window (a.k.a. the black dos window) in which web2py is > > running? > > I run as a service using:http://mdp.cti.depaul.edu/AlterEgo/defau

[web2py:18504] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-23 Thread Yarko Tymciurak
Hello Hans - On Mon, Mar 23, 2009 at 5:23 PM, Hans < johann.scheibelho...@easytouch-edv.com> wrote: > > Massimo and web2py.experts, > > After initial successful tests with web2py we are trying to get the > first 'little' enterprise application done with it. And like > enterprises do we need to li

[web2py:18505] Auth Wiki example

2009-03-23 Thread Oscar
Hi all, I followed the example posted at the WiKi about auth, I extended Auth class with: db.py -> class MyAuth(Auth): def __init__(self, environment, T, db = None): Auth.__init__(self, environment, db) self.messages.logged_in = T("Logged in")

[web2py:18506] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-23 Thread Yarko Tymciurak
On Mon, Mar 23, 2009 at 9:17 PM, Yarko Tymciurak wrote: > Hello Hans - > *snip* > You probably mean to have these be a table holding many-to-many > relationships. If so, these should be references (that is, they should > implement foreign keys), something like this: > > db.define_table('shapecol

[web2py:18507] MVC question

2009-03-23 Thread Joseph Jude
All, Just a question on the best practice - in terms of development & continuous maintenance. web2py (like django) allows to define forms in controller itself. And it allows having 'business logic' embedded in views too. To bring out the application quickly, such mixing is fine. But what about lon