Re: [web2py] Re: first gae app

2010-02-13 Thread Thadeus Burgess
i have a web2py app that uses ngrams Also I made a python program that ngrams an mp3 library so you can quickly search and create playlists. http://hg.thadeusb.com/Audio/PlaylistGrepper/ and here is the web2py app http://static.thadeusb.com/web2py.app.ngram.w2p -Thadeus On Sat, Feb 13, 20

Re: [web2py] Re: why use the admin interface, at all?

2010-02-13 Thread Thadeus Burgess
Hey when your trying to find a solution for your company, you need to go with the system that has the most thorough documentation right up front. If I did not dislike django's way of doing things so much I probably would not have looked into web2py any further when I realized documentation was sca

Re: [web2py] Re: first gae app

2010-02-13 Thread Wes James
Richard, Do you have a python example of this? I'll check on StringListProperty also and see how it works. (would this work on gae?) I was trying somthing else since like is not supported, but this might work. I would like this site to provide quick search on anything that would be helpful in bu

[web2py] Re: How much memory does web2py need on Unix

2010-02-13 Thread John Heenan
Thanks for your comments also. Yes .flv and other video files will play with Lightttpd using normal media players, for example, using JW Player in kpax/static/ mediaplayer.swf . It is even possible to use players while the actual video file is hosted on another server to where the main site and pl

[web2py] Re: How much memory does web2py need on Unix

2010-02-13 Thread John Heenan
Thanks for you comments. Yes you are right. I have separated out URL mapping to another section. This dramatically simplifies the configuration. I have also added in a few bits and pieces, such as on running web2py as user www-data instead of user root. Slice is at http://www.web2pyslices.com/ma

[web2py] Re: web2py vs. customizing existing e-commerce app

2010-02-13 Thread villas
Anyone who has good programming skills (or can develop same) has big advantages in having a home-grown system. But sometimes less is more. The downside comes if you personally have to support it over it's lifetime and be distracted from other business opportunities. Then there's a big headache wh

[web2py] Re: web2py with alchemy

2010-02-13 Thread waTR
I believe the DAL is originally just another layer on top of SQLAlchemy. So I would think you could use it extremely easily. Check the code in the dal python file and see how they imported the SQLAlchemy library and simply copy and paste that. I think that should work. On Feb 13, 8:44 am, vihan

[web2py] Re: web2py site problem ?!

2010-02-13 Thread villas
Massimo, When I tried EC2 it was very time-consuming and the backups were difficult and I was just wasting time. In the end I saved my sanity with vps.net which (for $20 per month) takes your Ubuntu script about 5 mins to set up. There's a really good backup service available by ticking a box for

[web2py] Re: On the online book

2010-02-13 Thread villas
On Feb 13, 11:14 pm, Richard wrote: > I had no idea you were getting that much (7%) from the book, so that > was very noble to release it. Donated $50. > Richard Yes Richard -- good call! I've chipped in $50 too. I can't tell you how much I support the decision. It will be a great success for o

[web2py] Re: why use the admin interface, at all?

2010-02-13 Thread Richard
> Django developers, most of them had heard about > web2py and stopped using it because they "thought" they had to use the > built in editor/shell. that is hard to believe! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group,

[web2py] Re: first gae app

2010-02-13 Thread Richard
hi wes, something like this could be really nice for browsing the function docstrings. Do you intend to take it further? If you use a StringListProperty to store all the ngrams (eg: web2py, web2p, web2, web, we, w) then it could match partial words. Richard On Feb 13, 8:31 am, Wes James wrote

[web2py] Re: On the online book

2010-02-13 Thread Richard
I had no idea you were getting that much (7%) from the book, so that was very noble to release it. Donated $50. Richard On Feb 14, 7:17 am, JimK wrote: > I donated $10 to the online version even though I bought the pdf. > It's has value to me so it's worth the investment to keep it going. > > On

[web2py] Re: WSGI, Apache2, and web2py NOT at root

2010-02-13 Thread rppowell
I don't know if this would help, but I had this problem in setting up web2py using FastCGI: I wanted to have web2py in a subdirectory off of my main page; http://www.rppowell.com/web2py/ Here is what I put in my .htaccess: RewriteEngine On RewriteRule ^dispatch\.fcgi/ - [L] RewriteRule ^(.*)

Re: [web2py] Re: URL and URLs

2010-02-13 Thread Jonathan Lundell
On Feb 13, 2010, at 2:16 PM, DenesL wrote: > 1) Is that the only reason? > So there is no other objection to have args with accented chars in > them for example?. > Foreign languages would benefit from having args without such > restrictions. > > By 'access filesystems' are you refering to 'stati

[web2py] Re: URL and URLs

2010-02-13 Thread DenesL
1) Is that the only reason? So there is no other objection to have args with accented chars in them for example?. Foreign languages would benefit from having args without such restrictions. By 'access filesystems' are you refering to 'static'? We could apply the restrictions only if the URL has c=

[web2py] Example of apache2 configuration where web2py exists along other sites

2010-02-13 Thread Johann Spies
I am becoming desperate about this problem. I could so far not succeed to get web2py working behind apache where web2py is not root (e.g. the setup of the ubuntu-setup script). Is there somewhere an working example of a setup where web2py is working with wsgi alongside a php site behind apache2?

[web2py] Using web2py Facebook API

2010-02-13 Thread Kevin Bowling
Hi, I've been toying around with the demo web2py facebook app and have a fairly nice app in the 'canvas' view. However, I can't figure out how to do generic calls to the Facebook API. Some of the things I need to do: * Send email to the app user on state change (cron app) * Update user's feed on

[web2py] Re: crud.archive for full app auditing

2010-02-13 Thread mdipierro
LOL. Ok tomorrow. On Feb 13, 12:07 pm, Jonathan Lundell wrote: > On Feb 12, 2010, at 9:18 PM, mdipierro wrote: > > > Here is a new feature in trunk. > > Not to look a gift horse in the mouth, but a docstring would be nice. > > > > > Say you have the following table: > > > db.define_table('person'

[web2py] Re: URL and URLs

2010-02-13 Thread mdipierro
because args can be used to access filesystem and having spaces in there causes trouble. On Feb 13, 12:02 pm, DenesL wrote: > Shouldn't URL create only URLs that are usable with web2py? > > Example: > u=URL(r=request, args='Capítulo 1') > produces an URL ending with /Cap%A1tulo%201 > which genera

[web2py] Re: On the online book

2010-02-13 Thread JimK
I donated $10 to the online version even though I bought the pdf. It's has value to me so it's worth the investment to keep it going. On Feb 13, 7:38 am, mdipierro wrote: > As long as I offset the book sales I am fine. It wasn't much but it > was ~7% of my total income. So far I got 6 donations I

[web2py] Re: [web2py:19827] Re: WSGI, Apache2, and web2py NOT at root

2010-02-13 Thread Johann Spies
On 15 April 2009 18:30, Mark Larsen wrote: > > I did figure out a hack if anyone comes up against this problem: > > RewriteEngine on > RewriteRule ^/[NAMEOFAPP](.*)$ /web2py/[NAMEOFAPP]$1 [PT,L] > WSGIScriptAlias /web2py /opt/web2py/wsgihandler.py > > This essentially allows you to place web2py ou

Re: [web2py] crud.archive for full app auditing

2010-02-13 Thread Jonathan Lundell
On Feb 12, 2010, at 9:18 PM, mdipierro wrote: > Here is a new feature in trunk. Not to look a gift horse in the mouth, but a docstring would be nice. > > Say you have the following table: > > db.define_table('person', >Field('name'), > > Field('created_by',default=auth.user_id,update=auth

[web2py] URL and URLs

2010-02-13 Thread DenesL
Shouldn't URL create only URLs that are usable with web2py? Example: u=URL(r=request, args='Capítulo 1') produces an URL ending with /Cap%A1tulo%201 which generates an "Invalid request" when used. And why are these characters not allowed in URLs? Denes. -- You received this message because yo

[web2py] Re: web2py with alchemy

2010-02-13 Thread vihang
I tinkered around a bit, but DAL did the job well, plus the benefits of using crud & auth made me stick to DAL. I would use sqlalchemy only if I was porting a legacy app using it.. On Feb 13, 3:41 pm, elffikk wrote: > hi, > > is there somebody that used sqlalchemy with web2py, > how hard will be

[web2py] Re: www.web2py.com bugs

2010-02-13 Thread mdipierro
oops On Feb 13, 7:10 am, selecta wrote: > Free web2py Appliances > Appliance "sementic web2py" (#58) > > download does not work > shouldn't it be called semAntic web2py?? > > I cannot post comments with opera > Version 10.10 > Build 4742 > Platform Linuxhttp://web2py.com/book/ > e.g.http://web2py

[web2py] Re: How much memory does web2py need on Unix

2010-02-13 Thread mdipierro
Very well done. Did you ever try streaming files with lighttpd? For example serving via download a large video file, larger than ram? (kpax comes with an example of streaming). Does it work well? Massimo On Feb 13, 1:42 am, John Heenan wrote: > As requested I have placed a howto on web2pysplice

[web2py] Re: Adding session support to fetch()

2010-02-13 Thread mdipierro
This was mostly done by Richard. I just changed the function name. On Feb 13, 5:51 am, Fran wrote: > On Feb 10, 9:01 pm, Fran wrote: > > > I need help to develop it 1st ;) > > Thanks to Massimo, we now have it in trunk - a turbo-charged fetch() > which supports cookies amongst other things. > >

[web2py] Re: web2py 1.75.1 is Out

2010-02-13 Thread mdipierro
I do not remember what it was but if I said it was fixed it should be fixed. Are you still having problems? On Feb 13, 4:09 am, Alexandre Andrade wrote: > In 8/Feb/2010 you wrote about the subject "Customizing Auth" > > It is combinations of two things: > 1) a

[web2py] Re: onvalidation problem

2010-02-13 Thread mdipierro
Cannot say without looking in more detail. On Feb 13, 3:39 am, "hamdy.a.farag" wrote: > Hi > > I've a problem using onvalidation in a SQLFORM   -> if > form.accepts(request.vars, session, onvalidation=validate)    where > validate is another function > > that makes the validation > > current web2

[web2py] Re: On the online book

2010-02-13 Thread mdipierro
As long as I offset the book sales I am fine. It wasn't much but it was ~7% of my total income. So far I got 6 donations I really appreciate it. Massimo On Feb 13, 1:09 am, Jason Brower wrote: > The page looks fantastic and very well done.  Hopefully you can earn > some cash with it as well. > B

[web2py] Re: adding additional elements to custom form while leaving rest untouched

2010-02-13 Thread DenesL
Since it is custom it all depends on what you want it to look like. Have you read http://www.web2py.com/AlterEgo/default/show/205 ? On 13 feb, 07:10, selecta wrote: > I want to add some elements to a form_factroy form while leaving the > other form elements as they are. > > My controller looks so

[web2py] www.web2py.com bugs

2010-02-13 Thread selecta
Free web2py Appliances Appliance "sementic web2py" (#58) download does not work shouldn't it be called semAntic web2py?? I cannot post comments with opera Version 10.10 Build 4742 Platform Linux http://web2py.com/book/ e.g. http://web2py.com/book/default/section/5/0 -- You received this message

[web2py] Re: How much memory does web2py need on Unix

2010-02-13 Thread raven
Thank you for the lighttpd howto. It looks very helpful. Hopefully, I will be able to clear some time next week to give it a go. I noticed that, at the end, you spend time on URL remapping. "To benefit from this either routes.out of routes.py needs to be used or internal techniques need to be us

[web2py] adding additional elements to custom form while leaving rest untouched

2010-02-13 Thread selecta
I want to add some elements to a form_factroy form while leaving the other form elements as they are. My controller looks something like def test(): form = form_factory( Field('category'), Field('priority', 'integer', requires=IS_IN_SET([(1,'1 - Lowest'),(2,'2'),(

[web2py] Re: Adding session support to fetch()

2010-02-13 Thread Fran
On Feb 10, 9:01 pm, Fran wrote: > I need help to develop it 1st ;) Thanks to Massimo, we now have it in trunk - a turbo-charged fetch() which supports cookies amongst other things. The recipe to get my use-case working using this fetch() requires a, to me, black-magic session unlock call: if '1

[web2py] web2py with alchemy

2010-02-13 Thread elffikk
hi, is there somebody that used sqlalchemy with web2py, how hard will be to do that? my thoughts now are to try it with formalchemy as alternative to web2py models + things like SQLForm or SQLTable -- You received this message because you are subscribed to the Google Groups "web2py-users" grou

Re: [web2py] Re: web2py 1.75.1 is Out

2010-02-13 Thread Alexandre Andrade
In 8/Feb/2010 you wrote about the subject "Customizing Auth" It is combinations of two things: 1) a bug (just fixed in trunk) 2) the example is missing something (I fixed it). Should be: auth.settings.table_user = db.define_table('auth_user', Field('first_n

[web2py] Re: web2py vs. customizing existing e-commerce app

2010-02-13 Thread Iceberg
I also vote for rolling-your-own, according to my own experience. 21 months ago, I was facing same dilemma. Perhaps basing on some impulse after learning web2py, or significant underestimation about the time needed for "reinventing the wheel", I wrote the first version of my order-management-syste

[web2py] onvalidation problem

2010-02-13 Thread hamdy.a.farag
Hi I've a problem using onvalidation in a SQLFORM -> if form.accepts(request.vars, session, onvalidation=validate)where validate is another function that makes the validation current web2py version I'm running is ok , any new application I make is working just fine with onvalidation excep

[web2py] Re: flash message timeout

2010-02-13 Thread hamdy.a.farag
thank you :) -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at