[web2py] Re: web2py vs others. Status of 2014

2014-08-05 Thread Joe Barnhart
I look forward to Massimo's improvements. One of the continuing thorns in my side is that a significant number of my users are still on XP and IE8 -- about 15% -- and my users are in California. I can only imagine the ratio would be higher in middle America where the tall corn grows. I could

[web2py] scheduler new feature: task dependencies

2014-08-05 Thread Niphlod
Hi @all, we have another feature in trunk for the scheduler... Jobs (i.e. task dependencies) Directly from https://github.com/niphlod/w2p_scheduler_tests/ (that has been updated to accomodate the new feature explanation...) What are "Jobs", you ask ? Well, it's a way to coordinate a set of

[web2py] Re: response.js does not load div

2014-08-05 Thread Richard
Niphlod , Thank you for the support. It appeared that I did not make an ajax call; in the controller request.ajax was False. This was because a simple form in a view does not generate an ajax call. Is this correct? if form1.process(formname='form_one').accepted: response.js= "web2py_compone

Re: [web2py] Restful authentication and CORS

2014-08-05 Thread Albert Abril
Hi Christian, I'm trying to set up my app as a oauth2 provider too, did you use https://github.com/SamuelMarks/web2py-oauth2 , or another source? do you have any tutorials or documentation about it? I'll appreciate it so much. Cheers, Albert. On 29 May 2013 00:21, Christian Foster Howes wrote:

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

2014-08-05 Thread Jim S
Are you looking for multi-tenancy? If so, this may help http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Common-fields-and-multi-tenancy I haven't used it but seems like it should help. -Jim On Tuesday, August 5, 2014 1:53:49 AM UTC-5, Eric wrote: > > Hi Derek,

[web2py] DAL using Mysql.server on pythonanywhere is not working. Giving errors

2014-08-05 Thread Gideon George
Please I need somebody to help me make my site visible by telling me what to do to make my database connection work on the pythonanywhere.com remote server I have tried all I could but never seems to get close. This is how I did it from the pythonanywhere database dashboard and below to is my D

[web2py] Working with MSSQL with codepage other than latin1 or unicode

2014-08-05 Thread Алексей Котряхов
Hello web2pyers I have a problem with encoding when I work with MSSQL with codepage other than latin1 or unicode Here is my DB connection dbsol = DAL ('mssql://user:password@w2ptkts/SacuraOnline', db_codec = 'cp1251', migrate_enabled = False) I

[web2py] template de instalação de aplicação web2py no windows

2014-08-05 Thread Hains Hausmann Junior
Olá! Estou tentando fazer (ou encontrar um exemplo) um template de um instalador de aplicações we2py para windows. Quero instalar o web2py, a aplicação desenvolvida (compilada em pyc), e um servidor web melhor, (exemplo nginx) que não seja o do web2py. Rodar o servidor web com a aplicação web2py

[web2py] applications/app/languages

2014-08-05 Thread Carl Hunter Roach
Each file in applications/app/languages has a line: # -*- coding: utf8 -*- I've had to ammend this to: # -*- coding: utf-8 -*- otherwise an exception is thrown in \Python\lib\encodings\utf_8.py (see below). utf-8 is the standard term rather than utf8. My question: does anyone know why all

[web2py] Re: Upload field custom manipulation

2014-08-05 Thread Kuba Kozłowicz
Ok so I've already figured out what you meant. I should set 'writable' attribute of this field in db_wizard.py to False in order to prevent this field from being overwritten in forms. Then change type from 'string' to 'upload' and apply URL('mydownload') to 'represent' attribute of this field

[web2py] Re: Upload field custom manipulation

2014-08-05 Thread Kuba Kozłowicz
What does "writable=false if forms" mean and WHAT should I apply this to? And where should I plug this "URL('mydownload', ... ) into? Sorry, but I understand if you just write some web2py-specific code completely out of contex. It requires some explanation. W dniu niedziela, 3 sierpnia 2014 00:

[web2py] Re: Encoding and 'invalid argument'

2014-08-05 Thread Rémy Reche
I agree with you, but it is web2py (gluon) which process the arguments. This error occurs before entering my function. On Friday, August 1, 2014 9:27:47 PM UTC+2, Derek wrote: > > Well, before you process the arguments, you would want to encode it as > utf-8. See here: > https://groups.google.c

[web2py] TypeError: 'NoneType' object is not callable

2014-08-05 Thread Marco
Hi, I have followed your tutorial for the RESTful api. I am getting the following error though on POST. Here is the code snippet: *def POST(table_name,**vars):* *return db[table_name].validate_and_insert(**vars)* Here is the db model * db.define_table("entries", Field("entr

[web2py] help

2014-08-05 Thread ROHIT NEGI
Hi I am new to web2py and I'm quite confused as to how I will be able to deploy application on web? Even if I make a web2py app, how will I be able to make a site from it as I'm making apps on the web2py site? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://g

[web2py] How to make so that the "client" database "address" took 'Id' database "client".

2014-08-05 Thread Капылов Данил
*How to make so that the "client" database "address" took 'Id' database "client". And attached to her **This example is taken from the chapter of a book *One form for multiple tables db.define_tab

[web2py] Web2py With Pycharm project on remote Server

2014-08-05 Thread NOSSOLUTIONS
Hi All, Sorry for disturb. I've a question regarding Web2py on Pycharm IDE. I wonder if is possible to create a new web2py project on Pycarm an work on remote server? thanks a lot. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour

[web2py] Re: Scheduler, modules, and database calls

2014-08-05 Thread Bilal Hasan
Also does current from gluon work in a module function that's being called from a scheduler? On Sunday, August 3, 2014 2:45:16 PM UTC-5, Niphlod wrote: > > there's nothing different in running the function in the web2py shell. > global variables defined in models are available in the scheduler.

[web2py] Select table's fields to be displayed in views

2014-08-05 Thread Kuba Kozłowicz
I'd like to display more fields for a few particular tables in my system or to be able to control exactly which fields will be displayed. I want it to be available in following compontents: - list of tables' entries ( I am using smartgrid ) - view page ( I am using the default view-page ) - edit

[web2py] Re: Multiple Routes - Same App

2014-08-05 Thread Massimo Di Pierro
No because by the time the controller is executed the the request went through the routes. On Saturday, 2 August 2014 17:29:05 UTC-5, Michael Gheith wrote: > > Is there way to programmatically set a path prefix in a controller rather > than in routes.py? > > Best, > Michael Joseph Gheith > > On

[web2py] Re: PeerQuiz

2014-08-05 Thread Massimo Di Pierro
It is not open source. On Sunday, 3 August 2014 12:29:42 UTC-5, eric cuver wrote: > > hello , > > everybody, > i looking for peerquiz web2py source http://vimeo.com/83536698 . i dont > find in github. > somebody know where i can find it ? > > thanks > > -- Resources: - http://web2py.com - htt

[web2py] Re: Scheduler, modules, and database calls

2014-08-05 Thread Bilal Hasan
Another question, is there any implication in sending db as a parameter to a module? On Sunday, August 3, 2014 2:45:16 PM UTC-5, Niphlod wrote: > > there's nothing different in running the function in the web2py shell. > global variables defined in models are available in the scheduler. > > On F

[web2py] Re: emailing a pdf view as an attachment

2014-08-05 Thread Massimo Di Pierro
Yes. In at least three ways. web2py ships with pyfpdf (in gluon.contrib) which converts html to pdf. Once you make the file you can also add as an attachment to an email (look the web2py email API). You can install/unzip reportlab in web2py/site-packages and use that alternatively. Also, if you

[web2py] Re: How can I set correctly auth.settings.registration_requires_verification = False ?

2014-08-05 Thread Massimo Di Pierro
You are right. With that code the used should be able to register and immediately login. This usually works. We cannot help you without looking at your code. On Monday, 4 August 2014 03:39:26 UTC-5, Luca Guerrieri wrote: > > Goodmornig people, > I've customized registration form and relative view

Re: [web2py] Nginx and uwsgi Internal Server Error

2014-08-05 Thread Richard Vézina
Make sure everything in web2py directory is owned by www-data user : sudo chown -R www-data.www-data web2py/ Richard On Mon, Aug 4, 2014 at 7:09 PM, Jim Steil wrote: > Just logged in and saw that I did install unixodbc before pyodbc. Also, > this all works if I run using the rocket web server

Re: [web2py] Re: Python and Web2py course

2014-08-05 Thread Richard Vézina
If I would teach, I do it like that. I propose some project to students, they have to pic one and then you deconstruct the project in small pieces that are the differents courses themes and you start with the easier thing and you increase the chalange progressively until you finalize the app projec

[web2py] Re: Encoding and 'invalid argument'

2014-08-05 Thread Dave S
On Monday, August 4, 2014 7:08:11 AM UTC-7, Rémy Reche wrote: > > I agree with you, but it is web2py (gluon) which process the arguments. > This error occurs before entering my function. > > > On Friday, August 1, 2014 9:27:47 PM UTC+2, Derek wrote: >> >> Well, before you process the arguments,

Re: [web2py] Web2py Forms and Javascript

2014-08-05 Thread Jesse Ferguson
I am working to move the company from paper to electronic, I work in a remote office and have to fax all of this right now. basic workflow: Service Orders Created in the field at Job site get delivered to me every day. I take the service order and create a workup (basically an invoice) usi

[web2py] Re: help

2014-08-05 Thread Dave S
On Monday, August 4, 2014 10:38:25 AM UTC-7, ROHIT NEGI wrote: > > Hi > I am new to web2py and I'm quite confused as to how I will be able to > deploy application on web? Even if I make a web2py app, how will I be able > to make a site from it as I'm making apps on the web2py site? > I'm not s

[web2py] Re: template de instalação de aplicação web2py no windows

2014-08-05 Thread Dave S
On Monday, August 4, 2014 5:46:45 PM UTC-7, Hains Hausmann Junior wrote: > > Olá! > > Estou tentando fazer (ou encontrar um exemplo) um template de um > instalador de aplicações we2py para windows. > Quero instalar o web2py, a aplicação desenvolvida (compilada em pyc), e um > servidor web melho

[web2py] Re: scheduler new feature: task dependencies

2014-08-05 Thread Dave S
On Tuesday, August 5, 2014 1:51:25 AM UTC-7, Niphlod wrote: > > Hi @all, >we have another feature in trunk for the scheduler... Jobs (i.e. task > dependencies) > > Directly from https://github.com/niphlod/w2p_scheduler_tests/ (that has > been updated to accomodate the new feature explanatio

Re: [web2py] Web2py Forms and Javascript

2014-08-05 Thread Richard Vézina
Could you explain the 3 differents part of the paperwork... There the invoice at the right but what is the listing in the lower left... Richard On Tue, Aug 5, 2014 at 2:57 PM, Jesse Ferguson wrote: > here is the paperwork > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Do

[web2py] Re: help

2014-08-05 Thread Anthony
Please read the documentation and come back with specific questions if you run into difficulty. On Monday, August 4, 2014 7:38:25 PM UTC+2, ROHIT NEGI wrote: > > Hi > I am new to web2py and I'm quite confused as to how I will be

Re: [web2py] Web2py Forms and Javascript

2014-08-05 Thread Jesse Ferguson
The service order on the right is what is completed in the field by the techs. (The part they bring me). The form on the left is what our company calls a Work-Up. The work up Is created by me by taking the service orders information and the information from a rolodex card. The rolodex card (not

[web2py] Re: scheduler new feature: task dependencies

2014-08-05 Thread Limedrop
Thanks Niphlop, that's brilliant! I've been using a work-around to schedule dependent jobs, and this will help to tidy things up. On Tuesday, August 5, 2014 8:51:25 PM UTC+12, Niphlod wrote: > > Hi @all, >we have another feature in trunk for the scheduler... Jobs (i.e. task > dependencies)

[web2py] web2py.com is down...

2014-08-05 Thread Jim S
I've sent a note to pythonanywhere to let them know... -- 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 subscribe

[web2py] Re: web2py.com is down...

2014-08-05 Thread Jim S
Back up now. Thanks to the pythonanywhere team for their quick response! -Jim On Tuesday, August 5, 2014 4:00:29 PM UTC-5, Jim S wrote: > > I've sent a note to pythonanywhere to let them know... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2

Re: [web2py] Re: web2py.com is down...

2014-08-05 Thread Ovidio Marinho
http://www.web2py.com/ this is Ok! Ovidio Marinho Falcao Neto ITJP.NET.BR ovidio...@gmail.com itjp.net...@gmail.com Brasil 2014-08-05 18:12 GMT-03:00 Jim S : > Back up now. Thanks to the pythonanywhere team for t

[web2py] How to add CSS class to SQLFORM.grid??

2014-08-05 Thread greenpoise
How can I make use of my own td classes for SQLFORM.grid?? Thanks -- 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 a

[web2py] Re: help

2014-08-05 Thread JorgeH
Welcome Go ahead and read the documentation and the examples. Come back with your questions. When posting on this group, use a specific title for your question other than the generic 'help' On Monday, August 4, 2014 12:38:25 PM UTC-5, ROHIT NEGI wrote: > > Hi > I am new to web2py and I'm quit

[web2py] Re: Bare Login using API key

2014-08-05 Thread lyn2py
Hi Massimo, in case you missed this, this is a call out, I hope you can shed some light on this. If I would like to do something like: http://api_key:api_secret@some_url.com/default/call/jsonrpc On Thursday, July 31, 2014 2:19:36 PM UTC+8, lyn2py wrote: > > Thanks Leonel! I just thought that