[web2py:10914] Re: thanks you page

2008-10-31 Thread Phyo Arkar
Dear Massimo! Thanks , I am very happy for contributing in web2py community. WIth all cool people. Name : Phyo Arkar Lwin E-mail : [EMAIL PROTECTED] (personal) : [EMAIL PROTECTED] (please post this one) Can i give my full site Link? (www.star-nix.com) main contribs - Cherokee + web2p

[web2py:10913] Re: Error in 'admin' application

2008-10-31 Thread yarko
sorry - clearly these are 2 separate issues sessions, and .svn So I checked 2 more things: in applications, examples, giftshop, and welcome (at least in my install) all have errors/.svn - BUT cleanups works fine for those apps (in mine, I only had real errors in giftshop, and a cleanu

[web2py:10912] Re: Error in 'admin' application

2008-10-31 Thread yarko
checking everything _but_ the .svn directory when viewing admin / errors, and then "remove all checked" worked fine, so I wonder if this all of these have to do with permissions (read only directory .svn) on windows... Should probably skip .svn, .bzr, and .hg (at least ... any others? What does

[web2py:10911] Re: Error in 'admin' application

2008-10-31 Thread yarko
Also, in admin app, view errors, check all - and try to delete all checked results in this ticket, and looking at the .svn/entries file, I see it's empty (the directory is the file versioned) so maybe some special case for the .svn (but what about .bzr, etc, etc.?) Something to think about...

[web2py:10910] Re: Error in 'admin' application

2008-10-31 Thread yarko
I can reproduce this in the latest SVN snapshot - here's the ticket issued: Error ticket for "admin" Ticket 127.0.0.1.2008-10-31.17-30-23.564e6a3d-b43b-40d0- b729-5713c481786f Error traceback 1.Traceback (most recent call last): 2. File "D:\Workspace\Web2Py\web2py-trunk\gluon\re

[web2py:10909] Re: Integration with Appcelerator

2008-10-31 Thread achipa
Yarko, I don't think our opinions are that much different, we describe more or less the same thing with a grain of perspective and terminology difference. On Oct 31, 10:39 pm, "Yarko T" <[EMAIL PROTECTED]> wrote: > I must not have been clear - technology is completely irrelevant as far as > descr

[web2py:10908] Re: Import db model from existing database

2008-10-31 Thread yarko
Looking forward to your tool(s)... Perhaps we could include them in web2py admin ? On Oct 31, 4:50 pm, michal niklas <[EMAIL PROTECTED]> wrote: > mdipierro <[EMAIL PROTECTED]> wrote: > > No you will have to type the table definitions > > > db.define_table('tablename',...fields...,migrate=False)

[web2py:10907] autoselect admin password box

2008-10-31 Thread Wes James
I like it when an input box is already selected on a page with a form when first loaded so I did this with the admin password form. in admin/views/layout.html I changed to then in admin/views/default/index.html I changed to I'm not sure how else you would do this since the layout

[web2py:10906] Re: Import db model from existing database

2008-10-31 Thread yarko
Great links, Michal - thanks! On Oct 31, 4:50 pm, michal niklas <[EMAIL PROTECTED]> wrote: > mdipierro <[EMAIL PROTECTED]> wrote: > > No you will have to type the table definitions > > > db.define_table('tablename',...fields...,migrate=False) > > Thanks for all replies. > I think I will create su

[web2py:10905] Re: Import db model from existing database

2008-10-31 Thread michal niklas
mdipierro <[EMAIL PROTECTED]> wrote: > No you will have to type the table definitions > > db.define_table('tablename',...fields...,migrate=False) Thanks for all replies. I think I will create such tool. Some weeks ago I created tool to retrive Oracle schema, and I think it will be base to create

[web2py:10904] Re: Integration with Appcelerator

2008-10-31 Thread Yarko T
I must not have been clear - technology is completely irrelevant as far as describing a client's problem domain (even if part of the problem is an existing solution, that still is not part of the client's problem domain, rather part of a mismatched solution)... and a client need know nothing abou

[web2py:10903] Re: Error in 'admin' application

2008-10-31 Thread mdipierro
ok. I will try reproduce the problem. On Oct 31, 4:32 pm, Micha? Niklas <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > mdipierro pisze: > > > Looking into this again > > > the problem voltron refers to was fixed. I forgot about it. > > > In michal case the pr

[web2py:10902] Re: Integration with Appcelerator

2008-10-31 Thread achipa
Now with my little task dispatcher / cron I have only one beef with point 4 - lack of index control, as I do consider indexes an integral part or the database design / model if we are talking about large- scale deployment. On Oct 31, 10:19 pm, mdipierro <[EMAIL PROTECTED]> wrote: > answers for we

[web2py:10901] Re: Integration with Appcelerator

2008-10-31 Thread mdipierro
I think we just just continue the conversation on a different topic. ;-) On Oct 31, 4:27 pm, achipa <[EMAIL PROTECTED]> wrote: > Okay, now we are not even in generic software / ISV land but generic > solutions talk. Which is cool, but a bit irrelevant unless you're > doing things on the scale tha

[web2py:10900] Re: Error in 'admin' application

2008-10-31 Thread Micha? Niklas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mdipierro pisze: > Looking into this again > > the problem voltron refers to was fixed. I forgot about it. > > In michal case the problem seems to be that the admin/errors folder is > missing. Could you take a look? > > perhaps an incomplete in

[web2py:10899] Re: Integration with Appcelerator

2008-10-31 Thread achipa
Okay, now we are not even in generic software / ISV land but generic solutions talk. Which is cool, but a bit irrelevant unless you're doing things on the scale that nears IBM or SAP :) If I'm a baker and somebody suddenly comes in and says he needs apples, I won't be able to sell him one, but tha

[web2py:10898] Re: Integration with Appcelerator

2008-10-31 Thread Timothy Farrell
2) I can attest to it's rock solid stability on Windows. mdipierro wrote: > answers for web2py: > > 1) fast website development times - yes but use T2 > > 2) steady runtime - rock solid on linux and mac. I never reboot mine > except of upgrades. I get >1 requests/day. > > 3) good DB support =

[web2py:10897] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread mdipierro
If this is line 30: # I believe the syntax error is that there is a missing newline (\n) at the end. Massimo On Oct 31, 3:54 pm, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > > to use postgres you need to run from source and

[web2py:10896] Re: Integration with Appcelerator

2008-10-31 Thread mdipierro
answers for web2py: 1) fast website development times - yes but use T2 2) steady runtime - rock solid on linux and mac. I never reboot mine except of upgrades. I get >1 requests/day. 3) good DB support = db transcactions + custom sqls (joins + triggers + pl/pg sql) I use it with postgresql

[web2py:10895] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
> > to use postgres you need to run from source and install the psycopg2 > > driver separately. I've downloaded the full source code now, so am slowly grasping the concept. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[web2py:10894] Re: Integration with Appcelerator

2008-10-31 Thread Daniel Guryca
As for Appcelerator: I have tried to create a few apps with it. Hmm .. I'm not very excited. Some app tags are not working as they should ... rendering problems and others. For me that is a signal to leave this technology. As for my choice of framework for my future web apps: Now I'm still choosi

[web2py:10893] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
-wj > File "I:\web2py\applications\bookstor/models/db.py", line 30 Why do you have / and \ in the line above? Thanks for your eye for detail, you know that is how the the error returns I've not entered \ into the location. -Massimo > to use postgres you need to run from source and install th

[web2py:10892] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread mdipierro
to use postgres you need to run from source and install the psycopg2 driver separately. Massimo On Oct 31, 3:02 pm, NoviceSortOf <[EMAIL PROTECTED]> wrote: > O.K. - Sorted that one out on my own by simply stripping out > the other code db.py and making db.py simply a one liner > db=SQLDB("postgr

[web2py:10891] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread mdipierro
What is on lines 29-31? Massimo On Oct 31, 2:59 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 31, 2008 at 1:52 PM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > > ** I keep getting this error on test. > > > Traceback (most recent call last): > > File "gluon\restricted.pyc", line 61

[web2py:10890] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread Wes James
On Fri, Oct 31, 2008 at 1:52 PM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > ** I keep getting this error on test. > > Traceback (most recent call last): > File "gluon\restricted.pyc", line 61, in restricted > File "I:\web2py\applications\bookstor/models/db.py", line 30 Why do you have / an

[web2py:10889] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
O.K. - Sorted that one out on my own by simply stripping out the other code db.py and making db.py simply a one liner db=SQLDB("postgres://UserName:[EMAIL PROTECTED]:5432/mydata") Now another problem... Traceback (most recent call last): File "gluon\restricted.pyc", line 62, in restricted F

[web2py:10888] Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
** I keep getting this error on test. Traceback (most recent call last): File "gluon\restricted.pyc", line 61, in restricted File "I:\web2py\applications\bookstor/models/db.py", line 30 # ^ SyntaxError: invalid sy

[web2py:10887] Re: Integration with Appcelerator

2008-10-31 Thread Yarko T
The nature of the problem is different from the nature of the solution... in that, the technology is _completely_ irrelevant; The solution provider's problem is [1] understanding the problem [2] understanding the technology (to know what solution level can be offered and [3] competitively cos

[web2py:10886] thanks you page

2008-10-31 Thread mdipierro
In the last couple of months I have not done a good job at updating the thank you page while many of you have provided valuable patches, comments and suggestions. For example Bill, Attila, Tim, Phyo at least should be there. I am sure I am forgetting somebody. So if you are not mentioned but you

[web2py:10885] Re: Integration with Appcelerator

2008-10-31 Thread achipa
We seem to be using different terminology, apart from that, I agree (I would have said defining the problem *is* a task which is part of the whole project, just as prototyping is a task/phase in itself, sometimes overlapping other tasks to an extent). The importance of clients understanding the te

[web2py:10884] Re: web2py book finally online in PDF

2008-10-31 Thread vihang
I exchanged a few mails with vitalsource guys to know more on their format since the pdf version was taking a while, and I am kind of disappointed with its portability. One problem is that I can view the book only on 2 computers. That means I cannot store it on my backup database or view it from m

[web2py:10883] Re: newbie question about multi-lines field

2008-10-31 Thread mdipierro
This is not a stupid question and thanks for asking! let's say you have db.define_table('item',SQLField('description','text')) and you insert via the web interface of manually: db.item.insert(description="This is\na test\n") If you then display the item in html like this {{ fo

[web2py:10882] Re: Decorators for profiling functions

2008-10-31 Thread yarko
I hope some of you are finding this interesting (it's not web2py specific, but interesting none-the-less): A Decorator-Based Build System - http://www.artima.com/weblogs/viewpost.jsp?thread=241209 On Oct 25, 1:53 pm, yarko <[EMAIL PROTECTED]> wrote: > and finally (?), an upcoming talk on

[web2py:10881] Re: SQL string concatenation in web2py?

2008-10-31 Thread morningovermidnight
Thanks!! :-) On Oct 29, 5:10 pm, mdipierro <[EMAIL PROTECTED]> wrote: > IS_IN_DB(db,'person.id','%(lastname)s, %(firstname)s') > > On Oct 29, 3:37 pm, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > I have a table with a firstname column and a lastname column. I want > > the user to be abl

[web2py:10880] newbie question about multi-lines field

2008-10-31 Thread dme69
Hello all, I'm just trying to use Web2py (and python). I tried the cookbook example and I don't understand why when in the description field i put more than 1 line, all this lines are on the same line when showing he record. Where are the tags ? Can someone help me. I found anything on the websi

[web2py:10879] Re: Error in 'admin' application

2008-10-31 Thread Yarko T
please note: If you download web2py in a zip or binary version on PC, I have been finding random errors in Firefox and Chrome browsers - partial downloads which "appear" to be complete (unfortunately this is NOT limited to web2py). It is somewhat rare, but seems to be completely repeatable for a

[web2py:10878] Re: Integration with Appcelerator

2008-10-31 Thread Yarko T
Defining the problem is part of the task; prototyping can help clarify / validate; the preliminary part I don't think requires client knowledge of technology, nor consultant/company knowledge of client problem - it is a discovery phase, which is equally important when you _think_ you have a gras

[web2py:10877] Re: Error in 'admin' application

2008-10-31 Thread mdipierro
Looking into this again the problem voltron refers to was fixed. I forgot about it. In michal case the problem seems to be that the admin/errors folder is missing. Could you take a look? perhaps an incomplete installation? Massimo On Oct 31, 7:51 am, mdipierro <[EMAIL PROTECTED]> wrote: >

[web2py:10876] Re: porting web2py to GAE

2008-10-31 Thread mdipierro
You are right. They are missing because you cannot deploy on gae the binary distribution. Massimo On Oct 31, 9:00 am, "Saikat Chatterjee" <[EMAIL PROTECTED]> wrote: > in the windows distribution these files, gaehandler, cgihandler and the > app.yaml files are missing they are only present in the

[web2py:10875] Re: web2rokee! web2py + Cherokee Howto!

2008-10-31 Thread Phyo Arkar
The interpreter is for Fail Safe purpose. If in case web2py's FCGI handler is not started it will start it automatically. On Fri, Oct 31, 2008 at 12:36 PM, Jose <[EMAIL PROTECTED]> wrote: > > > > On 30 oct, 11:56, "Phyo Arkar" <[EMAIL PROTECTED]> wrote: > > Dear Jose; > > > > You mean i forgot t

[web2py:10874] Re: porting web2py to GAE

2008-10-31 Thread Saikat Chatterjee
in the windows distribution these files, gaehandler, cgihandler and the app.yaml files are missing they are only present in the source distribution. now i can install the apps in gae after i downloaded the source distro .. On Fri, Oct 31, 2008 at 7:09 PM, mdipierro <[EMAIL PROTECTED]> wrote:

[web2py:10873] Re: web2py book finally online in PDF

2008-10-31 Thread Timothy Farrell
Just a cursory look at the code shows that web2py will not (yet) work in Python 3. It will need to be run through the py2to3 tool and then it will have to be a separate codebase since some basic operations (like print formatting) don't work the same way in Python 3. Basically saying, the same

[web2py:10872] Re: Streaming Files In IE6 with CherryPy - Fix

2008-10-31 Thread mdipierro
In trunk. Please give it a try! Massimo On Oct 31, 8:41 am, mdipierro <[EMAIL PROTECTED]> wrote: > Probably this should be default for streaming. do you agree? > > Massimo > > On Oct 31, 8:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > I was following the example here: > > >http://g

[web2py:10871] Re: Streaming Files In IE6 with CherryPy - Fix

2008-10-31 Thread mdipierro
Probably this should be default for streaming. do you agree? Massimo On Oct 31, 8:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I was following the example here: > > http://groups.google.com/group/web2py/browse_thread/thread/f15668449a... > > to stream PDF files. Everytime I would try

[web2py:10870] Re: porting web2py to GAE

2008-10-31 Thread mdipierro
That is quite old. cgihandler.py is in the web2py folder but, since verison 1.45 the app.yaml file has been modified and uses a dedidated handler (gaehandler.py) which allows GAE to cache pyc modules. Massimo On Oct 31, 8:27 am, "Saikat Chatterjee" <[EMAIL PROTECTED]> wrote: > there is a video

[web2py:10869] Re: web2py book finally online in PDF

2008-10-31 Thread mdipierro
Are you in us? web2py should work with python 3.0 but the database drivers (third party) have not yet been ported yet. Massimo On Oct 31, 1:01 am, Whadatek <[EMAIL PROTECTED]> wrote: > I bought the book on amazon but will not receive it (they say) until > Dec 9! They also say it won't be shipp

[web2py:10868] Streaming Files In IE6 with CherryPy - Fix

2008-10-31 Thread [EMAIL PROTECTED]
I was following the example here: http://groups.google.com/group/web2py/browse_thread/thread/f15668449a41362/afdca6efdf668fbb?lnk=gst&q=stream#afdca6efdf668fbb to stream PDF files. Everytime I would try to open a pdf file, though, IE6 would error "File Not Found". It worked fine in Firefox. Tu

[web2py:10867] Re: porting web2py to GAE

2008-10-31 Thread Saikat Chatterjee
there is a video regarding this topic where the steps are shown how to port the app in GAE. however, there in the video it is shown that in app.yaml, the entry for handlers is - - url: .* script: cgihandler.py however, cgihandler is nowhere to be found in web2py directory and hence i am getting

[web2py:10866] Re: web2py book finally online in PDF

2008-10-31 Thread Whadatek
I bought the book on amazon but will not receive it (they say) until Dec 9! They also say it won't be shipped until the 14th. Is there any way I can just buy it from you Massimo? It is $68.35 with shipping from amazon and I can still cancel the order until it is shipped. I'd be willing to buy a

[web2py:10865] Re: Error in 'admin' application

2008-10-31 Thread mdipierro
So far this was not removed because it is a windows only problem. This should be fixed. I would rather not remove the link. Massimo On Oct 31, 12:02 am, voltron <[EMAIL PROTECTED]> wrote: > Hi Michael. You are right, I mentioned this a while back ago. The > decision to remove the link or disable

[web2py:10864] Re: web2rokee! web2py + Cherokee Howto!

2008-10-31 Thread Jose
On 30 oct, 11:56, "Phyo Arkar" <[EMAIL PROTECTED]> wrote: > Dear Jose; > > You mean i forgot to execute in my tutorial? > I have done that by doing ./var/web2py/startweb2py.sh > > 10) run that script : > [EMAIL PROTECTED] ./var/web2py/startweb2py.sh > > Or you mean ,Cherokee do not restart servi