[web2py] 2.4.2 breaks custom login form

2013-03-07 Thread Eric
I've just upgraded to version 2.4.2. Now the custom login page doesn't work anymore in Firefox and Chrome, on the previous version everything worked nicely on both browsers. What I discovered it that since version 2.4.2 a little "#" was popping up into the action attribute of our custom login f

[web2py] Login not possible in Chrome and Firefox on 2.4.2 (stable) 2013-03-04 03:26:21

2013-03-07 Thread Eric
Hi, We've got a custom layout for our login page using a view with all the needed ("{=form.custom.widget.email}}") code elements. On the previous version of Web2Py everything worked nicely on Internet Explorer, Chrome and FireFox. After upgrading to 2.4.2 logging in to our project only works o

[web2py] Re: 2.4.2 breaks custom login form

2013-03-12 Thread Eric
https://groups.google.com/forum/?fromgroups=#!searchin/web2py/2.4.2$20login/web2py/G4XnV87dh60/p7cRZKM9Xc0J Is the same question. A app is posted there :) -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and

[web2py] Re: Login not possible in Chrome and Firefox on 2.4.2 (stable) 2013-03-04 03:26:21

2013-03-13 Thread Eric
Removing the did the trick :) Tnx! -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://g

[web2py] Re: IS_IN_SET validator zero option

2011-09-02 Thread Eric
Thanks so much, Bruno. I also found this in the manual -- I had overlooked the fact that the zero option was available there. Appreciate that you took the time to answer. Eric On Sep 1, 8:39 pm, Bruno Rocha wrote: > > db.define_table

[web2py] Combining registration and login forms on same page

2011-09-03 Thread Eric
tions to one "help" page, and change the auth.navbar to only display a single link to this help page instead of two links to "lost password" and "forgot username". I'd be grateful for any assistance. Thank you, Eric

[web2py] Re: Combining registration and login forms on same page

2011-09-03 Thread Eric
into one, will involve the same concept. However, still not sure offhand how to modify the auth.navbar options. Any help would be appreciated. I suspect this will end up involving a change to the web2py code, or else just creating a custom HTML navbar. On Sep 3, 6:22 pm, Eric wrote: >

[web2py] Re: Combining registration and login forms on same page

2011-09-04 Thread Eric
ay be a quicker way available (as there was in combining the registration and login forms). But I know that sometimes that's just what I have to do. Thanks again for your answer. Eric On Sep 3, 8:06 pm, Massimo Di Pierro wrote: > > However, still not sure offhand how to modify

[web2py] problems changing database field type

2011-09-08 Thread Eric
I'm running web2py on PostGreSQL. I accidentally created a model that specified a table with column type "double" when I needed "decimal". Now I'm trying to change it from double to decimal, with no luck. I deleted all the records, and have used 'migrate=True,fake_migrate=True', and all the varia

[web2py] Re: problems changing database field type

2011-09-08 Thread Eric
in or erase your db model > reload your app... paste your model reload... > > Don't need fake migrate just migrate true... > > Richard > > > > > > > > On Thu, Sep 8, 2011 at 1:36 PM, Eric wrote: > > I'm running web2py on PostGreSQL.  I accidental

[web2py] Re: problems changing database field type

2011-09-08 Thread Eric
ard > > > > > > > > On Thu, Sep 8, 2011 at 1:36 PM, Eric wrote: > > I'm running web2py on PostGreSQL.  I accidentally created a model that > > specified a table with column type "double" when I needed "decimal". > > Now I'

[web2py] Re: Quick authentication question

2011-09-10 Thread Eric
And if you're using Apache with mod_wsgi and you want to use basic authentication with a web2py service, don't forget to add the line "WSGIPassAuthorization On" to wsgi.conf under /etc/apache2/mods- enabled I spent over an hour trying to figure out why I wasn't able to do basic authentication befo

[web2py] Instant Admin third-party security audit?

2011-09-10 Thread Eric
I'm just writing to find out if a third-party has audited the code for the new instant admin plug-in for web2py (https://github.com/sramana/ web2py-instant-admin). It's a beautiful interface for the db, and I mean nothing personal against the developers, who have done a fantastic job building a gr

[web2py] Re: web2py received 2011 BOSSIE Award by InfoWorld.com

2011-09-10 Thread Eric
Congratulations for Massimo and all the other contributors! You've achieved a lot in a relatively short amount of time. On Sep 7, 10:59 pm, wwwgong wrote: > Congratulations! > > more details from > here:http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...

[web2py] Best way to quickly display formatted record from a table

2011-09-15 Thread Eric
I'm sure I'm missing something, but I keep reading over the documentation and I don't see how to easily display the readable, writable fields of the current user's table record(s) as pre-formated, non-form data. It seems like there would be an easy way to display a record as a table or div or list

[web2py] Trying to implement token authentication for web service

2011-09-15 Thread Eric
OK, here's where my background as a non-CS/humanities major starts to hurt. I'm trying to implement a token authentication for a web service using RPC. I've also developed a sign-up/payment website for the web service that uses web2py with auth. I had the service working fine using basic authent

[web2py] Re: http get requests for google search api

2011-09-15 Thread Eric
I've not used any of the google api, but if you just need to access and parse a json formatted api, you would need to use urllib or urllib2 to make the request, then use simplejson or json or parse the results: import urllib import simplejson req = urllib.urlopen("http://google.com/api.json";) ##

[web2py] Re: Trying to implement token authentication for web service

2011-09-15 Thread Eric
Thank you all for your answers. Yes, I can pass the token in the querystring if I put the token check in each and every function of the API. But when I put the token check in the exposed call action, passing the token in the querystring does not work. I'd like to find a way to do a token check w

[web2py] Re: Trying to implement token authentication for web service

2011-09-15 Thread Eric
That's great to hear. Any chance that a token-based API authentication module would be included in the trunk, if someone were to create one? Or would that be better as a plugin? I'd be happy to do the grunt work of adapting one of the modules available for the other frameworks (I've found one fo

[web2py] Re: http get requests for google search api

2011-09-16 Thread Eric
, 2011 5:55:30 PM UTC-4, Eric wrote: > > > I've not used any of the google api, but if you just need to access > > and parse a json formatted api, you would need to use urllib or > > urllib2 to make the request, then use simplejson or json or parse the > > results: &

[web2py] Re: Trying to implement token authentication for web service

2011-09-16 Thread Eric
-based authentication. I don't need or intend to use two different authentication methods. Thanks again, Eric On Sep 15, 11:15 pm, Massimo Di Pierro wrote: > Looking at your code again: > > @auth.requires_login() > def call(token): >     row = db(db.subscription.token == t

[web2py] Re: Trying to implement token authentication for web service

2011-09-16 Thread Eric
d now that the solution for me will be using request.args(0) as Massimo described. Thanks again, Eric On Sep 15, 9:06 pm, Ross Peoples wrote: > Eric, I may have found a way to do it, but it's not pretty. > > Create a controller that only has login / logout methods. The login method

[web2py] Re: Best way to quickly display formatted record from a table

2011-09-16 Thread Eric
nt user, it would be exactly what I'm looking for. In any case, it's not that hard to pull the values individually and then format them. I just thought that there might be something similar to SQLFORM, except that it would display a table record instead of creating a form to insert a re

[web2py] Re: Trying to implement token authentication for web service

2011-09-16 Thread Eric
: 'NoneType' object has no attribute 'token' It would appear that the request.vars(0) is getting a None result when I try to grab it. What am I doing wrong? Thank you, Eric On Sep 15, 11:15 pm, Massimo Di Pierro wrote: > Looking at your code again: > > @auth.requir

[web2py] Re: Trying to implement token authentication for web service

2011-09-16 Thread Eric
Hey, Ross. Your solution using request.vars.token worked. Thanks!! On Sep 15, 9:06 pm, Ross Peoples wrote: > Eric, I may have found a way to do it, but it's not pretty. > > Create a controller that only has login / logout methods. The login method > will return your to

[web2py] Re: Trying to implement token authentication for web service

2011-09-16 Thread Eric
On Sep 16, 2011, at 10:02 AM, Eric wrote: > > > > > > > > > > > request.args(0) does not seem to work.  When I try Massimo's > > suggestion for a token check, I get the traceback below on the error > > ticket.  I've tested the database query,

[web2py] Re: IMPORTANT

2011-10-13 Thread Eric
Agreed. No need for any policy IMHO. I'm not by nature a follower of any philosophy or religion, but I'm not bothered by anyone's signature unless it contains an ad hominem attack and/or a blanket attack on a specific group of people. And I've not seen any such signature on this list.

[web2py] Re: Error messages for radio validation

2011-09-01 Thread Eric
s solution? Thank you in advance for your explanation. Eric On Apr 6, 7:07 pm, bluemoth wrote: > Thanks DenesL and Massimo, > > I think e['hideerror]=True is the solution. > > I wasn't sure before but this confirms that the requirements are > checked on the server-side af

[web2py] Re: New Janrain Engage Social Login Widgets

2011-09-01 Thread Eric
Thanks for this. I'm glad to hear they're working on their loading time. I was set to use Janrain for an upcoming project but abandoned it in favor of rolling my own OpenID because the Janrain widget was so slow to load. Painfully slow. I'm interested in finding out if it's actually four-times

[web2py] Remove _extra from as_list()

2016-07-20 Thread Eric
Hi There, Is there a way in Web2Py to suppress the _extra information when selecting data with as_list() or as_dict()? I can't find it and option for it, but maybe I'm just overlooking it in the documentation ;) Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio

[web2py] Add version number to include javascript files

2013-11-28 Thread Eric
Hi, This nice one-liner is adding a version number to css and js paths: response.static_version = true When including files like this: {{ response.files.append(URL('static','css/normalize.css')) }} With the compression option to true all the files in the sample above will be combined, sam

[web2py] Add code to layout.html from {{include}}

2014-03-06 Thread Eric
Hi, I have a layout.html that contains {{block footer}}{{end}}. I've added this so I can add specific javascript files for a controller to the layout without the need of loading it on all pages. I add it like this (this works fine!): clients.html html ... {{block footer}} {{super}} {{end}

[web2py] Why still mixing PY2 and PY3

2019-01-31 Thread Eric
Hi, I'm happily using Web2Py, but with the end of PY2 on 01-01-2020 ( https://pythonclock.org) I'm curious why all the efforts are in place to keep creating a version of Web2Py that supports PY2 and PY3 in one version? Why not update the master only for PY3 stuff (remove the PY2 stuff?) and c

[web2py] Possible SQLCustomType bug with booleans

2014-07-17 Thread Eric
ng in this specific situation. When I use: value == True Web2py crashes with this error: AttributeError: 'bool' object has no attribute 'replace' <http://127.0.0.1:8000/admin/errors/portal#> Traceback (most recent call last): File "/home/eric/Projects/Web2Py/B

[web2py] Re: Possible SQLCustomType bug with booleans

2014-07-21 Thread Eric
the custom display (and > possibly a custom widget if you need special input as well)? What's wrong > with your current code? > > Anthony > > On Thursday, July 17, 2014 9:29:00 AM UTC-4, Eric wrote: >> >> Hi There, >> >> Today I needed to use

[web2py] Add (customer) number to url

2014-07-30 Thread Eric
Hi, We need a way to get the customer number into web2py by it's url so we can display the corresponding data to the visitor. To keep it easy for the visitor this number needs to be visible in every url. Since the site runs under SSL and we don't want to buy another SSL certificate, we're look

[web2py] Re: Add (customer) number to url

2014-08-04 Thread Eric
the request variable as follows: > > request.args = ['x', 'y', 'z'] > > > so you could say /a/c/f.html/customernumber and customernumber would be > request.args[0] > On Wednesday, July 30, 2014 2:53:34 AM UTC-7, Eric wrote: >> >> Hi, >

[web2py] Manual reset password link

2014-09-30 Thread Eric
Hi, Since version 2.9.11 of Web2Py this piece of code can be found in tools.py: if self.settings.prevent_password_reset_attacks: key = request.vars.key if not key and len(request.args)>1: key = request.args[-1] if key: session._r

[web2py] cache.disk.clear() crashes in appadmin

2014-10-16 Thread Eric
Hi All, When I press the 'empty cache' button on the Appadmin I get a nice error: Traceback (most recent call last): File "/home/eric/Projects/Web2Py/site/gluon/restricted.py", line 224, in restricted exec ccode in environment File "/home/eric/Projects/Web

[web2py] Re: cache.disk.clear() crashes in appadmin

2014-10-16 Thread Eric
@Paolo: Done (http://code.google.com/p/web2py/issues/detail?id=1996) @Leonel: Thans! -- 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 me

[web2py] Is Web2py suitable for my project

2015-01-25 Thread Eric
the browser file dialogs. Eventually I'd like to use a database to archive the uploaded data files and resulting result files along with other information such as user, date, instrument serial number, etc. Thanks, Eric -- Resources: - http://web2py.com - http://web2py.com/book (Documentati

Re: [web2py] Is Web2py suitable for my project

2015-01-25 Thread Eric
know how to use that to get a file into the Python parsing script. I'm usually pretty good at finding resources on the web, but my general knowledge of web technologies is a problem. Eric On Sunday, January 25, 2015 at 3:24:18 AM UTC-6, Kiran Subbaraman wrote: > > I would use web2

Re: [web2py] Is Web2py suitable for my project

2015-01-26 Thread Eric
Richard, If you try Bokeh and/or mpld3 please tell me how it went. I'll need scientific plots in my application and would welcome any hints on how to accomplish this in Web2py. Eric On Monday, January 26, 2015 at 9:30:48 AM UTC-6, Richard wrote: > > Didn't know bokeh tha

[web2py] Newby Question

2015-01-29 Thread Eric
n how web programming works so any references would be appreciated. I've been working my way through an on-line HTML tutorial, but it seems that javascript is also important. Thanks in advanced, Eric -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gi

Re: [web2py] Newby Question

2015-02-02 Thread Eric
t I'm trying to avoid is just assuming some "magic" happens. Eric On Thursday, January 29, 2015 at 12:20:53 PM UTC-6, Richard wrote: > > Without the code from your controller and view it is more difficult to be > sure of what you are talking about exactly... > > I g

[web2py] Update session expiration after login

2015-08-06 Thread Eric
Hi, How can I change the session expiration length after someone has loggedin? I've found the setting auth.settings.expiration, but that only works when I place it in the db.py (or somewhere before I call the (bare)login function). Trouble is that I only know the rights of the user after login,

[web2py] Re: Update session expiration after login

2015-08-11 Thread Eric
ation. So, you could do something like: > > def after_login(form): > if 'special_group' in auth.user_groups.values(): > session.auth.expiration = 60 * 60 * 24 > > auth.settings.login_onaccept.append(after_login) > > Anthony > > On Thursday, Aug

[web2py] Possible bug in 2.12.2 when including a .css file in a HTML email template

2015-08-11 Thread Eric
Hi, I've just updated my project to Web2py 2.12.2 and found a little issue that wasn't there in my previouse versie 2.10.something... I render a HTML template for the 'reset password' email like this: auth.messages.reset_password = response.render('templates/email/reset_password.html',

[web2py] Re: Update session expiration after login

2015-08-11 Thread Eric
It seems that: session.auth.expiration = [value] Is also doing the job :) -- 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 message bec

[web2py] Re: Possible bug in 2.12.2 when including a .css file in a HTML email template

2015-08-12 Thread Eric
I've created an issue on GitHub: https://github.com/web2py/web2py/issues/1041 Feels like a better place to report this than here... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues

[web2py] Re: Take me advice, please

2019-12-30 Thread Eric
Have you tried with a session variable? El domingo, 29 de diciembre de 2019, 12:34:49 (UTC-7), Константин Комков escribió: > > Hello! > > How can I transfer my variable type of list, which contain my classes to > another function in controller. I tried vars and args in URL function but > my cl

[web2py] pydal for_update on sqlite

2020-02-03 Thread Eric
I'm using pydal revision 20191227.1 installed via pip. Trying to use "for_update" in select on sqlite database results in an exception sqlite3.OperationalError: near "FOR": syntax error The adapter for sqlite does have special handling for "for_update", but it looks like pydal is adding "

[web2py] scheme of url when using py4web with https proxy

2020-02-04 Thread Eric
the proper scheme? Eric -- 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 message because you are subscribed to the Google Groups "w

[web2py] Re: scheme of url when using py4web with https proxy

2020-02-04 Thread Eric
On Tuesday, February 4, 2020 at 8:16:52 AM UTC-6, Eric wrote: > > How can I configure py4web to return the proper scheme? > > I should add that main problem this is causing for me is that the OAuth2 class builds the callback URIs based on the reported scheme. Eric -- Resou

[web2py] validator formatter when validation fails

2020-02-17 Thread Eric
In py4web, when form validation fails on a datetime field, py4web throws and exception. In the IS_DATETIME validator, when validation fails, validate() returns value as string (the original value). The form code tries to display the fields properly by calling field's validator formatter(). Since

[web2py] py4web google oauth issue

2020-02-18 Thread Eric
y setup that switches out the people api. https://github.com/web2py/py4web/pull/120 In addition, there is change for SSO._handle_callback to show errors such as what I received above and a way to force https for callback uris. Eric -- Resources: - http://web2py.com - http://web2py.com/book (

[web2py] Re: job

2010-04-25 Thread Eric Vicenti
that happens. The temporary project homepage is here: http://vicenti.net/phost.us/ Eric On Apr 25, 5:59 pm, "finrodfeleg...@gmx.com" wrote: > nice > > On Apr 24, 5:34 pm, mdipierro wrote: > > > I found this > > >http://www.odesk.com/jobs/Python-Web-Server-LAMP-

[web2py] Re: How to access functions inside other controller files other than default

2010-10-20 Thread Eric Vicenti
Vlad, URL is quite versatile. Not only can you do URL('function') for a function in the current controller, you can use URL('controller','function') or even URL('application','controller','function') if you need. I hope I was able to he

[web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2010-10-23 Thread Eric Vicenti
> Going back to my original question - can anyone provide a domain specific > Apache virtual host file that achieves what Massimo's routes.pu settings do > and does not require a separate instance of web2py for each domain. (I'm > not sure how to achieve this from what VP posted.) I am also inter

[web2py:23253] Re: click click clik

2009-06-03 Thread Eric Florenzano
rtant to be able to be profitable in the small scale as > the large. Fact more so. Definitely! It seems that Web2Py is highly optimized for this type of situation. Small team, rapid prototyping, teaching, etc. I think it's a really under-appreciated niche, too. Thanks, Eric Florenzano --

[web2py:23319] Re: click click clik

2009-06-05 Thread Eric Florenzano
start to get in your way-- usually in the data access layer. The good news is that most websites don't turn into YouTube in a single day, and you have time to write that custom code as you need to. Thanks, Eric Florenzano --~--~-~--~~~---~--~~ You received t

[web2py:25871] Web2py vs the world

2009-07-07 Thread eric cs
Guys I just knew this framework and really I can't believe it Several people say good things about Django but web2py looks like way better. So I would ask you to compare web2py to Rails,Django,Zend,Spring and tell me the cons and pros and tell me some stuff that 2py doesn't do? Any limitations

[web2py:25894] Re: Web2py vs the world

2009-07-07 Thread eric cs
e compare, without deploying, living with user issues, > and being comfortable enough with the environment to "get" what this > provides you in the trenches? I don't know I hope more expreience this > aspect > > > On Tue, Jul 7, 2009 at 3:22 PM, JohnMc w

[web2py:25897] Re: Web2py vs the world

2009-07-07 Thread eric cs
Fran thanks for the reply, but about those problems how rails,zend,django would be diferent. I understand orm for big sites can be slow, but just that right? Thanks. On Jul 7, 5:53 pm, Fran wrote: > On Jul 7, 10:36 pm, eric cs wrote: > > > I'm just wondering to do big e-co

[web2py:25900] Re: Web2py vs the world

2009-07-07 Thread eric cs
x27;s spring and Php's zend in your opinion. Congratulation for this fantastic piece of software. I would like to help anywhere I can if you guys need some, I believe 120% in web2py. Just amazing! Web2py will make me learn Python!!! On Jul 7, 6:04 pm, eric cs wrote: > Fran thanks for t

[web2py:25903] Re: Web2py vs the world

2009-07-07 Thread eric cs
ote: > > > On Jul 7, 10:36 pm, eric cs wrote: > > > I'm just wondering to do big e-commerce sites like > > >www.taget.comorwww.bestbuy.comisn't web2py enough, or does it need > > more maturity? > > I imagine that a serious site like this would have

[web2py:26080] Deployment of Python web apps on shared hosts.

2009-07-09 Thread eric cs
Hey Everybody, I would like to ask you a question about deployment on shared hosts like on goddady.com I saw some guys having problems trying to deploy some ruby on rails apps on godaddy shared account and they didn't offer a very good support for that. So I was wondering how difficult it is to d

[web2py:26081] Ruby 1.9 VS Python 3!!!

2009-07-09 Thread eric cs
Hey guys, I am a newbie and Python and amazed by Web2py so I was wondering Can you compared them for me? As far as best features, closures,mixins and etc? Which one is easier to a newbie learn and why? I do know they look like each other but I saw some people saying Python is more mature than

[web2py:26087] Re: Deployment of Python web apps on shared hosts.

2009-07-09 Thread eric cs
it is possible and we can > help you set it up. > > On Jul 9, 8:03 pm, eric cs wrote: > > > Hey Everybody, > > > I would like to ask you a question about deployment on shared hosts > > like on goddady.com > > I saw some guys having problems trying to deploy some rub

[web2py:26088] Re: Ruby 1.9 VS Python 3!!!

2009-07-09 Thread eric cs
Oh I was wondering why Web2py and Django are not using the last version of Python 3 as well. Thanks. On Jul 9, 9:11 pm, eric cs wrote: > Hey guys, > > I am a newbie and Python and amazed by Web2py so I was wondering > Can you compared them for me? As far as best features, clo

[web2py:26092] Re: Deployment of Python web apps on shared hosts.

2009-07-09 Thread eric cs
What about Ram consuption, I know Ruby likes that a lot, how does Python compare to Php in this issue? Thanks. On Jul 9, 9:27 pm, eric cs wrote: > Thanks I really appreciate that I was just wondering if its hard and > what do I have to learn besides web2py,Python and Mysql. > Thanks. &

[web2py:26102] Re: Deployment of Python web apps on shared hosts.

2009-07-09 Thread eric cs
because of >> hidden references, Because in web2py apps are executed not imported >> (the only framework to do so) we do not have this issue and seem to >> run lean. >> >> Massimo >> >> On Jul 9, 9:12 pm, eric cs wrote: >> > What about Ram con

[web2py:26103] Re: Ruby 1.9 VS Python 3!!!

2009-07-09 Thread eric cs
web2py code base itself is poised to run on Python 3, but until > those other things are there (and tested) it wouldn't be terribly useful. > > > On Thu, Jul 9, 2009 at 8:28 PM, eric cs wrote: > >> >> Oh I was wondering why Web2py and Django are not using the last &g

[web2py:26187] Re: task forces

2009-07-10 Thread eric cs
I am in...but no knowledge, just wanna help and learn on the process if that is possible, count with me. On Jul 10, 4:32 pm, mdipierro wrote: > I think we need to build two task forces. > > 1) to build a CMS > > 2) to build a eStore > > the more overlap the better. We need two project leaders

[web2py:/] Multithreaded and Multicore Programming/Solutions

2009-07-10 Thread eric cs
Guys I am not expert just thinking about the Twiiter/Rails problem and Scala solution and I was wondering that with Python. I heard the best option to use Web2py is 2.5 and this version doesn't support same features that take care "kind of" the Multithreaded and Multicore problems on Python 2.6 an

[web2py:26192] Re: task forces

2009-07-10 Thread eric cs
nce on a team was 3 / 2  or so of > experienced python-web2py-ers, vs people wanting to learn, stretch it would > be a great way to regularly have a place to join in --- real "community" > stuff. > > How does this sound?   A simpler job to work out the basics of the work

[web2py:26199] Recursive vs Iterative Algorithm

2009-07-10 Thread eric cs
They compare Ruby 1.9 with Python, than a Python guy change the algorithm from being recursive to being iterative and runs way faster...wow. Can you guys explain those ways of programming with simple examples with comments? I heard is very used on functional programming (Erlang,Scala). How to ite

[web2py:26203] Re: task forces

2009-07-10 Thread eric cs
Flex and Flash front end kick ass. On Jul 10, 5:14 pm, mdipierro wrote: > magneto is nice. > > On Jul 10, 3:56 pm, eric cs wrote: > > > W > > We have to beat them...hehehe > > Rails for Spree and Magento for Php/Zend. > > At least Magento for inspirat

[web2py:26209] Re: Recursive vs Iterative Algorithm

2009-07-10 Thread eric cs
Yarko, I hope you are not talking about Python vs Ruby, I don't wanna know that just the Recursive vs Iterative Algorithm tecnics to speed you code up!! On Jul 10, 5:27 pm, Yarko Tymciurak wrote: > ugh!  don't go down the rabbit hole! > > > > On Fri, Jul 10, 2009 a

[web2py:26211] Re: Multithreaded and Multicore Programming/Solutions

2009-07-10 Thread eric cs
ngs will change in the > future. I know Jruby is faster than CRuby. > > Massimo > > On Jul 10, 3:54 pm, eric cs wrote: > > > > > Guys I am not expert just thinking about the Twiiter/Rails problem and > > Scala solution and I was wondering that with Python. > >

[web2py:26214] Re: Recursive vs Iterative Algorithm

2009-07-10 Thread eric cs
ahaa, yes I on the deep end, but I like to know the diferent way of thinking/programming. and if it makes fast better yet...heheh On Jul 10, 5:49 pm, Yarko Tymciurak wrote: > On Fri, Jul 10, 2009 at 4:38 PM, eric cs wrote: > > > Yarko, I hope you are not talking about Python vs R

[web2py:26225] Re: Recursive vs Iterative Algorithm

2009-07-10 Thread eric cs
, from a BSOD to a nasty worded MessageBox from the OS, still, it > is definitely something which "is NOT a good thing." > > -- > my 3 cents. > > Rb. > > On Jul 10, 2:19 pm, eric cs wrote: > > > > > They compare Ruby 1.9 with Python, than a Python

[web2py:26229] Re: Recursive vs Iterative Algorithm

2009-07-10 Thread eric cs
No problem, I am sorry about that. and thanks everyone for the info, I'll take it there, very interesting stuff. Thanks. On Jul 10, 8:07 pm, mdipierro wrote: > Eric, > > I am not sure this is the place for this type of discussions. I would > recommend this mailing list ins

[web2py:32310] URLs in static files

2009-10-06 Thread Eric Vicenti
Hi, I understand most of my site CSS and Javascript (which need no database interface) should be static files, but there is often the need to include URLs in CSS or JS files. How should I do the URLs such that the site is still portable? -Eric

[web2py:32327] Re: URLs in static files

2009-10-06 Thread Eric Vicenti
n and return dict(), but it feels unnecessary to maintain a list of functions when there are files. -Eric On Oct 6, 2:29 pm, Jonathan Lundell wrote: > On Oct 6, 2009, at 1:35 PM, mdipierro wrote: > > > It is good practice to put in the CSS only relative urls to other > > static files

[web2py] how to start Celery worker in web2py

2013-03-06 Thread Eric S
rkers, however, are launched from the command line such as with the following command, which won't easily substitute into 'worker.py' above: celery -A tasks worker --loglevel=info Has anyone had success integrating web2py and Celery? How do you (robustly) get around this pr

Re: [web2py] how to start Celery worker in web2py

2013-03-12 Thread Eric S
ys reinvent the wheel so I would like to >> see more integrations. >> >> wish list: >> >> Whoosh (WIP) >> Solr (maybe a haystack clone for web2py) >> ElasticSearch >> Celery >> Thumbor >> Neo4J >> >> >> On Wed, Mar 6, 2013 a

Re: [web2py] how to start Celery worker in web2py

2013-03-12 Thread Eric S
AM UTC-7, Eric S wrote: > > > I'm interested in a robust, widely-adopted scheduler. The current web2py > Scheduler is clearly changing very rapidly, which is great, for now I want > a scheduler that is mature. > > Can anyone answer my original question -- how have you g

[web2py] view error tickets in admin when stored in db

2013-03-27 Thread Eric S
I'm storing my web2py error tickets in a database. However, the admin interface to the database doesn't show the tickets table. Is this correct? If so, why not show the tickets table? Thanks, Eric -- --- You received this message because you are subscribed to the Google Group

[web2py] help running workers on multiple machines

2013-04-02 Thread Eric S
ocally with SQLite. The jobs I'm scheduling are long-running jobs so I need multiple concurrent workers. Using web2py v2.4.5. Any ideas? Thanks, Eric -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe

[web2py] Re: help running workers on multiple machines

2013-04-02 Thread Eric S
ee the "debug" logging, one worker should print something like > TICKER: I'm a ticker > TICKER: workers are 2 > TICKER: tasks are 2 > > On Tuesday, April 2, 2013 10:29:38 PM UTC+2, Eric S wrote: >> >> >> I'm trying to run multiple Scheduler workers

[web2py] Re: help running workers on multiple machines

2013-04-02 Thread Eric S
s different from any other db > engine if you don't commit() you can't read what other processes > committed already) > > Anyway on my test rig this problem was superseeded some time ago: are you > sure that there aren't problems connecting to that instance ? > >

[web2py] Disabling Bootstrap?

2012-11-26 Thread Eric Hegnes
is initiated would be helpful. Thank you, Eric --

[web2py] web2py inline editable grid

2012-12-14 Thread Eric Seidler
I'm using web2py to build a dynamic web UI to a MySQL backend, and I'm new to the web2py framework and web development in general. What I'm looking for is a library or plug-in with the following features that is either built for or compatible with web2py. 1) Inline editing of records retrieve

[web2py] dependent validator for grid update

2012-12-17 Thread Eric Seidler
Hi. I have a grid object that I'm using to update records. I'd like to be able to limit the input value of field B based on the fixed value of field A when the update button is clicked for that record. For example: step, outcome 1, A 1, B 1, C 2, C 2, D 3, A 3, D ... So if step==1 for a reco

Re: [web2py] Re: Apostrophe error in the database

2011-11-10 Thread eric tchonfene
This the result I get when I call the function this the xml that I get back my apostrophe is changed to ' Lady'sRoom On Thu, Nov 10, 2011 at 8:31 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > There are two warnings in this page: > http://www.pythonsecurity.org/wiki/web2py/?version=

Re: [web2py] Re: Apostrophe error in the database

2011-11-10 Thread eric tchonfene
Di Pierro < massimo.dipie...@gmail.com> wrote: > Yes but there is nothing wrong with that. Your page is in unicode and > that is the right way to represent the apostrophe un unicode. > > Does it show an postrophe when you look at it? > > On Nov 10, 9:04 am, eric tchonfene wrote: >

Re: [web2py] Re: Apostrophe error in the database

2011-11-10 Thread eric tchonfene
The XML is being parsed by a Flashbuilder app and yes the apostrophe showing up that way is causing a problem. On Thu, Nov 10, 2011 at 12:28 PM, Anthony wrote: > On Thursday, November 10, 2011 12:42:42 PM UTC-5, africanacloud wrote: >> >> When I look at the data in the database it shows up jus

[web2py] Thanks for the awesome framework/setting up PostgreSQL

2011-07-13 Thread Eric Scott
amiliar with SQL so it should not be too hard for me to set up the database; I just need recent documentation on setting web2py to work with it instead of sqlite. Thanks in advance for any input on guides to setting up PostgreSQL with web2py. Kind regards, Eric Eric Scott Bullington

[web2py] SSL Email Support patch

2011-07-23 Thread Eric Vicenti
Hey, all I was having difficulties sending from web2py, when I realized there is no SSL encryption support. Since this is already built into smtplib, it was a simple addition. I should mention this wont work on GAE, and I have not comprehensively tested it. diff -r 800e086037d9 gluon/tools.py ---

  1   2   3   >