[web2py] Re: IE8 error in web2py.js line 43, Object doesn't support....

2013-09-30 Thread Niphlod
and that definitely not the latest web2py.js. Also, bootstrap.min.js throws exactly the same error. And in chrome too. You have some issues with the page . Il giorno martedì 1 ottobre 2013 03:44:00 UTC+2, davedigerati ha scritto: > > Yes just loading the page - you can see the site live at > ht

[web2py] Re: i am trying send email using web2py with gmail and using smtp setting i have attached all code

2013-09-30 Thread Massimo Di Pierro
This does not look right mail.settings.server = 's...@gmail.com:465' perhaps should be mail.settings.server = 'smtp.gmail.com:465 ' On Sunday, 29 September 2013 23:29:58 UTC-5, deepak sandhu wrote: > > i am trying to create a form in web2py which sends message to an

[web2py] Transferring local database to Google App Engine

2013-09-30 Thread books2beermanager
I am trying to deploy my app on Google App Engine. I have a set of databases that I've built up locally on my laptop that have been interfacing just fine with my app when the app is running locally. However, when I visit the .appspot.com address for my app, none of the databases are present. Al

[web2py] Re: web2py 2.6.1 is OUT - IMPORTANT READ

2013-09-30 Thread Meir
Hi Massimo! Could describe best part: - new API jQuery('#component').reload() Has some practical example? And congratulations on the excellent work! Em quinta-feira, 12 de setembro de 2013 19h27min37s UTC-3, Massimo Di Pierro escreveu: > > Web2py 2.6.1 is finally OUT. It needs some more testin

[web2py] Re: Web2py forum plugin

2013-09-30 Thread Ruud Schroen
I think you need to, if using pyforum, change the required roles in the controllers.. That's all On Monday, September 30, 2013 12:12:45 AM UTC+2, Tobias Dahlberg wrote: > > Hi > > I'm looking for a forum plugin that I can use to extend a web2py > application. I need a forum plugin that uses web

[web2py] i am trying send email using web2py with gmail and using smtp setting i have attached all code

2013-09-30 Thread deepak sandhu
i am trying to create a form in web2py which sends message to an email account on submission mainly i used SQLFORM.factory to create the form then i used gluon.tools import mail to import the send email functionality. i have set up everything i can think of but still on running this code in we

[web2py] web2py email setting with smtp not working

2013-09-30 Thread deepak sandhu
here is the code of my controller. i am trying to create a form in web2py which sends message to an email account on submission mainly i used SQLFORM.factory to create the form then i used gluon.tools import mail to import the send email functionality. i have set up everything i can think of b

[web2py] compound IF statement for checks on a record

2013-09-30 Thread davedigerati
I'm checking a record to see if two fields returned with values, or are nulls, and I can successfully check if vinyl.field1: msg="yes it has a value" else: msg="no it does not" but I can not figure out how to check two fields via compound IF: if vinyl.field1 AND vinyl.field2: msg="y

Re: [web2py] .ics file name

2013-09-30 Thread Richard Vézina
Could it be possible that this file is not encoded in utf-8 and that you read it as if it was in utf-8 (imagine a question mark I can t type it :) Richard On Mon, Sep 30, 2013 at 3:45 AM, Annet wrote: > In my application I include the name of an organization in a .ics file > name. Sometimes t

Re: [web2py] dlsym(0x8fe46768, CCKeyDerivationPBKDF): symbol not found ?????

2013-09-30 Thread davedigerati
Tried the rename, no joy. Downloaded 'Testers' (not sure if this was trunk or not) and started up - thx;) On Monday, September 23, 2013 4:14:57 AM UTC-4, Michele Comitini wrote: > > This points to a problem in detecting a missing function in the crypto > library on that version (old) of mac os x

[web2py] Re: IE8 error in web2py.js line 43, Object doesn't support....

2013-09-30 Thread davedigerati
Yes just loading the page - you can see the site live at http://www.sportssquaresonline.com/ and should be able to see the error in IE8/Win7 (I do not have alternate IE/Win versions available at the moment to test other combos...) Thank you for your help On Monday, September 30, 2013 2:19:18 A

Re: [web2py] Re: web2py & pycharm...

2013-09-30 Thread Richard Vézina
This suppose to be solve : http://youtrack.jetbrains.com/issue/PY-10810 I had issue with EAP version before the official release. Didnt try the release yet. But the issue was occuring for me when I set pycharm project at the app level : web2py/applications/app/.idea If project was setup like thi

Re: [web2py] RSS - storing news in database

2013-09-30 Thread Ricardo Pedroso
On Fri, Sep 27, 2013 at 6:43 PM, lesssugar wrote: > I'm planning to implement RSS aggregator in my app, using instruction from > the book: > > http://web2py.com/books/default/chapter/29/10/services?search=rss#RSS > > The twist is to firstly store the news in my database, and display the > feed us

[web2py] Re: Komodo IDE web2py Setup

2013-09-30 Thread User
Will this work with Komodo Edit 8.5? How would I install it? On Thursday, October 22, 2009 7:14:16 PM UTC-4, Richard Penman wrote: > I have uploaded my web2py extension file to that thread (http:// > community.activestate.com/files/codeintel_web2py.py_.txt). > Let me know if you have problems

[web2py] Re: little problem with custom edit_profile method

2013-09-30 Thread Niphlod
auth.profile() calls accepts() by itself, you can't re-process() it. see the signature of auth.profile for further methods (i.e. you could use onvalidation) or make your own form. On Monday, September 30, 2013 10:28:08 PM UTC+2, Andreas Wienes wrote: > > I want to execute some code, after updatin

[web2py] Re: Getting started with routes.py error: No module named fileutils ?

2013-09-30 Thread User
Am I doing something wrong in setting up routes? On Saturday, September 28, 2013 12:29:33 AM UTC-4, User wrote: > Using web2py Version 2.6.4-stable+timestamp.2013.09.22.17.43.26 with > Python 2.7. I've got web2py up and running with a simple app. Now I'm > trying to get routes working. Wha

[web2py] record versioning and standalone DAL

2013-09-30 Thread JaapP
Hi, i've build a (very small) standalone side project (so, running without Web2Py) that uses the Web2Py DAL, and all goes well. Now i'm trying to enable record versioning. but this seems not to be working (thread._local object has no attribute 'request') Has anybody succeeded in using record

[web2py] little problem with custom edit_profile method

2013-09-30 Thread Andreas Wienes
I want to execute some code, after updating a user profile. So I created a method edit_profile inside default.py def edit_profile(): user_form = auth.profile() if user_form.process().accepted: # ... do something here ... redirect(URL('default','index')) return dict(us

[web2py] Re: web2py & pycharm...

2013-09-30 Thread Tim Richardson
I deleted existing .idea directories before using pycharm 3 with web2py apps. -- 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 b

[web2py] Re: Performance: number of queries vs. script run time

2013-09-30 Thread lesssugar
@Niphlod, @LightDot, thanks a lot :) The script I'm referring to parses 10 different RSS feeds at once and stores news (only the latest ones) into the database. Parsing takes around 20-30 s, plus there's bulk_insert() performed. I was wondering to put the script to sleep everytime it finishes p

Re: [web2py] Re: web2py welcome Performance

2013-09-30 Thread Michele Comitini
By a quick reading of the report I get the impression that the caching of "static" contents is what is misconfigured on web2py.com. This could depend on lack of proper configuration of the frontend webserver (nginx). 2013/9/30 Anthony > Looks like a large part of the negative grade is due to

Re: [web2py] Re: one instance - multiple sites

2013-09-30 Thread Michele Comitini
correction: No emperor needed, web2py wsgi process does the dispatching and the automatic reloading of controllers and models. The emperor is needed for frameworks that require restart for each modification I suppose (django, flask...) 2013/9/30 Michele Comitini > No emperor needed, web2py wsg

Re: [web2py] Re: one instance - multiple sites

2013-09-30 Thread Michele Comitini
No emperor needed, web2py wsgi process does the dispatching and the automatic of controllers and models. The emperor is needed for frameworks that require restart for each modification I suppose (django, flask...) 2013/9/30 Gour > On Mon, 30 Sep 2013 16:59:47 +0200 > Michele Comitini > wrote:

[web2py] Re: one instance - multiple sites

2013-09-30 Thread Gour
On Mon, 30 Sep 2013 16:59:47 +0200 Michele Comitini wrote: > I do not know if it is recommended or not, I works perfectly. With uwsgi's emperor mode? > There is on gotcha (no big deal unless serving very busy sites): if > you use routes and or modules in your applications the wsgi process > m

Re: [web2py] Re: workflow diagram and associated code generator

2013-09-30 Thread António Ramos
why not a svg tool (d3js/raphael)? Check this example http://www.nytimes.com/interactive/2012/02/13/us/politics/2013-budget-proposal-graphic.html?_r=0 with svg , every element is a DOM element and we can canipulate it/parse it attach events to it with javascript and css 2013/9/30 Andrey

Re: [web2py] Workflow development togetherwhat is the best way to make work flow design on the client (like this

2013-09-30 Thread Cliff Kachinske
I have looked into workflow. It is not simple. Predecessor-successor relationships are not hard. The tree-walking algorithms are well known and relatively easy to implement. The problem comes when you consider the many different kinds of relationships between predecessor and successor tasks a

Re: [web2py] one instance - multiple sites

2013-09-30 Thread Michele Comitini
I do not know if it is recommended or not, I works perfectly. There is on gotcha (no big deal unless serving very busy sites): if you use routes and or modules in your applications the wsgi process must be restarted. 2013/9/30 Gour > Hello, > > web2py site says: "One web2py instance can run m

[web2py] Re: exporting selected rows from a grid

2013-09-30 Thread step
Half answering my own question. I found a client-side hack with jQuery. Essentially it simply involves keeping the form submit event from bubbling up to web2py.js. def export_rows(selected_ids): def export(): ret = [] rows = db(db.mytable.id.belongs(selected_ids).select()

[web2py] login_bare issues...

2013-09-30 Thread Koen Vanhees
All, I'm experimenting with login_bare as I want two authentication techniques in one form (AD and local). The view is simple: Username: Password: The controller not much harder, with some debugging statements: username = request.vars.get("username") or "" pa

Re: [web2py] Re: workflow diagram and associated code generator

2013-09-30 Thread Andrey
Looks awesome. Kachinske, thanks for the link! I need to play with it. What would be the way to link each diagram peace to specific code. Say client can build multi peace diagram, where application then generates code for all built diagram blocks, together as full process code which can be run b

[web2py] one instance - multiple sites

2013-09-30 Thread Gour
Hello, web2py site says: "One web2py instance can run multiple web sites using different databases.", so I wonder if it is recommended to run several independant web sites under one web2py instances? If yes, do you recommend uwsgi[1] for such scenario [1]: The uwsgi would run behind nginx fro

[web2py] Re: question about components and javascript: ajax = True kills google.load('visualization' ...)

2013-09-30 Thread Tim Richardson
This works: var options = {packages:['corechart'],callback:drawChart} google.load('visualization', '1.0', options); replacing the example method of doing the callback: // Set a callback to run when the Google Visualization API is loaded. /* inside web2py ajax = True LOAD, this r

[web2py] Re: IS_IN_SET options sort order

2013-09-30 Thread Anthony
Or an OrderedDict. On Monday, September 30, 2013 2:17:35 AM UTC-4, Niphlod wrote: > > do you know you can use a normal list of tuples instead ? > IS_IN_SET=[(50, '$50 per lap'), ] > > Il giorno lunedì 30 settembre 2013 04:53:34 UTC+2, mr.freeze ha scritto: >> >> I'm trying to get IS_IN_SET to

[web2py] Re: web2py welcome Performance

2013-09-30 Thread Anthony
Looks like a large part of the negative grade is due to lack of browser caching -- but you don't want the browser to cache dynamic pages. Of course, the index page in the welcome app is static, but it's just a scaffolding app -- once the real app is customized, it's possible the page will conta

[web2py] Re: workflow diagram and associated code generator

2013-09-30 Thread Cliff Kachinske
This looks promising. MIT license. http://calebevans.me/projects/jcanvas/ On Sunday, September 29, 2013 2:39:59 PM UTC-4, Andrey K wrote: > > Hello everybody, > I wonder is it possible to make workflow diagram compiler on the client > like this (http://gojs.net/latest/samples/flowchart.html) li

[web2py] Re: web2py & pycharm...

2013-09-30 Thread memilanuk
On 09/30/2013 12:28 AM, Tim Richardson wrote: This isn't my experience. First, try creating a new project via web2py admin, and then open the web2py directory in pycharm (not your application directory). This should be fine, at least it is for me (so far I've used it on OS X, archlinux and Window

[web2py] Re: Performance: number of queries vs. script run time

2013-09-30 Thread LightDot
@lesssugar Define efficient. :) Are you after a shorter overall execution time for this task, lower server load, lower power consumption etc.? I would generally start the task and leave the management to the database backend, kernel governor, etc. unless there is a specific need that they can't

[web2py] Re: web2py welcome Performance

2013-09-30 Thread Paolo Valleri
You can wrap the index function with @cache.action(time_expire=3600, cache_model=cache.ram) More, http://web2py.com/books/default/chapter/29/04/the-core?search=cache.action#cache.action Paolo On Monday, September 30, 2013 1:37:49 PM UTC+2, damufo wrote: > > Hi, > > Gmetrix set a performance fo

[web2py] web2py welcome Performance

2013-09-30 Thread damufo
Hi, Gmetrix set a performance for welcome app of 57%. http://gtmetrix.com/reports/www.web2py.com/bS32Abg0 how optimize? how performance "Leverage browser caching" Thanks -- Dani -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour

[web2py] Re: web2py & pycharm...

2013-09-30 Thread memilanuk
On 09/29/2013 02:56 PM, Massimo Di Pierro wrote: I do not know. I am not aware that they contacted any of us for testing or support. I never meant to imply that the *web2py* project supported PyCharm in that way... rather that they claim web2py project as something their product supports.

[web2py] exporting selected rows from a grid

2013-09-30 Thread step
I want to use SQLFORM.grid with selectable checkboxes to serve a custom export function. Unlike web2py's default exportformats manager, which triggers each exporter function to an tag, I want my exporter to trigger when the user clicks the form submit button. So the user flow involves ticking

[web2py] Re: web2py Italy

2013-09-30 Thread piero crisci
Ciao anche io uso web2py. Mi fa molto piacere che ci siano una comunità italiana che lo utilizza!!! Il giorno venerdì 27 settembre 2013 10:37:23 UTC+2, Gael Princivalle ha scritto: > Hi. > > For web2py users that speak Italian, I've create the web2py-it group. It > could be a complementary tool

[web2py] Password portfolio storage

2013-09-30 Thread piero crisci
Hello I was wonderfing about what was the best solution to create a password portfolio in web2py. My intention was to create an application like O.T.R.S. This app should be able to manage different e-mails (pop3, pop3s , imap,)comunication and create ticket for the iusse comunicated by the us

[web2py] Re: PyCharm 3.0 web2py support

2013-09-30 Thread Tim Richardson
The problem with root folders named other than web2py will be fixed soon, so they say. The workaround is to open that root directory in pycharm and navigate to the app from there. This works. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/

[web2py] question about components and javascript: ajax = True kills google.load('visualization' ...)

2013-09-30 Thread Tim Richardson
I'm trying to create (my first) plugin, although this is a question about LOAD. I'm using the example code from Google Charts, which has two SCRIPT tags, one to do this: https://www.google.com/jsapi"; type="text/javascript"> and one to draw the chart. It also defines a as the destination o

[web2py] .ics file name

2013-09-30 Thread Annet
In my application I include the name of an organization in a .ics file name. Sometimes the name includes characters that render an invalid file name, is there a way to prevent this form happening. This is the code in the controller: def downloadVevent(): name=None nodeID=int(request.ar

[web2py] RE: PyCharm 3.0 web2py support

2013-09-30 Thread Arnon Marcus
Works for me. All variables declared in files within an application's /models are available in autocompletion and inspection within controller files - as well as all web2py globals - they really did a surprisingly good job. Also variables declared in a controller-actions are available in it's re

[web2py] Re: web2py & pycharm...

2013-09-30 Thread Tim Richardson
This isn't my experience. First, try creating a new project via web2py admin, and then open the web2py directory in pycharm (not your application directory). This should be fine, at least it is for me (so far I've used it on OS X, archlinux and Windows). I have just now created a new web2py pr

[web2py] Re: web2py website down

2013-09-30 Thread Gour
On Sun, 29 Sep 2013 17:19:11 -0700 (PDT) LightDot wrote: > BTW, web2py book is on the github. It's a web2py application, you can > run it locally or on your web hosting / VPS. Now I know. Thanks. ;) Sincerely, Gour -- As a strong wind sweeps away a boat on the water, even one of the roaming

[web2py] Re: Debug web2py with PyCharm 3.0

2013-09-30 Thread Tim Richardson
This works for me: Open the directory of your web2py installation (not directly to your application directory) Navigate to your application When you run your application (or do debug) from pycharm, the default configuration should launch python web2py.py If it doesn't do this, pycharm has not de