[web2py] Need a developer. Seattle Wa

2014-04-04 Thread Brando
It's pretty easy to find Django developers out there; however, I can't seem to find web2py devs. I have an upcoming project to build an app for data entry and report generation for security audits (penetration testing). I need a developer who can help me build out the code base and is

[web2py] archive tables do not migrate

2014-04-04 Thread sunny
is there a known problem with migration of archive tables? after i added a field to a table with record versioning enabled, i got an error that the field was missing in the archive table. my web2py version is 2.9.5-stable. -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Need a developer. Seattle Wa

2014-04-04 Thread Carlos Costa
I guess it will be easier to find devs to work remotely for you. Here in the group or even in ODesk for example. Or if you prefer a local dev, you can hire a Django dev and ask him to learn web2py. He will find a very easy learning curve. 2014-04-04 2:59 GMT-03:00 Brando bhe...@trustcc.com:

[web2py] Re: after_update callback question

2014-04-04 Thread mcamel
You are right. Both work. I don't know what happenend, but now it works to me. So it was my fault messing the code. I'm very sorry. El jueves, 3 de abril de 2014 21:55:59 UTC+2, Anthony escribió: Hmm, I have tried both methods (assigning a global variable and adding an attribute to

[web2py] Populating auth tables with AD credentials

2014-04-04 Thread Ray Allen
I've got an application authenticating against AD/LDAP but the auth table only gets updated with username / password credentials How might I make it so the auth table populates the firstname and lastname fields with the information in AD? Currently the firstname field uses the username field

Re: [web2py] Need a developer. Seattle Wa

2014-04-04 Thread Richard Vézina
Yeah remote easier!! Web2py is easy to learn so both is possible if you find a Django guy ready to open his mind!! Richard On Fri, Apr 4, 2014 at 7:28 AM, Carlos Costa yamandu.co...@gmail.comwrote: I guess it will be easier to find devs to work remotely for you. Here in the group or even in

Re: [web2py] Populating auth tables with AD credentials

2014-04-04 Thread Richard Vézina
May be possible that you don't specify the proper AD fields, try to specify field in the connection string, like that : from gluon.contrib.login_methods.ldap_auth import ldap_auth auth.settings.login_methods = [auth, ldap_auth(mode='ad',

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Francisco Betancourt
Thanks for the response Niphlod. I believe the bottleneck is the db, I am rewriting the code to use less queries, but in general terms I think I agree with you, I need a faster server. I currently host on Digital Ocean and I'm running a dual core with 2GB in RAM server. The statistics for the

Re: [web2py] Populating auth tables with AD credentials

2014-04-04 Thread Ray Allen
Great. I was missing manage_user=True argument. This works perfectly now. Thanks, Ray On Friday, April 4, 2014 2:51:57 PM UTC+1, Richard wrote: May be possible that you don't specify the proper AD fields, try to specify field in the connection string, like that : from

[web2py] Re: Help defining architecture for app

2014-04-04 Thread LightDot
It would be prudent to see some numbers and to learn about your setup more... So, what is your current setup like? Which web server are you using, which database? How much simultaneous db connections are we talking about? Digital Ocean is using KVM virtualization, correct? How is you memory

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Francisco Betancourt
Hello LightDot Thanks for the interest in my post, hope we can come up with a way to improve performance. This is my current setup: - Host: Digital Ocean (and yes I do think their Droplets (as instances are called) are KVM) - OS: Ubuntu 13.04 - Web Server: Apache 2.2 -

[web2py] Re: Anybody has an example of inner join + sum?

2014-04-04 Thread Tito Garrido
Nevermind I was not using the .first()[sum] at the end :) On Fri, Apr 4, 2014 at 3:01 PM, Tito Garrido titogarr...@gmail.com wrote: Hi, I am trying to sum a query that is a result of an inner join, the inner join returns as expected but I am not able to sum, when I put my sum inside of the

[web2py] Anybody has an example of inner join + sum?

2014-04-04 Thread Tito Garrido
Hi, I am trying to sum a query that is a result of an inner join, the inner join returns as expected but I am not able to sum, when I put my sum inside of the select() it returns None. Do I need to change anything in my sum variable? I am trying: sum=db.table2.value.sum()

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Leonel Câmara
May I ask why are you storing the csv file rows in the database if what you want is to send it to the webservice for processing? If there are only a dozen or so users at a time this could easily fit in memory. I would store everything in cache ram with the session_id as key and delete it after

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Francisco Betancourt
Didn't knew you could do this. But sadly users preview the data uploaded before the process and require the information to be stored for archival purposes for a good amount of time (say years) so I do need the db. I already talked to the web service provider and told them just that, and that

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-04 Thread Leonel Câmara
You can try integrating mangopay. It's a lot cheaper than stripe and works for all the eurozone. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Leonel Câmara
Didn't knew you could do this. But sadly users preview the data uploaded before the process and require the information to be stored for archival purposes for a good amount of time (say years) so I do need the db. Well unless they need to do some stuff with this data besides archiving somehow

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Francisco Betancourt
I must call it from my server, data from csv is processed, and this data is sent to the web service. Also I was hopping that since it's our server the one working on this, user can close their browser and come back hours later to see the progress rather than needing to have their browsers open

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Derek
I think for your use case, you may want to consider using Tactic instead of Web2py. On Friday, April 4, 2014 12:58:54 PM UTC-7, Francisco Betancourt wrote: I must call it from my server, data from csv is processed, and this data is sent to the web service. Also I was hopping that since it's

[web2py] Re: JSON data in HTML web page

2014-04-04 Thread Derek
Well, you'd look at using a client side templating library. Sane people use mustache or handlebars, I prefer Jqote2. On Thursday, April 3, 2014 5:38:22 PM UTC-7, Ramesh Aj wrote: I am reading data from remote machine and converting it into dictionary format like {IP: [192.111.111.111,

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Francisco Betancourt
Never heard of Tactic. I will check it. But for what I see it runs in Windows and MacOS only. El viernes, 4 de abril de 2014 14:10:47 UTC-6, Derek escribió: I think for your use case, you may want to consider using Tactic instead of Web2py. On Friday, April 4, 2014 12:58:54 PM UTC-7,

[web2py] Regarding advance use of IS_IN_DB while referencing a model using other models

2014-04-04 Thread Akash Agrawall
I am well aware of the usage of IS_IN_DB in web2py however I want to select some particular values of the table in drop down. Like presently this attribute selects all users registered in the application. db.Field('selected_users','string',requires=IS_IN_DB(db,db.auth_user.id,

[web2py] Question about Web2py inner workings

2014-04-04 Thread Cliff Kachinske
If I write a python module like this: # born_to_fail.py foo = 'bar' def main(): print foo if __name__=='__main__': main() Python will raise an exception about an unbound local variable. But in Web2py, I do this all the time without getting an exception: #my_controller.py ISEDITOR =

[web2py] Re: Help defining architecture for app

2014-04-04 Thread 黄祥
is it http://en.wikipedia.org/wiki/TACTIC_(web_framework) ??? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] Re: Regarding advance use of IS_IN_DB while referencing a model using other models

2014-04-04 Thread 黄祥
please try (not tested) requires = IS_IN_DB(db((db.auth_user.id 0) (db.auth_user.registration_key == ) ), db.auth_user.id, '%(first_name)s %(last_name)s') best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Re: [JOB] Looking for 1 web2py dev in Taipei

2014-04-04 Thread Derek
Well, considering the work arrangements, it's not bad pay. 3 days a week, 1 hour a day, for $213 an hour... but I was talking american dollars... but hey, that's not bad pay either. ah, and I can say now that I have two hours AWS experience, specifically S3 and Route 53 On Tuesday, April 1,

Re: [web2py] Pyston

2014-04-04 Thread Derek
Yeah, I think 3.3 and 3.4 are starting to see critical mass behind them. On Thursday, April 3, 2014 4:24:15 PM UTC-7, Tim Richardson wrote: On Friday, April 4, 2014 7:19:37 AM UTC+11, Massimo Di Pierro wrote: Long live 2.7 (2.8, 2.9, etc.) I'm convinced we'll never see a 2.8. Some very

[web2py] Re: Help defining architecture for app

2014-04-04 Thread Derek
Yes, that's it. On Friday, April 4, 2014 2:55:39 PM UTC-7, 黄祥 wrote: is it http://en.wikipedia.org/wiki/TACTIC_(web_framework) ??? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: Regarding advance use of IS_IN_DB while referencing a model using other models

2014-04-04 Thread Akash Agrawall
@steve Thanks. It worked for me. :) Regards, Akash On Sat, Apr 5, 2014 at 3:34 AM, 黄祥 steve.van.chris...@gmail.com wrote: please try (not tested) requires = IS_IN_DB(db((db.auth_user.id 0) (db.auth_user.registration_key == ) ), db.auth_user.id, '%(first_name)s %(last_name)s') best

[web2py] Re: Exception seen for controller in web2py

2014-04-04 Thread Derek
your issue is with this line... xmlstr = ET.tostring(tree,encoding=None) might want to try it out in your python repl before modifying your controller. On Wednesday, April 2, 2014 1:14:11 PM UTC-7, Ramesh Aj wrote: I have controller in web2py as below # coding: utf8 # try something

[web2py] Can't run web2py from App Engine Launcher

2014-04-04 Thread gubbanoa
I'm trying to run web2py 2.9.5 from Google App Engine Launcher 1.9.2 on Windows. After modifying the app.yaml file to suit Python 2.7, I got an error message about missing gaehandler and, after searching the forum for a solution, copied that file into the main web2py directory. However, now I

[web2py] Re: Help defining architecture for app

2014-04-04 Thread LightDot
On Friday, April 4, 2014 7:14:39 PM UTC+2, Francisco Betancourt wrote: Hello LightDot Thanks for the interest in my post, hope we can come up with a way to improve performance. This is my current setup: - Host: Digital Ocean (and yes I do think their Droplets (as instances are