Thanks. I see this error was caused by my original typo.
Johann.
--
"Every good gift and every perfect gift is from above,
and cometh down from the Father of lights, with whom
is no variableness, neither shadow of turning."
James 1:17
--
You rec
Just had a quick look into gql.py and yes in the _create method around
line 214 I've got those lines you mentioned.
I'm running web2py 1.76.5 (2010-03-11 15:19:08) with GAE launcher
version 1.3.2
Matt
On Apr 6, 4:31 pm, mdipierro wrote:
> odd. The code there says:
>
> if isinstance
Hi, attached is plugin_flatpages, a dynamic wiki/html user editable
pages plugin.
It supports:
* page edition by users (in the same page)
* page history
* preview
* format conversion (markdown/html)
* internationalization (a page for each language)
It was based on:
* my web2py2-wiki branch:
odd. The code there says:
if isinstance(field.type, gluon.sql.SQLCustomType):
ftype = self._db._translator[field.type.native or
field.type.type](**attr)
elif isinstance(field.type, gae.Property):
ftype = field.type
elif field.type
Thanks, Massimo. I'll try.
On Tue, Apr 6, 2010 at 12:26 PM, mdipierro wrote:
> you can try define something like ths
>
> def catch303(f):
> try: return f()
> except HTTP, http:
> if http.status==303: return 'error'
> raise http
>
> and appy the additional decorator on top of aut
you can try define something like ths
def catch303(f):
try: return f()
except HTTP, http:
if http.status==303: return 'error'
raise http
and appy the additional decorator on top of auth.requires_login
@catch303
@auth.requires_login()
Massimo
On Apr 5, 10:50 pm, Alexei Vin
Thanks for your prompt response :)
Trying your example:
from gluon.contrib.gql import gae
db.define_table('example',
db.Field('title', 'string'),
db.Field('name', gae.StringListProperty))
as a quick test but I'm getting an error:
Traceback (most recent call last):
File "/Apps/web2py/
I just tried it with this json-rpc lib (
http://www.desfrenes.com/python-json-rpc ) , and it also seems to work
fine.
I have many more open questions about authentication and
authorization. I'm exploring different approaches for my application:
cookie-based, basic, token authentication, and differ
For example:
from gluon.contrib.gql import gae
db.define_table('tablename',,Field('name',gae.StringListProperty),)
You can use any native type but forms may not work because you have to
make sure you insert the corresponding type (in the example a list of
strings). Sorry there is not muc
Hi there,
In the "features not in the book section" it lists since version
1.74.5
* support for all native types on GAE (e.g. StringListProperty)
Are there any examples demonstrating the use of these available?
Thanks,
Matt
--
You received this message because you are subscribed to the Google
thank you for trying it. It is one of those features that not many
people are using but should be solid.
Massimo
On Apr 5, 9:44 pm, Alexei Vinidiktov
wrote:
> Thanks a lot, Massimo! It worked!
>
>
>
> On Tue, Apr 6, 2010 at 10:36 AM, mdipierro wrote:
> > you need in db.py
>
> > auth.settings.al
Thanks a lot, Massimo! It worked!
On Tue, Apr 6, 2010 at 10:36 AM, mdipierro wrote:
> you need in db.py
>
> auth.settings.allow_basic_login = True
>
> it defaults to False
>
>
> On Apr 5, 9:21 pm, Alexei Vinidiktov
> wrote:
>> Hello,
>>
>> I'm trying to make a desktop client written in Python 2.
you need in db.py
auth.settings.allow_basic_login = True
it defaults to False
On Apr 5, 9:21 pm, Alexei Vinidiktov
wrote:
> Hello,
>
> I'm trying to make a desktop client written in Python 2.5 (on Windows)
> communicate with a web2py 1.76.5 based app using services. It works
> fine with servic
Leonardo Vidarte, one of the users in the spanish language group, has
created some snippets [0] for Vim, for the snipMate plugin [1] to be
exact, with all the API of web2py 1.76.3, including some basic
snippets for template creation.
Hopefully they will be useful to somebody. Additions are welcom
Hello,
I'm trying to make a desktop client written in Python 2.5 (on Windows)
communicate with a web2py 1.76.5 based app using services. It works
fine with services that don't require authentication, but I was
wondering if I could make it authenticate the user with Basic
authentication.
I've read
I am not sure that is the problem. ajax_trap does not trap ajax
requests but form submissions. I need to give this a try.
Massimo
On Apr 5, 8:15 pm, Thadeus Burgess wrote:
> Maybe the web2py_ajax_trap can have a write-through put in so it will
> not intercept communications for recaptcha?
>
>
When dealing with 1 table, names are "short names"
When dealing with multiple tables, all names are fully qualified.
-Thadeus
On Mon, Apr 5, 2010 at 8:22 PM, fgpy wrote:
> More details here:
>
> I have 2 tables: shop (2 fields) and enquete (18 fields).
>
> I use an inner join like the one b
More details here:
I have 2 tables: shop (2 fields) and enquete (18 fields).
I use an inner join like the one bellow.
'shop.shop_code' is what I call a fully qualified name
'hht_q_1' is what I call a short name. All those names end to be in
_extra and as they contain some unicode, the __str__ met
Maybe the web2py_ajax_trap can have a write-through put in so it will
not intercept communications for recaptcha?
-Thadeus
On Mon, Apr 5, 2010 at 5:28 PM, selecta wrote:
> tnx Thadeus
>
> just found http://recaptcha.net/apidocs/captcha/client.html
> reCAPTCHA AJAX API
>
> will read into it 2
2010/4/6 Yarko Tymciurak :
> On Apr 5, 11:55 am, Yarko Tymciurak
> wrote:
>> On Apr 5, 3:23 am, Alexei Vinidiktov
>> wrote:
>>
>> > I think I got it to work! I deleted the domain from the control panel
>> > altogether and then readded it, and web2py 1.76.5 started working.
>> > Problem solved for
interesting I will think about it. Should be possible.
On Apr 5, 5:23 pm, Russell wrote:
> Just a thought...
>
> It occurs to me that, as SQLFORM is a set of fields, wouldn't it be
> better if SQLFORMs had their own widget class?
>
> It would allow for customization and, potentially you could
hmmm. I do not object but I do not want to do any extra work. I do not
use a client except the shell one. If you send me a script to do it, I
will use it.
On Apr 5, 5:04 pm, dspiteself wrote:
> Using your mercurial client you could setup 2 remotes. One remote be
> github and one be your mercurial
Yes. To recycle session and to keep track of what visitors do, even
when they are not logged in. You can change it. Try this:
auth.settings.login_accept =lambda form:
(session.clear(),session.auth=auth)
On Apr 5, 4:34 pm, Jonathan Lundell wrote:
> I'd have thought that if I log out and then log
uploading fix. please check it. Thanks for testing this.
On Apr 5, 3:59 pm, Thadeus Burgess wrote:
> Traceback (most recent call last):
> File "/home/tburgess/Applications/web2py/gluon/restricted.py", line
> 173, in restricted
> exec ccode in environment
> File
> "/home/tburgess/Applicat
tnx Thadeus
just found http://recaptcha.net/apidocs/captcha/client.html
reCAPTCHA AJAX API
will read into it 2morrow
would be nice if recaptcha works with web2pys ajax things by default
On Apr 6, 12:10 am, Thadeus Burgess wrote:
> It is because recaptcha uses ajax to communicate, and when using
Just a thought...
It occurs to me that, as SQLFORM is a set of fields, wouldn't it be
better if SQLFORMs had their own widget class?
It would allow for customization and, potentially you could then
combine SQLTABLE with SQLFORM into one tidy concept. By this I mean
that SQLTABLE could deliver a
It is because recaptcha uses ajax to communicate, and when using LOAD
web2py traps all ajax calls, so the recaptcha requests are not making
it to the server.
-Thadeus
On Mon, Apr 5, 2010 at 5:05 PM, selecta wrote:
> I tried to use Recaptcha in a LOAD div but I does not work
>
> The problem i
I tried to use Recaptcha in a LOAD div but I does not work
The problem is that the page stats reloading when it gets to the div
loaded with LOAD where the recaptcha javascripts are in and gets stuck
on reloading it
controller:
...
form = SQLFORM.factory(Field('tag_name'))
captcha = None
if not au
Using your mercurial client you could setup 2 remotes. One remote be
github and one be your mercurial repository.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from t
I'd have thought that if I log out and then log back in I'd get a new session.
But apparently not. Is there a reason to do it one way vs the other?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@goog
Traceback (most recent call last):
File "/home/tburgess/Applications/web2py/gluon/restricted.py", line
173, in restricted
exec ccode in environment
File
"/home/tburgess/Applications/web2py/applications/pms/controllers/default.py",
line 278, in
File "/home/tburgess/Applications/web2py/gl
this is a good point. So the question is now: should we just count
calls or, for example, store them in a list the order they are
executed (per transaction), or perhaps just store the type of queries
in a list? What does the app need to know about the queries being
executed?
On Apr 5, 3:27 pm, Tha
grrr
query =
query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value.lower()
+'%'))
or (equivalent)
query =
query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value
+'%'))
On Apr 5, 3:24 pm, Johann Spies wrote:
> query =
> query&(db.sarua[request.va
As far as I know cron cannot lock. Only child processes can lock. As
far as I know cron works fine. Yet I am trying to isolate the problem
cron is one of those few things that may differ when running with
apache or its own web server.
Massimo
On Apr 5, 3:20 pm, AchipA wrote:
> Can you elaborate
I would like to hear what others think as well.
I do not see how the DAL class knows, could know, might know, when a
query is being executed?
-Thadeus
On Mon, Apr 5, 2010 at 3:15 PM, mdipierro wrote:
> Since the new DAL is a class you can define them by subclassing DAL.
> What do you think?
query =
query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value.lower+
'%'))
TypeError: cannot concatenate 'str' and 'builtin_function_or_method' objects
:(
Regards
Johann
--
"Every good gift and every perfect gift is from above,
and cometh down from the Father
Can you elaborate how can cron cause database locking issues (apart
from such issues being caused by child processes)?
The content of the crontab is irrelevant, whether you only have
@reboot or more makes no difference. If there would be no check, you
could not change cron parameters without resta
Thanks.
Johann
--
"Every good gift and every perfect gift is from above,
and cometh down from the Father of lights, with whom
is no variableness, neither shadow of turning."
James 1:17
--
You received this message because you are subscribed to t
Since the new DAL is a class you can define them by subclassing DAL.
What do you think? I am not convinced this is useful in general and
needs to be in trunk. It seems a very specialized application but
perhaps I am missing something. I'd like to hear what other people
think about this.
On Apr 5,
try now
On Apr 5, 2:30 pm, Thadeus Burgess wrote:
> Now I get this for reference field
>
> Traceback (most recent call last):
> File "/home/tburgess/Applications/web2py/gluon/restricted.py", line
> 173, in restricted
> exec ccode in environment
> File
> "/home/tburgess/Applications/web2p
Ah, well the real goal is for it to only be the number of statements
pending in a given transaction.
So db.commit() or db.rollback() should clear the results...
The time counting I am doing in my models, and in response._caller...
but this is not including time taken to set up the environment bef
yes. good point.
Massimo
On Apr 5, 2:44 pm, Michael Toomim wrote:
> Thanks guys. Each time I run a test, though, it costs me money
> because I'm paying people on mechanical turk. And if it's slow, it
> gives me a bad reputation. So I don't want to run more slow tests
> unless we have good req
and I'm using postgres not sqlite.
On Apr 5, 12:44 pm, Michael Toomim wrote:
> Thanks guys. Each time I run a test, though, it costs me money
> because I'm paying people on mechanical turk. And if it's slow, it
> gives me a bad reputation. So I don't want to run more slow tests
> unless we hav
Thanks guys. Each time I run a test, though, it costs me money
because I'm paying people on mechanical turk. And if it's slow, it
gives me a bad reputation. So I don't want to run more slow tests
unless we have good request time logging in place and a good
hypothesis to test.
Wouldn't cron only
But this does not count the time, just the number of past requests (in
thread? total?). Am I wrong?
Moreover the count will be wrong if the web server restarts the
process. no?
Massimo
On Apr 5, 2:33 pm, Thadeus Burgess wrote:
> Novelty. Many websites you see will have at the bottom "time took t
Novelty. Many websites you see will have at the bottom "time took to
process request, number of queries to database".
-Thadeus
On Mon, Apr 5, 2010 at 2:24 PM, mdipierro wrote:
> I do not see any reason against except that I do not see any reason in
> favor either. Why do you need it?
>
> Mas
Now I get this for reference field
Traceback (most recent call last):
File "/home/tburgess/Applications/web2py/gluon/restricted.py", line
173, in restricted
exec ccode in environment
File
"/home/tburgess/Applications/web2py/applications/pms/views/default/index.html",
line 84, in
{{=d
I do not see any reason against except that I do not see any reason in
favor either. Why do you need it?
Massimo
On Apr 5, 2:16 pm, Thadeus Burgess wrote:
> Attached is a patch to allow the dal.py to keep track of query counts and
> types.
>
> Usage
>
> >>> db.qry_count()
>
> {'SELECT': 5, 'INS
Attached is a patch to allow the dal.py to keep track of query counts and types.
Usage
>>> db.qry_count()
{'SELECT': 5, 'INSERT': 2, 'DELETE': 1}
Massimo, do you accept?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to thi
I fixed the former. I did not fix the latter. It is a known problem
with the new dal and one of the few things that needs to be ironed
out: it does not like select('fieldname') only
select(db.table['fieldname']). Not difficult to fix anyway.
On Apr 5, 2:13 pm, Thadeus Burgess wrote:
> I get this
I get this traceback when attempting to access a reference field.
rows = db().select(db.table.ALL)
for r in rows:
r.id
r.title
r.reference_field.name
r.reference_field.description
Traceback (most recent call last):
File "/home/tburgess/Applications/web2py/gluon/restricted.py", line
173,
query =
query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value.lower
+ '%'))
On Apr 5, 1:34 pm, Johann Spies wrote:
> Using this form:
>
> veld = ['affiliation', 'country','year','journal','author']
>
> form = SQLFORM.factory(
> Field('k', label='Type in up to 5 key
Using this form:
veld = ['affiliation', 'country','year','journal','author']
form = SQLFORM.factory(
Field('k', label='Type in up to 5 keywords separated by '
'(spaces).',requires=IS_NOT_EMPTY()),
Field('how', label='Search all or any of the
keywords',default='all', requires
On 5 abr, 17:59, mdipierro wrote:
> One more try please.
Now, it works well!
Thank you.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email
One more try please.
On Apr 5, 12:49 pm, Jose wrote:
> On 5 abr, 16:58, mdipierro wrote:
>
> > Please check now. Is it fixed?
>
> still gives the same error. There is also a syntax error in tools.py
> in lina 2024, missing the colon.
>
> if form.accepts(request.post_vars, _session, formname=_for
On 5 abr, 16:58, mdipierro wrote:
> Please check now. Is it fixed?
still gives the same error. There is also a syntax error in tools.py
in lina 2024, missing the colon.
if form.accepts(request.post_vars, _session, formname=_formname,
onvalidation=onvalidation, keepvalues=ke
On Apr 5, 11:55 am, Yarko Tymciurak
wrote:
> On Apr 5, 3:23 am, Alexei Vinidiktov
> wrote:
>
> > I think I got it to work! I deleted the domain from the control panel
> > altogether and then readded it, and web2py 1.76.5 started working.
> > Problem solved for the time being. I don't know what wh
in trunk
On Apr 5, 11:52 am, Gabriele Alberti
wrote:
> Hello,
> I am not using connection pooling, and threaded=True is needed to
> avoid segfaults.
>
> I dont know why this happens, my wild guess is that cx_Oracle (or its
> underlying libs), when used in the same process, also if different
> th
Please check now. Is it fixed?
On Apr 5, 7:56 am, Jose wrote:
> I see that the last change you made was:
>
> changeset: 362:49d44e1bc17d
> tag: tip
> user: mdipie...@massimo-di-pierros-macbook.local
> date: Fri Apr 02 23:51:07 2010 -0500
> summary: possible join proble
On Apr 5, 3:23 am, Alexei Vinidiktov
wrote:
> I think I got it to work! I deleted the domain from the control panel
> altogether and then readded it, and web2py 1.76.5 started working.
> Problem solved for the time being. I don't know what what the exact
> cause though.
I'm guessing here, as you
Hello,
I am not using connection pooling, and threaded=True is needed to
avoid segfaults.
I dont know why this happens, my wild guess is that cx_Oracle (or its
underlying libs), when used in the same process, also if different
threads, share something between different connections, needing
locking
Hi Friends,
In the documentation of gdata-python-client library I have this:
"
Using the gdata-python-client library
Google offers a Google Data Python client library that simplifies
token management and requesting data from specific Google Data APIs.
We recently released a version of this libra
What do you mean by
>when the fields are not fully qualified (like "col1" instead of "dbname.col1")
?
On Apr 5, 10:19 am, fgpy wrote:
> Hi,
>
> I have an issue with version 1.76.1, when I use a select statement
> with several tables storing data in unicode.
>
> It seems that when the fields are
I will release a stable one soon.
On Apr 5, 10:05 am, Chris wrote:
> Thanks, I tried it with trunk and it works.
>
> Is trunk considered stable enough to run from it all the time or is it
> better to stick with the releases and upgrade with each new release?
>
> On Apr 2, 8:17 pm, mdipierro wr
perhaps I misread your original post. Your patch suggested REMOVING
threaded=True and all I am saying is that it is not there. Are you
saying I misread your patch and you think threaded=True SHOULD be
there?
Are you using connection pooling? That may be why it is needed.
Massimo
On Apr 5, 6:23 a
Its slower because each function is executed with the query. So what
happens is when you get your rows object, it is the value of the
function, not the function.
If you wrap all of your functions in a lambda as a "lazy" function,
then it will increase the speed
please look at
http://thadeusb.com
another patch?
On Apr 5, 4:14 am, "hamdy.a.farag" wrote:
> Massimo, I sent you the patch
> There's also another problem that I got confused about
> when using crud.update in case of deleting a record
> crud.settings.keepvalues = False is not working.
> after deleting the record , form is not cle
You know web2y better than me. I had forgotten about Rows.as_dict()
If option 2 works with you, use 2.
On Apr 5, 3:13 am, Iceberg wrote:
> Old problem solved, new problem arises.
>
> There is a somewhat obvious difference which I did not notice before.
>
> (1) db.table.virtualfields.append(Com
Your join is performing a union, your queries could (and will) get
quite huge, since your getting a record for every tag. (so for two
tags you actually get two rows for that snippet). A left join will
provide you with everything, but you still get a row for every tag.
Even with a left join you wil
ERRATA:
You can already chain them
onvalidation=lambda form: (f1(form),f2(form),f3(form))
On Apr 5, 10:34 am, mdipierro wrote:
> You can already chain them
>
> onvalidate=lambda form: (f1(form),f2(form),f3(form))
>
> On Apr 5, 1:14 am, Iceberg wrote:
>
> > Good to hear that is on your todo lis
You can already chain them
onvalidate=lambda form: (f1(form),f2(form),f3(form))
On Apr 5, 1:14 am, Iceberg wrote:
> Good to hear that is on your todo list, Massimo. When you do that,
> please also figure out a way to chain multi onvalidate functions,
> because I expect the crud.unmodified() woul
I somebody wants to keep an "official" mirror there I have no
objection. I prefer to stick with mercurial on Google because
mercurial is 100% python.
On Apr 5, 1:53 am, elffikk wrote:
> hi,
>
> I use a few project stored on github, and I find it easier to navigate
> source code or to get a trunk
Thinking of ditching MANY-MANY altogether, I have come up with this
approach which uses multiple=True-
http://web2py.pastebin.com/813ZELF5
However, the problem is that whenever I do something like
snippet.tags, it just gives me a string list with the IDs. How do I
make it give me a list of the ta
Brilliant, Thanks!!
Jay
On Apr 5, 10:56 pm, DenesL wrote:
> On Apr 5, 9:14 am, Jason Lotz wrote:
>
> > I'm trying to pass an XML string with custom TAG to a view, but I'm
> > having trouble with syntax.
>
> > Required XML Syntax:
> >
> >
> > cell content
> > c
Hi,
I have an issue with version 1.76.1, when I use a select statement
with several tables storing data in unicode.
It seems that when the fields are not fully qualified (like "col1"
instead of "dbname.col1"), results are stored in an _extra dictionary.
The issue is that when _extra contains uni
On Apr 5, 2010, at 3:15 AM, DenesL wrote:
>
> Thank you Jonathan and sorry that I have not been able to contribute
> more.
> Until we find a way to fix the missing part it is not really usable.
>
> At the risk of repeating myself, this is not only about blanks being
> converted to underscores wh
Thanks, I tried it with trunk and it works.
Is trunk considered stable enough to run from it all the time or is it
better to stick with the releases and upgrade with each new release?
On Apr 2, 8:17 pm, mdipierro wrote:
> I think this was fixed in trunk a couple of weeks ago.
>
> Massimo
>
> On
On Apr 5, 9:14 am, Jason Lotz wrote:
> I'm trying to pass an XML string with custom TAG to a view, but I'm
> having trouble with syntax.
>
> Required XML Syntax:
>
>
> cell content
> cell content
>
>
>
> The code string in the controller:
> rowxml=TAG.
I've got some problem with the MANY-MANY relation in Web2Py. This is
my code-
http://pastie.textmate.org/903738
Now, the problem is that the query returns only those records which
have tags, not the ones without them. However, if I specify query|
db.snippets.id>0 or anything, it gives me garbled
I'm trying to pass an XML string with custom TAG to a view, but I'm
having trouble with syntax.
Required XML Syntax:
cell content
cell content
The code string in the controller:
rowxml=TAG.rows(*[TAG.row(*[TAG.cell(r[f]) for f in rowflds]) for r in
rows
I see that the last change you made was:
changeset: 362:49d44e1bc17d
tag: tip
user:mdipie...@massimo-di-pierros-macbook.local
date:Fri Apr 02 23:51:07 2010 -0500
summary: possible join problem fix, thanks Brian Harrison
After that left =(...) makes an error occurs.
You are right, I was going to add that feature and then forgot about
it. Someone reported a PyPI bug over the weekend (it would not affect
web2py). I'll see if I can make the logging a bit more flexible and
release a 1.1 in the next few days.
In the meantime, look into the cron thing.
-tim
Christopher, just run web2py.py once after running setup-web2py-
ubuntu.sh
Details:
http://groups.google.com/group/web2py/browse_thread/thread/20e724c51c4dca55/7a6bc911316dd23a
On Apr 3, 11:28 am, Christopher Steel wrote:
> With 8.04 64 I am unable to create new applications via the web2py
> in
Massimo,
The problem is that web2py did replace spaces with underscores, but in
version 1.76.x it no longer does. The function described above worked,
until I upgraded to version 1.76.5.
That's why I have this line of code in my view:
Nieuws {{=month.replace('_',' ')}}
to have the month display
Hello,
I am sorry but I have to disagree. I dont know exactly what happens as
I am not into the DAL so much, but as I installed the latest version
(running 1.76.5 now) with no threaded argument in the cx_Oracle
connection I started getting back segfaults. They disappeared
immediately after I put th
Hello,
yes I am running 1.76.1 (2010-03-01 19:56:55); I'll try the latest and
I'll let you know ASAP.
Thank you very much,
G.
On Apr 5, 5:43 am, mdipierro wrote:
> Thank you Gabriele,
>
> is should definitively be threaded=False and not True since web2py
> does not share connection between thre
Thank you Jonathan and sorry that I have not been able to contribute
more.
Until we find a way to fix the missing part it is not really usable.
At the risk of repeating myself, this is not only about blanks being
converted to underscores which is not the only sanitizing of args done
by web2py, th
As I continue to develop my old application from last summer I get
more and more problems that I think is related to the upgrading I did.
Now that i try to add a record to att table I get:
Traceback (most recent call last):
File "gluon/restricted.py", line 173, in restricted
exec ccode in e
Massimo, I sent you the patch
There's also another problem that I got confused about
when using crud.update in case of deleting a record
crud.settings.keepvalues = False is not working.
after deleting the record , form is not cleared
in fact it is not working either in case of updating record or
I think I got it to work! I deleted the domain from the control panel
altogether and then readded it, and web2py 1.76.5 started working.
Problem solved for the time being. I don't know what what the exact
cause though.
And the problem with Unicode characters is also gone, because it only
existed i
Old problem solved, new problem arises.
There is a somewhat obvious difference which I did not notice before.
(1) db.table.virtualfields.append(ComputedFields())
This need to be executed BEFORE db().select(), otherwise it will NOT
affect the select result rows.
(2) rows.setvirtualfields(ta
that is an idea!
it will be great if web2py will do what sqlalchemy does
http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/pooling.html#sqlalchemy.pool.SingletonThreadPool
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this grou
I just tried copying a working copy of web2py 1.76.5 from my Windows
machine to my Dreamhost VPS account, but it didn't solve the problem.
I'm still getting the same ticket about DAL not being defined.
Is there anything else I can do?
2010/4/5 mdipierro :
> this is a very strange error, as if one
First of all I agree. I can just as well use a full-feature db and I
have migrated to postgresql.
I was just curious if it was possible/sensible to solve the problem
without changing database or my application code; in other words let
web2py do it for me. I guess the answer is no ;)
Sven
--
You
94 matches
Mail list logo