It works! Thanks.
On Oct 21, 6:26 pm, mdipierro wrote:
> Try
>
> db.videodata.insert(flvcopy=db.videodata.flvcopy.store
> (request.vars.Filedata.file,'test1.flv'))
>
> On Oct 21, 2:13 am, Adi wrote:
>
> > Here's an update:
>
> > The POST request when seen as text looks like this:
>
> >
On Oct 30, 2009, at 8:44 PM, Thadeus Burgess wrote:
> I usually just
>
> svn update && rm -R applications/examples applications/welcome
That's cool if you want to update to root; I'm aiming for the release
points (with checkpointing).
--~--~-~--~~~---~--~~
You
Heh, oh yeah. :) Thanks,
Jason Brower
On Fri, 2009-10-30 at 23:04 -0500, Thadeus Burgess wrote:
> db.export_to_csv_file(open('/path/to/file.csv', 'wb'))
>
> db.import_from_csv_file(open('/path/to/file.csv', 'rb'))
>
> -Thadeus
>
>
>
>
> On Fri, Oct 30, 2009 at 10:50 PM, Jason Brower
> wrot
If I had svn that would work. (I haven't checked.)
Regards,
Jason
On Fri, 2009-10-30 at 22:44 -0500, Thadeus Burgess wrote:
> I usually just
>
> svn update && rm -R applications/examples applications/welcome
>
> -Thadeus
>
>
>
>
> On Fri, Oct 30, 2009 at 10:33 PM, mr.freeze
> wrote:
>
db.export_to_csv_file(open('/path/to/file.csv', 'wb'))
db.import_from_csv_file(open('/path/to/file.csv', 'rb'))
-Thadeus
On Fri, Oct 30, 2009 at 10:50 PM, Jason Brower wrote:
>
> I have the unfortunate fact that I have been using sqlite3 for some
> time, but my data is getting a little unst
I have the unfortunate fact that I have been using sqlite3 for some
time, but my data is getting a little unstable. How do I best transfere
that data from one database to another without direct access to the
admin screens as it is hosted remotely?
For right now, I guess my best approach would be
Yeah, I wish it had it's only little self updater. And the best would
be to go back a step as well.
Regards,
Jason Brower
On Fri, 2009-10-30 at 16:36 -0700, Jonathan Lundell wrote:
> In case anyone is interested. I use it under OS X, but it ought to
> work under any unixalike. Put it in (say)
I usually just
svn update && rm -R applications/examples applications/welcome
-Thadeus
On Fri, Oct 30, 2009 at 10:33 PM, mr.freeze wrote:
>
> This is useful. Perhaps worth making a slice?
>
> http://www.web2pyslices.com/main/default/user/login?_next=/main/slices/make_slice
>
>
> On Oct 30,
This is useful. Perhaps worth making a slice?
http://www.web2pyslices.com/main/default/user/login?_next=/main/slices/make_slice
On Oct 30, 6:36 pm, Jonathan Lundell wrote:
> In case anyone is interested. I use it under OS X, but it ought to
> work under any unixalike. Put it in (say) update.
In case anyone is interested. I use it under OS X, but it ought to
work under any unixalike. Put it in (say) update.sh in the same
directory as web2py/, and run it to:
1. create a snapshot of your current web2py/, renamed to its web2py
version
2. download the new source version
3. unzip it
It fixes some problems introduced by new features in 1.69.1.
It also includes:
- db(...).select().as_dict()
- Experimental distributed transactions with mysql, postgresql and
firebird
- Improved validators
- ability to call wsgi apps from actions
def index():
return somewsgiapp
(requ
Thanks Yarko I'll give it a try!
Alex F
El 30/10/2009 19:58, Yarko Tymciurak escribió:
> this is standard RE (although Massimo has added some convenience
> forms, I didn't see any used in this thread)...
>
> Have you tried something like re-try.appspot.com?
>
>
> On 10/30/09, Alex Fanjul wrote:
I was using Twisted 2.6.2 so I guess the twisted people fixed it.
On Oct 30, 4:53 pm, Wes James wrote:
> Massimo,
>
> That fixed it. Thx for your work on this. BTW, just before your fix
> here I had tried python 2.6.4 and it still had a problem.
>
> -wes
>
> On Fri, Oct 30, 2009 at 3:24 PM, md
In wsgihandler.py replace
application = ExecuteOnCompletion2(gluon.main.wsgibase, callback)
with
application = gluon.main.wsgibase
You may want to rename this into wsgihandler2.py so it does not get
overwritten when you upgrade.
On Oct 30, 4:34 pm, Fred wrote:
> In my testing, setting noc
This snippet sounds to me like a great plugin, any volunteer? :-D
Alex F
El 30/10/2009 16:51, Chris S escribió:
> I've apparently got some orphaned HTML tags, so I'll get that all
> cleaned up. I'm sure that's what's causing the problem.
>
> On Oct 30, 10:33 am, Chris S wrote:
>
>> I'll se
> I don't think so, if that were the case then I would not be able to send
> mail from my local computer either.
You mean using your own computer as the mail server?
If that is the case then I still think is the RDNS entry, if you look
at python's smptlib.py source, it will try to do a socket.ge
Massimo,
That fixed it. Thx for your work on this. BTW, just before your fix
here I had tried python 2.6.4 and it still had a problem.
-wes
On Fri, Oct 30, 2009 at 3:24 PM, mdipierro wrote:
>
> I think I fixed it in trunk. There seems to be a bug in python 2.5 and
> python 2.6.1 (fixed in 2.
In my testing, setting nocron=True in options_std.py or options.py has
no effect in the mod_wsgi context.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web
I think
nocron=True
in options_std.py
On Oct 30, 3:46 pm, Fred wrote:
> I've set up external cron per the v2 web2py manual and I've got web2py
> running (Version 1.68.2 (2009-10-27 13:05:52)) under mod_wsgi daemon
> mode. It looks to me like soft cron is still running in the daemon
> process
I think I fixed it in trunk. There seems to be a bug in python 2.5 and
python 2.6.1 (fixed in 2.6.2) that does allow copy_reg.pickle() to
register an unpickler that is a staticmethod of the class/object being
pickled.
I moved the staticmethods outside the class and it works.
Let me know if this w
If I change this:
copy_reg.pickle(DALRef, DALRef.__pickler__, DALRef.__unpickler__)
to this:
copy_reg.pickle(type(DALRef), DALRef.__pickler__,
DALRef.__unpickler__)
...it goes a little further but then throws error trying to find
__getstate__ in copyreg.py:
ProgrammingError: Cannot operate on a c
The problem is around there. The problem only exists with 2.5 and
2.6.1 not with 2.6.2 and it has to do with serializing DALRef.
On Oct 30, 2:22 pm, "mr.freeze" wrote:
> Perhaps you should be passing type(DALRef) to copy_reg.pickle instead
> of DALRef and also implementing a __getstate__ functio
I've set up external cron per the v2 web2py manual and I've got web2py
running (Version 1.68.2 (2009-10-27 13:05:52)) under mod_wsgi daemon
mode. It looks to me like soft cron is still running in the daemon
process. How do I shut it off? The options.py file seems to have no
effect when using ws
I don't think so, if that were the case then I would not be able to send
mail from my local computer either.
I created this test python script, using smtplib. Ran the file on my local
machine on the command line. Got the mail in my @gmail account.
Uploaded said script to the server, ran it, and n
1. would traceroute help?
2. turn the firewall off temporarily for tests then bring back up
when done just to see if firewall IS the issue.
On Fri, Oct 30, 2009 at 2:25 PM, Julio wrote:
>
> I think you need to contact the slicehost support folks and ask them
> to set RDNS for the new ip to you
On Oct 22, 7:09 pm, Graham Dumpleton
wrote:
> >http://www.web2py.com/AlterEgo/default/show/240
>
> This page also has wrong information, you shouldn't be setting
> WSGIPythonHome.
I just changed that page to remove the reference to WSGIPythonHome.
When I wrote that page I could not get web2py to
I think you need to contact the slicehost support folks and ask them
to set RDNS for the new ip to your domain, I have a feeling that the
external mail server (google?) is trying to rdns your domain (i.e. "is
example.com's ip really who it says it is?) and the response is from
one of slicehost's d
...that is self-explanatory (I think 'reload' is too)...
On 10/30/09, Alex Fanjul wrote:
>
> force_reload? its self explanatory.
>
> El 30/10/2009 14:20, DenesL escribió:
>> +1 rename 'force' to 'reload'
>>
>> >
>>
>>
>
> --
> Alejandro Fanjul Fdez.
> alex.fan...@gmail.com
> www.mhproject.org
>
It really makes no sense to me at all.
When running the app locally, with the exact same settings, the email gets
delivered. However when placed on my slicehost server, only emails in the
same domain name get sent (I can log into the other servers webmail and the
email is there)
So strange!...
I
Yes. Still the same result, only emails within the same domain get
delivered. What is weird is this was all working before the A record switch,
which only should effect the root domain, not its subdomains.
-Thadeus
On Fri, Oct 30, 2009 at 2:34 PM, mr.freeze wrote:
>
> Have you tried port 587
Have you tried port 587 on the server?
mail.settings.server = mail.example.com:587
On Oct 30, 2:27 pm, Thadeus Burgess wrote:
> Also, mail.send() is always returning True.
>
> -Thadeus
>
> On Fri, Oct 30, 2009 at 2:25 PM, Thadeus Burgess wrote:
>
> > Would anybody know why I can send mail using
Also, mail.send() is always returning True.
-Thadeus
On Fri, Oct 30, 2009 at 2:25 PM, Thadeus Burgess wrote:
> Would anybody know why I can send mail using SMTP through Evolution, yet
> when using the exact same credentials for web2py Mail(), email does not get
> sent?
>
> It is quite odd act
Would anybody know why I can send mail using SMTP through Evolution, yet
when using the exact same credentials for web2py Mail(), email does not get
sent?
It is quite odd actually though.
mail.settings.server = mail.example.com:25
mail.settings.sender = "thade...@example.com"
mail.settings.login
Perhaps you should be passing type(DALRef) to copy_reg.pickle instead
of DALRef and also implementing a __getstate__ function?
copy_reg.pickle(type(DALRef), DALRef.__pickler__,
DALRef.__unpickler__)
I'm out of my depth but trying to help.
On Oct 30, 1:41 pm, "mr.freeze" wrote:
> Massimo, do yo
force_reload? its self explanatory.
El 30/10/2009 14:20, DenesL escribió:
> +1 rename 'force' to 'reload'
>
> >
>
>
--
Alejandro Fanjul Fdez.
alex.fan...@gmail.com
www.mhproject.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Thank you very much! It does exactly what I needed.
After reading your message I came back to "Settings and Messages" in
your book (pages 237-241) and it has always been there.
You may have won a convert today, although not a brilliant one.
cpicada.wordpress.com (aka "blind and slow")
On Oct 30,
this is standard RE (although Massimo has added some convenience
forms, I didn't see any used in this thread)...
Have you tried something like re-try.appspot.com?
On 10/30/09, Alex Fanjul wrote:
>
> Massimo, the regexp you write is not the 'standard' regular expresions
> (for example in htacce
Massimo, the regexp you write is not the 'standard' regular expresions
(for example in htaccess), is it?
Do you know any online tool to check this expressions as this
http://gskinner.com/RegExr/ but for your kind of code?
Thanks
alex f
El 30/10/2009 6:33, mdipierro escribió:
> Sorry. I misunde
Massimo, do you get the error on T3 running from trunk?
On Oct 30, 12:43 pm, mdipierro wrote:
> I understand that but that is fixed in trunk. Please try and I will
> release 1.70.
>
> On Oct 30, 12:05 pm, Wes James wrote:
>
> > I'm not sure this affecting what is going on. It is simply logging
Can you email me the app so that I can try reproduce the problem?
On Oct 30, 1:28 pm, Nick Jennings wrote:
> No one has any ideas about my initial problem?
>
> On Oct 30, 4:33 pm, Nick Jennings wrote:
>
> > So, now that we figured out a bug/previously unknown implementation
> > detail, any chan
No one has any ideas about my initial problem?
On Oct 30, 4:33 pm, Nick Jennings wrote:
> So, now that we figured out a bug/previously unknown implementation
> detail, any chance someone can help me with my original problem?
>
> The HTML data is being stored in the DB correct, as has been
> conf
I tried 1.70.1 with snow leopard (python 2.6.1) and leopard (python
2.5.1) and get the same error right now:
Traceback (most recent call last):
File "/opt/web2py-1.69.1/gluon/main.py", line 486, in wsgibase
session._try_store_on_disk(request, response)
File "/opt/web2py-1.69.1/gluon/globa
I get the error with a stock T3 install running from trunk.
On Oct 30, 12:43 pm, mdipierro wrote:
> I understand that but that is fixed in trunk. Please try and I will
> release 1.70.
>
> On Oct 30, 12:05 pm, Wes James wrote:
>
> > I'm not sure this affecting what is going on. It is simply log
I understand that but that is fixed in trunk. Please try and I will
release 1.70.
On Oct 30, 12:05 pm, Wes James wrote:
> I'm not sure this affecting what is going on. It is simply logging in
> to t3 wiki and the error comes up, there is no record in the session -
> plain t3 wiki usage - loggin
On Oct 30, 12:05 pm, cpicada wrote:
> I just want to know if the built-in authentication system has a hook
> somewhere so I can do it easily.
> As I said, I am very new to this framework. I am still in the phase in
> which I risk reinventing the wheel ten times a day if I don't refrain
> from b
I should point out that it is DALRef.__unpickler__ when called from
DALRef.__pickler__
On Oct 30, 12:22 pm, "mr.freeze" wrote:
> It's DALRef.__unpickler__ I think. Fails at line 68 of copy_reg.py :
>
> if base is self.__class__:
> raise TypeError, "can't pickle %s objects" %
It's DALRef.__unpickler__ I think. Fails at line 68 of copy_reg.py :
if base is self.__class__:
raise TypeError, "can't pickle %s objects" % base.__name__
with these values:
"base"= type:
"self"= function:
"self.__class__"= type:
On Oct 30, 12:05 pm, Wes James wrote:
Ah great, that's handy.
Apparently while I did have some orphan's my real problem was that I
was trying to put it in a block in a table which had a col-span
attribute. Apparently that's a bad thing, and it's working great
now. Just had to clean up the orphan tags and remove that col-span
attri
I just want to know if the built-in authentication system has a hook
somewhere so I can do it easily.
As I said, I am very new to this framework. I am still in the phase in
which I risk reinventing the wheel ten times a day if I don't refrain
from being too "creative".
- Is there something like a
I'm not sure this affecting what is going on. It is simply logging in
to t3 wiki and the error comes up, there is no record in the session -
plain t3 wiki usage - logging in. As I mentioned, this works fine in
1.68.1, go to 1.69.1 and the error shows up. Fran is having the same
issue
-wes
try
python web2py/scripts/cleanhtml.py /path/to/layout.html
it will help you find orphan tags.
On Oct 30, 10:51 am, Chris S wrote:
> I've apparently got some orphaned HTML tags, so I'll get that all
> cleaned up. I'm sure that's what's causing the problem.
>
> On Oct 30, 10:33 am, Chris S wr
ERRATA^2
The uglyness is back, just encapsulated in local_import (same syntax
as proposed).
The problem is the orginal implementation does not handle __init__.py
properly.
Doing so would be too expensive.
Massimo
On Oct 30, 11:07 am, mdipierro wrote:
> ERRATA:
>
> After more tests
>
> []
ERRATA:
After more tests
[]
> I found and implemented a better way. With the code in trunk we can
> now do:
>
> d = local_import('a.b.c')
>
> - it is not based on exec
actually I when running on GAE the first version did not work. on GAE
it uses execfile.
> - it searches in applicaiton
I've apparently got some orphaned HTML tags, so I'll get that all
cleaned up. I'm sure that's what's causing the problem.
On Oct 30, 10:33 am, Chris S wrote:
> I'll see how I can best explain this.
>
> - Layout.html ---
>
>
>
>
>
>
On Fri, Oct 30, 2009 at 10:27 AM, mdipierro wrote:
>
> yes but in the shell remember to do
>
> db.commit()
>
> else your transaction may lock the web app and if it locks for too
> long it is no good.
>
really, really no good on a production, live, running system; less of
a concern on your
thanks. this is terrific! in the link i was expecting to see the url
generated by the URL method but not the one mapped through routes_out,
and was going to criticize this. but instead i see the right url. this
has a very good usability.
konstantin
On Oct 30, 1:33 am, mdipierro wrote:
> Sorry.
That's a pity! My tutorial for the creation of a cd database begin to be
more complex but in some way more interesting! :-) There's a tutorial for
the creation of custom widgets? I didn't find much on this topic on the
book. :-/
2009/10/30 mdipierro
>
> You cannot using crud unless you make you
I'll see how I can best explain this.
- Layout.html ---
{{title=response.title or 'response.title'}}
{{=A(title, _href=URL
(request.application,'default','index'))}}
{{=response.subt
So, now that we figured out a bug/previously unknown implementation
detail, any chance someone can help me with my original problem?
The HTML data is being stored in the DB correct, as has been
confirmed, and when I try to display it in the 'show' view, even when
using the XML function, it still
yes but in the shell remember to do
db.commit()
else your transaction may lock the web app and if it locks for too
long it is no good.
On Oct 30, 10:06 am, Yarko Tymciurak
wrote:
> On Fri, Oct 30, 2009 at 9:59 AM, Nick Jennings wrote:
>
> > When I do that I get the ipython console and the act
You cannot using crud unless you make your own widget.
Massimo
On Oct 30, 10:18 am, Doxaliber wrote:
> Hello everyone!
> -
> This is my model:
> db.define_table('autori',
> Fi
aha, good to know, thank you!
On Oct 30, 4:06 pm, Yarko Tymciurak
wrote:
> On Fri, Oct 30, 2009 at 9:59 AM, Nick Jennings wrote:
>
> > When I do that I get the ipython console and the actual web2py server
> > does not start.
>
> Nick -
>
> Just to clarify for you, there is nothing wrong with ha
works for me.
Where did you put it exactly? Perhaps is a place hidden by the css?
On Oct 30, 9:56 am, Chris S wrote:
> I was trying to ad the google search bar from Adsense where I could
> search my web2py page with google. The way it works after running
> through setup options you're given a c
Hello everyone!
-
This is my model:
db.define_table('autori',
Field('nome_autore', 'string', length=300),
Field('bio', 'text'))
db.define_table('case_discografiche',
Fie
On Fri, Oct 30, 2009 at 9:59 AM, Nick Jennings wrote:
>
> When I do that I get the ipython console and the actual web2py server
> does not start.
>
Nick -
Just to clarify for you, there is nothing wrong with having TWO command
lines running simultaneously: a server, AND a command line next to
When I do that I get the ipython console and the actual web2py server
does not start.
On Oct 30, 3:45 pm, mdipierro wrote:
> You need to specify an appname
>
> python web2py.py -S appaname -M
>
> On Oct 30, 9:06 am, Nick Jennings wrote:
>
> > Oh thats cool! So I started up the web2py server w
On Fri, Oct 30, 2009 at 9:45 AM, mdipierro wrote:
>
> You need to specify an appname
>
> python web2py.py -S appaname -M
>
Massimo:
You are missing the critical piece in this thread:
specifying an appname is what you need if you start a web2py shell from the
command line.
What Nick has stum
I was trying to ad the google search bar from Adsense where I could
search my web2py page with google. The way it works after running
through setup options you're given a code snippet to past into any
page you want. I figured it would be easy but It's not working 100%
for me yet.
The code googl
On Fri, Oct 30, 2009 at 9:44 AM, mdipierro wrote:
>
> reload is a reserved keyword but ok. I will change this.
>
? reload() i s a Python builtin function ... which does what you describe
this as doing.
I think this is consistent, but more importantly - a "word" that says more
clearly what this
What has changed from 1.68.1 to 1.69.1 though to cause this. I'll
have to look at my code and see what you are saying. I works fine in
1.68.1
-wes
On Fri, Oct 30, 2009 at 8:42 AM, mdipierro wrote:
>
> You are storing in session something that cannot go in a session. For
> example a recor
You need to specify an appname
python web2py.py -S appaname -M
On Oct 30, 9:06 am, Nick Jennings wrote:
> Oh thats cool! So I started up the web2py server with the -M module:
>
> python web2py.pl -M
>
> Then when I went to the python shell I could mess with my db objects:
>
> In[2]:
> post =
reload is a reserved keyword but ok. I will change this.
On Oct 30, 9:02 am, Yarko Tymciurak
wrote:
> On Fri, Oct 30, 2009 at 8:20 AM, DenesL wrote:
>
> > +1 rename 'force' to 'reload'
>
> +1 on this rename from me also it's just clearer, more explicit, "self
> documenting"
>
> One of my pe
You are storing in session something that cannot go in a session. For
example a record. You can only store in a session a record id, not a
record. This is because the record will have changed when the session
is retrieved.
On Oct 30, 8:59 am, Wes James wrote:
> This is what I'm getting now:
>
>
On Fri, Oct 30, 2009 at 9:23 AM, cpicada wrote:
>
> Yes, but it doesn't do exactly what I am looking for. I need to
> compute values *before* the registration happens, and in this case it
> works at login and only if the user was registered and logged out
> already. If I have:
>
> def f(form): fo
Yes, but it doesn't do exactly what I am looking for. I need to
compute values *before* the registration happens, and in this case it
works at login and only if the user was registered and logged out
already. If I have:
def f(form): form.vars.username='apu'
auth.settings.login_onvalidation=f
...
On Fri, Oct 30, 2009 at 9:06 AM, Nick Jennings wrote:
>
> Oh thats cool! So I started up the web2py server with the -M module:
>
> python web2py.pl -M
>
> Then when I went to the python shell I could mess with my db objects:
>
> In[2]:
> post = db(db.post.id==1).select()[0]
>
> Out[2]:
>
> In[3]:
They are a complete web2py in each folder apache pointing to them with
the scriptalias as shown. I access http://host/qpac and it works
fine. I access http://host/qpac2 and i get simply "Invalid Request"
-wes
On Thu, Oct 29, 2009 at 6:33 PM, Graham Dumpleton
wrote:
>
>
>
> On Oct 30, 9:44 am,
Oh thats cool! So I started up the web2py server with the -M module:
python web2py.pl -M
Then when I went to the python shell I could mess with my db objects:
In[2]:
post = db(db.post.id==1).select()[0]
Out[2]:
In[3]:
print post.body
Out[3]:
dfsdf sdf sd sdghjfghjfgjh fs
kk
'
kk;'
k'
;;'
jkl
On Fri, Oct 30, 2009 at 8:20 AM, DenesL wrote:
>
> +1 rename 'force' to 'reload'
>
+1 on this rename from me also it's just clearer, more explicit, "self
documenting"
One of my pet-peeves are web2py checkins that say "fixed bug" ugh! I
should accelerate getting us to google code and me
This is what I'm getting now:
Traceback (most recent call last):
File "/opt/web2py-1.69.1/gluon/main.py", line 483, in wsgibase
session._try_store_on_disk(request, response)
File "/opt/web2py-1.69.1/gluon/globals.py", line 369, in _try_store_on_disk
cPickle.dump(dict(self), response.s
On Fri, Oct 30, 2009 at 5:35 AM, Jon Romero wrote:
>
> how about this:
> The (main) problem (as I see it) with Massimo's approach is polluting
> directories with plugin files (and maybe making it more difficult to
> add/remove plugins).
>
That is just the most obvious issue with that approach...
Aha, I thought massimo was referring to the python shell which is in
the admin interface.
When I print the body from the show controller, then view record, this
is what comes up on the console:
dfsdf sdf sd sdghjfghjfgjh fs
kk
'
kk;'
k'
;;'
jklkl;lhjjfghjkfhkfhjkfhjkfhjkfhjkfhjkfh
When I view t
On Fri, Oct 30, 2009 at 7:16 AM, Nick Jennings wrote:
>
> I'm very new to python, and not sure how to use the python console.
>
Thanks for reporting this - it looks like the web-based shell is failing at
this (at least in the latest version on launchpad).
Try the command line shell for now:
$
+1 rename 'force' to 'reload'
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+u
yes
def f(form): form.vars.two = form.vars.one+1
auth.settigns.login_onvalidation = f
and on the right side a function that can computes new form.vars from
existing form.vars.
On Oct 30, 4:21 am, cpicada wrote:
> Is there a way to process the data entered at the register form before
> doing th
I think we need something like this, to avoid conflicts. We also need
a plugin to contain an optional install script/uninstall script to add
and remove items for cron and languages for example.
On Oct 30, 5:35 am, Jon Romero wrote:
> how about this:
> The (main) problem (as I see it) with Massim
Disregard the first part of my original post. I've looked at your
code and you've done the logical thing. But your original email did
not state it properly.
For the record of those reading:
If you have a module that you want to use in applications//
modules, with this new addition you can:
mo
On Oct 30, 4:32 am, Iceberg wrote:
> Glad to know this undocumented convention.
I think this is explained in chapter 1 of the book but I may be wrong.
> Now I understand better why
> Massimo is not eager to do validators' i18n in a class-attribute,
> because it tends to mislead developers to
On Oct 30, 4:32 am, Pepe wrote:
> Hi,
>
> i've installed PIL for windows but, what i have to do?
>
> have I to copy some files to "modules" folder of my app?
>
> or i have only to call PIL in the controller with "from PIL import
> Image"
correct. Assuming you are running from source.
> sorr
No. This would go after the table definitions (the old table
definition).
db(db.address.number==None).update(number=0)
On Oct 30, 2:40 am, annet wrote:
> Massimo,
>
> > 1) you inserted records that had Null values for number
>
> As far as I can tell I didn't, because the number field's notnull
This is because you are storing in a session something that is not
pickable like a row or set of rows.
On Oct 30, 2:25 am, Fran wrote:
> On Oct 29, 11:15 pm, mdipierro wrote:
>
> > Fixed in trunk. I had to study to fix this one.
> > This is a major problem and calls for a new release asap. If i
Is there a way to process the data entered at the register form before
doing the actual registration?
I am looking for a way to add computed values to a user record during
registration, login and profile modification.
I am sorry if this is a silly question. I am very new to web2py (I
have been w
Thank you. Yes I was referring to Google Groups, not a supposed
feature of pyForum.
-tim
On Oct 28, 5:17 pm, Richard wrote:
> I think he was meaning that search sucks in Google Groups (not
> pyforum). Correct me if wrong.
>
> On Oct 29, 2:29 am, Julio wrote:
>
> > - Provides working search-ab
I like the idea and I am very much against ugliness...however:
d = local_import('a.b.c')
is way uglier in my book than:
import a.b.c as d
Asthetics aside, it does not solve the original problem very well.
The problem is not being able to do:
import c as d
when d is in apps/init/modules becau
Cool contribution ;)
I think it is not mandatory, but for the sake of have an order of
information, you would do well by posting it also in web2pyslices.
On Oct 30, 7:18 am, Jon Romero wrote:
> I've made a short tutorial on using CKEditor with
> widgets.http://jon.is.emotionull.com/post/227873
inside your code put:
print post.body
and then check the console/terminal from which you've started web2py.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to
I've made a short tutorial on using CKEditor with widgets.
http://jon.is.emotionull.com/post/227873650/using-widgets-in-web2py-integrating-ckeditor
Hope you enjoy it!
PS: Also, is this the correct place to announce small hints/tutorials
or everything should go directly to web2pyslices?
--~--~-
I'm very new to python, and not sure how to use the python console.
when i bring it up, and try to do anything i get errors i don't
understand. I tried to create a post var with:
post = db(db.post.id==1).select()[0]
which did not work.
clearly im missing something fundamental here, and would appr
how about this:
The (main) problem (as I see it) with Massimo's approach is polluting
directories with plugin files (and maybe making it more difficult to
add/remove plugins).
Besides that, I think it is a very easy way to add plugin capabilities
to web2py (without changing much of its architectur
Glad to know this undocumented convention. Now I understand better why
Massimo is not eager to do validators' i18n in a class-attribute,
because it tends to mislead developers to further adjust them and then
possibly affect other apps. :-)
On Oct30, 11:31am, mdipierro wrote:
> There is a reason
1 - 100 of 103 matches
Mail list logo