the problem is that facebook is not returning an email.
i know, i know, you told facebook that email is required and you can't
reproduce such a state. i'm 100% with you, but i see the exact same
behavior with my users! i suspect that these are actually returning users
who granted email
Having the same problem, thank you for the info. The problem for me is that
I can get either the left join to work using row.table_name.field_name, or
the simple view to work by using row.field_name. Is there anyway to define
a represent-function to work with both?
On Tuesday, January 15, 2013
Wow, this is excellent - everything seems to work really well.
On Monday, 28 October 2013 09:41:35 UTC-7, Massimo Di Pierro wrote:
I am happy to announce a great new opportunity for web2py users:
https://www.pythonanywhere.com/try-web2py
Basically they give you the opportunity to
2.7.4 , great !
On Monday, October 28, 2013 5:41:35 PM UTC+1, Massimo Di Pierro wrote:
I am happy to announce a great new opportunity for web2py users:
https://www.pythonanywhere.com/try-web2py
Basically they give you the opportunity to create a web2py instance
directly from the
@Niphlod
the workaround is required because web2py creates
data-options={mode:calbox}
which ends up like this in the INPUT element source code in the generated
page
mode:calbox}= data-options={
All works fine if the output from web2py is enclosed in single quotes
instead, as in
I generated that simply with
data=dict(options='{mode : calbox}')
On Tuesday, October 29, 2013 11:52:55 AM UTC+1, DenesL wrote:
@Niphlod
the workaround is required because web2py creates
data-options={mode:calbox}
which ends up like this in the INPUT element source code in the generated
did you ever get this as a plugin?
looking to implement filemanager with ckeditor on my cms2py app im making,
so would be a big timesaver.
On Thursday, November 4, 2010 8:35:17 PM UTC, mdipierro wrote:
email email email. :-)
On Nov 4, 3:20 pm, Massimiliano mbelle...@gmail.com wrote:
I see, your theory is pretty much accurate (sorry for my english, I hope
that phrase is correct). What I mean is that your theory is the most
addecuate for this case, thought it can't be proved. Actually, there is
another error that says something about access token been already used, but
@Anthony
from module import *
def f():
header = ...
content = GRID(... ( # CALBOX used to create one of the columns
footer =
return {'page':PAGE(header, content, footer)}
I guess it's hard to say without knowing what those other functions do, but
I don't think web2py is
I have to create a form which has 2 fields source and destination . I have
a table Location1 in db.py with source and destination .
I wanted to implement the view such that if i select a source from the drop
down list of source then in destination only those destinations will be in
drop down
Anyway, it might not be a bad idea to allow the option to use single quotes
around an HTML attribute, though not sure of the best way to achieve that.
Maybe use a double underscore to identify such attributes:
INPUT(..., **{'__data-options': XML('{mode:calbox}')})
or add a json argument to
See
http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910
.
On Tuesday, October 29, 2013 8:39:20 AM UTC-4, aabhas majumdar wrote:
I have to create a form which has 2 fields source and destination . I have
a
Thanx a million :) !!
On Tue, Oct 29, 2013 at 6:22 PM, Anthony abasta...@gmail.com wrote:
See
http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910
.
On Tuesday, October 29, 2013 8:39:20 AM UTC-4, aabhas
On Tuesday, October 29, 2013 12:33:33 AM UTC-4, mr.freeze wrote:
I am trying to break up a large form into steps that have complex
interdependent values for a benefit application. I can achieve everything
with controller/client side logic but I was hoping to do it at the widget
level so
It's a manual process to clear down sites from people that decide not to
sign up.
Ouch... so let's hope not too many people decide to try it out then... (oh
wait...! :D)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
There seems to be a problem with login_next and routes.
I have a site called spinjazz.net
My routes.py in the web2py directory directs to folder 'new_spin2'
In the new_spin2 folder I have
(r'.*://spinjazz.net:\w* /$anything', r'/new_spin2/default/$anything'),
so spinjazz.net/index routes
I have been running my application on GAE using Python 2.7 and web2py 2.4.6.
Recently made minor application change and deployed with web2py 2.7.4, the
current version. I am getting an error in at least one part of the
application. The GAE log is attached.
Re-deployed with the same application
The other functions are pretty ordinary, there are just wrappers of the
standard helpers.
Most of them return DIV with some added attributes for jQuery Mobile.
On Tuesday, October 29, 2013 8:36:19 AM UTC-4, Anthony wrote:
@Anthony
from module import *
def f():
header = ...
content
This could help for the very first orientation http://learn-web2py.com/.
--
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
On Tuesday, October 29, 2013 1:12:12 PM UTC, stefaan wrote:
It's a manual process to clear down sites from people that decide not to
sign up.
Ouch... so let's hope not too many people decide to try it out then...
(oh wait...! :D)
It's not that bad, we just need to run a couple of
Forking this question from a different thread since changing topic.
I've tried the welcome app n read through the docs, things were a breeze to
set up.
I'm now at the data modeling stage for my app.
I'm quite familiar with bigtable, and most probably going to deploy my
startup live on
True, thanks.
That generates HTML entities in the output which work fine as you pointed
out before:
data-options='{quot;modequot;:quot;calboxquot;}'
Probably it was that presentation that got me started on using XML to get
rid of them.
On that note two things spring to mind:
1) Add an entry
I was wondering how I would go about removing First Name and Last Name from
the user table and making email not required. Is this possible without
breaking Auth?
Again, thank you very much for your support!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
What I ended up doing was just that; I wrote out what form.custom.begin was
outputting and added the style tag manually. I was just wondering if there
was a way to manipulate the tag without resorting to this.
On Monday, October 28, 2013 7:34:53 PM UTC-4, Anthony wrote:
How are you creating
create a fake email...
something like the following (check for errors I did not test it)
if user:
if not user.has_key('email') or user['email'] == '' or user['email'] is
None:
user['email'] = user['first_name'] + '.' + user['last_name'] + '.' +
user['id'] + '@facebook.email.is.not.valid'
Thanks for the answer. The problem is that I really need a valid email
address, because in my site I use that email to send important
notifications to the user.
I already tried with facebook mail, that is, joining the user name with @
facebook.com. But it didn't work. When I send an email to a
On Tuesday, October 29, 2013 10:12:37 AM UTC-4, arche...@gmail.com wrote:
What I ended up doing was just that; I wrote out what form.custom.begin
was outputting and added the style tag manually. I was just wondering if
there was a way to manipulate the tag without resorting to this.
It
I am having a difficult time in understanding how to implement the above
functions, and the chapter on authentication skims over the topic. Massimo
has some great examples in the appliances section, but I haven't come
across an example that utilizes a many-to-many relationship with respect to
Hello,
I fall on this :
While web2py is mainly for server-side development, the *welcome* scaffolding
app comes with the base jQuery
library[jqueryhttp://web2py.com/books/default/reference/29/jquery
], jQuery calendars (date picker, datetime picker and clock), the *
superfish.js* menu, and
this is what they say:
https://www.facebook.com/help/224049364288051
facebook documentation for developers is incomplete, so to say, on many
occasions...
mic
2013/10/29 Lisandro Rostagno rostagnolisan...@gmail.com
Thanks for the answer. The problem is that I really need a valid email
Version web2py™ Version 2.7.4-stable+timestamp.2013.10.27.23.22.02 Python
Python
2.7.1: /usr/bin/python (prefix:
/System/Library/Frameworks/Python.framework/Versions/2.7) Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Traceback (most recent call last):
File
Thanks, you're right, Facebook documentation is very poor and is often
outdated. That page says that anyone can send you an email from external
mail services (gmail, yahoo, etc).. but I tried that and I receive a
response from Facebook saying that there is a permission problem... I
suppose that
I'm using this tar
ball
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-4.3.2.tar.gz
I did not install it' and per the instructions I only copied the bs4
folder into modules folder of my app.
Thanks, I appreciate any help to resolve this. I'm not getting any help
but why since data=dict(options='{mode : calbox}') works fine ?
Il giorno martedì 29 ottobre 2013 13:49:12 UTC+1, Anthony ha scritto:
Anyway, it might not be a bad idea to allow the option to use single
quotes around an HTML attribute, though not sure of the best way to achieve
that. Maybe
Ok,
I will look at it this weekend.
On Monday, October 28, 2013 2:49:37 PM UTC+1, Massimo Di Pierro wrote:
If you send me a revised patch to do this, I will include. It may be
better than using a different adapter.
On Monday, 28 October 2013 01:40:41 UTC-5, Quint wrote:
Yes, using the
Yeah, I suppose it's not necessary as long as quot; within the string
never causes any problems.
Anthony
On Tuesday, October 29, 2013 11:47:10 AM UTC-4, Niphlod wrote:
but why since data=dict(options='{mode : calbox}') works fine ?
Il giorno martedì 29 ottobre 2013 13:49:12 UTC+1, Anthony
Lisandro,
the ratio of users without email is so low that i would just block the
user telling them that they must grant email permissions to use your
site. detect that there was no email returned from facebook and send a
response to the browser that prompts the user to try again and add the
This is the code:
query=db.customer_code
codes=SQLFORM.grid(query, left=db.file_queue.on(db.file_queue.code_id==
db.customer_code.id))
On 2.7.1 it prints exception in grid (html). On 2.7.4 and trunk it raises a
ticket. Is this change intentional?
And why is this not working?
What do you want exactly? auth_membership is a many-to-many table that put
in relation auth_user and auth_group...
What do you mean by implement auth_group, etc. you don't need to, they are
built-in web2py...
If you explain more what you want exactly we can provide more insight on
what you
fala Carlinhos,
guenta a mão que eu vou ver o que posso fazer, tou meio na correria por
causa de CEI Promotor e o caramba... enquanto isso porque tu não pede
uma ajuda pessoal ao Bruno Rocha? Tu é ex-aluno, se tu não tiver o
e-mail dele procura o grupo web2py do Brasil ele frequenta direto
I have linked my sql database with web2py and when I am making any grid of
a table and making deletable=True Its not working
I have attached my db.py along.
What may be the problem
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Hello,
I am new to web programming. I use web2py built-in wiki: auth.wiki(), the
simplest form. Why is it that when I click the preview button the style for
markmin items like ``this is some code`` looks OK (code is highlighted,
break lines are present) and when I click on submit a
Fair enough, Richard, I'm providing sample code here, and I will link to it
in the issue report.
Comments in the sample code explain the 0x95 codec error and also ask some
questions.
Thanks for your help.
Download TTF font DejaVuSans.ttf and copy it into gluon/contrib/fpdf/
You can download it
I have a local repository and a web2py installation up. how can I change
web2py's application directory so that it points to the repository? or how
can I let web2py use the repository?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
I have a javascript variable which I want to use in python I m trying to do
it with JSON but not able to do so
How to do it
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Ajax !
http://web2py.com/books/default/chapter/29/11/jquery-and-ajax?search=ajax#The-ajax-function
On Tue, Oct 29, 2013 at 2:23 PM, saurabh kathpalia
sksaurabhkathpa...@gmail.com wrote:
I have a javascript variable which I want to use in python I m trying to
do it with JSON but not able
You can try to download the fpdf source code from the repository (see
the download zip link) and update your web2py distribution:
http://code.google.com/p/pyfpdf/source/browse/
Please let follow this on the fpdf site:
http://code.google.com/p/pyfpdf/issues/detail?id=66
Thanks for reporting it!
Try this:
rows = db(db.groups.id == db.lab.group_id)(db.lab.id ==
db.researcher_lab_permission.lab_id)(db.researcher.id ==
db.researcher_lab_permission.researcher_id)(db.researcher.user_id ==
db.auth_user.id).select(db.groups.name,db.city.name,db.auth_user.ALL)
On Monday, 28 October 2013
On Monday, 28 October 2013 22:03:06 UTC-5, Saisha D wrote:
Thanks for the responses everyone.
I've tried the welcome app n read through the docs, things were a breeze
to set up.
I'm now at the data modeling stage for my app.
I'm quite familiar with bigtable, and most probably going to
You found a bug. For now do $$ x %20 y $$
On Tuesday, 29 October 2013 00:47:59 UTC-5, 98u...@gmail.com wrote:
I am afraid that expression $$ x + y $$ will render as xy rather than
x+y. I tried escaping the plus character but without any luck. I was
wondering if somebody else encountered
Just fixed it in trunk.
On Tuesday, 29 October 2013 00:47:59 UTC-5, 98u...@gmail.com wrote:
I am afraid that expression $$ x + y $$ will render as xy rather than
x+y. I tried escaping the plus character but without any luck. I was
wondering if somebody else encountered such an issue.
Any
Can you show us the db.Reservations definition and in particular its
widgets and validators.
there seems to be an invalid query in a IS_IN_DB somewhere.
On Tuesday, 29 October 2013 08:28:06 UTC-5, David Manns wrote:
I have been running my application on GAE using Python 2.7 and web2py
2.4.6.
Hmmm... I think they are required.
Why would you do that?
I am pretty sure these fields are required by Auth, I rather create my own
user table than altering like that...
Richard
On Tue, Oct 29, 2013 at 10:10 AM, archean...@gmail.com wrote:
I was wondering how I would go about removing
auth.define_tables(username=True)
db.auth_user.first_name.writable = db.auth_user.first_name.readable = False
... same for last_name and for email ...
yet without email how to you retrieve a password?
On Tuesday, 29 October 2013 09:10:51 UTC-5, arche...@gmail.com wrote:
I was wondering how I
oops
On Tuesday, 29 October 2013 09:49:21 UTC-5, Richard wrote:
Hello,
I fall on this :
While web2py is mainly for server-side development, the *welcome* scaffolding
app comes with the base jQuery
library[jqueryhttp://web2py.com/books/default/reference/29/jquery
], jQuery calendars
Can you show us the controller? Are you logged in? You cannot delete
something if you are not logged in.
On Tuesday, 29 October 2013 10:10:23 UTC-5, saurabh kathpalia wrote:
I have linked my sql database with web2py and when I am making any grid of
a table and making deletable=True Its not
:)
Richard
On Tue, Oct 29, 2013 at 3:01 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
oops
On Tuesday, 29 October 2013 09:49:21 UTC-5, Richard wrote:
Hello,
I fall on this :
While web2py is mainly for server-side development, the *welcome* scaffolding
app comes with the
looks like you have a query which uses a column uuid which does not exist.
On Tuesday, 29 October 2013 11:30:37 UTC-5, Marin Pranjić wrote:
This is the code:
query=db.customer_code
codes=SQLFORM.grid(query, left=db.file_queue.on(db.file_queue.code_id
==db.customer_code.id))
On
Should I do that too?
On Tuesday, 29 October 2013 13:30:58 UTC-5, Mariano Reingart wrote:
You can try to download the fpdf source code from the repository (see
the download zip link) and update your web2py distribution:
http://code.google.com/p/pyfpdf/source/browse/
Please let follow
The latest fpdf code commit is dated August 15. I checked its source code
against the one bundled with web2py 2.6.4-stable and they appear to be
identical.
On Tuesday, October 29, 2013 8:06:23 PM UTC+1, Massimo Di Pierro wrote:
Should I do that too?
On Tuesday, 29 October 2013 13:30:58
Why is it that when I click the preview button the style for markmin
items like ``this is some code`` looks OK (code is highlighted, break
lines are present) and when I click on submit a record I see a page where
code text is in a different style (in red color and there is no line
breaks).
I have attached the reservations section from my model. Also the relevant
section of the controller script - a number of validators are set up at run
time. The failure case is the crud.update() in the middle of the function,
modifying an existing reservation. There are no custom widgets
Note: The current markmin render engine requires a first line-break for
multi-line code, otherwise it renders as single line. Try adding a leading
line-break in the text box.
Nevermind that.
http://code.google.com/p/web2py/issues/detail?id=1746
--
Resources:
- http://web2py.com
-
This dead horse could take one last beating, couldn't it?.
On Tuesday, October 29, 2013 11:47:10 AM UTC-4, Niphlod wrote:
but why since data=dict(options='{mode : calbox}') works fine ?
Il giorno martedì 29 ottobre 2013 13:49:12 UTC+1, Anthony ha scritto:
Anyway, it might not be a bad
Ola, boa tarde.. boas noticias... *Ovidio* deu certo, agradeço
imensamente... joguei os arquivos e fiz igual tu orientou, chega enchi os
olhos ao ver o projeto funcionando em parceria com o db... agora vou partir
dá sequencia...
no começo nao funcionou, dai eu desinstalei todo o meu
seems that any major js framework accessing data-* do the escaping (as they
should) so it's really not a problem.
On Tuesday, October 29, 2013 5:01:22 PM UTC+1, Anthony wrote:
Yeah, I suppose it's not necessary as long as quot; within the string
never causes any problems.
Anthony
On
Yes, I was able to write to the LCD using GET requests. Thank you.
On Monday, October 28, 2013 4:08:48 PM UTC-4, Derek wrote:
click the 'update settings' button after changing the settings, and you
should see the url change (it uses a GET request).
On Sunday, October 27, 2013 1:37:08 PM
Symbolic link?
Richard
On Tue, Oct 29, 2013 at 2:04 PM, wiel wieli...@gmail.com wrote:
I have a local repository and a web2py installation up. how can I change
web2py's application directory so that it points to the repository? or how
can I let web2py use the repository?
--
Resources:
Not sure what the problem is but it it fails because of this:
affl = db(db.Colleges.id.belongs(cl))
db.Reservations.Affiliation.requires = IS_EMPTY_OR(IS_IN_DB(affl,
db.Colleges.id, '%(Name)s',orderby=db.Colleges.Name))
could it be affl is empty?
On Tuesday, 29 October 2013 14:24:38 UTC-5,
Is the book open to editors?.
I still would like to add an example about this in there.
--
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
The mobile registration page allows for users to signup without an email
address:
http://touch.facebook.com/r.php
Paolo
Il giorno lunedì 28 ottobre 2013 18:57:06 UTC+1, Lisandro ha scritto:
I'm having a similar problem with KeyError: 'email'.
I have a site in production that uses
Thanks for the tip! I thought it would be more difficult, but apparently
nothing is too difficult with web2py ;)
For those interested in doing that, is just as simple as instantiating Auth
class and overwriting wanted methods, for example, I overwrited register
and email_reset_password methods in
It seems there are enough times where people either put in fake e-mails or
rather not put in e-mails. I personally believe this should be optional in
most cases. Sometimes the account isn't important enough that you may want
to go through the trouble of retrieving a password and might rather
free and available here github.com/mdipierro/web2py-book
On Tuesday, October 29, 2013 10:13:28 PM UTC+1, DenesL wrote:
Is the book open to editors?.
I still would like to add an example about this in there.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Thanks for reporting the issue.
On Tuesday, October 29, 2013 3:38:04 PM UTC-4, Alan Etkin wrote:
Note: The current markmin render engine requires a first line-break for
multi-line code, otherwise it renders as single line. Try adding a leading
line-break in the text box.
Nevermind
This validator is only used if affs is non-empty, I.e. the member has known
college affiliations. Otherwise the standard validator is used, allowing any
college in the table to be selected. In the failure case, affs was non-empty.
So that doesn't seem to be the problem.
--
Resources:
-
Don't know if this helps, but I see that the query for affl uses belongs,
and I'm seeing the following in my GAE log for a query that uses belongs:
File
/Users/shunter/Dropbox/webdev/google_app_engine/mypptrials/gluon/dal.py,
line 4802, in BELONGS
raise SyntaxError(Not supported)
I
Richard,
I am trying to create a number of number of groups, who are assigned users
with different roles. A good example is where you have different taxi
companies, that have its own dispatch personnel and drivers. For example,
lets say you have 2 companies with the following employees;
78 matches
Mail list logo