Hi rick,
I replied on your post, I hope that will help you.
http://groups.google.com/group/web2py/browse_thread/thread/3c5d897149a3f1eb/679bdb2954ffec15#679bdb2954ffec15
On Feb 24, 1:41 am, rick wrote:
> Hi Ahmed,
>
> Can you share with us how you got web2py running on nginx with
> fastcgi?
>
>
thanks Richard
On 23 Feb 2010, at 23:48, Richard wrote:
> if you are on GAE then you can simply use:
>
> from gluon.contrib.gql import gae
> Field('name', gae.StringListProperty())
>
>
>
> On Feb 18, 2:47 am, Carl wrote:
>> I have a Python list that I want to store and retrieve from the data
>>
Yes the more I look into cherokee the more I wish I went with it
instead of apache :)
You can't beat a management console written in python :)
-Thadeus
On Wed, Feb 24, 2010 at 12:54 AM, GrayMatterComputing
wrote:
> uWSGI is not "apt-getable" for several reasons which are not really in
> the
uWSGI is not "apt-getable" for several reasons which are not really in
the scope of this group. However, it is simple enough to download,
make, and install. ;)
>From my experience with Cherokee, it is extremely efficient in
handling multiple platforms and quite easy to configure. I have not
person
Open the Cherokee Admin -> General -> Server Permissions. There you
are :)
Cherokee will respond in the priority order you have set for the
virtual servers and behaviors. It will evaluate only the first rule in
the list that matches. For example, if you had a static content rule
for the directory
what if plugins were to use auth.db ? they rely on auth anyway. Or
should we relax that?
On Feb 23, 11:32 pm, mdipierro wrote:
> OK but the I would call that variable db because that is what it is
> called in welcome/models/db.py
>
> On Feb 23, 11:25 pm, "mr.freeze" wrote:
>
> > I think the most
OK but the I would call that variable db because that is what it is
called in welcome/models/db.py
On Feb 23, 11:25 pm, "mr.freeze" wrote:
> I think the most important thing is that users can install plugins
> without needing to modify the plugin. This would make upgrades a real
> problem. I'm s
I think the most important thing is that users can install plugins
without needing to modify the plugin. This would make upgrades a real
problem. I'm sure you've heard this all before but if the plugin
system was initialized in some way by the user with their preferred
instance of a DAL object the
when I said "yes" I mean current plugins assume it.
I agree we need a superstructure to manage conventions. Instead of a
new global vars, I would prefer that each plugins has its own
plugin__settings.db and users can customize each individual
plugin.
On Feb 23, 11:12 pm, "mr.freeze" wrote:
> Tha
That still feels wrong to me. What about making a plugin_db parameter
in option_std.py for the database instance name you want to use for
the plugin subsystem?
On Feb 23, 10:29 pm, mdipierro wrote:
> yes
>
> On Feb 23, 10:18 pm, "mr.freeze" wrote:
>
> > What about the second question? Is 'db' a
this is fixed in trunk.
On Feb 23, 5:54 pm, mdipierro wrote:
> You found a bug.
>
> In gluon/compileapp.py these two lines:
>
> page = run_controller_in(plugin, function,
> other_environment)
> other_response.view = '%s/%s.%s' %
> (plug
I think:
1. Run "appcfg.py vacuum_indexes your_app_dir/"
2. Run "appcfg.py update_indexes your_app_dir/"
On Feb 23, 10:23 pm, Miguel Goncalves
wrote:
> How do I do that?
>
> On Tue, Feb 23, 2010 at 7:09 PM, mdipierro wrote:
> > I would try delete and rebuild indices.
>
> > On Feb 23, 7:54 pm, M
yes
On Feb 23, 10:18 pm, "mr.freeze" wrote:
> What about the second question? Is 'db' a required naming convention
> for the plugin system?
>
> On Feb 23, 6:41 pm, mdipierro wrote:
>
> > I think so. The only think is that we will build a super structure on
> > top of it for better management of
It is safe to delete them manually.
If you had Field('xyz',autodelete=True)
they would have been deleted when the records were deleted.
On Feb 23, 10:15 pm, weheh wrote:
> I used to have a db structure with an upload field in a table, "xyz".
> I uploaded some images that are now under uploads/x
How do I do that?
On Tue, Feb 23, 2010 at 7:09 PM, mdipierro wrote:
> I would try delete and rebuild indices.
>
> On Feb 23, 7:54 pm, Miguel Goncalves
> wrote:
> > Yes I tried to upload it to GAE but I ran into the missing indexes issue.
> So
> > I was trying to run the app locally to generate
What about the second question? Is 'db' a required naming convention
for the plugin system?
On Feb 23, 6:41 pm, mdipierro wrote:
> I think so. The only think is that we will build a super structure on
> top of it for better management of plugins metadata.
>
> Massimo
>
> On Feb 23, 6:37 pm, "mr.f
I used to have a db structure with an upload field in a table, "xyz".
I uploaded some images that are now under uploads/xyz.picture.cypher.
Later, I decided to drop the upload field from table "xyz" and create
a totally new table "abc" that had an equivalent picture field. the
sql.log file shows th
I sometimes get that ID error on both GAE and the development server,
and for non-delete operations such as:
db(db.client.id > 0).select()
so to be more robust I have replaced ID calls with:
db().select(db.client.ALL)
On Feb 7, 11:33 am, Jon Romero wrote:
> the problem seems to happen when
I would try delete and rebuild indices.
On Feb 23, 7:54 pm, Miguel Goncalves
wrote:
> Yes I tried to upload it to GAE but I ran into the missing indexes issue. So
> I was trying to run the app locally to generate the required indexes and be
> able to run on the live GAE. :(
>
> I have the issue o
You have to specify all of the urls manually.
Take a look at gluon/tools.py and see all of the settings you can change.
-Thadeus
On Tue, Feb 23, 2010 at 7:50 PM, Alexandre Andrade
wrote:
> I'm using Version 1.75.4 and not solved (always go to default/user)
>
> There is a special place to pu
Yes I tried to upload it to GAE but I ran into the missing indexes issue. So
I was trying to run the app locally to generate the required indexes and be
able to run on the live GAE. :(
I have the issue on the dev server. This used to work and I have no clue
what could have broken it. I believe the
I'm using Version 1.75.4 and not solved (always go to default/user)
There is a special place to put auth.settings.controller (models?)
2009/12/29 mdipierro
> It is a bug.
>
> On Dec 28, 11:54 pm, Thadeus Burgess wrote:
> > When I set
> >
> > auth.settings.controller = 'admin'
> >
> > Shouldn't
For now I implemented your suggestion in trunk. Thanks what_ho.
Massimo
On Feb 21, 5:03 pm, what_ho wrote:
> I got the same issue, delete operations by id work locally, but not on
> gae (dev_appserver or live).
>
> Modifying from .count() to len(..) appears to fix this for me. I
> locally modifi
Thanks ;)
On Feb 23, 11:43 pm, Ahmed Sameh wrote:
> Hi rick,
>
> I have installed it but there is a problem using routes.py with NGINX
> +FCGI , I have posted about that earlier.
> But using NGINX + CherrPy + web2py works fine and you can find many
> other posts discussing that.
>
> I think that
missed that too - are there any examples how to use it?
On Feb 23, 12:28 pm, Thadeus Burgess wrote:
> Isn't this what the gluon/contrib/login_methods/gae_google_account.py is for?
>
> It integrates directly into web2py auth mechanisms?
>
> -Thadeus
>
> On Mon, Feb 22, 2010 at 6:52 PM, mr.freeze
works well - I used it previously via Elance.
Though people can already request features via this forum or Google
Code (http://code.google.com/p/web2py/issues/list)
On Feb 24, 9:08 am, waTR wrote:
> I was just wondering if Massimo is interested in creating a UserVoice
> account & forum for web2p
I think so. The only think is that we will build a super structure on
top of it for better management of plugins metadata.
Massimo
On Feb 23, 6:37 pm, "mr.freeze" wrote:
> Is the plugin system considered backwards compatible at this point? I
> am considering converting some modules into plugins
Is the plugin system considered backwards compatible at this point? I
am considering converting some modules into plugins but want to know
if they API is stable.
Also, is the naming convention of 'db' for your database still
required for the plugin system?
---
I predict that in th
Hi Ahmed,
Can you share with us how you got web2py running on nginx with
fastcgi?
brgds
On Feb 23, 2:12 pm, Ahmed Sameh wrote:
> Hi All,
>
> I have configured web2py to work with NGINX through FCGI, and
> everything works fine except for routes.py.
>
> I am using routes.py to redirect various s
It does work:
$ python web2py.py -S welcome -M
>>> form=auth.register()
>>> form['_id'] = 'my_form_id'
>>> print form.xml()
perhaps I misunderstood the question and you expect something
different?
On Feb 23, 2:07 pm, arnaud wrote:
> Thanks Massimo, but this code has no effect. No ID is s
+1 on the need for the many 2 many relationship. I plan an admin
interface where admin gets to assign users to groups so many to many
is key functionality for me. The plugin looks handy. I will have to
investigate further.
On Feb 23, 1:40 am, mdipierro wrote:
> I do not know if this case be usefu
Thank you for this. Is uWSGI not available to apt-get ?
Any idea on how cherokee performs serving both python and ruby applications?
In my apache/mod_wsgi setup, web2py was happily running at 35MB. Then
I installed mod_passenger to serve the ruby app and apache memory
usage spiked to ~250 just fo
oops. you are right. fixing
On Feb 23, 7:12 am, villas wrote:
> I looked at Lukasz's code again and it was better, so I updated the
> slice accordingly -- thanks once more Luksaz.
>
> --
>
> >>not if file is a open('filename','rb')
>
> @Massimo, Please take another look.
>
>
Since your data aren't too large, why not store them as a json string?
I haven't tried it yet, but seems like another very simple way to go.
Not as compact as pickle, but more web2py-ish IMHO.
On Feb 23, 6:48 pm, Richard wrote:
> if you are on GAE then you can simply use:
>
> from gluon.contrib.
You found a bug.
In gluon/compileapp.py these two lines:
page = run_controller_in(plugin, function,
other_environment)
other_response.view = '%s/%s.%s' %
(plugin,function,other_request.extension)
must be reversed. I will fix it and rep
if you are on GAE then you can simply use:
from gluon.contrib.gql import gae
Field('name', gae.StringListProperty())
On Feb 18, 2:47 am, Carl wrote:
> I have a Python list that I want to store and retrieve from the data
> store.
>
> The individual items of the list are of no use unless used wi
I also couldn't find it, though it works!
On Feb 19, 10:33 am, Wes James wrote:
> I was looking in gql.py too see howStringListPropertyis used. I
> didn't see it there. Where is it in web2py code?
>
> -wes
--
You received this message because you are subscribed to the Google Groups
"web2py-u
yes there is
encoder = (lambda x: "'%s'" % cPickle.dumps(x).replace("'", "''"))
On Feb 23, 8:54 am, Jonathan Lundell wrote:
> On Feb 23, 2010, at 2:22 AM, Massimo Di Pierro wrote:
>
> > My bad. The encoder should be not
>
> > encoder = (lambda x:cPickle.dumps(s)
>
> > but
>
> > encoder = (lambda
web2py with Cherokee via uWSGI: a simple, easy guide
(written specifically for Ubuntu, but applicable to all systems)
By: Evan Gray - GrayMatterComputing
1) web2py
a) Download web2py (found at web2py.com)
i) Install python, if not present: sudo apt-get install python
b) Unzip (to /var/web2py)
Hi rick,
I have installed it but there is a problem using routes.py with NGINX
+FCGI , I have posted about that earlier.
But using NGINX + CherrPy + web2py works fine and you can find many
other posts discussing that.
I think that NGINX + FCGI is so much faster than NGINX + CherryPy, I
will bench
Wow, you only heard of blobstore yesterday --that's quick!
If you start using it more, perhaps you would comment on the speed.
I imagine that some people might want to just store everything in
there, big and small files, just for the convenience of having them
all in one place.
Thanks for the sli
Unfortunately I think the links in the manual are rather badly named.
The "complete API" should refer to:
http://web2py.com/examples/static/epydoc/index.html
Whereas http://web2py.com/examples/default/api API should be called
something else like General / Common etc.
That's what I would expec
Ooops. I realize now I have the limitby in the ajax (typing part) on
on the initial call of the page (controller code) I forgot to put
limitby. It is working fine.
-wes
On Fri, Feb 19, 2010 at 6:09 PM, mdipierro wrote:
> It should but I'll take a second look.
>
> On Feb 19, 5:13 pm, Wes James
I was just wondering if Massimo is interested in creating a UserVoice
account & forum for web2py. It's free, and it is really nice to have.
At least people will have a place to request features... It's also a
really nice interface.
Here is an example:
http://freenet.uservoice.com/forums/8861-gener
seems to be working fine on 1.75.4.
so are we getting support of nosql database soon =)
On Feb 6, 12:14 am, mdipierro wrote:
> I encourage eveybody running from source to try the newdal:
>
> cd gluon
> cp sql.py sql.py.bak
> cpdal.py sal.py
>
> and restart web2py.
> Let me know what works or doe
I'm running the latest version, 1.75.4.
On Feb 23, 11:35 am, Thadeus Burgess wrote:
> What version of web2py are you running?
>
> What is the output of ``python web2py.py --help``
>
> -Thadeus
>
> On Tue, Feb 23, 2010 at 5:23 AM, Jon Romero wrote:
> > ust put a prin "Hello world!" inside the te
Hi Massimo,
I'm trying to deploy my web2py app on GAE and am repeatedly getting
the following error:
E 02-23 11:59AM 10.449
Your routes.py has a syntax error. Please fix it before you restart
web2py
E 02-23 11:59AM 10.474
: invalid syntax (, line 1)
Traceback (most recent call last):
File "/ba
Thanks Massimo, but this code has no effect. No ID is set to form.
SQLform is maybe the good solution.
On 23 fév, 07:50, mdipierro wrote:
> def register():
> form=auth.register()
> form['_id'] = 'my_form_id'
> return dict(form=form)
>
> On Feb 22, 2:09 pm, arnaud wrote:
>
>
>
> > Hi Mas
I am unable to replicate this.
-Thadeus
On Tue, Feb 23, 2010 at 1:59 PM, szimszon wrote:
> No change:
>
> --===2046819983==
> Content-Type: multipart/alternative;
> boundary="===1304182396=="
> MIME-Version: 1.0
>
> --===1304182396==
> Content-Type: text/p
No change:
--===2046819983==
Content-Type: multipart/alternative;
boundary="===1304182396=="
MIME-Version: 1.0
--===1304182396==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
On febr. 23, 20:47, Thadeus Burgess
Have you tried
mail.send(encoding='us-ascii') ?
-Thadeus
On Tue, Feb 23, 2010 at 1:33 PM, szimszon wrote:
> Okay. I see...
>
> The default is utf-8 and if I set it to utf-8 manually there is no
> difference. This is the generated mail content :( :
>
> --===1981490134==
> Conten
Okay. I see...
The default is utf-8 and if I set it to utf-8 manually there is no
difference. This is the generated mail content :( :
--===1981490134==
Content-Type: multipart/alternative;
boundary="===859693=="
MIME-Version: 1.0
--===859693==
Content
Thank you ,
this was sufficient
Regards,
Hamdy
--
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...@googlegroups.com.
Fo
That is unittest.main() trying to parse the arguments on the command
line. Web2py is passing the original command line (sys.argv) to the
unit test script, which sees the arguments for web2py.py and says "I
don't know what these mean". A quick hack to gluon/shell.py ("sys.argv
= sys.argv[4:]" on lin
On Tue, Feb 23, 2010 at 07:47, hamdy.a.farag wrote:
> can't get it sorry !!
>
> is not there a special form variable that distinguishes between
> insertion and update ?
When you show the form, the SQLFORM object is created with or without
the register/row param. When you submit the form, you shou
Your looking in the wrong place.
lines 172-182
On line 181 is the encoding.
http://code.google.com/p/web2py/source/browse/gluon/tools.py#181
def send(
self,
to,
subject='None',
message='None',
attachments=None,
cc=None,
bcc=None,
:)
well what can I say ? Thank you very much
but I know this :) I guess I didn't make question clear enough , sorry
SQLFORM, crud are both kinds of forms and forms differ in form.vars
that they hold
my question was about form.vars
i gues now that update fom should contain form.vars.record,
form.
Have you uploaded your app to gae and tested it there?
-wes
On Tue, Feb 23, 2010 at 10:57 AM, Miguel Goncalves
wrote:
> Anybody run into a similar issue?
> I cannot seem to figure it out. :(
>
> Thanks
> -Miguel
>
> On Mon, Feb 22, 2010 at 6:09 PM, Miguel wrote:
>>
>> Hi
>>
>> I implemented the
I got the blobstore service working with web2py for up to 50MB file
support on GAE. Have written up the steps I took here:
http://www.web2pyslices.com/main/slices/take_slice/63
- Alex
On Feb 22, 7:42 pm, what_ho wrote:
> I had not heard of the blobstore service before - thank you for
> pointing
I looked at Lukasz's code again and it was better, so I updated the
slice accordingly -- thanks once more Luksaz.
--
>>not if file is a open('filename','rb')
@Massimo, Please take another look.
def store(self, file, filename=None, path=None):
if not filename:
Hi All,
I have configured web2py to work with NGINX through FCGI, and
everything works fine except for routes.py.
I am using routes.py to redirect various sub domains to their
applications.
I have compared between the output of the request object in the case
of using CherryPy and in the case of
Mail has an encoding variable, unless you are running an older version
of web2py.
The code you posted is for the attachment class.
-Thadeus
On Tue, Feb 23, 2010 at 3:05 AM, szimszon wrote:
> tools.py │ 113589│febr 18 21.57
>
> class Mail(object):
> """
> Class for configuring an
oh, yes
I have looked at the code in the web2py_ajax.htm - ingenious and
simple !
Though it is a narrow topic of using of web2py_ajax, which is
optional, it concerns an important issue of the following to the web
standards.
The W3C validator swears hard on styles inside body. But the template
sys
This is the sniplet of the most recent (1.75.4) web2py's tools.py's
class Mail:
def __init__(self, server=None, sender=None, login=None,
tls=True):
"""
Main Mail object
Arguments::
server: SMTP server address in address:port notation
sender: send
On Feb 23, 2010, at 2:47 AM, hamdy.a.farag wrote:
> can't get it sorry !!
>
> is not there a special form variable that distinguishes between
> insertion and update ?
In SQLFORM: record= designates an insert.
--
You received this message because you are subscribed to the Google Groups
"web2py
Anybody run into a similar issue?
I cannot seem to figure it out. :(
Thanks
-Miguel
On Mon, Feb 22, 2010 at 6:09 PM, Miguel wrote:
> Hi
>
> I implemented the following function to delete an entry in a db:
>
> @auth.requires_login()
> def DeleteSite():
>msg = T("Cannot delete specified r
if I set ajax=True, that section keeps saying 'loading...' and nothing
loads.
response.render doesn't help either, it loads the default view.
On Feb 23, 12:25 pm, mdipierro wrote:
> I need to test it but I do not see if should not work.
>
> Can you try:
>
> LOAD(...,ajax=True)
>
> and or
>
> def
FYI
All Google groups seem to be having issues today.
Posts are being delayed, sometimes for hours.
--
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, sen
I got web2py working with blobstore, have written up details on the
steps I took here: http://www.web2pyslices.com/main/slices/take_slice/63
- Alex
On Feb 22, 7:42 pm, what_ho wrote:
> I had not heard of the blobstore service before - thank you for
> pointing that out. I agree - well worth consi
What version of web2py are you running?
What is the output of ``python web2py.py --help``
-Thadeus
On Tue, Feb 23, 2010 at 5:23 AM, Jon Romero wrote:
> ust put a prin "Hello world!" inside the test file, everything
> works ok. So, I suppose that this file tries to load AGAIN the web2py
> en
Can anyone share his experience installing and working with web2py on
nginx?
Which if the best install approach? fastcgi?
Any hints will be appreciated,
Brgds
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to
you can also set deletable to true so in the update form you will be
able to delete the form. i strongly recommend you watching the blog
screencast which will let you understand lots of things about web2py.
here is the url: http://omploader.org/vMzBoeg
On 23 Şubat, 16:06, DenesL wrote:
> It is t
It is the 'record' parameter in SQLFORM.
form=SQLFORM(table) # insert form
form=SQLFORM(table, record=r) # update form
On Feb 23, 5:47 am, "hamdy.a.farag" wrote:
> can't get it sorry !!
>
> is not there a special form variable that distinguishes between
> insertion and update ?
--
You received
If you pass a specific record to SQLFORM, it will generate an update
form for that record. If you don't pass a record, it will generate an
insert form.
On Feb 23, 4:47 am, "hamdy.a.farag" wrote:
> can't get it sorry !!
>
> is not there a special form variable that distinguishes between
> insertio
On Feb 23, 2010, at 2:22 AM, Massimo Di Pierro wrote:
> My bad. The encoder should be not
>
> encoder = (lambda x:cPickle.dumps(s)
>
> but
>
> encoder = (lambda x: "'%s'" % cPickle.dumps(s).replace("'", "''"))
>
> This is why the SQLCustomType API needs to be rewritten.
There must be a typo h
@Massimo, Please take another look...
> def store(self, file, filename=None, path=None):
> if not filename:
> filename = file.filename
'file' does not have an attribute 'filename'!
I think it should be 'file.name', but in any case it must surely be a
bug.
Thanks, D
--
I just took another look at Lukasz's code and it was better than
mine, so I updated the slice accordingly - thanks Lusasz :-)
--
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 unsu
Thanks! That was what I was looking for!
The problem now is that is you try to run the unit test the way it is
described here (http://www.web2py.com/AlterEgo/default/show/213 ), I
get this error:
> python web2py.py -S init -M -R applications/myapp/tests/default.py
option -S not recognized
Usage: w
just a thought...
if it turns out that datetime can't retain microseconds so as not to
break Calendar (and presumably user code out there) could a new field
type be added to Web2py? timestamp could store a full Python datetime
definition.
On Feb 21, 4:01 pm, mdipierro wrote:
> forgot about the
can't get it sorry !!
is not there a special form variable that distinguishes between
insertion and update ?
--
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
thanks for the turn of speed!
I now have this in db.py and it works a treat...
import pickle
from gluon.sql import SQLCustomType
serialize = SQLCustomType(type='text',
native='text',
encoder=(lambda x: '"%s"' %
pickle.dumps(x).replace('""', '""')
My bad. The encoder should be not
encoder = (lambda x:cPickle.dumps(s)
but
encoder = (lambda x: "'%s'" % cPickle.dumps(s).replace("'", "''"))
This is why the SQLCustomType API needs to be rewritten.
On Feb 23, 4:06 am, Carl wrote:
> print _insert() gets this...
>
> INSERT INTO puzzle(assessm
My bad. The encoder should be not
encoder = (lambda x:cPickle.dumps(s)
but
encoder = (lambda x: "'%s'" % cPickle.dumps(s).replace("'", "''"))
This is why the SQLCustomType API needs to be rewritten.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" g
While we are on the topic of Licensing, I found this bit of news
interesting:
Jacobsen vs Katzer in the JMRI case:
http://itmanagement.earthweb.com/features/article.php/3866316/Bruce-Perens-Inside-Open-Sources-Historic-Victory.htm
Quote
"
Part of the problem in this case was Jacobsen's choice of
print _insert() gets this...
INSERT INTO puzzle(assessment_ref, pia, pio, rung, score, answer,
version, cDate, mDate) VALUES ('AP5P', 'Which of these lines is a
*comment* in Python code?
.= # a comment
.- // a comment
.- * a comment', 'Which of these lines is a *comment* i
before the
... insert()
can you
print ..._insert(...)
this will tell us what is being sent to the db.
On Feb 23, 3:29 am, Carl wrote:
> I decided to go ahead and move my pickling to db.py with the following
> additions:
>
> import pickle
> from gluon.sql import SQLCustomType
> serialise
I decided to go ahead and move my pickling to db.py with the following
additions:
import pickle
from gluon.sql import SQLCustomType
serialise = SQLCustomType(type='text',
native='text',
encoder=(lambda x: pickle.dumps(x)),
tools.py │ 113589│febr 18 21.57
class Mail(object):
"""
Class for configuring and sending emails with alternative text /
html
body, multiple attachments and encryption support
Works with SMTP and Google App Engine.
"""
class Attachment(MIMEBase.MIMEBase):
""
You may have an old version
class Mail:
def __init__(
self,
payload,
filename=None,
content_id=None,
content_type=None,
encoding='utf-8')
On Feb 23, 2:23 am, szimszon wrote:
> I got:
>
> File "/home/szimszon/fejle
Yes this is allowed.
On Feb 22, 3:29 am, Miguel Lopes wrote:
> Hello Massimo,
>
> I wonder if web2py's license would allow for a SaaS kind of application?
>
> By SaaS I mean access to the site (web app) would be paid for. In practice
> end users would pay a fee for accessing the site functionalit
There are two issues
1) when form is submitted variables go in request.post_var and
request.vars not int request.get_vars
2)
when request.vars.DefaultTrue!=None => form.vars.defaultTrue==True
when request.vars.DefaultTrue==None => form.vars.defaultTrue==False
This is off but request.vars follows
Accepted. Can you please email it to me?
On Feb 23, 2:13 am, Iceberg wrote:
> Hi Massimo and Falko Krause,
>
> Since rev 143 (http://code.google.com/p/web2py/source/detail?r=45d5f2dab0
> ), the IS_IN_SET() accepts a new syntax:
> ids = ('id1', 'id2')
> labels = ('first label', 'second label')
mdipie...@cs.depaul.edu
make sure to sign the email so I know who to credit for.
On Feb 23, 2:20 am, szimszon wrote:
> Hi!
>
> I made a Hungarian translation file where can send it to?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post t
You must have an old version of web2py. Mail takes an encoding
argument
On Feb 23, 2:23 am, szimszon wrote:
> I got:
>
> File "/home/szimszon/fejlesztes/sajat/web2py/applications/raktar/
> models/db.py", line 43, in
> mail=Mail( encoding = "UTF-8" ) #
> mai
will look into this.
On Feb 23, 12:46 am, Kevin Bowling wrote:
> Yes,
>
> I have an app and did a 5 connection pool. It seems MySQL by default
> closes connections every 8 hours. Therefore, if nobody accesses the
> app overnight, it dies.
>
> I know other things that use connection pools like O
I need to test it but I do not see if should not work.
Can you try:
LOAD(...,ajax=True)
and or
def AP():
response.view = 'blank.html'
return response.render('default/
blank.html',message=db(db.Purchase_Invoice.id>0).select(db.Purchase_Invoice.Due.sum()))
On Feb 22, 12:09 pm, vihang
I got:
File "/home/szimszon/fejlesztes/sajat/web2py/applications/raktar/
models/db.py", line 43, in
mail=Mail( encoding = "UTF-8" ) #
mailer
TypeError: __init__() got an unexpected keyword argument 'encoding'
And I think my message is in utf8.
On febr. 23,
Hi!
I made a Hungarian translation file where can send it to?
--
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...@google
I will try fix but if I get a patch sooner it is better. Using len may
be slower than using count. there has to be a better solution.
-- Forwarded message --
From: Miguel Goncalves
Date: Feb 22, 7:28 pm
Subject: GAE delete() has subtle difference compared to native Web2Py
To: web
I am planning to make it multilanguage soon.
On Feb 22, 7:51 pm, "Zoom.Quiet" wrote:
> On Sun, Feb 21, 2010 at 20:58, Francisco Antonio Tapias Bravo
>
> wrote:
> > three weeks ago, I bought the book at lulu and now I've seen it
> > available fromhttp://web2py.com/book/. I think it has been a exc
1 - 100 of 101 matches
Mail list logo