Re: [web2py] Re: make two queries into one [need help]

2010-10-15 Thread Andrew Evans
Hi ty for replying to my problem but I am a bit confused. I tried doing the query you suggested and tried doing it another way it seems my loop is never executed cause what appears there is a blank page. Not sure what I am doing wrong Those are the two I tried def indv_product(): this_page

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
one thought: for one set of users I'll have been given an email address and password and for the other set I'll have a LinkedIn user key On 16 October 2010 06:06, Carl wrote: > good question! > > if the account is authenticated using linkedin then I want to set-up the > account a specific way. >

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
good question! if the account is authenticated using linkedin then I want to set-up the account a specific way. if the account is registered/logged-in the 'usual way' then I want to set-up the account in a specific but different way. I take your point with respect to "trust". I've missed a night

Re: [web2py] Re: Web2py like clone in Java?

2010-10-15 Thread Bruno Rocha
I used this http://www.gnu.org/software/pythonwebkit/ sometime with Pylons. But I think it is the base of Pyjamas. 2010/10/15 Michele Comitini > Lately I have been "forced" to use wicket (wicket.apache.org). > Wicket is by no means "agile" compared to web2py. Wicket is not a > full stack framew

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread mdipierro
I guess what I do not understand is the following. You authenticate somebody using linked (or other method), yet how do you decide how to setup is account? You cannot decide from the url! No because it would not be safe since the user decides the url. massimo On Oct 15, 10:59 pm, Carl wrote: >

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
thanks for the pointer Radomirs. the slice has the registering step disabled rpxAuth.rpx_disabled = ['register','retrieve_password', 'reset_password','change_password','profile'] but doesn't say how to skip registering by the user *and* still perform some register actions in

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
thanks M. I'm confused though as I can see 'user' here: In gluon/tools.py line 1471 the statement hard-codes 'user' (web2py 1.87.3) next = self.url('user',args='login',vars=dict(_next=next)) Have I misunderstood this line of code? On Oct 16, 4:51 am, mdipierro wrote: > On a second look... 'user

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread mdipierro
On a second look... 'user' only appears in auth.settings. therefore you can change them. On Oct 15, 9:51 pm, mdipierro wrote: > I did not realize that...  can change it but for now it is indeed a > problem. One solution would be to extend Auth and override url() > > On Oct 15, 9:07 pm, Carl wrot

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Radomirs Cirskis
RPX (LinkedId) + web2py Auth module this could help: http://www.web2pyslices.com/main/slices/take_slice/28 Cheers, rad On Oct 16, 12:40 pm, Carl Roach wrote: > I've got authentication working with LinkedIn. But no registration step > happens... I would like to add a set of permissions the first

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
temporarily I've renamed def agent() back to def user() the only problem I'm left with is how to get my one-off registration code to be called. for users registering by a registration form all is well. For them I've set: auth.settings.register_onaccept = lambda form: registerCandidate(form) But

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread mdipierro
I did not realize that... can change it but for now it is indeed a problem. One solution would be to extend Auth and override url() On Oct 15, 9:07 pm, Carl wrote: > One small problem I'm coming across... > > I'm using OAuth to login via LinkedIn for a subset of my users. > > In gluon/tools.py l

[web2py] Re: Web2py like clone in Java?

2010-10-15 Thread mdipierro
Notice that all the logic (from user prospective) is here: button = BUTTON('click me',_id='abc') button.addListener('xyz',lambda button:"jQuery('# %s').hide()"%button.id) def index(): return dict(mybutton = button) The logic in the class BUTTON could be injected in all helpers withou

Re: [web2py] Re: Web2py like clone in Java?

2010-10-15 Thread Michele Comitini
no idea at this time, I need some sleep ... tomorrow ;-) 2010/10/16 mdipierro : > Make a mode called button_event.py > >  objects={} >  class BUTTON(DIV): >     def __init__(self,*a,**b): >          self.tag = 'button' >          DIV.__init__(self,*a,**b) >          self.id=self['_id'] >          

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
One small problem I'm coming across... I'm using OAuth to login via LinkedIn for a subset of my users. In gluon/tools.py line 1471 the statement hard-codes 'user' (web2py 1.87.3) next = self.url('user',args='login',vars=dict(_next=next)) Is there something I should have done to avoid this route

[web2py] Re: Web2py like clone in Java?

2010-10-15 Thread mdipierro
Make a mode called button_event.py objects={} class BUTTON(DIV): def __init__(self,*a,**b): self.tag = 'button' DIV.__init__(self,*a,**b) self.id=self['_id'] objects[self.id]=self def addListener(self,name,f): service.run_procedures[n

Re: [web2py] Re: Web2py like clone in Java?

2010-10-15 Thread Michele Comitini
2010/10/16 mdipierro : > Do you mean client-side events or server-side events, or something in > between? client side events calling listeners on the server. For instance we have a button. Having an interface to add listeners and managing ajax responses would allow writing similar code in a contr

Re: [web2py] Re: Vote for a new logo

2010-10-15 Thread Bruno Rocha
I just made a test http://blouweb.com/logovote/default/index?logoid=95 It works well, I am going to delete my test. 2010/10/15 weheh > logovote uploading capability is broken. -- http://rochacbruno.com.br

[web2py] new-app-engine-sdk

2010-10-15 Thread mdipierro
http://googleappengine.blogspot.com/2010/10/new-app-engine-sdk-138-includes-new.html

[web2py] Re: Can jqgrid be resized?

2010-10-15 Thread Percy
Also, I was wondering: is there a way for jqgrid columns to have an "auto expand" or "auto width" etc. property? I know you can set the col_width attribute with numerical values, but I was hoping for something more dynamic. Thanks again! -Percy On Oct 15, 4:27 pm, Richard Vézina wrote: > In a v

[web2py] Re: Vote for a new logo

2010-10-15 Thread weheh
logovote uploading capability is broken.

[web2py] twython - easy twitter access with python

2010-10-15 Thread Bruno Rocha
http://pypi.python.org/pypi/twython/1.2.1

[web2py] Re: Vote for a new logo

2010-10-15 Thread weheh
Bruno, thanks for the gallery view. I think you can put 3 to a row by trimming the edges off of the background. Also, I suggest you condense the information below the logo, like uploaded by and uploaded on. Identification info can all be put on 1 line under the logo. Also, please put the Vote and D

[web2py] Re: Can jqgrid be resized?

2010-10-15 Thread Percy
Thank you. That's working. Another question: how would I go about editing the CSS for the jqgrid plugin in plugin_wiki? I need to basically edit the height of the column headers such as . After applying a new CSS theme, the jqgrid headers seem to have been messed up and the text is nearly unreadabl

[web2py] Re: custom controllers

2010-10-15 Thread mdipierro
This is a question about my class not about web2py so we should continue this conversation privately. Please email me personally. Anyway, the answer is: you need to write code for at least 4 new controllers. The ones that come in default.py already (download, user, call) do not count and you shoul

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl Roach
Thanks M I'll base my agent user type on your approach Thanks again for taking the time On 16 Oct 2010, at 00:48, mdipierro wrote: > This is what I normally do: > > 1) I use LinkedIN with RPX (but should be same with OAuth) > 2) my auth_user table is populated automatically when users login via

[web2py] Re: Web2py like clone in Java?

2010-10-15 Thread mdipierro
Do you mean client-side events or server-side events, or something in between? I think while we lack server-side events we actually have a system for handling client side events using jQuery and LOAD. I will post an example. I need to resume and fix this: http://groups.google.com/group/web2py/br

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread mdipierro
This is what I normally do: 1) I use LinkedIN with RPX (but should be same with OAuth) 2) my auth_user table is populated automatically when users login via RPX 3) my auth_user table as a field "registered' invisible and defaults to false 4) my model has this code if auth.user and request.functio

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread mdipierro
I do not know what the best way and retaining the ability to to hot upgrades is important. Just to add a piece of information. Jonathan is working on a re factoring that will allow web2py to be installed in one folder, keep applications/configurations/logs in another, and run from a third folder. T

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl Roach
I've got authentication working with LinkedIn. But no registration step happens... I would like to add a set of permissions the first time a new user logins in via LinkedIn. For a second type of user I offer a registration page to get email/password and then add a different set of permissions.

[web2py] Re: list:string with empty list is not reversible

2010-10-15 Thread mdipierro
fixed in trunk On Oct 15, 5:42 pm, Bob_in_Comox wrote: > Using web2py 1.87.2 with sqlite > > I need to store and retrieve a list of strings from a multple select. > I have a case where the list can be the empty list []. It will encode > to the datebase as '||', but will decode to ['|'], not []. >

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Radomirs Cirskis
Hi Carl! you can implement two registration similar to the technique Massimo advised the authentication. You could look into CAS. Not 100% sure, but it could be solution for your case. I could be mistaken. Can you elaborate further on what you are trying to achieve? rad On Oct 16, 10:00 am, Car

[web2py] custom controllers

2010-10-15 Thread Jonathan Thielitz
when it is said that we need 4 cutome contollers dose editing the ones that are already there count, such as def index, ect, or do we need to creat all new ones, and if so I need advice on what to make, as it is now all i have Is a start up page that asks the users name, then tells them that they n

[web2py] Re: labels in crud.select

2010-10-15 Thread Alex
Here you go, I just tested this: selected=crud.select(table, headers={'table.field1': 'capitalize'}) You have to explicitly specify the table name of the field you want to label. On Oct 15, 4:54 pm, Richard Vézina wrote: > I try in many ways with no success... > > I read somewhere that hea

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread Christopher Steel
IMHO I would not separate anything. A big part of Web2py's magic is that you do don't need to "install" it. Keeping everything together insures that upgrades will always work via the web2py web interface (with a pleasant side effect being that you do not have to repackage each time Web2py is update

[web2py] list:string with empty list is not reversible

2010-10-15 Thread Bob_in_Comox
Using web2py 1.87.2 with sqlite I need to store and retrieve a list of strings from a multple select. I have a case where the list can be the empty list []. It will encode to the datebase as '||', but will decode to ['|'], not []. The current gluon.sql.py is: def bar_encode(items): return '|

Re: [web2py] Re: labels in crud.select

2010-10-15 Thread Richard Vézina
I try in many ways with no success... I read somewhere that headers='fieldName:capitalize' was the only parameter for headers accepted... What I did : selected=crud.select(table,field_labels={'field1':'abc'},headers='fieldname:capitalize') selected=crud.select(table,field_labels={'field1':'abc'

Re: [web2py] Can jqgrid be resized?

2010-10-15 Thread Richard Vézina
In a view you can do this : {{=plugin_wiki.widget('jqgrid',tablename,width=900,height=400)}} Richard On Fri, Oct 15, 2010 at 5:01 PM, Percy wrote: > Hello, > > I am wondering if a jqgrid table can be resized? Currently I have the > following code: > > displayrows=plugin_wiki.widget('jqgrid',d

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
thanks M. adding to def candidate() auth.auth_user = 'candidate' has that side sorted. for my function agent() the process is a little more complicated. While Candidates have to "formally" register first and then login agents can be "automatically" registered (I need to add some permissions a

[web2py] Can jqgrid be resized?

2010-10-15 Thread Percy
Hello, I am wondering if a jqgrid table can be resized? Currently I have the following code: displayrows=plugin_wiki.widget('jqgrid',db.entry,'','','','divtest','', 250,500) And no matter which numbers I enter for the last two parameters (width and height according to http://web2py.com/book/def

Re: [web2py] Re: Vote for a new logo

2010-10-15 Thread Michele Comitini
@Bruno excellent work! 2010/10/15 Bruno Rocha : > 2010/10/15 weheh >> >> Bruno Rocha - could you modify display page to be more gallery style >> rather than inline? I don't think we need to see the banner buttons >> for every logo. Thx for the good work. >> > > DONE: http://www.blouweb.com/logovo

[web2py] Re: web2py 1.87.3 is OUT

2010-10-15 Thread Zphen
> I upgraded to version 1.87.3, the problem I am facing is that I cannot > upload and install packed applications via the admin web interface. > The flash message: unable to install application "init". I had the same problem when setting up an Ubuntu 10.04 AMI with web2py 1.87.3 on EC2 yesterday

Re: [web2py] Re: Vote for a new logo

2010-10-15 Thread Bruno Rocha
2010/10/15 weheh > Bruno Rocha - could you modify display page to be more gallery style > rather than inline? I don't think we need to see the banner buttons > for every logo. Thx for the good work. > > DONE: http://www.blouweb.com/logovote/default/index

Re: [web2py] Re: Web2py like clone in Java?

2010-10-15 Thread Michele Comitini
Lately I have been "forced" to use wicket (wicket.apache.org). Wicket is by no means "agile" compared to web2py. Wicket is not a full stack framework it needs a lot of other things to serve pages. As with any java coding wicket takes ages and pages to do things that python does in one line. Agai

[web2py] Re: Web2py like clone in Java?

2010-10-15 Thread Savio Sabino
You can see the alternatives to agile frameworks in Java: Grails; Spring Roo; Scooter Framework; Play Framework; Next Framework. But none compares to Python Web Frameworks or Rails in respect to simplicity, amount of features and the maturity in the field of agile frameworks. And I think beyond

[web2py] Re: Vote for a new logo

2010-10-15 Thread weheh
Bruno Rocha - could you modify display page to be more gallery style rather than inline? I don't think we need to see the banner buttons for every logo. Thx for the good work. On Oct 15, 1:46 pm, Bruno Rocha wrote: > 2010/10/15 dustin.b > > > why is the deadline so early? i really want to post s

[web2py] Re: Vote for a new logo

2010-10-15 Thread weheh
Since Denis L & I have the same core logo design, we need a time stamp to resolve order of submission. On Oct 15, 1:46 pm, Bruno Rocha wrote: > 2010/10/15 dustin.b > > > why is the deadline so early? i really want to post some logos, but it > > was not possible to really think about some designs

[web2py] Re: labels in crud.select

2010-10-15 Thread Alex
Maybe it's the syntax? headers={'person.name': 'Name', 'table.colName': 'MyNewName'} Not: headers='fieldName:capitalize' On Oct 15, 8:00 am, Richard Vézina wrote: > Hello, > > It's not working... I am really confuse... I try with 1.83.2 and 1.87.3. > > I try with fields=['myfield1','myfi

[web2py] Re: dealing with extra clicks on a link

2010-10-15 Thread Alex
Hello, I was going to do something similar with some 2 players games (which I have yet to implement), but was planning on doing the polling on the client-side with Javascript and AJAX. There is a function in Javascript: window.setTimeout(jsFunctionToRun, timeToRunInMilliseconds); That can be

Re: [web2py] Sending 204 response page

2010-10-15 Thread Michele Comitini
http://www.web2py.com/book/default/chapter/04#HTTP-and-redirect 2010/10/15 Amit Ambardekar : > I want to know how I can send 204 response to user? > > With PHP it is simple as following: > > header("HTTP/1.0 204 No Content"); > > Thanks

[web2py] Sending 204 response page

2010-10-15 Thread Amit Ambardekar
I want to know how I can send 204 response to user? With PHP it is simple as following: header("HTTP/1.0 204 No Content"); Thanks

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
I'm glad I don't need two user tables. I ideally would want to stick to a single table. On 15 October 2010 19:14, mdipierro wrote: > Not necessarily and I would not do it that way but you can. > > > > On Oct 15, 1:12 pm, Carl wrote: > > thanks M. > > > > Do I understand that your solution is

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread mdipierro
Not necessarily and I would not do it that way but you can. On Oct 15, 1:12 pm, Carl wrote: > thanks M. > > Do I understand that your solution is to have two separate user tables in > db.py? > > On 15 October 2010 18:42, mdipierro wrote: > > > look into default. You can replace > > > def user(

Re: [web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
thanks M. Do I understand that your solution is to have two separate user tables in db.py? On 15 October 2010 18:42, mdipierro wrote: > look into default. You can replace > > def user(): return dict(form=auth()) > > > with > > def agent(): return dict(form=auth()) > def candidate(): return di

Re: [web2py] Re: Vote for a new logo

2010-10-15 Thread Bruno Rocha
2010/10/15 dustin.b > why is the deadline so early? i really want to post some logos, but it > was not possible to really think about some designs and finally create > some.. I do not know, I just picked a date that was not too long. Massimo should decide a better date for this deadline, but

[web2py] Re: Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread mdipierro
look into default. You can replace def user(): return dict(form=auth()) with def agent(): return dict(form=auth()) def candidate(): return dict(form=auth()) and in the two functions you can set different default for auth_user fields. On Oct 15, 8:45 am, Carl wrote: > Is there a way to use [a

[web2py] dealing with extra clicks on a link

2010-10-15 Thread meland
Hello, First, I would appreciate if anyone can help with this issue I'm facing. Second, I am new to web2py, and not a programmer by profession. I have written an application for conducting tournaments with the ultimatum game - a simple bargaining game. The problem: it seems to work fine running

[web2py] buckingham for dimensional analysis/unit conversion/error propagation

2010-10-15 Thread mdipierro
http://code.google.com/p/buckingham/

[web2py] Re: Vote for a new logo

2010-10-15 Thread Anthony
Hmmm, looks OK in IE again -- not sure what happened. On Oct 15, 11:34 am, Anthony wrote: > Something's wrong in IE -- all the logos are vertically aligned at the > top of the header instead of the middle. This only happened in the > last couple hours I think. Looks OK in Chrome. > > On Oct 13, 5

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread José L .
On 15 oct, 13:32, Mark Breedveld wrote: > You have the idea. Thanks for clearing it towards the others. > > My guesses it we need to do both. > Because Jose goal is general purpose and mine aswell, > but comes with overkill in the most cases. > > In Jose case I would suggest a slight change. > w

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread José L .
On 15 oct, 11:33, Jurgis Pralgauskis wrote: > Maybe You could usehttps://help.launchpad.net/Packaging/SourceBuilds/ > > if you'd create stable branch on bazar and add packaging recipy > likehttps://code.edge.launchpad.net/~mdipierro/web2py/devel/+new-recipe > fromhttps://code.edge.launchpad.net

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread José L .
On 14 oct, 23:51, Christopher Steel wrote: > If your break things down into one or more “debian” packages and at > least one web2py application you could end up with a phenomenally > powerful and easy to maintain setup that could have resounding > repercussions, so to speak, for all parties. > >

Re: [web2py] Re: Offline apps

2010-10-15 Thread Fabio Alessandro Locati
Thanks Darcy for the info, I'll check out couchdb, it seems very interesting :) 2010/10/15 Darcy Clark > I've been experimenting with Couchdb as a database back-end to web2py > - having some success. Basically Couchdb is engineered to handle > offline-online transitioning and synchronization (I

[web2py] Re: Vote for a new logo

2010-10-15 Thread Carl
Have we considered using 99designs.com? Logo design is one of their specialities. No offence intended (to anyone, at all!)

[web2py] Re: Vote for a new logo

2010-10-15 Thread Anthony
Something's wrong in IE -- all the logos are vertically aligned at the top of the header instead of the middle. This only happened in the last couple hours I think. Looks OK in Chrome. On Oct 13, 5:17 pm, Bruno Rocha wrote: > Martin Mulone made the logovote application. > > I am hosting at my ser

Re: [web2py] Re: Vote for a new logo

2010-10-15 Thread Jonathan Lundell
On Oct 14, 2010, at 11:03 PM, Bruno Rocha wrote: > Comments are working now, lets test and comment on some logos! > > http://www.blouweb.com/logovote Thanks. A request: could we have a textarea for comment entry, please?

[web2py] Re: Vote for a new logo

2010-10-15 Thread dustin.b
why is the deadline so early? i really want to post some logos, but it was not possible to really think about some designs and finally create some..

[web2py] Re: Vote for a new logo

2010-10-15 Thread Anthony
If we're making an app for more general use, we might consider making the voting method configurable (e.g., single vote, multiple vote, rating, etc.). Note, using ratings (i.e., "range voting") can be tricky. If the winner is to be the option with the highest average, then it's important to make s

[web2py] TypeError: 'function' object is unsubscriptable

2010-10-15 Thread annet
In a view I have the following lines of code. {{if 'promobox' in globals():}} {{if promobox[0].kop:}} {{=promobox[0].kop}} {{pass}} {{=XML(promobox[0].tekst)}} {{pass}} when I expose a function that does not return a promobox I get the following error: Traceback (most

[web2py] Is user in [app]/[controller.py]/user hard-coded into Web2py?

2010-10-15 Thread Carl
Is there a way to use [app]/default/agent instead of app/default/user? I want to have two implementations of authentication (/agent and / candidate)

Re: [web2py] Re: labels in crud.select

2010-10-15 Thread Richard Vézina
Hello, It's not working... I am really confuse... I try with 1.83.2 and 1.87.3. I try with fields=['myfield1','myfield2'] and without it always with field_labels and also with and without headers='fieldname:capitalize'... Is it a issue? Richard On Thu, Oct 14, 2010 at 8:16 PM, Alex wrote: >

[web2py] link in mail request_reset_password

2010-10-15 Thread annet
While testing my cms application I found that the link in the mail send by the request_reset_password function isn't clickable, the user has to copy and paste the link into the browser. Am I the only one experiencing this? Is there a way to solve this problem? Regards, Annet

[web2py] Re: Vote for a new logo

2010-10-15 Thread weheh
Hi Bruno - comments are nice. I don't like the randomizing effect. Very disorienting when you push into & come out of comments as you end up in a "different" place.

[web2py] Re: cron @reboot not working on 1.87.3

2010-10-15 Thread mdipierro
In trunk now. On Oct 15, 4:31 am, Álvaro J. Iradier wrote: > Suggested patch: > > *** newcron.old.py      Fri Oct 15 11:27:34 2010 > --- newcron.py  Fri Oct 15 11:29:08 2010 > *** > *** 175,181 >               task[id] = [] >               vals = s.split(',') >               for

[web2py] Re: Vote for a new logo

2010-10-15 Thread Martin.Mulone
It came to my mind, with a little modification, we can have our uservoice and stackoverflow. And if you want to contribute to another project logo put in description: web2pyslice, etc. this is easy to implement. On Oct 15, 7:32 am, "Martin.Mulone" wrote: > Great work bruno. The comments are worki

[web2py] Re: Anyone used WHOOSH as search engine with web2py?

2010-10-15 Thread selecta
you wold have to concatinate all fields you want to be indexed for a record or define multiple fields in the woosh index setup but it should be possible On Oct 15, 3:21 am, mdipierro wrote: > I do not think it is possible because it is file based. > > On Oct 14, 8:19 pm, Richard wrote: > > > > >

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread Mark Breedveld
You have the idea. Thanks for clearing it towards the others. My guesses it we need to do both. Because Jose goal is general purpose and mine aswell, but comes with overkill in the most cases. In Jose case I would suggest a slight change. web2py-core web2py-gluon This has been discusses before,

[web2py] Re: Vote for a new logo

2010-10-15 Thread Martin.Mulone
Great work bruno. The comments are working!. Yes I think we have to show comment counter and make the vote as a rating system. On 15 oct, 03:30, Bruno Rocha wrote: > I added your comment and some more important info > tohttp://www.blouweb.com/logovote/default/upload > > 2010/10/15 mdipierro > >

[web2py] Re: running web2py on Android?

2010-10-15 Thread dustin.b
i tried to run w2p on android with ASE (android scripting env). It's been a while since I tried this but i can remember that there was a problem with threads or something like this. w2p seems to use python packages that are not avaible on android, didnt remember exactly which one.

[web2py] Re: gae memcace clear?

2010-10-15 Thread Jurgis Pralgauskis
I made a workaround to reset cache (per session for now). I have array, where I mark keys to be reset, and afer reset they can be removed or marked as done. def caching_time_get(key, caching_time=60*60*24): """ function to handle caching resets when the reset is on, it returns 0 on

[web2py] Re: web2py 1.87.3 is OUT

2010-10-15 Thread ron_m
This could be the problem, since you are probably on CentOS or Redhat a version of Python < 2.5 will not have hashlib built in http://pypi.python.org/pypi/hashlib/20060408a is where you can get one tested on 2.3 and 2.4 I have not had to do something like this yet but I believe site- packages is

[web2py] Re: Packaging web2py for Debian

2010-10-15 Thread Jurgis Pralgauskis
Maybe You could use https://help.launchpad.net/Packaging/SourceBuilds/ if you'd create stable branch on bazar and add packaging recipy like https://code.edge.launchpad.net/~mdipierro/web2py/devel/+new-recipe from https://code.edge.launchpad.net/~mdipierro/web2py/devel (notice code.EDGE.launch...)

[web2py] Re: cron @reboot not working on 1.87.3

2010-10-15 Thread Álvaro J . Iradier
Suggested patch: *** newcron.old.py Fri Oct 15 11:27:34 2010 --- newcron.py Fri Oct 15 11:29:08 2010 *** *** 175,181 task[id] = [] vals = s.split(',') for val in vals: ! if '-' in val and '/' not in val:

[web2py] Re: web2py 1.87.3 is OUT

2010-10-15 Thread annet
Massimo and Ron, When I run python web2py.py I get the following ImportError: Traceback (most recent call last): File "web2py.py", line 20, in ? import gluon.widget File "/home/fitwise/webapps/web2py/web2py/gluon/widget.py", line 25, in ? import main File "/home/fitwise/webapps/web2

[web2py] Re: Vote for a new logo

2010-10-15 Thread cjrh
On Oct 15, 3:17 am, mdipierro wrote: > I would have sworn this was in the book. Shame on me. It is now.

[web2py] Re: web2py 1.87.3 is OUT

2010-10-15 Thread annet
Hi Chris, In April we worked out the following procedure to upload and install packed web2py applications at webfaction: 1) Log on to webfaction via terminal/ssh 2) Go to your remote web2py/applications/ directory 3) As the user who is the owner of the Welcome application, manually create a direc