Yes, I am able to telnet to gmail smtp
On Thursday, November 29, 2012 12:08:08 PM UTC+2, Niphlod wrote:
is your server able to reach gmail's smtps servers ?
On Thursday, November 29, 2012 10:46:12 AM UTC+1, Aurelijus Useckas wrote:
External smtp, gmail
--
nope... I'm running a linux. Virus free environment. No need for McAfee ;)
Thnx anyway guys, I guess I'll check with my provider. It has to be their
fault.
On Thursday, November 29, 2012 3:36:09 PM UTC+2, Mark wrote:
If McAfee is running on the server, McAfee blocked the emails sending from
did you try to see what errors you get back ?
rtn = mail.send('y...@example.com',
'Message subject',
'Plain text body of the message')
print rtn
print mail.result
print mail.error
?
Il giorno venerdì 30 novembre 2012 11:16:00 UTC+1, Aurelijus
pip install is not finding postgresql2 for me:
Could not find any downloads that satisfy the requirement postgresql2
No distributions at all found for postgresql2
I tried installing psycopg2 instead, but no love from that:
type 'exceptions.RuntimeError' Failure to connect, tried 5 times:
I keep getting this error: *'DAL' object has no attribute 'event_instance'*
it points to my db_agents file as the culprit on this line:
('event_instance_id', db.event_instance)
However if I move the definition of the event_instance table to that
db_agents model file the error disappears, but
Hi!
I have a database model as follows
db.define_table('test',
Field('sub_components', 'list:string',
requires=IS_LIST_OF(IS_IN_SET(['A','B','C'],multiple=True
and a controller as follows:
def create():
creates a new component
form = crud.create(db.test, next=URL('index'))
I keep getting this error: *'DAL' object has no attribute 'event_instance'*
it points to my db_agents file as the culprit on this line:
('event_instance_id', db.event_instance)
However if I move the definition of the event_instance table to that
db_agents model file the error disappears, but
Now that web2py uses bootstrap for the layout, I should be able to set the
number of columns that are used.
According to this post on SO (
http://stackoverflow.com/questions/10742082/customizing-the-twitter-bootstrap-default-grid)
you should be able to edit the file *variables.less* and add
The ticket
http://code.google.com/p/web2py/issues/detail?id=1198
--
does the error show up if you use 'reference event_instance' instead of
db.event_instance ?
('event_instance_id', 'reference event_instance')
Il giorno venerdì 30 novembre 2012 10:17:54 UTC+1, Samuel Komfi ha scritto:
I keep getting this error: *'DAL' object has no attribute 'event_instance'
Also, more generally, it's OK to keep model definitions in different files,
but note that the files are executed in alphabetical order, so if you want
an object to be available in one file, make sure it is defined in a file
that comes earlier in alphabetical order. In this case, that isn't
The format argument goes in the define_table() call -- is that where you
have it?
Anthony
On Friday, November 30, 2012 1:58:09 AM UTC-5, Luc Chase wrote:
Thanks for the suggestion. I had tried something similar but got an error
and even with this I have an error referencing to the
Yeah ! . pbreit ! This does look interesting ! IDEs have their advantages
and disadvantages ! ...for me .. it can be an advantage mainly when it
comes to quickly view or analyse the specific calls of function contents or
codes behind the work being done without having to navigate manually
You are right. There is a type in the script. I just fixed it in trunk. The
second issue is a bug in dal.py. I also just fixed that. Please check again
and let us know.
On Thursday, 29 November 2012 14:46:40 UTC-6, Joe Repka wrote:
pip install is not finding postgresql2 for me:
Could not
Please open a ticket. This is not supported at the moment.
On Thursday, 29 November 2012 15:25:52 UTC-6, HP wrote:
Hi!
I have a database model as follows
db.define_table('test',
Field('sub_components', 'list:string',
requires=IS_LIST_OF(IS_IN_SET(['A','B','C'],multiple=True
web2py ships with bootstrap.css which is generated from *.less files but we
do not ship the .less files. You would have to do this yourself.
On Thursday, 29 November 2012 16:29:42 UTC-6, Stephen Tanner wrote:
Now that web2py uses bootstrap for the layout, I should be able to set the
number
Do you have anything under yourapp/modules/?
On Thursday, 29 November 2012 17:30:30 UTC-6, Maggs wrote:
I recently upgraded to web2py 2.2.1 from 1.99. I have an external set of
modules that I am importing into my application. Since I updated to 2.2.1 I
am getting errors saying that the
strange. Are you using lazy tables?
On Thursday, 29 November 2012 23:31:17 UTC-6, Andy W wrote:
Thanks for the quick reply howesc.
Just for the record, your suggested:
Field('client_code', 'string', required=True, requires=IS_IN_DB(db,
'client.code', '%(code)s'))
did not work. It needed
I open an issue in the pass about that.
http://code.google.com/p/web2py/issues/detail?id=382
Richard
On Fri, Nov 30, 2012 at 8:50 AM, Anthony abasta...@gmail.com wrote:
The format argument goes in the define_table() call -- is that where you
have it?
Anthony
On Friday, November 30, 2012
Hi There!
Sorry to resurrect this long time dead post but I'm really wondering what
is the proper way to log actions, errors and warns in
Web2Py. Tried Hans/Iceberg solution but the log file is not created... Read
in other topic about some logging functionality integrated but found none
in
On 30 November 2012 03:59, Wes Hall wesh...@gmail.com wrote:
What I have done was to make the function the button redirects to one that
gives the user a choice what to do with the selected records.
That is a sort of workaround.
Regards
Johann.
--
Because experiencing your loyal love is better
Did you changed the password widget on the login form from INPUT to CAT? Is
there a reason to this change?
I had a placeholder on it and since DIVs dont have this property, my
placeholders don't work any more.
--
Thanks. Ticket opened here
http://code.google.com/p/web2py/issues/detail?id=1199
Regards,
Hitesh
On Friday, November 30, 2012 9:35:34 AM UTC-5, Massimo Di Pierro wrote:
Please open a ticket. This is not supported at the moment.
On Thursday, 29 November 2012 15:25:52 UTC-6, HP wrote:
Hi!
Can you check trunk? I just submitted a patch that should have fixed this
problem. The price: slower table initilization but perhaps negligible.
On Friday, November 30, 2012 8:51:06 AM UTC-6, Richard wrote:
I open an issue in the pass about that.
Correction. Not fixed.
On Friday, November 30, 2012 9:10:30 AM UTC-6, Massimo Di Pierro wrote:
Can you check trunk? I just submitted a patch that should have fixed this
problem. The price: slower table initilization but perhaps negligible.
On Friday, November 30, 2012 8:51:06 AM UTC-6,
What change are you referring to? Can you provide more details?
On Friday, November 30, 2012 9:01:18 AM UTC-6, Felipe Meirelles wrote:
Did you changed the password widget on the login form from INPUT to CAT?
Is there a reason to this change?
I had a placeholder on it and since DIVs dont
Ask again when you are ready I have little app dedicated to check for this
issue.
Richard
On Fri, Nov 30, 2012 at 10:10 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Correction. Not fixed.
On Friday, November 30, 2012 9:10:30 AM UTC-6, Massimo Di Pierro wrote:
Can you check
there's a full section on it
http://web2py.com/books/default/chapter/29/04?search=logging#Logging
Il giorno venerdì 30 novembre 2012 15:58:23 UTC+1, Francisco Barretto ha
scritto:
Hi There!
Sorry to resurrect this long time dead post but I'm really wondering what
is the proper way to log
If you don't like .less, you can modify grid system variables trough the
web interface at http://twitter.github.com/bootstrap/customize.html and
download modded bootstrap files.
Il giorno giovedì 29 novembre 2012 23:29:42 UTC+1, Stephen Tanner ha
scritto:
Now that web2py uses bootstrap for
def index():
form = auth()
logging.info(form.custom)
Storage {'comment': Storage {'password': '', 'id': '', 'email': ''},
'widget': Storage {'password': gluon.html.CAT object at 0x04A50950,
'id': '', 'email': gluon.html.INPUT object at 0x04A50930}, 'end':
gluon.html.__tag__ object at
yep, now it carries the script to enable the entropy color codes.
Il giorno venerdì 30 novembre 2012 17:21:15 UTC+1, Felipe Meirelles ha
scritto:
def index():
form = auth()
logging.info(form.custom)
Storage {'comment': Storage {'password': '', 'id': '', 'email': ''},
'widget':
Well, and is there possible to set his placeholder this way?
On Fri, Nov 30, 2012 at 2:31 PM, Niphlod niph...@gmail.com wrote:
yep, now it carries the script to enable the entropy color codes.
Il giorno venerdì 30 novembre 2012 17:21:15 UTC+1, Felipe Meirelles ha
scritto:
def index():
I hadn't thought about that.
My first thought is that I'd like to keep as much as possible within web2py
for portability, but I will have to look at that possibility. Thanks.
On Tuesday, November 27, 2012 2:21:09 PM UTC-5, Derek wrote:
For this kind of thing, triggers are great.
On Tuesday,
you need to apply that to the INPUT and not the tag CAT. The Password
widget if there is an IS_STRONG validator now translates to CAT with the
INPUT followed by a SCRIPT.
Don't know how did you placed your placeholders, but I bet this
Looks like this was done so the entropy-checking Javascript script element
could be appended to the CAT (i.e., right after the INPUT element). Note,
the original INPUT element is still there (inside the CAT element), so you
should still be able to add a placeholder with a slight adjustment to
What you are suggesting addresses the concurrency access problem (which
could be resolved with the DB since it locks or with your suggestion).
However, if you stick the logic in your model, you still have the problem
of the logic appearing on every request.
While you do speed up the checking
Btw, one additioanl thing...
Looking at the Settings.py file, I see this line of code:
settings = global_settings # legacy compatibility
Given what is written in the comments, is it a good idea to use
global_settings in new apps?
On Friday, 30 November 2012 12:38:08 UTC-5, Magnitus wrote:
On 30 Nov 2012, at 9:41 AM, Magnitus eric_vallee2...@yahoo.ca wrote:
Btw, one additioanl thing...
Looking at the Settings.py file, I see this line of code:
settings = global_settings # legacy compatibility
Given what is written in the comments, is it a good idea to use
global_settings
On 30 Nov 2012, at 9:38 AM, Magnitus eric_vallee2...@yahoo.ca wrote:
What you are suggesting addresses the concurrency access problem (which could
be resolved with the DB since it locks or with your suggestion).
However, if you stick the logic in your model, you still have the problem of
ok,reading it again, I see that this has more to with with the
functionality having two different names (one old, one new and more
descriptive) rather than being deprecated.
On Friday, 30 November 2012 12:45:04 UTC-5, Jonathan Lundell wrote:
On 30 Nov 2012, at 9:41 AM, Magnitus
It is not executed, but given that models are not compiled into bytecode
as far as I know, won't it have to be interpreted (incurring a performance
penalty for the interpreter having to parse additional code)?
On Friday, 30 November 2012 12:50:33 UTC-5, Jonathan Lundell wrote:
On 30 Nov 2012,
the server admin find the problem I wil post later the configuration.
ITS a setting with TLS = False or none.
Le jeudi 29 novembre 2012 10:42:30 UTC+1, Niphlod a écrit :
web2py uses smtplib, which uses something like telnet under the hood.
Technology to talk to a mail server is always the
On 30 Nov 2012, at 9:54 AM, Magnitus eric_vallee2...@yahoo.ca wrote:
It is not executed, but given that models are not compiled into bytecode as
far as I know, won't it have to be interpreted (incurring a performance
penalty for the interpreter having to parse additional code)?
Ordinarily,
Can I ask the purpose of changing the number of columns in the grid?
I am a Bootstrap novice, but it seems like the number of columns is just an
underlying minimum -- that is, with 12 columns you could not designate
anything to take less than one column, or 1/12 of the presentation.
Think hard before locking a table while a user is dawdling over his
reservation.
The feature you are dealing with is database isolation
levelhttp://en.wikipedia.org/wiki/Isolation_%28database_systems%29
and is the subject that fills volumes of database theory. From what you
describe I think
Yes and this is what I was curious about. I do have a utility module under
myapp/modules/, however this cm module is calling it's own utility module
completely outside of my app, so I don't understand how it could be getting
them confused. This was never an issues in 1.99. I will try changing
Renaming the utility module within the app did not help.
On Friday, November 30, 2012 10:32:16 AM UTC-8, Maggs wrote:
Yes and this is what I was curious about. I do have a utility module under
myapp/modules/, however this cm module is calling it's own utility module
completely outside of my
No - just 'normal' tables for the moment.
On Thursday, November 29, 2012 11:01:12 AM UTC+4, Andy W wrote:
Can anybody expand on 13.5 of the Web2py Manual on how best to adapt an
app to run on GAE? In particular, how to do away with linked tables.
For example, I have a simple app that
consider this case:
site-packages/mymodule/a.py
site-packages/mymodule/b.py
applications/myapp/modules/b.py
if myapp import mymodule.a and a.py import b this worked fine before
but does not work in 2.2. This because the latest web2py has a custom
import that always looks first in
Ok. Forgive me for not pre-googling LESS. I am guessing its some sore of
CSS pre-processor or something.
So would I correctly guess that I could use the bootstrap CSS generator on
their site, and then copy the corresponding bit of CSS over to the
bootstrap.css file replacing the original 12
I have a db_agents model:
*
*
db.define_table('agents',
Field('user_id', db.auth_user),
Field('event_instance_id', db.event_instance), # this is the line
giving the error
Field('code')
)
db.agents.user_id.requires = IS_IN_DB(db, db.auth_user.id, '%(username)s')
Hi!
I'm trying to create a very simple upload field, without any complex
mechanism. A user just uploads a file to a folder in the server (apache),
without web2py changing the file name, and without any db. I have some
dozens of files already in a folder in the server, I just need an upload
The question in this post may not be very explicit .. but it is the best
way for me to say it !
I have the following problem :
in my controller, I have a function ( Z ) that has its own view ( an html
file - Z.html )
the function Z is for registered members and uses the request arg to
The only function you can call via URL is the Z function. Once in the Z
function, you need logic to set the appropriate view file and return the
appropriate data. You can add request args to control that logic (e.g.,
perhaps the first or second arg could be home, A, or B, with the
logic taking
To me it would look less hacky if you were using if statement in view to
filter what you want to show to your differents users...
Something like this :
# Controller
def Z():
return EVERYTHING REQUIRED BY THE VIEW
# View
{{if auth.has_membership(auth.id_group('GROUPENAME')):}}
SHOW WHAT
Another one:
http://www.jqplot.com/
Le jeudi 29 novembre 2012 22:52:08 UTC+1, Paolo Caruccio a écrit :
other alternatives:
https://github.com/HumbleSoftware/Flotr2
http://canvasxpress.org/
http://jsxgraph.uni-bayreuth.de/wp/
I like and use, in combination with web2py, Flot
Did you not read the responses to this question
herehttps://groups.google.com/d/topic/web2py/uqBF0fzVWuA/discussionor on
Stack
Overflow http://stackoverflow.com/a/13646871/440323?
Anthony
On Friday, November 30, 2012 2:17:57 PM UTC-5, Samuel Komfi wrote:
I have a db_agents model:
*
*
Hm, ok, that makes sense. However I have changed the name of the module
within my app and restart web2py but I'm still getting the same error.
Now the case is:
site-packages/mymodule/a.py
site-packages/mymodule/b.py
applications/myapp/modules/c.py
a.py imports b.py and is saying it does not
HI cfh
You're right. As far as I can see in the datastore viewer there is only one
table. There is also a class value available.
I did try a few more things (resetting local datastore and removing the
entries in index.yaml) but I'm not able to access all three tables using
the following
I am developing an app, and I find it annoying that I get so many
communication error when I try to save after working on the code for some
length of time.
Is there a way for me to increase the timeout of the admin session, so that
I don't get so many disconnections when I edit?
Security is
FYI - I've finally gotten some time to update the repo to 2.2.1
For those interested, give it a test and report any issues in the github
project issue currently opened for 2.2.1
As I get time I'm going to try and integrate upgrades via Jenkins so people
don't have to wait on me all the time.
Anthony, I want to thank you .. your input was very valuable ... i got it
to work the way i want ! ... nicely so I should add ! ... without any load
calls in the view ! ...
I had to take out the functions inside the Z function, and put them outside
but still within the profile.py
Holy cow, you're right!
I've had so many things on my mind that I totally forgot about that!
Guess that will speed up my production app a little then...
On Friday, 30 November 2012 13:06:34 UTC-5, Jonathan Lundell wrote:
On 30 Nov 2012, at 9:54 AM, Magnitus eric_va...@yahoo.ca javascript:
db.define_table('t_project',
Field('f_name', type='string',
label=T('Name')),
Field('f_parent_project', type='reference t_project',
label=T('Parent Project')),
Field('f_description', type='string',
64 matches
Mail list logo