Thanks for your reply. The content of the style tag now reads like:
body {background-color:#4169E1;}
body {color:#FF;}
body {font-family:Verdana,Geneva,Arial,Helvetica,Sans-Serif;}
Which produces the correct styling. What I had in mind was:
body {background-color:#4169E1;color:#FF;font-
A line break in code not make anything visually, this is another
thing, perhaps ie margin bug.
jaja stephen has many other things better to do than web2py :P
On 27 sep, 23:12, mdipierro mdipie...@cs.depaul.edu wrote:
I read you but I do not understand how this is possible.
Is your name really
Hi Annet,
I haven't coded this in python, did something similar in .NET using LINQ.
A quick search shows the following might fit what you need.
itertools.groupby().
http://docs.python.org/library/itertools.html#itertools.groupby
rAm
i Think, i Wait, i Fast -- Siddhartha
We had thought it at one point to be issues with the corruption of the
file I used between the machine_server and the web2py_server, but sadly
the issues still occurs...
I have been able to implement my machine server in twisted with AMP
protocol builder. I have web2py picking up that data.
I have spent the last few weeks with web2py and found it to be really good.
In the process I have also built a small application for a client with it,
which is supposed to be deployed sometime next week.Now I am planning to
build something bigger, larger using web2py.
Would it be good dig through
Hello, Is it possible to grab the stats for main request function and
show them at the end of the page..
or maybe it would be possible via ajax at the end of page if not at
the time of request processing.
but how to ask gae nicely to give the stats of exactly this request?:
- where to get the
Hello,
it would probably be few lines of code to call web2py_content(ticket
url) on error page,
because when there are many errors while debugging - extra clicks get
annoying...
yes didn't come to my mind the blocks. Massimo I like and i could do
that, but you think i have to move footer, header all to each view,
because headers and footer generally is the same for all the pages. Or
for now only the sidebars?.
On Sep 27, 9:56 pm, mdipierro mdipie...@cs.depaul.edu wrote:
The thing about web2py is that you learn the little syntax and variables
it has in the book and you are free to do what ever you like from there.
Any restrictions are very clearly defined in the book.
Every once in a while you may need t dig into the deep stuff but you
will find that there is
Take a look at gluon/html.py and gluon/highlight.py
I saw some code there that does exactly what you need.
CODE helper takes styles={} as an argument to build the style tag of pre
Enviado via iPhone
Em 28/09/2010, às 03:21, annet annet.verm...@gmail.com escreveu:
Thanks for your reply. The
Hello,
I can´t get the mail.send to send mails the wat I like.
I´d like to do it like this mail.send(to=mail_receivers,
cc=cc_receivers, subject='Test subject', message='Test message')
mail_receivers and cc_receivers would contain 1-5 e-mailaddresses? How
do I construct those variables.
for example I am using a wiki app right now every page can have a
different title, subtitle and header background.
also some pages may have some custom style in the head that come
from the auth_user table.
On Sep 28, 6:49 am, Martin.Mulone mulone.mar...@gmail.com wrote:
yes didn't come to my
No objection, may improve usability.
On Sep 28, 6:49 am, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com
wrote:
Hello,
it would probably be few lines of code to call web2py_content(ticket
url) on error page,
because when there are many errors while debugging - extra clicks get
annoying...
Not sure I understand. The code is there. You are encouraged to look
at it. I do that with my students.
On Sep 28, 6:44 am, b vivek bvivek1...@gmail.com wrote:
I have spent the last few weeks with web2py and found it to be really good.
In the process I have also built a small application for a
exactely like you said:
def send(
self,
to,
subject='None',
message='None',
attachments=None,
cc=None,
bcc=None,
reply_to=None,
encoding='utf-8',
):
to, cc and bcc can be lists of addresses.
On Sep 28, 7:11 am,
But how should that list look like.
mail_receivers = 'kenn...@test.com, kenn...@test2.com' does not work,
it only sends that mail to the first receivers.
Kenneth
On Sep 28, 3:50 pm, mdipierro mdipie...@cs.depaul.edu wrote:
exactely like you said:
def send(
self,
to,
On 09/28/2010 02:16 PM, Jason Brower wrote:
We had thought it at one point to be issues with the corruption of the
file I used between the machine_server and the web2py_server, but
sadly the issues still occurs...
I have been able to implement my machine server in twisted with AMP
protocol
mail_receivers = ['kenn...@test.com','kenn...@test2.com']
On Sep 28, 7:52 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
But how should that list look like.
mail_receivers = 'kenn...@test.com, kenn...@test2.com' does not work,
it only sends that mail to the first receivers.
Kenneth
On
Jason,
I am sorry but I do not have enough information. What do you see in
the output that is wrong? What code produces the output?
massimo
On Sep 28, 6:16 am, Jason Brower encomp...@gmail.com wrote:
We had thought it at one point to be issues with the corruption of the
file I used between
Fixed thank you!
Regards
Richard
On Mon, Sep 27, 2010 at 9:57 PM, mdipierro mdipie...@cs.depaul.edu wrote:
- should be allowed.
, as a separator is not allows. I will change trunk in 5 minutes and
will be able to do IS_DECIMAL_IN_RANGE(dot=','). try it and let us
know.
other symbols are
My thoughts on:
A. I think we can inherit web2py HELPERS to do specialized PDF
reporting HELPERS.
Thus, it would be an increase and not a modification and would be more
clear what to use
for reporting.
B. Totally agree! I think due to PyFPDF limitations a genric view can
´t be sucessfull yeat.
I am for a generic.pdf
I already have one for an app of mine that uses gluon/contrib/
markmin2pd.py (in plugin_wiki/views/plugin_wiki/page.pdf).
I think we need both a PDF helper and a generic.pdf
On Sep 27, 9:43 pm, Mariano Reingart reing...@gmail.com wrote:
Great!
I agree with your
Once again... who here is interested in a web2py based Learning
Management system?
What features would you like to see?
Massimo
any ideas?
nongae doesn't complain...
this happens only in GAE on update or inset record (selects works ok)
GAE admin also lets edit the values.
ERROR2010-09-28 13:59:39,535 restricted.py:151] Traceback (most
recent call last):
File /media/data/veikla/coding/web2py_gae_test/gluon/
I know it is too much to ask, but could somebody suggest where do I start
digging in. I really want to know the internals properly. Well Massimo, if
you have to suggest a student, where would you ask him to begin...
On Tue, Sep 28, 2010 at 6:18 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Not
seems I found, that responsible for this is
Field(tpl_invalidator, reference Examples,
requires=IS_EMPTY_OR(IS_IN_DB(db, 'Examples.id', 'Examples.id')) ),
still interesting why? ...
the problem is validator IS_IN_DB , as when I remove it -- its ok
again
I can worke-around with defining
You can look at the internals if there is a bug, if core features
don't do what you want and you need to extend them or if the
documentation isn't sufficient for you to understand how to properly
use the facilities provided by the framework.
However, this should be the exception and not the norm.
these are independent from everything else so you may want to start
looking at them first
gluon/html.py
gluon/template.py
gluon/highlight.py
this is also independent but complex (the dal)
gluon/sql.py
these are the main ones
gluon/widget.py
gluon/main.py
gluon/globals.py
gluon/compileapp.py
IS_EMPTY_OR(IS_IN_DB(db, 'Examples.id', 'Examples.id'))
should be
IS_EMPTY_OR(IS_IN_DB(db, 'Examples.id', '%(id)s'))
On Sep 28, 9:47 am, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com
wrote:
seems I found, that responsible for this is
Field(tpl_invalidator, reference Examples,
It is a big project and most university are already involved with vendor
like WebCT or other open source project...
I think the inertia force will be really big...
But, it have been demonstrated that the projects already available are
difficult to make evolved... So, web2py could offer an easily
There are two pages in two different controller files running.
One is automated... it executes all the session updating for the
interface. For example it tells what motor is in motion or what sensor
was triggered. I don't have this controller function print anything at
all. (I did have it
Do you mean something like Moodle? http://moodle.org/about/
2010/9/28 mdipierro mdipie...@cs.depaul.edu
Once again... who here is interested in a web2py based Learning
Management system?
What features would you like to see?
Massimo
--
http://rochacbruno.com.br
I am the chair of a a university committee in charge of evaluating
LMS. We looked at many.
The major players are:
- Blackbard (BB)
- Desire2Learn (D2L)
- Moodle (free)
BB acquired webct (and killed it), Angel (excellent system, will kill
it too), Wimba (video chat, thus cutting D2L out) and
add {{=request.session_id}} and {{=response.session_id}} my guess is
that for some reason the browser requests a session, web2py cannot
open it, so it issues a new one.
check if the session_in in request/response and across requests is
always the same.
On Sep 28, 10:05 am, Jason Brower
I agree we need both.
But how we are going to achieve this?
Will we need plugin_wiki?
On Sep 28, 10:45 am, mdipierro mdipie...@cs.depaul.edu wrote:
I am for a generic.pdf
I already have one for an app of mine that uses gluon/contrib/
markmin2pd.py (in plugin_wiki/views/plugin_wiki/page.pdf).
I'm working on a pilot project at our university which presents
lecture videofragments (enriched with links and other additional
info), a interactive list of concepts, frequently asked questions and
exercises supported by soundsamples. I'm using the wiki-plugin and
have build widgets to be used by
there should be no dependence with plugin_wiki.
I would take two concurrent indepenent non-exclusive approaches:
1) look into gluon.html
DIV(...).flatten(render_markmin)
and make a
DIV(...).flatten(render_pdf)
2) look into markmin2latex.py
and make a
markmin2pypdf.py
(notice that is
You have good idea!
The person in charge of Claroline at the university were I was studying was
spending his time on the management of course and accoumpt never been able
to hack to make evolve the system so far...
The problem is the speed at the university are moving from a system to an
o assigments (with attachments) and grading
this can be done easily
o chat, sound and video interaction student-teacher student-student
why not use big blue button?
o a system to build multiple choice exercises with appropiate feedback on
wrong answers
web2py.com/survey
does this
On 09/28/2010 05:01 PM, mdipierro wrote:
Once again... who here is interested in a web2py based Learning
Management system?
What features would you like to see?
Massimo
I would like a way to schedule classes. For example, it can auto fill
all the teachers schedules. Then a student that
On 09/28/2010 05:19 PM, b vivek wrote:
I know it is too much to ask, but could somebody suggest where do I
start digging in. I really want to know the internals properly. Well
Massimo, if you have to suggest a student, where would you ask him to
begin...
On Tue, Sep 28, 2010 at 6:18 PM,
Hi,
When I upload my app with GAE the address will be myapp.appspot.com/
myapp . On the site myapp.appspot.com there is the administrative
interface that doesn't work with GAE. My question is: how to put my
app on myapp.appspot.com ?
Thanks in advance for help!
Massimo,
I think there's an inherent scalability issue in any application that
uses per-user database connections. My application is an internal
application that will serve only a handful of users, so I’m not too
concerned with how it will scale. We are more concerned with pushing
access
Thanks all of you!
On Tue, Sep 28, 2010 at 9:49 PM, Jason Brower encomp...@gmail.com wrote:
On 09/28/2010 05:19 PM, b vivek wrote:
I know it is too much to ask, but could somebody suggest where do I start
digging in. I really want to know the internals properly. Well Massimo, if
you have
When using SQLDB to open a connection to a PostgreSQL database, there is
currently no way to select the SSL Mode of the connection.
Attached is a patch file which allows the sslmode to be optionally selected for
non-jdbc Postgres connections via the following URL style:
Now that I think of it, your right, these are things that my teachers
have complained about too. :D
On 09/28/2010 06:26 PM, mdipierro wrote:
I am the chair of a a university committee in charge of evaluating
LMS. We looked at many.
The major players are:
- Blackbard (BB)
- Desire2Learn (D2L)
Hello,
The auth_user table contains field login_date
Should this contain the date and time when user has last time logged
in?
Is this field updated automatically?
If it should update automatically why isn´t it doing it anymore?
Kenneth
As mentioned here in another thread of the group, the output PDF has
problems with accented characters.
I was testing if it would be possible to decode in the base class, instead
of having to pass each string decoded
2010/9/27 yamandu yamandu.co...@gmail.com
Hi, I wrote a simple report the
You have to upload it in your local copy and then doply it again.
On Sep 28, 11:20 am, Rick sababa.sab...@gmail.com wrote:
Hi,
When I upload my app with GAE the address will be myapp.appspot.com/
myapp . On the site myapp.appspot.com there is the administrative
interface that doesn't work
thanks. Will apply it tonight.
On Sep 28, 11:32 am, Josh Jaques jjaq...@seccuris.com wrote:
When using SQLDB to open a connection to a PostgreSQL database, there is
currently no way to select the SSL Mode of the connection.
Attached is a patch file which allows the sslmode to be optionally
there is no login_date field in auth_user. What are you looking at?
Massimo
On Sep 28, 11:51 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
Hello,
The auth_user table contains field login_date
Should this contain the date and time when user has last time logged
in?
Is this field
Massimo,
The embedded youtube video link on above page is no longer valid (user
pulled the video off), alternative: http://www.youtube.com/watch?v=HeUrEh-nqtU
or - longer - http://www.youtube.com/watch?v=OM6XIICm_qo (TED talk)
Nico de Groot
Hi,
I am developing a webpage where I need to include 2 gadgets.
Inside divul./ul/div
I need to list 5 last entries from this page:
http://code.google.com/p/web2py/source/list
and in another I need to list the 5 last entries form this:
http://groups.google.com/group/web2py/topics
What I
After spending time and time again with this problem I found a
solution for uploading files in forms loaded with web2py LOAD/
web2py_component
download jquery.form.js http://jquery.malsup.com/form/ to static/js
put a loading.gif image into static/img (just for style)
apply the patch to the
After spending time and time again with this problem I found a
solution for uploading files in forms loaded with web2py LOAD/
web2py_component
download jquery.form.js http://jquery.malsup.com/form/ to static/js
put a loading.gif image into static/img (just for style)
apply the patch to the
google groups provides rss feeds and there is a library called
jfeed.js. The problem is the latter does not seem to work with the
former. I did not spend much time on it because you can figure out
why.
Massimo
On Sep 28, 3:36 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Hi,
I am developing a
Don't copy any of those former systems do.
As a student, I have a great disdain for webct, moodle, and the ilk.
These are the key features from a students perspective.
1. Time spent on it. I want to spend as little time as possible on the
site so I can get back to being lazy. All I care about
I think one of the keys to getting a csszengarden-type database of
base.css files is to have an html page dedicated to showcasing all of
the different styles. Would it be worth having a separate
css_sampler.html file that accomplishes this so that the main page
does not have to get too
my only concern would be in the (highly unlikely) event that an error
happens on a production site that this would expose source code to end
users - not usually a good idea. so maybe have a setting, or some way
to detect that there is a valid admin session before showing full
error trace.
On Sep
I am solving with google groups using rss feed, parsing it with 'pyquery'
I just need to find a solution to read latest 5 entries in code.google
I can do that using Yahoo Pipes, but it always depend on Yahoo.
2010/9/28 mdipierro mdipie...@cs.depaul.edu
google groups provides rss feeds and
On 25 ago, 00:15, Kevin extemporalgen...@gmail.com wrote:
You can remove gluon/contrib/populate.py, which is almost 1 mb.
You can also run web2py with `python -OO web2py.py`, and after getting
the app to load all your modules (perhaps by accessing every page on
your app), close down the
It's cost me a lot of time really, but I think i did it, after many
try, i think the only way we have proper columns (sidebars) is with
fixed width, so i have to know in the moment of views if its sidebar
right, sidebar left, both or none. This complex the view, but work out
the box without
so nice!
On Sep 28, 5:29 pm, Martin.Mulone mulone.mar...@gmail.com wrote:
It's cost me a lot of time really, but I think i did it, after many
try, i think the only way we have proper columns (sidebars) is with
fixed width, so i have to know in the moment of views if its sidebar
right,
This would only be if the issue is issue to admin.
Look into appadmin.py on how to check for that.
On Sep 28, 4:35 pm, howesc how...@umich.edu wrote:
my only concern would be in the (highly unlikely) event that an error
happens on a production site that this would expose source code to end
On Tue, Sep 28, 2010 at 2:19 PM, Bruno Rocha rochacbr...@gmail.com wrote:
As mentioned here in another thread of the group, the output PDF has
problems with accented characters.
Sorry, what thread?
Can you fill an issue on pyfpdf.googlecode.com?
I was testing if it would be possible to decode
Over the past month I have built Meeting Monkey. It is meant as a
meeting facilitation tool to aid in helping groups think, decide and
act together. Please take a look and share with others you think may
be interested. I welcome any and all feedback as it will only help me
make this better.
There seem to be no links !
On Wed, Sep 29, 2010 at 6:40 AM, david.waldrop david.wald...@gmail.comwrote:
Over the past month I have built Meeting Monkey. It is meant as a
meeting facilitation tool to aid in helping groups think, decide and
act together. Please take a look and share with
Over the past month I have built Meeting Monkey. It is meant as a
meeting facilitation tool to aid in helping groups think, decide and
act together. Please take a look and share with others you think may
be interested. I welcome any and all feedback as it will only help me
make this better.
wow that was quick. the link is now there.
On Sep 28, 9:17 pm, b vivek bvivek1...@gmail.com wrote:
There seem to be no links !
On Wed, Sep 29, 2010 at 6:40 AM, david.waldrop david.wald...@gmail.comwrote:
Over the past month I have built Meeting Monkey. It is meant as a
meeting
I would like to create a many-to-many relationship in the following
model, where many stories can appear in many different
roadtrips (think songs to mixtapes).
db.define_table(
'roadtrip',
Field('name'),
Field('description', 'text'),
it's really a strange problem
I spend a whole day to find out what causes this problem but still
have no idea!! ''
may be this is a stupid problem ,but any help will be appreciate
anyway...thanks...
if you are interested in this stupid problem you can check out this
link to find out
Massimo,
Having developed and deployed one if the early LMS in 1994, LMS
should allow collaborative learning between students, with teacher
acting as a mentor and catalyst. This is different from forums. Also
it should allow crowdsourced content from all teachers worldwide to
replace text
I think it's not a ie margin bug because of a strange symbol appeared
out of nowhere! and it will causes ie and safari goes wrong!
you can check out this link to see the strange symbol that I mentioned
http://4udesign.alwaysdata.net/test/portfolio/index
or download w2p file to see the strange
I agree with you.
On Sep 28, 4:39 pm, KK nkanna...@gmail.com wrote:
Massimo,
Having developed and deployed one if the early LMS in 1994, LMS
should allow collaborative learning between students, with teacher
acting as a mentor and catalyst. This is different from forums. Also
it should
what is me? Do you use auth? why the type of created_by is a string?
On Sep 28, 10:01 pm, johntynan jgty...@gmail.com wrote:
I would like to create a many-to-many relationship in the following
model, where many stories can appear in many different
roadtrips (think songs to mixtapes).
if auth.is_logged_in():
me=auth.user.id
else:
me=None
On Sep 29, 5:19 am, mdipierro mdipie...@cs.depaul.edu wrote:
what is me? Do you use auth? why the type of created_by is a string?
On Sep 28, 10:01 pm, johntynan jgty...@gmail.com wrote:
I would like to create a many-to-many
Google just paid 10 million for an idea like this. Make edgucational books free
online.
So we are not alone in this goal.
- Original message -
I agree with you.
On Sep 28, 4:39 pm, KK nkanna...@gmail.com wrote:
Massimo,
Having developed and deployed one if the early LMS in
Thank you Massimo for your help. Now I get it working until I tried to
also use the bcc option.
I´m getting this ticket:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Traceback (most recent call last):
File gluon/restricted.py, line 188, in restricted
exec ccode in environment
File
My auth_user definition looks like this:
user_table,
db.Field('first_name', length=128, requires=IS_NOT_EMPTY()),
db.Field('last_name', length=128, requires=IS_NOT_EMPTY()),
db.Field('email', length=128, requires = [IS_NOT_EMPTY(),
IS_EMAIL()]),
db.Field('password',
There are two things to realize... most of the professors want their
content freely available. The more people see it and use it, better
for us.
The problems are:
1) really technical stuff goes into publications and proceedings. That
is what we get paid for. Many journals do not allow free
just use
auth.user_id
is the same
created_by should be type=db.auth_user
On Sep 28, 10:31 pm, johntynan jgty...@gmail.com wrote:
if auth.is_logged_in():
me=auth.user.id
else:
me=None
On Sep 29, 5:19 am, mdipierro mdipie...@cs.depaul.edu wrote:
what is me? Do you use auth? why
Hi,
I've put this into a viewer file named layout.html but it doesn't
work:
head
{{response.files.append(URL(request.application,'static','superfish.js'))}}
{{include 'web2py_ajax.html'}}
/head
...some code
{{
+1 I felt the same way! We need to hang out. :D
BR,
Jason
On 09/28/2010 11:29 PM, Thadeus Burgess wrote:
Don't copy any of those former systems do.
As a student, I have a great disdain for webct, moodle, and the ilk.
These are the key features from a students perspective.
1. Time spent on
Hello mate,
I wonder if any one has the same issue with the retrieve_password()
in
tools.
#Here is the controllers:
def forgotPassword():
return dict(forgotPwdForm = auth.retrieve_password())
# Here is the view forgotPassword.html
h3Forgot Your Password ? Please enter your email/h3
Thousand thanks. yes this latest solution help. I can now create and
upload new application from admin page. Thanks
By the way after the installation how can I change the web2py admin
password ? Which command should I use for that ?
Thanks,
Yannick P.
On Sep 28, 12:50 am, mdipierro
Yes, these seems to be what happens. The session id only changes when
ever nothing works. :)
Any ideas from here?
BR,
Jason Brower
On 09/28/2010 06:30 PM, mdipierro wrote:
add {{=request.session_id}} and {{=response.session_id}} my guess is
that for some reason the browser requests a session,
request.session_id is always none, how ever.
BR,
Jason
On 09/28/2010 06:30 PM, mdipierro wrote:
add {{=request.session_id}} and {{=response.session_id}} my guess is
that for some reason the browser requests a session, web2py cannot
open it, so it issues a new one.
check if the session_in in
87 matches
Mail list logo