You need to install the win32 extensions. web2py without sessions may
cause data loss if you store data in sessions.
On Apr 7, 1:21 am, Iceberg wrote:
> Hi pals,
>
> Havn't used cron feature for quite some while, and knowing it has been
> under refactoring in recent several major versions of web2
Wow, big big thanks to Leonardo. Everything is in there...
Muchas gracias.
Benigno.
On Apr 6, 4:27 am, DenesL wrote:
> 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
Hi pals,
Havn't used cron feature for quite some while, and knowing it has been
under refactoring in recent several major versions of web2py. Today I
try to pick it up, but then notice a warning message keeps showing up
on console.
C:>web2py -a1
WARNING:root:no file locking
Starting hardcro
Yup all good... Working now.
Thanks again,
Matt
On Apr 7, 5:56 pm, Matt wrote:
> Massimo,
>
> Ok Cool... Thanks for fixing it so quickly.
>
> Will checkout the trunk,
> Matt
>
> On Apr 7, 5:29 pm, mdipierro wrote:
>
> > Thanks Matt,
>
> > it is a bug. I think I fixed it in trunk just now, but p
Massimo,
Ok Cool... Thanks for fixing it so quickly.
Will checkout the trunk,
Matt
On Apr 7, 5:29 pm, mdipierro wrote:
> Thanks Matt,
>
> it is a bug. I think I fixed it in trunk just now, but please give it
> a try.
>
> Massimo
>
> On Apr 6, 11:10 pm, Matt wrote:
>
> > I'm trying to use GAE w
Hi Massimo,
I have just downloaded web2py "1.76.5 (2010-03-11 15:19:08)" from
official download page. Turns out that one line of my old code is
broken.
import logging.handlers
Then I found the binary build's library.zip contains not enough
logging/*.pyc
Please check it.
Btw, this might be a
can you open a regular python shell and run
import os
print os.path.abspath(os.path.join('applications/admin/','hello'))
? looks like a python issue, it cannot determine os.getcwd()
On Apr 7, 12:23 am, drayco wrote:
> I have web2py 1.76.5 with red hat 5.5 enterprise linux 5.5 at 64 bits.
> I up
Thanks Matt,
it is a bug. I think I fixed it in trunk just now, but please give it
a try.
Massimo
On Apr 6, 11:10 pm, Matt wrote:
> I'm trying to use GAE with web2py and I'm having a few small teething
> problems.
>
> If I do the following:
>
> db.define_table('company',
> db.Field('name',
I have web2py 1.76.5 with red hat 5.5 enterprise linux 5.5 at 64 bits.
I updated web2py and when I try to go to admin i got this error.
What is this mean?
Traceback (most recent call last):
File "/home/drayco/web2py/gluon/restricted.py", line 173, in
restricted
exec ccode in environment
F
I'm trying to use GAE with web2py and I'm having a few small teething
problems.
If I do the following:
db.define_table('company',
db.Field('name', 'string'))
db.define_table('shop',
db.Field('company', db.company),
db.Field('address', 'string'))
company = db.company.insert(name = 'S
Thank you. I will look into this.
Massimo
On Apr 6, 6:27 pm, dspiteself wrote:
> then to set it up.
>
> $ cd web2py # (a Mercurial repository)
> $ hg bookmark -r default master # make a bookmark of master for
> default, so a ref gets created
> $ hg push git+ssh://@github.com:web2py/web2py.gi
we had a recent thread about this with more details and the answer is,
not always. There is some browser dependence as well.
On Apr 6, 5:54 pm, Thadeus Burgess wrote:
> I was under the impression that if the js code was in script tags it
> would execute it when inserted into the DOM ?
>
> There i
Good question. I do not know. Probably you lose the DAL layer but I am
not sure. It probably depends on the specific case.
Mind that gluon.contrib.gql.gae IS google.appengine.ext.db
Massimo
On Apr 6, 5:43 pm, Matt wrote:
> Thanks :) I should have noticed that as well.
>
> Also one final questio
then to set it up.
$ cd web2py # (a Mercurial repository)
$ hg bookmark -r default master # make a bookmark of master for
default, so a ref gets created
$ hg push git+ssh://g...@github.com:web2py/web2py.git # assuming you
use your old github account
$ hg push
you may have to delete the existing f
Run easy_install hg-git, then add make sure the following is in your
~/.hgrc:
[extensions]
hgext.bookmarks =
hggit =
On Apr 5, 6:08 pm, mdipierro wrote:
> 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 was under the impression that if the js code was in script tags it
would execute it when inserted into the DOM ?
There is always exec.
-Thadeus
On Tue, Apr 6, 2010 at 5:04 PM, mdipierro wrote:
> Now I understand. The problem is not the ajax trap. The problem is
> that browsers do not exec
Thanks :) I should have noticed that as well.
Also one final question.
Is it possible to mix and match "app engine" specific code like:
from google.appengine.ext import db
class person(db,Expando):
With the DAL? Or by doing this have I effectively lost the use of the
DAL layer.
Matt
On Apr 6, 4:38 pm, Kevin Butler wrote:
> On Apr 2, 6:28 pm, mdipierro wrote:
>
> > #1
>
> > form.accepts is a filter that moves request.vars into form.vars after
> > parsing and also populates form.errors. accepts should never be called
> > twice.
Without getting into this, a class behavior (acc
Now I understand. The problem is not the ajax trap. The problem is
that browsers do not execute JS code in ajax loaded context. This is
not a web2py issue but I can see the problem. Let me give this some
thought.
On Apr 6, 3:39 pm, Kuba Kucharski wrote:
> Massimo,
>
> Isn't this the same issue?
>
On Apr 2, 6:28 pm, mdipierro wrote:
> #1
>
> form.accepts is a filter that moves request.vars into form.vars after
> parsing and also populates form.errors. accepts should never be called
> twice. Why do you want to do it? I am sure there is a different way to
> achieve what you need.
I ran into
oh, it asks to create if it doesn't exist. it doesn't create
automatically.
On 6 Nisan, 22:10, "mr.freeze" wrote:
> That works but you must confirm it at the command line.
>
> On Apr 6, 2:06 pm, Mengu wrote:
>
>
>
> > so python web2py.py -S newapp is working?
>
> > thanks by the way. i need this
Massimo,
Isn't this the same issue?
http://groups.google.com/group/web2py/browse_thread/thread/a907fdafd432636c?pli=1
--
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
That works but you must confirm it at the command line.
On Apr 6, 2:06 pm, Mengu wrote:
> so python web2py.py -S newapp is working?
>
> thanks by the way. i need this for my IDE's project creation.
>
> On 6 Nisan, 21:43, mdipierro wrote:
>
> > It should go in the comments.
>
> > I would not add
so python web2py.py -S newapp is working?
thanks by the way. i need this for my IDE's project creation.
On 6 Nisan, 21:43, mdipierro wrote:
> It should go in the comments.
>
> I would not add a new -g because we are running out of command line
> options.
>
> Massimo
>
> On Apr 6, 12:55 pm, Kuba
It should go in the comments.
I would not add a new -g because we are running out of command line
options.
Massimo
On Apr 6, 12:55 pm, Kuba Kucharski wrote:
> > You can also do 'python web2py.py -S newapp' and it will prompt to
> > create the app if it doesn't exist
>
> shouldn't this go into p
I think we can fix in tools.py. Will look into it.
On Apr 6, 10:09 am, salbefe wrote:
> Hello,
>
> I'm trying to do my custom registration form. I have some problems
> with the password_two field.In my custom registration form
> form.custom.widget.password_two does not work (when it renders I get
I think it should have both.
On Apr 6, 12:55 pm, Kuba Kucharski wrote:
> > You can also do 'python web2py.py -S newapp' and it will prompt to
> > create the app if it doesn't exist
>
> shouldn't this go into python web2py.py -h in a "-S" section
> ?
>
> or we could add new option "-g" (generate)
> You can also do 'python web2py.py -S newapp' and it will prompt to
> create the app if it doesn't exist
shouldn't this go into python web2py.py -h in a "-S" section
?
or we could add new option "-g" (generate) witha description "creates
new application"
just wondering.
--
Kuba
--
You recei
You can also do 'python web2py.py -S newapp' and it will prompt to
create the app if it doesn't exist.
On Apr 6, 12:05 pm, Kuba Kucharski wrote:
> hi
>
> you don't need python to do that
> you just have to create basic app folder structure
> like here:http://gluonframework.wordpress.com/2010/03/
hi
you don't need python to do that
you just have to create basic app folder structure
like here:
http://gluonframework.wordpress.com/2010/03/02/shell-only-web2py/
or just
# cp welcome/ your_app/
--
Kuba
On Tue, Apr 6, 2010 at 5:58 PM, Mengu wrote:
> Hi,
>
> Is it possible to create new
Hi,
Is it possible to create new applications from console via web2py.py?
--
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 to
web2py+unsubs
I have notice that the welcome application has the same problem.
--
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 to
web2py+unsubscr...@goog
Hello,
I'm trying to do my custom registration form. I have some problems
with the password_two field.In my custom registration form
form.custom.widget.password_two does not work (when it renders I get a
None value) and as I could read on other thread (on august 2009) it is
said that "password_tw
This can only be done if insert and delete is done via crud.
crud.settings.create_onaccept = f
crud.settings.update_onaccept = f
crud.settings.delete_onaccept = f
where f is any function that takes the submitted form.
On Apr 6, 5:34 am, Ishbir wrote:
> Thanks for your help, although I had to tw
Thanks for your help, although I had to tweak the code to get it
working. It finally works! Thank you.
And by the way, do you know any way by which behaviours can be
defined? For e.g. if a record is added, then do something, if record
is deleted then do something. Can stuff like that be implemente
my mistake:
should be
Field('name',gae.StringListProperty() ) #YES
instead of
Field('name',gae.StringListProperty ) #NO
On Apr 5, 11:39 pm, Matt wrote:
> 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 web
36 matches
Mail list logo