[web2py] is there an easier way to do subtotals/grouping?

2012-01-30 Thread Andrew Thompson
ayers? Thanks. -- Andrew Thompson http://aktzero.com/

Re: [web2py] new web site

2011-11-06 Thread Andrew Thompson
Is the content being pulled from existing data, or was it re-entered? In the third-party code section of the staff page, the markdown2 link is old, they moved to github. The feedparser website is 410 Gone(not sure how long, or if it moved). The fcgi.py link is dead as well. Can someone else check w

Re: [web2py] Re: one of my web2py sites has slowed to a crawl

2011-07-28 Thread Andrew Thompson
year, back in March. I use this app once a month. It was fine last month. Is there any way to get a profile of where web2py's spending it's time? -- Andrew Thompson http://aktzero.com/

[web2py] one of my web2py sites has slowed to a crawl

2011-07-28 Thread Andrew Thompson
aven't seen a point bump since then, so I've held off on upgrading. Should I anyway? Any other ideas? -- Andrew Thompson http://aktzero.com/

[web2py] fcgihandler.py and pid file

2011-07-03 Thread Andrew Thompson
a pid file, so running the init script with the 'stop' or 'restart' options doesn't do anything. Any suggestions? I played around with the name of the argument a bit, but no joy. I even created an options.py and set just the pid_filename, no joy. -- Andrew Thompson http://aktzero.com/

[web2py] customizing instant press layout

2011-07-02 Thread Andrew Thompson
r seem to have affected it. How should I go about skinning it? -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: request.files.append syntax

2011-05-25 Thread Andrew Thompson
On 5/25/2011 1:41 PM, Ross Peoples wrote: response.file is what you are looking for, not request. And response.files is simply a list, and append just appends another item to the list. The web2py_ajax.html view is what loops through the list and writes the and

[web2py] request.files.append syntax

2011-05-25 Thread Andrew Thompson
request.files.append take any more parameters? Or, where can I find it documented? Thanks. -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: teaching email links to respect https

2011-05-24 Thread Andrew Thompson
be 99+% predicted. http://comments.gmane.org/gmane.comp.python.web2py/44684 I don't think https is necessary for those links. And if it is, your web server or code should be enforcing SSL on the URLs. That'd work too. My dev sites exist only as https sites, zero http access. -- Andrew Thompson http://aktzero.com/

[web2py] teaching email links to respect https

2011-05-24 Thread Andrew Thompson
//'+request.env.http_host+URL(r=request,c='default',f='user',args=['reset_password'])+'/%(key)s to reset your password' -- Andrew Thompson http://aktzero.com/

[web2py] exporting to csv

2011-05-22 Thread Andrew Thompson
eturn dict(filename='preferred_file_name.csv',csvdata=record_set) filename is optional, and will default to export.csv csvdata is required, and you'll get a ticket/exception if you don't pass it Comments and suggestions appreciated. -- Andrew Thompson http://aktzero.com/ {{ ###

Re: [web2py] Re: pythonanywhere

2011-05-21 Thread Andrew Thompson
was an example of functionality, not an attempt to compete with there product. You looked but you did not see (where did y heard this before.?!?!?!) You trolled, where have I seen this before? -- Andrew Thompson http://aktzero.com/

Re: [web2py] party time

2010-12-20 Thread Andrew Thompson
On 12/20/2010 10:14 PM, Andrew Thompson wrote: On 12/20/2010 3:21 PM, Richard Vézina wrote: We could set a web2py app with livestream with webcam then we could all drink beer together! A while back, a buddy of mine linked me a site that did live web conferences. Seems like it added a new

Re: [web2py] party time

2010-12-20 Thread Andrew Thompson
existing page. Will have to look it up... -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: Web2py with Nginx using FCGI and no Apache

2010-12-20 Thread Andrew Thompson
wrong certificate), so I was trying to see how nginx fared. -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: Web2py with Nginx using FCGI and no Apache

2010-12-19 Thread Andrew Thompson
DOCUMENT_URI, which seems to be reflected in the env variable, but doesn't do what I need. Basically, to see my site right now, I have to go to http://aktzero.com:81/aktzero/ http://aktzero.com:81/aktzero/default/test has the four buttons on it, perhaps someone can look at the session info and tell me where I went wrong. Any ideas? -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: web2py 1.89.1 is OUT... update?

2010-11-12 Thread Andrew Thompson
ot the new admin interface, and my small handfull of sites are still running. -- Andrew Thompson http://aktzero.com/

Re: [web2py] web2py 1.89.1 is OUT... update?

2010-11-12 Thread Andrew Thompson
n the admin console. Will this update the admin and welcome apps? If not, how do I best migrate to the new version? -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: Interesting developments...

2010-11-08 Thread Andrew Thompson
just works differently. * An attempt to merge web2py with a compatible framework would be unfriendly if we say they must change many things, but we will change nothing. -- Andrew Thompson http://aktzero.com/

[web2py] two FORM questions

2010-11-04 Thread Andrew Thompson
s not. I also was trying to do a custom form layout in my view, but I was not able to make form.custom. work, for FORM or SQLFORM. I must be missing something. Is the 'custom' in form.custom.begin defined by default, or do I need to define it somewhere? Thanks. -- Andrew Thompson http://aktzero.com/

Re: [web2py] possible to alias a field?

2010-10-28 Thread Andrew Thompson
On 10/28/2010 1:54 AM, Andrew Thompson wrote: I'm trying to get around the problem of not being able to do a join in the IS_IN_DB(). I've got the following, which I thought was working until I realized that it's using the id field from both tables. Can I alias a field from mol

[web2py] possible to alias a field?

2010-10-27 Thread Andrew Thompson
t I couldn't make it alias the field as well, unless I just wasn't doing it wrong. -- Andrew Thompson http://aktzero.com/

[web2py] opposite of "belongs" ?

2010-10-26 Thread Andrew Thompson
Is there a way to get 'NOT IN' via DAL? I believe it should be a negative/opposite of the belongs operator. -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: web2py 1.87.2 is OUT

2010-10-14 Thread Andrew Thompson
any other errors or anything that's not working right now. -- Andrew Thompson http://aktzero.com/

Re: [web2py] web2py 1.87.2 is OUT

2010-10-13 Thread Andrew Thompson
am(static_file, request=request) File "/var/www/web2py/gluon/globals.py", line 151, in stream headers=self.headers) File "/var/www/web2py/gluon/streamer.py", line 49, in stream_file_or_304_or_206 error_message = rewrite.thread.routes.error_message % 'invalid request' TypeError: not all arguments converted during string formatting Any ideas? Did the syntax change? Thanks. -- Andrew Thompson http://aktzero.com/

Re: [web2py] Reverse table look up in GAE

2010-09-08 Thread Andrew Thompson
k"? For example, can you make any .select() work? If you remove the orderby or the limitby does it change how it doesn't work? -- Andrew Thompson http://aktzero.com/

[web2py] custom validation, was: Re: IS_IN_DB referencing linked tables

2010-09-08 Thread Andrew Thompson
ifferent way, is there a way to attach it to the SQLFORM object? (It will be customer specific, so it'd be best to apply it at controller time, I think.) I see a _validate attribute on SQLFORM, but I don't see how to use it. -- Andrew Thompson http://aktzero.com/

[web2py] IS_IN_DB referencing linked tables

2010-09-07 Thread Andrew Thompson
quot;/var/www/web2py/gluon/validators.py", line 406, in build_set records = self.dbset.select(*self.fields, **dd) File "/var/www/web2py/gluon/sql.py", line 3216, in select rows = response(query) File "/var/www/web2py/gluon/sql.py", line 3211, in response db._execute(query) File "/var/www/web2py/gluon/sql.py", line 947, in self._execute = lambda *a, **b: self._cursor.execute(*a, **b) OperationalError: no such column: flockdata.houses.name Am I missing something, or is IS_IN_DB being daft? -- Andrew Thompson http://aktzero.com/

Re: [web2py] Should we have a feature freeze and stability maintenance period in future?

2010-08-21 Thread Andrew Thompson
test cases causes regressions to be noticed quicker I would think. -- Andrew Thompson http://aktzero.com/

Re: [web2py] web2py 1.83.1 is OUT

2010-08-12 Thread Andrew Thompson
On 8/13/2010 12:53 AM, Andrew Thompson wrote: The changelog hasn't made it up to the website. Hmm... Replying to myself too quickly... 1.83.1 is on the page, but it's not broken out into it's own section. Markup fail? Also, is there any chance the "web2py file stru

Re: [web2py] web2py 1.83.1 is OUT

2010-08-12 Thread Andrew Thompson
On 8/11/2010 7:02 PM, mdipierro wrote: Changelog: The changelog hasn't made it up to the website. Also, is there any chance the "web2py file structure" section could migrate to it's own page? I think it's quite out of place on the changelog page. -- Andrew Thompson http://aktzero.com/

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
On 8/8/2010 9:10 PM, Jonathan Lundell wrote: Is it possible that lighttpd is altering the URL enough that it doesn't match what you've got in routes.py? Perhaps. I've got to figure out how to test for that. -- Andrew Thompson http://aktzero.com/

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
that I'm doing the right thing. -- Andrew Thompson http://aktzero.com/

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
On 8/8/2010 8:30 PM, Jonathan Lundell wrote: On Aug 8, 2010, at 5:10 PM, Andrew Thompson wrote: I can not wrap my head around routes_in. I'm attempting to host 3 sites via lighttpd and fcgihandler.py (is this the best way?) I ripped this mostly from a mdpierro post, and tweaked it f

[web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
?://(.*)mysite\.com:(.*) /images/$anything', '/mysite/static/images/$anything'), I'm not sure, is $anything is compatible with all those .*'es? I do need the / to /mysite's to keep the sites separated from each other, don't I? Any help appreciated. -- Andrew Thompson http://aktzero.com/

[web2py] dynamic urls or catch-all controllers

2010-07-25 Thread Andrew Thompson
appily accepted. Thanks. -- Andrew Thompson http://aktzero.com/

Re: [web2py] MENU() redefine defaults for _class, ul_class, li_class

2010-07-22 Thread Andrew Thompson
On 7/22/2010 7:37 PM, Andrew Thompson wrote: Is it possible to redefine the defaults for _class, ul_class, and li_class on a per app basis? Nevermind, I'm an idiot. -- Andrew Thompson http://aktzero.com/

[web2py] MENU() redefine defaults for _class, ul_class, li_class

2010-07-22 Thread Andrew Thompson
Is it possible to redefine the defaults for _class, ul_class, and li_class on a per app basis? -- Andrew Thompson http://aktzero.com/

Re: [web2py] Re: Old versions of web2py

2010-04-10 Thread Andrew Thompson
ement request. Ego and/or lack of time/concern makes many project leads unwilling to even discuss changes to process that will definitely benefit users and possibly only marginally benefit themselves. -- Andrew Thompson -- To unsubscribe, reply using "remove me" as the subject.

Re: [web2py] Re: cas_auth.py

2010-03-04 Thread Andrew Thompson
what it was.) -- Andrew Thompson -- 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