which version? I remember fixing this bug some time ago.
On Dec 15, 11:04 pm, Carlos wrote:
> Hi weheh,
>
> No, I'm not changing the requires statement.
>
> It's weird because it only changes widget when I select at least one
> option.
>
> If I don't select any option and the submit fails with va
Hi,
I already have few tables with data in mysql.i want to fetch that with
out defining in model.py.
can you please help me.
Thanks in advance
Regards,
sushanth
> - Original Message -
> From: Anthony
> Sent: 12/16/10 03:01 AM
> To: web2py-users
> Subject: [web2py] Re: it case you missed it...
> Yes, I agree, but all I said was that the concerns are not invalid (I
> also pointed out an issue that has not thus far been addressed --
> standalone DAL).
Hi weheh,
No, I'm not changing the requires statement.
It's weird because it only changes widget when I select at least one
option.
If I don't select any option and the submit fails with validation
errors, then the widget stays the same (without changing to the
separate options list).
Thanks,
PyCon is made up of a number of different parts, each with its own goals.
For the talks presented during the conference portion of PyCon, we go for
both breadth and quality. There are enough different sessions and different
tracks that each person can customize their PyCon experience according to
t
I've seen the list:string present as the separate options list widget
if multiple=True is missing from the requires. Could it be that after
a failed submit you are somehow changing the requires statement?
On Dec 15, 9:41 pm, Carlos wrote:
> Hi,
>
> I've noticed that a "list:string" field, after a
:)
On Dec 15, 10:11 pm, pbreit wrote:
> Anthony, thanks for keeping your posts reasonable and considerate.
Anthony, can you test if it works in I.E 8 ->
http://www.datatables.net/examples/server_side/row_details.html
Thanks
--
Bruno Rocha
http://about.me/rochacbruno/bio
2010/12/16 Anthony
> Excellent work. Thanks for sharing this.
>
> Note, for me, in IE8 on Windows 7, the Categories demo isn't working
> properly -- once I expand a row to see the details table, I cannot
> then collapse it or expand the other row (i.e., the table just gets
> stuck).
>
Damn I.E,
Anthony, thanks for keeping your posts reasonable and considerate.
Also, looks like 4 people have voted for Application Exhibition 2.0,
though it says it's just a test and not in the competition (I believe
because Martin is ineligible due to winning the last time). Maybe you
can disable voting for that one so people don't mistakenly waste their
votes.
On Dec 15,
Format missing in models, now its ok.
I added the Theme Roller switcher http://powertable.blouweb.com/products
2010/12/15 JmiXIII
> I'm just discovering it ...
> Just a remark : here => http://powertable.blouweb.com/products ,
> shouldn't category field render a represent (category.name) instea
Anthony,
Thanks for the info. I've forwarded the message to Martin.
Mr.NetAdmin
On Wed, Dec 15, 2010 at 8:49 PM, Anthony wrote:
> There's an error in the Application Exhibition 2.0 index.html view:
>
> Project (URL):
> {{=A(app.url,_href=app.url)}}
> Download (URL):
> {{=A(app.url_download, _
Excellent work. Thanks for sharing this.
Note, for me, in IE8 on Windows 7, the Categories demo isn't working
properly -- once I expand a row to see the details table, I cannot
then collapse it or expand the other row (i.e., the table just gets
stuck).
Also, I notice that one of the DataTables fe
There's an error in the Application Exhibition 2.0 index.html view:
Project (URL):
{{=A(app.url,_href=app.url)}}
Download (URL):
{{=A(app.url_download, _href=app.url)}}
Demo (URL): {{=A(app.url_demo,
_href=app.url)}}
The download and demo href's are both set to app.url instead of
app.url_download
Hi,
I've noticed that a "list:string" field, after a failed submit (with
validation errors) and when at least one value is selected, changes
from multiple select widget to the separate options list widget.
Field('test', 'list:string', requires=IS_IN_SET(['a','b','c'],
multiple=True))
This occ
On Dec 15, 6:25 pm, "Branko Vukelic" wrote:
> > I like GPL plus a (clarified) exception, but I wouldn't exactly say pbreit's
> > concerns are invalid. There clearly is some history of confusion and concern
> > among web2py users/developers and their clients:
>
> Point is, it's been discussed over
Selecta,
I have the link and will download it now!
Thanks!
Mr.NetAdmin
On Wed, Dec 15, 2010 at 5:59 PM, selecta wrote:
> btw I was finally able to login to WAE 2.0 app
> here is the link to my contribution (which is called pyMantis btw)
> http://w2pexhibition.appspot.com/exhibition/default/i
Selecta,
I'm glad you were able to login!
Good Luck!
Mr.NetAdmin
On Wed, Dec 15, 2010 at 6:01 PM, selecta wrote:
> i finally was able to login using google as openid provider :)
> http://w2pexhibition.appspot.com/exhibition/default/index/311002
>
> On Dec 16, 12:00 am, selecta wrote:
> > waa
I see some discussion from back in 2008 on the subject, but hoping
something might have changed.
Is there any way that I can cache a select, and then on update,
automatically remove any cached selects on this table/field?
I see that I can remove cache for a specific query like this:
cache.ram(db.
Now I've changed a little, but it still doesn't work:
from db.py
auth = Auth(globals(), db)
db.define_table(
auth.settings.table_user_name,
Field('username'),
Field('password'))
auth.define_tables()
custom_auth_table = db[auth.settings.table_user_name] # ge
i finally was able to login using google as openid provider :)
http://w2pexhibition.appspot.com/exhibition/default/index/311002
On Dec 16, 12:00 am, selecta wrote:
> waaah i send you a mail with the link to the source and a description,
> do i also need to login to http://w2pexhibition.appspot.c
btw I was finally able to login to WAE 2.0 app
here is the link to my contribution (which is called pyMantis btw)
http://w2pexhibition.appspot.com/exhibition/default/index/311002
packaged releases can be found here
http://jaguar.biologie.hu-berlin.de/~fkrause/pyMantis.src.r167.tar.gz
(linux)
http:
thanks, i fixed it, strangely this never resulted in an error at my
side
anyway you will need to link/move everything form the site-packages
directory into the /web2py/site-packages directory
the app is not inteded to be installed from source, but rather as a
complete package with web2py included
> - Original Message -
> From: Anthony
> Sent: 12/15/10 10:54 PM
> To: web2py@googlegroups.com
> Subject: Re: [web2py] Re: it case you missed it...
> I like GPL plus a (clarified) exception, but I wouldn't exactly say pbreit's
> concerns are invalid. There clearly is some history of confu
Hello ,
I've tried to install your tlc2 on 1.89.5,
here is the error I get :
url : http://127.0.0.1:8080/tlc2/default/index
Traceback (most recent call last):
File "/home/sylvain/web2py/gluon/restricted.py", line 188, in
restricted
exec ccode in environment
File "/home/sylvain/web2py/appl
I'm just discovering it ...
Just a remark : here => http://powertable.blouweb.com/products ,
shouldn't category field render a represent (category.name) instead of
category.id ?
Not enough time to test a local instance but seems promising...
On 15 déc, 23:52, Bruno Rocha wrote:
> Live demo and do
waaah i send you a mail with the link to the source and a description,
do i also need to login to http://w2pexhibition.appspot.com/ and
upload it? I tried it but it does not work for me, I only have a
google account and that wont redirect or do anything :( I hope you
also accept the email like you
Live demo and download here: http://powertable.blouweb.com/
ALPHA 0.0.0.0.0.0 Version (too much working in progress),
Tests and suggestions needed, something can broke, fails or whatever, this
is teh first plugin I wrote, and I have too much to enable on this.
I am going to publish it to BitBuck
I sure hope you got my mail o_O
If not here the most important thing
hg clone http://tlc2.hg.sourceforge.net:8000/hgroot/tlc2/tlc2
On Nov 16, 4:32 pm, NetAdmin wrote:
> Rahul,
>
> Applications without source code will not be accepted.
>
> Maybe in the future we can have a closed source exhibiti
powerTable plugin sent!
Vote here: http://w2pexhibition.appspot.com/exhibition/default/index/329001
Live demo and download here: http://powertable.blouweb.com/
ALPHA 0.0.0.0.0.0 Version (too much working in progress), I've been working
on this on my free time for 5 days, Tests and suggestions ne
I suggest you to have a look there :
http://web2py.com/examples/default/examples
=> go to example 29
Your first try is a bit 'curious' and I don"t think it this what you
want to do.
Another easy way to experiment web2py is using the wizard:
_ Launch the wizard
_ Create tables (read the comments)
_
People can (and will) still host code elsewhere, Martins app allows
for a "snap shot" of a working application along with links to
wherever the code is hosted.
C
On Dec 15, 7:03 am, Luther Goh Lu Feng wrote:
> I wonder if the plugins will be better hosted on services like github
> and bitbucket?
Hi everyone,
Am currently using SQLite3 but have no issues moving over to MySQL,
whichever is easier I guess. I've been trying to create the database
tables using the examples on web2py (like the whole pets/dog example),
copying and pasting the code from that example into my own
application, then
Awesome, Thanks Martin!
On Dec 15, 6:27 am, Martín Mulone wrote:
> I have no problem.
>
> 2010/12/15 mdipierro :
>
>
>
> > If we can repurpose Martin's app and he is willing to maintain it,
> > that would be the best solution.
>
> > I can also split appliances. Not hard to do but we need a way to
I agree 100%
On Dec 14, 10:15 pm, mdipierro wrote:
> I think we need a better public repository for plugins so that people
> can contribute.
>
> On Dec 13, 11:52 am, Christopher Steel wrote:
>
> > it is literally the same plugin but with a menu item... I was going to
> > add some more features b
On Wednesday, December 15, 2010 3:11:27 PM UTC-5, Branko Vukelic wrote:
>
> On Wed, Dec 15, 2010 at 8:07 PM, pbreit wrote:
> > It's clear that GPL scares off potential users.
> That bug is already marked invalid. You'd have to give us a stack trace if
> you want to reopen it, and prefera
thanks for the help Massimo Di Pierro and Bruno Rocha
2010/12/15
>
>
>> could show me how to do what I need without having to install plugin_wiki
>> ?
>>
>
> http://web2py.com/plugins/default/multiselect
>
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blo
On Dec 15, 2010, at 1:11 PM, Bruno Rocha wrote:
> I solved the problem.
>
> I dont know why, but web2py in webfaction does not creates the 'deposit'
> folder.
>
> I just create myself.
>
> on ssh:
> cd webapps/app/web2py
> mkdir deposit
>
> Problem solved!
web2py will create deposit/ for yo
I solved the problem.
I dont know why, but web2py in webfaction does not creates the 'deposit'
folder.
I just create myself.
on ssh:
cd webapps/app/web2py
mkdir deposit
Problem solved!
2010/12/13 annet
> Hi Dave,
>
> I don't know what causes this problem either, I always use the
> procedure
On Wed, Dec 15, 2010 at 9:56 PM, Michele Comitini
wrote:
> RMS being quite rough as usual, but in the end he has some good
> points... think twice before using web2py on GAE!! :-D
>
> http://www.guardian.co.uk/technology/blog/2010/dec/14/chrome-os-richard-stallman-warning
>
He's been saying that
>
> could show me how to do what I need without having to install plugin_wiki?
>
http://web2py.com/plugins/default/multiselect
RMS being quite rough as usual, but in the end he has some good
points... think twice before using web2py on GAE!! :-D
http://www.guardian.co.uk/technology/blog/2010/dec/14/chrome-os-richard-stallman-warning
I found the problem. I think someone broke backward compatibility. A
new field was added to auth_user after I started the project. I think
the field was added to improve the security of the reset password
process so that's a good thing. Why this broken compatibility wasn't
disclosed and explained i
Thanks for the advice. This code seems to work:
**
from gluon.settings import settings
from gluon.tools import *
# if running on Google App Engine
if settings.web2py_runtime_gae:
from gluon.contrib.gql import *
# connect to Google BigTable
db = DAL('gae')
# and sto
Hi Andrew,
I don't know whether you saw this:
http://www.web2pyslices.com/main/slices/take_slice/62
Some of that code was definitely working OK, so you might be able to
learn from it. Anyhow, I hope it helps.
-David
On Dec 15, 7:44 pm, Andrew Evans wrote:
> I have been looking into how to
On Wed, Dec 15, 2010 at 8:07 PM, pbreit wrote:
> It's clear that GPL scares off potential users.
That bug is already marked invalid. You'd have to give us a stack
trace if you want to reopen it, and preferably attach a working patch.
Please also note the version of web2py that you are using.
--
empty database
and the error disappears.
may be in the tests were corrupted data
could show me how to do what I need without having to install plugin_wiki?
2010/12/15 Luis Díaz
> eliminating SQLFORM.widgets.checkboxes.widget
>
> I still get the error
>
> 2010/12/15 mdipierro
>
> ... but you
An excerpt: I think this sums it up.
---
GPL is a tool that uses copyright to enforce software freedom, but… in order
to be able to enforce that there must be a copyright holder that can take
action. The FSF is aware of this and is carefully requiring contributors and
their employers (!)
It's not worthwhile fiddling around with the exception since the GPL stigma
will remain.
It's clear that GPL scares off potential users.
I come from a background of relentlessly lowering barriers to adoption. I
would very much like to see Web2py usage go way up.
I have been looking into how to resize images on the fly. For some reason my
code isn't working
my controller consists of the following code
def myImage():
if len(request.args) == 1:
return response.download(request, db)
else:
im = request.args(0)
im = os.path.join
I do not think that GPL is the determining factor of why Django or
Rails are popular.
It is not clear that GPL scares off potential users. I will go out
on the limp to say that most potential users of web2py will be in the
capacity of app developers, not framework developers. They might be
scare
Certain users may view data of the service providers in their provinces -
that is of tables with a service_provider field.
When I run this code on the command line all works as expected (data
contains a SQLTABLE). However when I run it in the web-interface the result
is a page with
None
T
eliminating SQLFORM.widgets.checkboxes.widget
I still get the error
2010/12/15 mdipierro
> ... but you can use jquery plugin multiselect which comes by default
> if you install plugin_wiki.
>
> On Dec 15, 12:38 pm, mdipierro wrote:
> > Sorry you cannod use the SQLFORM.widgets.checkboxes.widget
... but you can use jquery plugin multiselect which comes by default
if you install plugin_wiki.
On Dec 15, 12:38 pm, mdipierro wrote:
> Sorry you cannod use the SQLFORM.widgets.checkboxes.widget with a
> list:reference
>
> On Dec 15, 12:11 pm, Luis Díaz wrote:
>
> > is't code:
>
> > db.define_
Sorry you cannod use the SQLFORM.widgets.checkboxes.widget with a
list:reference
On Dec 15, 12:11 pm, Luis Díaz wrote:
> is't code:
>
> db.define_table('tag',
> Field('nombre', 'string', length=32, ondelete='CASCADE'),
> format='%(nombre)s'
> )
>
> db.define_table('producto',
> Field
On Wed, Dec 15, 2010 at 7:25 PM, pbreit wrote:
> Sorry but this requires a response.
I was kind of hoping it did not, but there you go...
> You'd have to prove some sort of unintended circumstance to
No! YOU would have to give us a CONCRETE case where GPL+exception
setup may prevent someone ado
Thanks everybody for your suggestions! I went with what Bruno
suggested and it worked like a champ! I figured I wouldn't be able
to bypass the upload security mechanism, but the uploadfolder
parameter was the key piece I needed to get the desired behavior.
On Dec 14, 11:57 am, Bruno Rocha wrot
Sorry but this requires a response.
Django and Rails (frameworks!!) are *far* better examples than the CMSs you
point out.
BSD/MIT are definitionally better for users than GPL because they are more
permissive. You'd have to prove some sort of unintended circumstance to
dispute that for which t
Yes, I remember, I'm short of time. I do not know if I will have time
to finish my app for tonight. It would be a pity, I like how my app
looks like , I'll try to do it tonight, but the rush is not funny, and
enjoying it is a rule.
anyway if the application does not end today, I can upload some sma
is't code:
db.define_table('tag',
Field('nombre', 'string', length=32, ondelete='CASCADE'),
format='%(nombre)s'
)
db.define_table('producto',
Field('nombre', 'string', length=64, ondelete='CASCADE'),
Field('codigo', 'string', length=10),
Field('tag', 'list:reference tag'),
Hmmm... look into gluon/tools.py
def basic(self):
if not self.settings.allow_basic_login:
return False
basic = self.environment.request.env.http_authorization
if not basic or not basic[:6].lower() == 'basic ':
return False
(username, pass
But these methods will not log in a user if provided with username and
password. The objective is to log in.
On 15-Dec-2010, at 10:55 PM, mdipierro wrote:
> you can also do:
>
> logged_in = 'auth' in globals() and auth.user
>
>
>
> On Dec 15, 11:12 am, Martín Mulone wrote:
>> This is my me
you can also do:
logged_in = 'auth' in globals() and auth.user
On Dec 15, 11:12 am, Martín Mulone wrote:
> This is my method:
>
> def is_user_logged_in():
> logged_in=False
> if 'auth' in globals():
> if auth.is_logged_in():
> logged_in=True
>
> return logged_in
This is my method:
def is_user_logged_in():
logged_in=False
if 'auth' in globals():
if auth.is_logged_in():
logged_in=True
return logged_in
2010/12/15 Adi :
> Hi,
> I'm trying to set up a function for authenticating users over a service.
> This is my method:
> def
Changing the id to e_id solved the problem pretty well and it's a
nicer
solution than type checking the id if it is a list. :) The funny thing
is
that this code actually worked on an older web2py server and the
problem
started after the update. Thanks for help.
On 14. Dec., 17:11 h., DenesL wrote
Hi,
I'm trying to set up a function for authenticating users over a service.
This is my method:
def authenticate():
is_loggedin = auth and auth.user
if not is_loggedin:
auth.allow_basic_login = True
is_loggedin = auth.basic()
return is_loggedin
This is how I call it: curl -u a%40b.com
Massimo's suggestion seems to work for other integer fields but not
for id.
On Dec 15, 10:57 am, Seamon wrote:
> Changing the id to e_id solved the problem pretty well and it's a
> nicer
> solution than type checking the id if it is a list. :) The funny thing
> is
> that this code actually work
Neither works, same problem.
On Dec 14, 10:19 pm, mdipierro wrote:
> Try replace
>
> form.accepts (request.vars,session)
>
> with
>
> form.accepts (request.post_vars,session)
>
> or simply
>
> form.accepts (request,session)
On Wednesday, December 15, 2010 7:03:54 AM UTC-5, Luther Goh Lu Feng wrote:
>
> I wonder if the plugins will be better hosted on services like github and
> bitbucket? Will it be easier to fork and contribute?
Good idea for code hosting, but it would probably still be helpful to have
a web2p
Hello All,
THIS IS THE FINAL DAY!
The deadline for submissions for the
Web2py Application Exhibition is December 15th 2010
You can start submitting and voting for the entries
for the Web2py Application Exhibition Version 2.0
To get started, go to the following link...
http://w2pexhibit
Create a tag cloud...
db.define_table('article', Field('content'))
db.define_table('tag', Field('name'))
db.define_table('article_tag',
Field('article',db.article),Field('tag',db.tag))
On Dec 12, 1:45 pm, Carlos wrote:
> Hi,
>
> This is not a question specific to web2py, but it's more a generic
The discussion was started by the advocates of non-copyleft licences. I'm
perfectly fine with web2py on GPL terms (even without exceptions), besides
maybe I would like to see it upgraded to GPLv3. However, it is too often we
see the attempts to frame the GPL as deterrent scary licence that limit
+1. It's a must for developers, to register an account is less than a
minute and the basic are simple and easy to learn.
2010/12/15 Luther Goh Lu Feng :
> I wonder if the plugins will be better hosted on services like github
> and bitbucket? Will it be easier to fork and contribute?
>
> On Dec 15,
Don't start this discussion again. :) It's already soft-of decided
that web2py will remain GPL.
On Wed, Dec 15, 2010 at 1:36 PM, Wikus van de Merwe
wrote:
> Why GPL is discouraging users? Is it the case that Drupal, Wordpress
> or Joomla have no users? They are all released on GPL terms. Moreover
Why GPL is discouraging users? Is it the case that Drupal, Wordpress
or Joomla have no users? They are all released on GPL terms. Moreover,
they consider themes and plugins to be derivative work and as such
they have to be released on GPL terms if distributed. Still, thousands
of plugins and themes
On 8 December 2010 17:03, mdipierro wrote:
> Is opdateerxartikels a model? If so, it cannot be imported, it must be
> executed.
>
> Instead of
>
> from opdateerxartikels import *
>
> do
>
> execfile('opdateerxartikels.py')
>
>
No , it is not a model.
Thanks for answer. In the mean time I used a
I wonder if the plugins will be better hosted on services like github
and bitbucket? Will it be easier to fork and contribute?
On Dec 15, 7:27 pm, Martín Mulone wrote:
> I have no problem.
>
> 2010/12/15 mdipierro :
>
>
>
>
>
>
>
>
>
> > If we can repurpose Martin's app and he is willing to maint
I see. There are some pages that I think might be suitable:
http://en.wikipedia.org/wiki/Comparison_of_web_application_framework
http://en.wikipedia.org/wiki/Web_application_framework
To which page should the content be added?
On Dec 15, 11:11 am, mdipierro wrote:
> I think the comparisong shou
I have no problem.
2010/12/15 mdipierro :
> If we can repurpose Martin's app and he is willing to maintain it,
> that would be the best solution.
>
> I can also split appliances. Not hard to do but we need a way to vote
> and keep track of versions.
>
>
> Massimo
>
> On Dec 14, 9:48 pm, Bruno Roch
Using the following definition:
``
name: search
table: artikel
fields: titel, opsomming, sleutelwoorde, publikasiejaar, joernaal_id,
outeur_id, instansie_id, isi_indeks, isap_indeks
``:widget
I get this error:
Traceback (most recent call last):
File "/home/js/web2py/applications/init/models/p
It's a security issue that can be exploided if you allow public to manage
width and height.
Google in appengine for serving image the size has to be in:
IMG_SERVING_SIZES = [
32, 48, 64, 72, 80, 90, 94, 104, 110, 120, 128, 144,
150, 160, 200, 220, 288, 320, 400, 512, 576, 6
Wasn't Thadeus working on this, though? With a public API so it can
integrate into admin, and all the bells and whistles.
On Wed, Dec 15, 2010 at 5:28 AM, mdipierro wrote:
> If we can repurpose Martin's app and he is willing to maintain it,
> that would be the best solution.
>
> I can also split
83 matches
Mail list logo