Where did you put this line of code;
form[0][-1][1].append(INPUT
(_type='button',_value='Cancel',_onclick=window.location='%s';%URL
(r=request,f='index')))
Kind regards,
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
It goes right after the form=SQLFORM(...). Nice one, Mr. Freeze.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
I'm considering integrating a web2py app with a Google app and was
wondering if anyone has ever gotten web2py to do authentication
against a Google account using AuthSub? If so, any pointers to doc on
the subject? I've found doc on the Google side. It says to use
AuthSub. I haven't dived in yet,
On Jul 3, 6:15 am, mdipierro mdipie...@cs.depaul.edu wrote:
If other problems have problems downloading I will repost tomorrow.
I get the same error - dl'ing in both FF3.5 IE8
However the file un-tar's just fine the appliance runs.
However the JS fails with formulae (FF3.5 IE8 again)
Firebug
Problem solved, I had to restart web2py from the terminal. Thanks for
your reply.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Hi Yarko,
I will try as details as I could :).
1. This is my first try with web2py, basically I just want to make
sample app. It will be a website that member can login and update his
status so other member can know the update
2. For development, I am using win vista business and xampp for
Hi all.I met a problem that all the '@import' I used in the css file do not
work at all.I put the css file in the static folder, and the '@import' cant
import the file that even in the same folder.
I suppose if it is because web2py framework doesn't suggest us to use
relative paths?
But i still
Hi,
Given that I have a menu like:
response.menu = [
['Home', request.function=='index',
URL(request.application,'default','index'), []],
['New Post', request.function=='create',
URL(request.application,'default','create'), []],
]
the active link does not work unless
On Fri, Jul 3, 2009 at 05:26, 双木成林linluxi...@gmail.com wrote:
Hi all.
I met a problem that all the '@import' I used in the css file do not work at
all.
I put the css file in the static folder, and the '@import' cant import the
file that even in the same folder.
I suppose if it is because
On Fri, Jul 3, 2009 at 06:44, Vidul Petrovvidul.r...@gmail.com wrote:
Hi,
Given that I have a menu like:
response.menu = [
['Home', request.function=='index',
URL(request.application,'default','index'), []],
['New Post', request.function=='create',
oops!I found there isn't any request for that css.
And finally I found it is because I lost an '@' at the begin of the css
file in the sentence '@charset'
Thx for helping me.
On Fri, Jul 3, 2009 at 6:55 PM, Álvaro Justen [Turicas]
alvarojus...@gmail.com wrote:
On Fri, Jul 3, 2009 at 05:26,
On Jul 2, 9:54 pm, gluegl edpime...@gmail.com wrote:
http://anyall.org/blog/2009/04/performance-comparison-keyvalue-stores-for-language-model-counts/
The posted results suggest a ten fold performance gain using tokyo
cabinet over memcached (using libmemcached). There is a Tokyo Cabinet
Python
Is it possible the app is called spreadsheet and you have
Spreadsheet in the URL? Capitalizaiton sometimes matters.
On Jul 3, 2:08 am, Fran francisb...@googlemail.com wrote:
On Jul 3, 6:15 am, mdipierro mdipie...@cs.depaul.edu wrote:
If other problems have problems downloading I will repost
Haha!
Then using phpmyadmin I create user, and create database happo.
but you did not set
auth.define_tables(migrate=False)
So I am not sure what happened. You tests may have messed up various
things.
What to do?
1) delete database happo
2) delete everything in databases/ folder
3) recreate
If I load some raw HTML into eamy or a simple TEXTAREA, I need to
have it pretty-printed first, to avoid the long lines which mess up
the display.
I see there are various python libaries to do this.
But does web2py already have such a function somewhere? I see the CODE
widget, but it does
I have the same problem,
A call to subprcess into controller subprocess.call(string) return
errorcode 1, the same command (cut/paste) returns 0 in a python
console.
I cannot find anything wrong ...
Thanks!
2009/5/12 mdipierro mdipie...@cs.depaul.edu:
In trunk, look at the file
On Jul 3, 2:44 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Is it possible the app is called spreadsheet and you have
Spreadsheet in the URL? Capitalizaiton sometimes matters.
No, not the issue.
Now I'm getting this error:
File C:/Bin/web2py/applications/spreadsheet/controllers/
default.py,
All I can say I call subprocess in admin/controllers/gae.py and it
works but it is tricky because you are starting a process from within
a thread.
Massimo
On Jul 3, 9:04 am, Angelo Compagnucci angelo.compagnu...@gmail.com
wrote:
I have the same problem,
A call to subprcess into controller
web2py does not use i18n. It uses T.
You can get the accepted language from T.accepted_language. You will
have to set the local yourself.
On Jul 3, 9:32 am, Robert Marklund robbelibob...@gmail.com wrote:
Hi,
it seams like the locale is not set for datetime objects used in modules
folder.
I think i found the problem.
The problem is that cwd for subprocess is not set into Web2Py. I
specified cwd during the instation of subprocess and all went well.
I cannot find the problem because I have to lunch a .bat inside wich
the path was not absolute so specifing cwd was required.
Angelo
Sorry for long reply delay. I subscribed to messages in this thread,
but didn't recieved any notifications for some reason.
Yes, I found this debugging solution very handy. It could be
transparent for newbie, but useful for experienced user.
Group user ceej discovered another logging Firefox
Thank you for link to this great tool. Please check this thread about
simillar solution
http://groups.google.com/group/web2py/browse_thread/thread/cc13960a5079b2d5/864a5f56b1006139?lnk=gstq=firephp#864a5f56b1006139
On 2 июл, 20:42, ceej cjlaz...@googlemail.com wrote:
Hey all,
Thought you
mind not to set the cwd in the app because it is not thred safe. You
must set it before the web server starts.
On Jul 3, 10:32 am, Angelo Compagnucci angelo.compagnu...@gmail.com
wrote:
I think i found the problem.
The problem is that cwd for subprocess is not set into Web2Py. I
specified
Hello mate,
I have a stupid question here...Just wonder can I generate a radio
button form from an SQLField using form_factory ? (The radio button
should be True or False)
Does anyone know how ? I tried different parameter in SQLField like
'boolean' etc.. but can't have radio button work... I
In my app I have an @auth.requires_login() before most of the actions
but this only shows me a form asking for username and password (since
I have field username in auth_user table), but I would like to be able
to register a new user too instead.
It seems that I need to set
not sure.
Try
@auth.requires_login()
def register_other():
return dict(form=auth.register(next=URL(r=request,f='index')))
and see it does what you want or not.
On Jul 3, 10:55 am, DenesL denes1...@yahoo.ca wrote:
In my app I have an @auth.requires_login() before most of the actions
eStore is now an old app. It needs lots of work.
Massimo
On Jul 3, 11:36 am, mingodad mingo...@gmail.com wrote:
I was caught too by the error messages too small or too large
I sugest to add the folowing to the css part on layout.html:
.error { background-color: red; color: white; padding:
nice please email it to me.
On Jul 3, 11:18 am, sherdim sher...@gmail.com wrote:
Hello!
The current shell is pretty for copy-paste operations but the
scrolling through recent command history is useful for interactive
using.
Here is the update for JavaScript function, which allows such
I was caught too by the error messages too small or too large
I sugest to add the folowing to the css part on layout.html:
.error { background-color: red; color: white; padding: 3px }
It was borroed from T3, this way the error messages will not pass
unnoticed.
As well I'm intrigged why the
This is an interesting read:
http://tokyocabinet.sourceforge.net/tokyoproducts.pdf
I wonder if you shouldn't be comparing tokyo tyrant to memcached, in which
case they are comparable.
The way I read this table, what it says is that tokyo-cabinet (the database)
is almost as fast as python-dicts,
Here's what I found:
- this downloads a tar file; web2py 1.65 is able to install it that way;
I just untarred, and moved to my web2py/appliances.- it runs; it edits;
(authentication wasn't enables, so login gave invalid function, but that's
it.
I recall an issue w/ old Firefox's and incomplete
BTW - also renaming the download to spreadsheet.w2p works fine - web2py is
able to install it, and it also runs no problems.
Massimo - talk about backwards compatibility - since appliances (still)
generates *.tar files, why not have application install tolerate the *.tar
files, as it has in the
On Jul 3, 12:39 pm, mdipierro mdipie...@cs.depaul.edu wrote:
not sure.
Try
@auth.requires_login()
def register_other():
return dict(form=auth.register(next=URL(r=request,f='index')))
and see it does what you want or not.
Huh? you lost me there.
Where should register_other go?
It
On Jul 3, 1:00 pm, Yarko Tymciurak yark...@gmail.com wrote:
This is an interesting
read:http://tokyocabinet.sourceforge.net/tokyoproducts.pdf
I wonder if you shouldn't be comparing tokyo tyrant to memcached, in which
case they are comparable.
You could be right, I only went skin deep.
I got the problem. appliances is an old app and it sets the content
disposition to .tar even if the app is a .w2p. web2py can upload
both .tar and .w2p but, on some systems, it gets confused when the
extension is wrong. I think I fixed it in appliances.
Massimo
On Jul 3, 12:20 pm, Yarko
I guess I do not understand what you want to do. I was assuming you
wanted registered users (logged in) to be able to register other
users. It is asking for username and password becuase you must be
logged in to register somebody else.
On Jul 3, 12:35 pm, DenesL denes1...@yahoo.ca wrote:
On Jul
I want to be able to login OR register with the form shown by
@auth.requires_login.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
On Fri, Jul 3, 2009 at 12:46 PM, DenesL denes1...@yahoo.ca wrote:
That seems to make an arguemnt to move to (some?) column versoin of this
db... when looking also at things like Cassandra and Voldemort, this
(to
me at least) is making an additional argument to make a DAL for
here is what you can do:
OUTREACH
- talk about it
- help us make a better web page (change css and improve test)
- help us improve the look and feel of the admin app (possibly css
only)
DOCS and TESTS
- help us complete the Sphinx documentation look into web2py/doc and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have table with a subject field, with default value specified in model.
Now I would like to generate forms to add and update records.
In the forms the default value specified in the model has to be
overriden on certain conditions.
I tried
def index():
form=SQLFORM(db.auth_table, fields=['email','password']
if FORM.accepts(request.vars,session):
user=session.user=auth.get_or_create_user(form.vars)
redirect()
return dict(form=form)
On Jul 3, 12:56 pm, DenesL denes1...@yahoo.ca wrote:
I want
No you just do
db.table.field.default = another default value
before SQLFORM or before crud.update
On Jul 3, 1:16 pm, David Zejda d...@atlas.cz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have table with a subject field, with default value specified in model.
Now I
Nice !
On Fri, Jul 3, 2009 at 3:54 AM, gluegledpime...@gmail.com wrote:
I compiled a list of top Key-Value Store (NoSQL)
http://code.google.com/p/scalaris/ *
http://couchdb.apache.org/ *
http://labs.mudynamics.com/wp-content/uploads/2009/04/icouch.html
interactive online tutorial
great stuff massimo!!!
how can the size of the cells be adjusted? Basically I want wider
cells.
Thanks,
Hans
On Jul 3, 4:16 am, mdipierro mdipie...@cs.depaul.edu wrote:
Do you need to embed an ajax spreadsheet in you app. Now you have it:
def index in my controller?
tools.login does a bunch of things based on the settings before it
gets to the form, so I feel it would be better to set
auth.settings.login_form.
What are the parameters for auth.settings.login_form?
--~--~-~--~~~---~--~~
You
On 3 July, 18:17, Yarko Tymciurak yark...@gmail.com wrote:
My spreadsheet.tar is 65798 bytes;
Same here with fresh download (correct .w2p extension now)
Here are some checksums:
$ ls -l sp*
-rw-rw-r--. 1 yak007 yak007 65798 2009-07-02 22:09 spreadsheet.tar
$ sha1sum spreadsheet.tar
You need to look into the code. gluon.tools
On Jul 3, 2:51 pm, DenesL denes1...@yahoo.ca wrote:
def index in my controller?
tools.login does a bunch of things based on the settings before it
gets to the form, so I feel it would be better to set
auth.settings.login_form.
What are the
with that looks like this: http://www.web2py.com/examples/spreadsheet
On Jul 3, 3:40 pm, mdipierro mdipie...@cs.depaul.edu wrote:
sheet['cell_name'].size=4 # is the default. You will have to change it
for every cell or change it in sheet.py
Here is a much better index html that makes it look
You code below is correct, you just have to make sure the libraries
are in the search path.
Right as always, Massimo is. However I did not feel comfortable
flopping around in web2py.py. So after a little research I redicovered
the python .pth file. I added a lxml.pth file to .../site-packages
On Fri, Jul 3, 2009 at 3:19 PM, Fran francisb...@googlemail.com wrote:
On 3 July, 18:17, Yarko Tymciurak yark...@gmail.com wrote:
My spreadsheet.tar is 65798 bytes;
Same here with fresh download (correct .w2p extension now)
Here are some checksums:
$ ls -l sp*
-rw-rw-r--. 1 yak007
please download it again. The first version I posted had a security
issue.
On Jul 3, 3:48 pm, mdipierro mdipie...@cs.depaul.edu wrote:
with that looks like this:http://www.web2py.com/examples/spreadsheet
On Jul 3, 3:40 pm, mdipierro mdipie...@cs.depaul.edu wrote:
sheet['cell_name'].size=4
It is not a bug. It is a hook to create cas methods.
Look into the docstring for gluon/contrib/login_methods/
gae_google_account.py
Massimo
On Jul 3, 3:58 pm, DenesL denes1...@yahoo.ca wrote:
That is what I have been doing but I am slow getting it.
Line 814 in tools.py says:
cas_user =
It depends on the missing code but I do not think it is secure because
this
@auth.requires_membership(session.group)
will work even if session.group='Public'
On Jul 3, 4:30 pm, Fauché JM jm.fau...@free.fr wrote:
hello,
In my application I have a function with Public and Privates ways,
Do
Pylons and CouchDB Integration and other Python-CouchDB links
http://code.google.com/p/couchdb-python/
http://pylab.blogspot.com/2009/01/ten-reasons-why-couchdb-is-better-than.html
http://pylab.blogspot.com/search/label/couchdb
Can I ask you to make an alterego entry about this?
On Jul 3, 4:41 pm, gluegl edpime...@gmail.com wrote:
Pylons and CouchDB Integration and other Python-CouchDB
Massimo, thanks it solved. Actually what is 'migrate' parameter
purpose in define_tables function?
regards,
On Fri, Jul 3, 2009 at 8:49 PM, mdipierromdipie...@cs.depaul.edu wrote:
Haha!
Then using phpmyadmin I create user, and create database happo.
but you did not set
In fact the 'Public' group don't exist in db.auth_membership (it is a
'virtual group' and can't be created)
when trying my code it works and if session.group='Public' the user is
redirect by auth.on_failed_authorization...
But is it secure to use a session.variable in @auth.requires_membership
Sorry, when session.group='Public' it never redirect on sas because in
code :
form=...choice of a group in [auth_membership+'Public']
if form.accepts(request.vars,session):
session.group=form.vars.group_choice
if session.group != 'Public':
redirect(URL(r=request,f='sas'))
On Jul 3, 10:59 pm, Mico Siahaan mico.siah...@gmail.com wrote:
Massimo, thanks it solved. Actually what is 'migrate' parameter
purpose in define_tables function?
It allows you to auto-create the database alter column definitions.
F
--~--~-~--~~~---~--~~
You
On Fri, Jul 3, 2009 at 3:54 PM, JohnMc maruadventu...@gmail.com wrote:
You code below is correct, you just have to make sure the libraries
are in the search path.
Right as always, Massimo is. However I did not feel comfortable
flopping around in web2py.py. So after a little research I
On Jul 3, 2009, at 1:48 PM, mdipierro wrote:
with that looks like this: http://www.web2py.com/examples/spreadsheet
I'm new to the web2py game, so pardon me if this is a settled question.
I'm wondering whether you wouldn't want to try to do stuff like this
in an (x)html-compliant manner.
That is the point. security should not depend on the history but on
the state of the user.
Even you do not redirect the user there, nothing prevents the user
from editing the url.
On Jul 3, 5:24 pm, Fauché JM jm.fau...@free.fr wrote:
Sorry, when session.group='Public' it never redirect on sas
it is the same as for define_table() it applies to all tables created
by define_tables()
On Jul 3, 4:59 pm, Mico Siahaan mico.siah...@gmail.com wrote:
Massimo, thanks it solved. Actually what is 'migrate' parameter
purpose in define_tables function?
regards,
On Fri, Jul 3, 2009 at 8:49
Actually we try be compliant. whete is the empty form? there should
not be any.
On Jul 3, 6:17 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Jul 3, 2009, at 1:48 PM, mdipierro wrote:
with that looks like this:http://www.web2py.com/examples/spreadsheet
I'm new to the web2py game, so
On Jul 3, 2009, at 4:55 PM, mdipierro wrote:
Actually we try be compliant. whete is the empty form? there should
not be any.
Here's the entire report:
http://validator.w3.org/check?uri=http://www.web2py.com/examples/spreadsheet
Among other things, the style tag requires a valid type, and
Thank you. I will fix this as soon as I have time although this is not
a priority since it is only an example app BUT if you find other
similar problems in admin or examples or welcome and could submit a
patch that would be excellent.
Massimo
On Jul 3, 7:19 pm, Jonathan Lundell
On Jul 3, 2009, at 5:26 PM, mdipierro wrote:
Thank you. I will fix this as soon as I have time although this is not
a priority since it is only an example app BUT if you find other
similar problems in admin or examples or welcome and could submit a
patch that would be excellent.
Glad to.
On Jul 3, 7:33 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Jul 3, 2009, at 5:26 PM, mdipierro wrote:
Thank you. I will fix this as soon as I have time although this is not
a priority since it is only an example app BUT if you find other
similar problems in admin or examples or
By way of background, web2py generates xhtml pages, with these
doctypes (I'm not clear on why one or the other is chosen; perhaps
someone could enlighten me):
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
!DOCTYPE html PUBLIC
You clearly know about this more than I do.
For legacy issues we cannot change the content-type: text.html but we
can change the !DOCTYPE in the scaffolding app.
As long as there are no major objections I say we should follow your
advice.
I look forward to your html patches. ;-)
Massimo
On Jul
just restarted to work on eStore yesterday, trying to use it as a
reference for one of my projects.
it's a good and useful example for me to learn translation and system
in web2py.
Google checkout for merchants is still not available in countries
other than US and UK, though its application
I found BeautifulSoup to do it.
On Jul 3, 9:51 am, dlypka dly...@gmail.com wrote:
If I load some raw HTML into eamy or a simple TEXTAREA, I need to
have it pretty-printed first, to avoid the long lines which mess up
the display.
I see there are various python libaries to do this.
But does
Not sure that works. I never tried it. eStore works with google
checkout and that is more solid than paypal
massimo
On Jul 3, 11:20 pm, suiato homm...@gmail.com wrote:
just restarted to work on eStore yesterday, trying to use it as a
reference for one of my projects.
it's a good and useful
I made a Second Life gadget that can talk to web2py so you can write a
web2py app to talk to people in Second Life. If anybody is interested
let me know.
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Jul 3, 2009, at 8:20 PM, mdipierro wrote:
You clearly know about this more than I do.
I'm hoping there are people on this list who know more than either of
us.
For legacy issues we cannot change the content-type: text.html but we
can change the !DOCTYPE in the scaffolding app.
I ask
75 matches
Mail list logo