Thanks, :-)
I probably make it anyway just to play around with it. But then I do not share
by default.
There was discussion
http://www.turnkeylinux.org/forum/general/20110107/tklpatch-web2py-framewor
k
On Jul 20, 8:04 pm, Mike Veltman mike.velt...@gmail.com wrote:
First I dont know if
Just to be sure that its clear what I am talking about.
http://susestudio.com
What produces modified opensuse / sles installation disks or vm's to deploy.
So it could generate a full web2py server and it will be about a 300mb
download as a vmware/kvm image or as a bootable harddisk, life cd
On Jul 21, 5:33 am, noelrv noe...@gmail.com wrote:
typo in apt-get below:
Fixed, many thanks.
On Thursday, 21 July 2011 05:38:47 UTC+2, noelrv wrote:
URL for ref.83 is broken - http://sial.org/howto/openssl/self-signed
Massimo: what do I do with ref.``openssl``:cite? Where can I fix the
target of the cite ref in the book?
Thanks Massimo!
2011/7/21 Massimo Di Pierro massimo.dipie...@gmail.com:
it would be much easier to just provide a function row.field.asdate()
or row.field.astime()
How this could be done? Give me an hint and I'll procede by myself!
Thank you!
i'll start with the Anthony suggestion.
I've opened the ticket:
http://code.google.com/p/web2py/issues/detail?id=342
Thank you to everybody
2011/7/21 Massimo Di Pierro massimo.dipie...@gmail.com
I think for now Anthony's proposal is the way to go. Open a ticket in
google code and we can think
Hi All,
(probably this is kind of Off Topic)
In a page with a lot of components which have a lot of slow
A(cid=request.cid) links, how do you display a loading every time that a
link is clicked (within each link) ? (I'm talking about A links with
cid=request.cid, not about LOAD)
thanks
--
I have Novell EDirectory, can i use web2py with Novell auth?
How to to use it?
thank you
2011/7/20 Massimo Di Pierro massimo.dipie...@gmail.com
The CAS server supports but 1 and 2 but defaults to 2 which is more
portable. It should work with third party clients out of the box.
On Jul
On 19/07/2011 19:37, António Ramos wrote:
So what is the best way to pass a dictionary from one page to the other?
can i do session.dictvar=mydictvar?
http://docs.python.org/library/json.html
this is a solution I adopted sometimes... I hope it could be usefull :)
Manuele
Thanks a lot Jonathan.
I have tested this in app engine also.
It is working fine.
regards,
sabbir
On Jul 20, 11:49 am, Jonathan Lundell jlund...@pobox.com wrote:
On Jul 19, 2011, at 1:05 AM, sabbir wrote:
A Clickatell call back url can be like this:
I think row.field.date() already works because row.field is a datetime
object
Thank you a lot.
2011/7/21 Manuele Pesenti manuele.pese...@gmail.com
On 19/07/2011 19:37, António Ramos wrote:
So what is the best way to pass a dictionary from one page to the other?
can i do session.dictvar=mydictvar?
http://docs.python.org/library/json.html
this is a solution I
No problem be as criticl as you wish.
Please do not take my critique in a bad way, but be very careful when
adding blocks of code in your views, I understand the example above
is just a code sample to illustrate a perceived deficiency in the
view templating system, but unless you are a PHP
Actually I began by using functions too. But had some problems (can't
remember exactly what), and view functions, even if comprised exclusively of
view code didn't really tick my fancy. I much rather extract those snippets
of HTML to a module or model file exclusively dedicated to html snippets.
You cannot but add a note and I will fix it soon.
On Jul 21, 2:12 am, cjrh caleb.hatti...@gmail.com wrote:
On Thursday, 21 July 2011 05:38:47 UTC+2, noelrv wrote:
URL for ref.83 is broken -http://sial.org/howto/openssl/self-signed
Massimo: what do I do with ref.``openssl``:cite? Where can
True. I just checked and this already works . :-)
On Jul 21, 4:36 am, Vasile Ermicioi elff...@gmail.com wrote:
I think row.field.date() already works because row.field is a datetime
object
Sorry for being retarted!
I have this:
db.define_table('test', Field('comment','string'), Field('data','datetime'))
but the function:
def getcommentsbydate():
rows = db(db.test).select(db.test.data.comment, db.test.data.date())
return dict(rows=rows)
throws an exception complaining that
No that does not work for the reasons discussed above but this does
def getcommentsbydate():
rows = db(db.test).select(db.test.data.comment, db.test.data)
for row in rows: row.data = row.data.date()
return dict(rows=rows)
On Jul 21, 8:06 am, Angelo Compagnucci
For now, I think you'd have to handle that on your own via Javascript/jQuery
on the client side. I'll probably submit a patch soon to allow this option
directly from the A() helper.
Anthony
On Thursday, July 21, 2011 4:21:44 AM UTC-4, sebastian wrote:
Hi All,
(probably this is kind of Off
http://code.google.com/p/web2py/issues/detail?id=101#makechanges
that would be great Anthony...!
are you tracking this new enhancement via google issue list ?
On Thu, Jul 21, 2011 at 3:03 PM, Anthony abasta...@gmail.com wrote:
For now, I think you'd have to handle that on your own via
Javascript/jQuery on the client side. I'll probably submit a patch soon
On Thursday, July 21, 2011 10:38:32 AM UTC-4, sebastian wrote:
that would be great Anthony...!
are you tracking this new enhancement via google issue list ?
No, it's just on my personal to-do list.
Anthony
I mailed Pengoworks, this is their reply:
I'm not well versed in Python, but I think you're problem is that the
results from the AJAX call are not in the expected format. By default,
they're expected to be the format:
Sparta|896
Spencer|897
Spencerville|898
Spring Valley|899
Springboro|900
This was posted awhile ago but in case anyone else runs into this, the
problem is the cities and categories fields have both the same name 'name'.
The AutocompleteWidget *keyword* property gets set to the same value. The
solution is to provide distinct *keyword* arguments.
Field('city',
Thanks Massimo!
So I must traverse the list at least one time. I dont know how much
time is spent in this operation, but I have a very large number of
records, so I'll test this solution.
Thank you!
2011/7/21 Massimo Di Pierro massimo.dipie...@gmail.com:
No that does not work for the reasons
hello, i have some startup variables that i defined in db.py
when i go to database administration i get an error.
Traceback (most recent call last):
File gluon/restricted.py, line 192, in restricted
File D:/web2py10/web2py/applications/Lims/views/appadmin.html, line 109,
in module
TypeError:
I think in theory you should be able to do that, but do you really want to
be opening all those files on every page request?
Can you show what code generated the error? My line 109 in appadmin is
blank.
'sorted' is a Python builtin, and it happens to be called in the
appadmin.html view. All variables/objects created in the model files are
available in the view environment as well, so you have redefined the Python
builtin sorted() function as a dictionary -- *sorted=Analises*. To be safe,
try
I don't know exactly how virtual fields are implemented (if it would prevent
another run through the result set) but might be another approach.
http://web2py.com/book/default/chapter/06#Virtual-Fields
On Thursday, July 21, 2011 12:01:56 PM UTC-4, pbreit wrote:
I think in theory you should be able to do that, but do you really want to
be opening all those files on every page request?
Can you show what code generated the error? My line 109 in appadmin is
blank.
Note, in tracebacks
Do you plan to save the data to the DB or elsewhere at some point? I would
suggest putting it in the DB or stuffing it insto session. The JSON thing is
more for inter-application communication.
My traceback gives this in line 109
* for db in sorted(databases):*
*
*
*
*
*
*
2011/7/21 Anthony abasta...@gmail.com
On Thursday, July 21, 2011 12:01:56 PM UTC-4, pbreit wrote:
I think in theory you should be able to do that, but do you really want to
be opening all those files on every
because i already know and use git everyday for personal use and at
work. So i know it. in mercurial i kinda know how to pull the updates.
heh. just never really used it much. Not saying it isnt easy to learn
or better/worse. Just that im already using git. if the core was in
git i could so git
Hello Roberto,
I've tried to start web2py has you demonstrated:
uwsgi --socket :3031 --spooler myspool --master --processes 4 --
import mytasks --module web2py.wsgihandler
but I got this error:
[spooler directory] access(): No such file or directory [uwsgi.c
line 2994]
What
I cannot reproduce this. Can anybody else?
On Jul 18, 8:13 pm, tcab abu...@gmail.com wrote:
Ok - added issue ashttp://code.google.com/p/web2py/issues/detail?id=340
On Jul 15, 9:45 am, Anthony abasta...@gmail.com wrote:
Please submit an issue on Google
You can just call row.data.date() instead of row.data when you need
the value.
On Jul 21, 10:49 am, Angelo Compagnucci angelo.compagnu...@gmail.com
wrote:
Thanks Massimo!
So I must traverse the list at least one time. I dont know how much
time is spent in this operation, but I have a very
In the past a user has posted a version of web2py on bitbucket. The
user did not keep it in sync not updated and this has confused some
prospective users.
So please add a clear notice that links the official page and declares
when your code is updated manually (I so assume) and may get out of
why is that?
It does not work on windows?
thank you
The web interface to GAE deployment yes it only works on Unix systems.
But the fact is whether on windows or not, you still need to download
the google sdk and run dev_appserver.
The web2py deployment page would only save you form typing appcfg.py
deploy web2py and on windows you do not have to do
Hey guys,
I'm currently running version 1.95.1 and have 3 application,
AppAuth, AppA, AppB, AppA and AppB is using AppAuth to
authenticate logged in user and it has been working great.
After upgrading 1.96.1 and cross app authentication no longer works,
some debuging lead to:
-
Following the web2py book, chapter 03 Overview, I try to install KPAX
via the Admin page.
Admin show version 1.97.1.
Under upload and install packed application I provide URL
http://web2py.com/appliances/default/download/app.source.221663266939.tar
as in the book - I get Unable to install
This change should not break it. Can you please show us the code that
breaks and we will check what is going on? It is possible that one of
the auth modules has not been patched correctly.
Massimo
On Jul 21, 11:02 am, zeng zeng...@gmail.com wrote:
Hey guys,
I'm currently running version
Hi,
I see this in the Documentation:
if request.action in read_only_actions:
db = DAL(shuffle(['mysql://...1','mysql://...2','mysql://...3']))
else:
db = DAL(shuffle(['mysql://...3','mysql://...4','mysql://...5']))
I'm not sure where exactly I should be using this ?
And does anyone have
Did you get admin from stable or trunk? What is the date in your
web2py/VERSION file?
On Jul 21, 11:15 am, neilrobau2 neilro...@gmail.com wrote:
Following the web2py book, chapter 03 Overview, I try to install KPAX
via the Admin page.
Admin show version 1.97.1.
Under upload and install
You would only use this if you have a replicated database. I.e. you
are running many database servers synced with each other. For example:
http://en.wikipedia.org/wiki/Multi-master_replication
On Jul 21, 12:44 pm, Nils Olofsson nils.olofs...@gmail.com wrote:
Hi,
I see this in the
How can i create the spoller directory?
thks in advance
On Jul 21, 6:06 pm, Roberto De Ioris robe...@unbit.it wrote:
Hello Roberto,
I've tried to start web2py has you demonstrated:
uwsgi --socket :3031 --spooler myspool --master --processes 4 --
import mytasks --module
I'll try to explain better.
I have to exctract some statistics from a radius accounting table that
is generally a really big table.
After exctracting tha data, i pass it to jqplot.com via a json service
to be rendered.
For some graphics, I have to exctract a big amount of dates from
accounting
A lot of code is stored in mercurial so it might be worthwhile to learn it.
It's quite easy.
If you don't have mercurial installed, install in your preferred way
(apt-get, easy_install, pip).
Then you only need a couple commands:
To grab Web2py:
$ hg clone https://code.google.com/p/web2py/
Hi Massimo,
I'm testing amazon's RDS and EC2 , 1 master many slaves.
I could not find out where exactly I am suppose to be putting this
code.
Regards,
Nils
On Jul 21, 6:48 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
You would only use this if you have a replicated database. I.e.
This works great, but when i download the file it is missing the extension.
Is there an easy way to add '.xls' to the file name?
Thanks,
Dave
yea i have it installed already. Im thinking maybe at this point it
might be easier to just use hg. But there is an app out there that
will take a mercurial repos and convert everything into a git repo
including commits and the full history. I tried it at home and it
works great. cant think of the
It would go in your model file -- the same place where you would normally
define the db connection.
Anthony
On Thursday, July 21, 2011 2:29:45 PM UTC-4, Nils Olofsson wrote:
Hi Massimo,
I'm testing amazon's RDS and EC2 , 1 master many slaves.
I could not find out where exactly I am
Following reference URL is probably a better and more stable link.
http://www.tc.umn.edu/~brams006/selfsign.html
Noel
On Jul 21, 11:33 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
You cannot but add a note and I will fix it soon.
On Jul 21, 2:12 am, cjrh
In a data acquisition system, I need to handle reports for sensor
channels that may not have anything connected to them. The relevant
fields in my table definition look like:
Field('f_ch1_value_double', type = 'double', default = None,
label = T(CH1)),
On Thu, Jul 21, 2011 at 3:40 PM, Dave davidramsayreinh...@gmail.com wrote:
This works great, but when i download the file it is missing the extension.
Is there an easy way to add '.xls' to the file name?
Thanks,
Dave
Hi Dave,
how do you download the file? This method is an action in one
Hi,
I did this but i got :
Traceback (most recent call last):
File /var/www/web2py/gluon/restricted.py, line 192, in restricted
exec ccode in environment
File /var/www/web2py/applications/Event/models/db.py, line 18, in
module
if request.action in read_only_actions:
NameError: name
That's just some (incomplete) example code. You have to define
'read_only_actions' yourself. In that example, it would be a list functions
that only need to read (but not write) the database and can therefore be
given access to one of the slave databases.
Actually, it looks like the code has
The subject says it all
Where are they?
I saw a video from Massimo and in the wizard i saw a lot of themes and plug
ins.
thank you
António
hi,
soon I will have a conversation with a client and it is possible that
we will discuss this thing too,
I have good experience with php, but not with Drupal,
if some of you have some experience and migrated to web2py please
share that
thank you
It's supposed to pull those lists from
http://www.web2py.com/layouts/default/layouts.json and
http://www.web2py.com/plugins/default/plugins.json. Those URLs currently
return an invalid view error, so I'm guessing the code was relying on the
generic.json view, which is now disabled by default.
Absolutelly different projects.
Drupal is a cms and web2py is a framework.
We do not have. Yet. A complete cms like Drupal.
http://zerp.ly/rochacbruno
Em 21/07/2011 17:58, elffikk elff...@gmail.com escreveu:
hi,
soon I will have a conversation with a client and it is possible that
we will
Hi,
I would love to do a presentation about web2py at Codebits 2011
(http://codebits.eu)
Is there any central repository with web2py presentations/videos that
I'm not aware of?
I'm going to perform a standard search (slideshare, vimeo, etc) but if
you guys have more data related to web2py I
I added it to default.py controller, so it is working as an action
there.
When i go to that URL (.../default/excel_report), the file downloads
as excel_report with no extension. I am testing using Mac OS, so
not sure if that matters. The file is fine. When i rename it with
the .xls extension
Documenting for others a behaviour I found surprising:
Database insert for one record eats integrity errors and returns a None key
for the inserted record. It doesn't tell you what the integrity problem is
(I guess it is ok for code, because there is no reasonable to describe the
integrity
Ned Deily posted the following on Pythonmac-SIG just now. It's probably of
interest to many of us on this list. Note that Lion ships with *three* versions
of Python installed.
Here's my take on things after installing and some quick testing with
10.7 Lion:
- If you were satisfied with
I installed Lion + Xcode 4.1 and things have been OK so far.
I had a lot of trouble before installing PIL and lxml but they both
installed without a hitch on Lion.
I added these two lines and its working now!
response.headers['Content-Disposition']='attachment;
filename=test.xls'
response.headers['Content-Title']='test.xls'
Dave
On Jul 21, 4:48 pm, Dave davidramsayreinh...@gmail.com wrote:
I added it to default.py controller, so it is working as
hi all,
can someone take a peek
at http://code.google.com/p/web2py/issues/detail?id=345 and tell me if that
sounds reasonable? i made the patch and it seems to help me, but i would
like some validation that this won't break things more.
problem is that the list of virtual tables ends up with
VERSION says Version 1.97.1 (2011-06-26 19:25:44). Downloaded as
Current (for everybody)
Version 1.97.1 (2011-06-26 19:25:44), Windows version.
On Jul 22, 3:45 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Did you get admin from stable or trunk? What is the date in your
web2py/VERSION
Well, I solved it somehow.
If I import web2py.gluon.main and use web2py.gluon.main.wsgibase, exec
ccode in environment will reimport web2py and web2py.gluon.globals.current
will be created within the environment each time. If I import gluon.main and
use gluon.main.wsgibase, current will be
i use this:
http://www.web2pyslices.com/slices/take_slice/77
together with the custom facebook and twitter classes, and an extension to
the web2py auth module i can get the best of both worlds.
cfh
Massimo,
What specifically are you looking for? All that is needed is to use the
already included setup_exe.py The new setup_exe.py from issue
224http://code.google.com/p/web2py/issues/detail?id=224 which
was merged in April (rev
Hi,
I'm getting same error (gluaon/validators.py, line 807), version
1.97.1. Debugger says this.dot is type lazyT, so I made a test and
added str(). Line now looks:
def formatter(self, value):
return str(value).replace('.',str(self.dot))
also line 793
try:
if
Hi Massimo,
Thanks for this. Do you know if it will hold up in a high performance
situation though?
As in, if multiple connections originate at the same time, won't there
be a queue?
Is it possible to simulate the connection pooling mechanism in
web2py's DAL?
Thanks,
Karthik
On Jul 31 2010,
The problem is that get vars userd to pass json arguments are always
strings.
On Jul 21, 2:38 pm, Michael Ellis michael.f.el...@gmail.com wrote:
In a data acquisition system, I need to handle reports for sensor
channels that may not have anything connected to them. The relevant
fields in my
i deployed my application using the gae sdk. when I browse the app it
just shows hello world message. why?
How can i create the spoller directory?
mkdir myspool
It is a normal, empty directory
thks in advance
On Jul 21, 6:06 pm, Roberto De Ioris robe...@unbit.it wrote:
Hello Roberto,
I've tried to start web2py has you demonstrated:
uwsgi --socket :3031 --spooler myspool
77 matches
Mail list logo