Hi I'm traying tu run web2py in www.powweb.com hosting they say the
can run python 2.5 and I found a forum message that says web2py should
run. (http://forum.powweb.com/showthread.php?t=85385)
I tryied tu set it up with the "Shared Hosting with mod_python"
instruction from chater 11 en the web2py b
El Fri, 14 Oct 2011 18:33:45 -0700
Jonathan Lundell escribió:
> Makes sense to me. If you care to substitute 'web2py' for 'python'
> you can come to pretty much the same conclusion. The choice of web2py
> influences your architecture, of course, but it neither prevents nor
> guarantees scalabilit
Thank you for such a quick response.
I attempted to do just this from within my model file but got the
error KeyError: 'plugin_wiki_page'. My guess was that the table is
not defined before my own model runs so I can not set the permissions
there.
So I guess my question at this point is what the
You need to create a new group and this this group all crud
permissions (read,write,delete,select) for all plugin_wiki tables.
Than make all users members of the group.
On Oct 14, 8:49 pm, pinwc4 wrote:
> I am attempting to use plugin_wiki with an app I have been developing
> but am encountering
I am attempting to use plugin_wiki with an app I have been developing
but am encountering a problem. The application itself uses CRUD and I
have integrated CRUD with auth by adding the line crud.settings.auth =
auth in my model.
Unfortunately when I attempt to use plugin_wiki to edit pages I get
Say you have
db.define_table('mytable',Field('file','upload'))
step 1: add a blob
db.define_table('mytable',Field('file','upload',uploadfield='fileblob'),Field('fileblob','blob')
step 2 move the data in blob:
for row in db(db.mytable).select():
if row.file and not row.fileblob:
data
On Oct 14, 2011, at 6:28 PM, Massimo Di Pierro wrote:
> No.
> Web2py cannot run on 3 because of backward compatibility.
> There will be a web3py that runs on python 3 but it will not be just a
> port of web2py because we will take the occasion for a major overhaul.
Though if we had an overhauled
Makes sense to me. If you care to substitute 'web2py' for 'python' you can come
to pretty much the same conclusion. The choice of web2py influences your
architecture, of course, but it neither prevents nor guarantees scalability.
Does Python Scale?
Mitch Garnaat
10/14/11 10:45 AM
Elastician
I w
This is similar to what web2py/gluon/custom_import.py does.
On Oct 14, 8:13 pm, Bruno Rocha wrote:
> 2011/10/14 seongjoo
>
> > track_changes() is a very nice feature to have. It's somewhat tricky
> > to deal with python module import while in development. I would love
> > to have track_changes()
No.
Web2py cannot run on 3 because of backward compatibility.
There will be a web3py that runs on python 3 but it will not be just a
port of web2py because we will take the occasion for a major overhaul.
On Oct 14, 7:38 pm, Farsheed Ashouri
wrote:
> And probably we should consider porting web2p
2011/10/14 seongjoo
> track_changes() is a very nice feature to have. It's somewhat tricky
> to deal with python module import while in development. I would love
> to have track_changes() like dynamic reloading (reload only if there
> is some changes in the module) for basic python.
look this:
On Friday, October 14, 2011 8:54:23 PM UTC-4, rochacbruno wrote:
>
> On Fri, Oct 14, 2011 at 9:38 PM, Farsheed Ashouri
> wrote:
>
>> And probably we should consider porting web2py to python 3.
>
>
> That't not on the roadmap... in the future will be a web3py but not now.
> (may be web3py will be
track_changes() is a very nice feature to have. It's somewhat tricky
to deal with python module import while in development. I would love
to have track_changes() like dynamic reloading (reload only if there
is some changes in the module) for basic python.
On 10월15일, 오전5시59분, Bruno Rocha wrote:
>
On Fri, Oct 14, 2011 at 9:38 PM, Farsheed Ashouri <
farsheed.asho...@gmail.com> wrote:
> And probably we should consider porting web2py to python 3.
That't not on the roadmap... in the future will be a web3py but not now.
(may be web3py will be a completelly different project with the same goals
Oh, I think the original comment was from you. Thank you for the
clarification.
On 10월14일, 오후3시24분, Bruno Rocha wrote:
> It is still supported and should work, but it is deprecated and encouraged
> to use the new import system
>
> On Fri, Oct 14, 2011 at 3:22 AM, seongjoo wrote:
> > While solvin
And probably we should consider porting web2py to python 3.
On Saturday, October 15, 2011, Massimo Di Pierro wrote:
> I will.
>
> On Oct 14, 5:50 pm, Bruno Rocha >
> wrote:
> > > - group plugins in one place
> > > - deprecate web2py.com/applications and consolidate the good ones
> >
> > Take gith
Hi all,
I have the same requirement - moving a directory of upload files into
the database. I was thinking the way to do it would be to copy the
original table definition, then make the field changes to the table
definitions, then write a script to process all the file-based records
and post them
I will.
On Oct 14, 5:50 pm, Bruno Rocha wrote:
> > - group plugins in one place
> > - deprecate web2py.com/applications and consolidate the good ones
>
> Take github as an option for doing that!
yes, please close it and let us live in peace with each other
>
> - group plugins in one place
> - deprecate web2py.com/applications and consolidate the good ones
Take github as an option for doing that!
You mean the downloaded file is corrupted? Can you check the size?
On Oct 14, 5:33 pm, peter wrote:
> Okay this is where I am now.
>
> My example 'downloady' above works correctly in chrome but incorrectly
> in IE8. In IE8, the file appears to download correctly but will not
> unzip.
>
> Peter
>
You see why I wanted to close this thread? We are now discussing
something which is not web2py related.
I take full responsibility for opening it. We have achieved awareness.
This list has become a self conscious being.
Now I think we should close the discussion. At the same time I
encourage membe
Okay this is where I am now.
My example 'downloady' above works correctly in chrome but incorrectly
in IE8. In IE8, the file appears to download correctly but will not
unzip.
Peter
On Oct 14, 7:13 pm, Matt Broadstone wrote:
> On Fri, Oct 14, 2011 at 12:48 PM, Massimo Di
> Pierro wrote:
> > Wha
The community should write such road map and work to achieve it.
For now my priorities are:
- finish the book (4th ed)
- finish the web2py recipes book
- group plugins in one place
- deprecate web2py.com/applications and consolidate the good ones
On Oct 14, 3:55 pm, Gour wrote:
> On Wed, 5 Oct
I understand. The problem is that response.stream does not form for a
StringIO which is not a regular file. StringIO is in memory therefore
you have no reason for streaming.
filename = "%s-backup" % (time.strftime("%Y%m%d-%H%M"))
raw_data =
stream = cStringIO.StringIO()
I am trying to create a web app that allows you to control various devices
simultaneously. The simplified design is as follows:
- One main background process continuously polls a database table for any
device control requests
- Once it sees a request, it spawns two threads: send and
http://www.slideshare.net/martinpm/web2py-pensando-en-grande-9448110
slides from 13 to 20.
2011/10/14 Bruno Rocha
> the custom_importer is implemented in a transpatent way.
>
> you only have to use normal imports.
>
> from module import object
>
> this has adittional feature to track changes in
Antonio, Burno,
I don't have environment to test... please try !
This blog entry is also shared at web2py slice.
http://www.web2pyslices.com/slices/take_slice/145
On Oct 14, 4:28 pm, Bruno Rocha wrote:
> does work with openldap?
>
> http://zerp.ly/rochacbruno
> Em 14/10/2011 18:16, "António Ram
Do you ignore the sqlite-file?
Can you Post the content of you .gitignore
does work with openldap?
http://zerp.ly/rochacbruno
Em 14/10/2011 18:16, "António Ramos" escreveu:
> Does this approach works with Novell Directory?
>
> 2011/10/14 juanduke
>
>> look very very very simple! Great!
>>
>> You win a new Python Roll reader ;)
>>
>> thanks!
>>
>
>
Does this approach works with Novell Directory?
2011/10/14 juanduke
> look very very very simple! Great!
>
> You win a new Python Roll reader ;)
>
> thanks!
>
On Fri, 14 Oct 2011 17:46:54 -0300
Bruno Rocha wrote:
> Suffering, Slaughter, Starvation, Prejudice are bad for any kind of
> being and I know it is not a mental speculation.
Try to get hold of this book:
http://www.amazon.com/Maya-World-as-Virtual-Reality/dp/0963530909/ref=sr_1_1?ie=UTF8&qid=1
the custom_importer is implemented in a transpatent way.
you only have to use normal imports.
from module import object
this has adittional feature to track changes in modules.
track_changes()
I guess it is not doccumented yet.
http://zerp.ly/rochacbruno
Em 14/10/2011 14:45, "Vinicius Assef"
On Wed, 5 Oct 2011 10:46:01 -0700 (PDT)
Massimo Di Pierro
wrote:
> Instant-press is the de-fact CMS and I think it can be packaged with
> other apps (for example PyForum, pyStack, IssueTracker, etc) to build
> a suite of production tools perhaps using federated authentication.
What do you think
http://zerp.ly/rochacbruno
Em 14/10/2011 16:15, "Gour" escreveu:
>
> On Fri, 14 Oct 2011 11:27:20 -0300
> Bruno Rocha wrote:
>
> > sometime ago I have been contacted by an user of this list asking me
> > help for a project.
> >
> > After some messages, this user wanted me to develop an e-store fo
"We welcome people of any gender identity or expression, race,
ethnicity, size, nationality, sexual orientation, ability level,
religion, culture, subculture, and political opinion"
+1
for me that means that Johan has the right to include his signature,
as we accept him,
that speaks about himse
[note: If this questions should be asked elsewhere, please say so. I'm not
sure whether it's web2py-centric enough, but it is a problem I'm facing with
a web2py installation.]
I have an app with data stored in sqlite that is hosted on fluxflex. The
database contents change frequently based on u
On Fri, 14 Oct 2011 11:27:20 -0300
Bruno Rocha wrote:
> sometime ago I have been contacted by an user of this list asking me
> help for a project.
>
> After some messages, this user wanted me to develop an e-store for his
> client. A big company and this would be a great project (he would pay
>
On Fri, Oct 14, 2011 at 12:48 PM, Massimo Di Pierro
wrote:
> What browser?
That was chrome. The previously fix suggested by Brian works for me (thanks!).
Matt
>
> On Oct 14, 10:30 am, Matt Broadstone wrote:
>> On Fri, Oct 14, 2011 at 9:35 AM, peter wrote:
>> > If I now do exactly what I did one
Where is the nem import system documented or where can we know more
details about it?
On Fri, Oct 14, 2011 at 3:24 AM, Bruno Rocha wrote:
> It is still supported and should work, but it is deprecated and encouraged
> to use the new import system
>
> On Fri, Oct 14, 2011 at 3:22 AM, seongjoo wro
What browser?
On Oct 14, 10:30 am, Matt Broadstone wrote:
> On Fri, Oct 14, 2011 at 9:35 AM, peter wrote:
> > If I now do exactly what I did one month ago, there is now no error
> > with zip streaming. So maybe you have changed things in
> > response.stream since then.
>
> > Peter
>
> > On Oct
look very very very simple! Great!
You win a new Python Roll reader ;)
thanks!
Thanks for posting this!!
Hi list I need to do is display data in a sqlform.grid where I have a
query to a db with a left join.
This is the code
a = db.llamados
b = db.accountcode.with_alias ('b')
db.clientes.with_alias c = ('c')
db.rutas.with_alias r = ('r')
db.rutaproveedor.with_alias rp = ('rp')
form.accepts if (reques
On Fri, Oct 14, 2011 at 9:35 AM, peter wrote:
> If I now do exactly what I did one month ago, there is now no error
> with zip streaming. So maybe you have changed things in
> response.stream since then.
>
> Peter
>
> On Oct 14, 1:24 pm, peter wrote:
>> I sent from my wifes
>> emailhttp://groups
The number of posts suggests that a policy would be useful. Many have said
'live and let live' should be sufficient, but I personally find that
totally inadequate because it does not provide any definition at all and
simply leaves this topic without any conclusion.
I suggest we simply restr
There is only a brief explanation on official book
I'd like to share how I set it up at the company I work.
http://ochiba77.blogspot.com/2011/10/how-to-set-up-web2py-ldap-with-windows.html
This was a key feature I was looking over years to use web framework
in my intranet web site and web2py made
sometime ago I have been contacted by an user of this list asking me help
for a project.
After some messages, this user wanted me to develop an e-store for his
client. A big company and this would be a great project (he would pay a
large ammount of money for me)
so I discovered that it was a hunt
I agree. I personally feel that as I use the book and the online version
all the time, the least I could do is pay for it once per year. Of course
it is one of the world's best bargains when compared to the effort which
goes into producing it and the time which it can save me. It is a wonder
On Fri, 2011-10-14 at 10:00 -0400, Cameron wrote:
> Whatever documentation is used, consider a monetary contribution or
> book purchase to show appreciation for all the hours of fine work that
> contiually go into the documentation and the project.
>
> While there are many kinds of contributions
Whatever documentation is used, consider a monetary contribution or book
purchase to show appreciation for all the hours of fine work that contiually
go into the documentation and the project.
While there are many kinds of contributions (support, code, community, etc)
a monetary contribution has
On Fri, 14 Oct 2011 06:26:33 -0700 (PDT)
Massimo Di Pierro
wrote:
> On the other side you cannot be guaranteed other people like what they see
> and if they do not they may not help you.
If I, as vegetarian, would e.g. desist from helping someone else due to him/her
being meat eater, I'd consid
On Fri, 14 Oct 2011 10:29:43 -0300
Bruno Rocha wrote:
> http://zerp.ly/rochacbruno
I like it. ;)
Sincerely,
Gour
--
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)
http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
sign
On Thu, 2011-10-13 at 22:44 -0700, ma...@rockiger.com wrote:
> Hi Samuele,
>
>
> use wget:
>
>
> wget --recursive -l 1 --no-clobber --page-requisites --html-extension
> --convert-links --restrict-file-names=windows --domains web2py.com
> --no-parent http://www.web2py.com/book
Cool.. I tried pl
If I now do exactly what I did one month ago, there is now no error
with zip streaming. So maybe you have changed things in
response.stream since then.
Peter
On Oct 14, 1:24 pm, peter wrote:
> I sent from my wifes
> emailhttp://groups.google.com/group/web2py/browse_thread/thread/fe85dca9e4...
>
Hi web2py community.
My users complained that emails (sent through mail.send)
arrive dated by Jan 1st, 1970.
Quick investigation showed that it is due to localized date:
Date: пт, 14 окт 2011 13:16:56 +
I fixed it by dropping hand-made line and using one from email.utils
instead (there i
http://zerp.ly/rochacbruno
Em 14/10/2011 10:26, "Massimo Di Pierro"
escreveu:
> On the one side sharing information about yourself on the list is a
> good thing because other people will get to know you better. On the
> other side you cannot be guaranteed other people like what they see
> and if
On the one side sharing information about yourself on the list is a
good thing because other people will get to know you better. On the
other side you cannot be guaranteed other people like what they see
and if they do not they may not help you. For example consider of an
hypothetical user asking f
On 14 October 2011 14:49, Massimo Di Pierro wrote:
> My bad. Try this:
>
> def render_docs(ids,row):
> span = SPAN()
> for id in ids:
> doc = db.wbdocuments(id)
> if doc:
> span.append(A(doc.name,_href=URL('download',args=doc.file)))
> return span
>
> db.wbmaster.doc
I apologise for not reading the book properly. I have waisted many hours by
trying all sort of other stuff and in the end I could do just this:
import os
path = "/home/js/web2py/applications/uploads" # insert the path to the
directory of interest here
dirList = os.listdir(path)
for fname in dirL
My bad. Try this:
def render_docs(ids,row):
span = SPAN()
for id in ids:
doc = db.wbdocuments(id)
if doc:
span.append(A(doc.name,_href=URL('download',args=doc.file)))
return span
db.wbmaster.documents.represent = render_docs
On Oct 14, 5:35 am, Johann Spies w
I sent from my wifes email
http://groups.google.com/group/web2py/browse_thread/thread/fe85dca9e48c79ad
However with hindsight I think I did not give sufficient information
in my forum entry. I guess I was seeing if other people had had
problems with downloading zip files.
Today, I just tried the
Thanks!
On Oct 14, 1:44 am, "ma...@rockiger.com"
wrote:
> Hi Samuele,
>
> use wget:
>
> wget --recursive -l 1 --no-clobber --page-requisites --html-extension
> --convert-links --restrict-file-names=windows --domains web2py.com
> --no-parenthttp://www.web2py.com/book
>
> This way you get the whol
On 14 October 2011 12:31, Bruno Rocha wrote:
> note: you can do that on the server side. just need to put all the files
> directly under upload folder and loop throught them. So the store method can
> be used to create the record
>
I want to do that on the server side. What does this 'loop thro
On 14 October 2011 12:18, Bruno Rocha wrote:
> do you have firebug? splinter use same selectors of css (pure DOM)
>
Yes, I am using Firebug. I have tried again now and still have not got to a
working solution.
The form looks like this (screenshot attached if from the browser opened by
Splinter)
My 2p worth.
I run a couple of communities relating to software testing. One is
public (uktmf.com) one is private (testers-retreat.org) and this kind
of discussion arises from time to time, often about face to face
communications. People who are passionate DO get upset - it happens.
Testers are a
Maybe try onclick="parent.location='{{=URL('default', 'index')}}'"
On Friday, October 14, 2011 1:01:54 AM UTC-4, Saurabh S wrote:
>
>
> {{=form.custom.submit}}
> class="submit" type="reset" onclick="window.history.back()"
> value="Cancel">
>
>
>
> i want to replace on
On 14 October 2011 11:14, Massimo Di Pierro wrote:
> documents is a list of IDs so you have to turn each one of them into a
> link. You can try:
>
> db.wbmaster.documents.represent = lambda value, row: SPAN(*[row.name]+
> [A(v, _href = URL('download', args = v)) for v in value])
>
> Hope I make se
note: you can do that on the server side. just need to put all the files
directly under upload folder and loop throught them. So the store method can
be used to create the record.
http://zerp.ly/rochacbruno
Em 14/10/2011 07:18, "Bruno Rocha" escreveu:
> do you have firebug? splinter use same sel
do you have firebug? splinter use same selectors of css (pure DOM)
the id of field is something like 'tablename_fieldname'
http://zerp.ly/rochacbruno
Em 14/10/2011 07:02, "Johann Spies" escreveu:
> On 14 October 2011 01:53, Massimo Di Pierro wrote:
>
>> I have used mechanize and I was pretty im
http://zerp.ly/rochacbruno
Em 14/10/2011 07:02, "Johann Spies" escreveu:
> On 14 October 2011 01:53, Massimo Di Pierro wrote:
>
>> I have used mechanize and I was pretty impressed.
>> http://wwwsearch.sourceforge.net/mechanize/
>>
>>
> Thanks. I have spent about 2 hours to get working with mecha
On 14 October 2011 01:53, Massimo Di Pierro wrote:
> I have used mechanize and I was pretty impressed.
> http://wwwsearch.sourceforge.net/mechanize/
>
>
Thanks. I have spent about 2 hours to get working with mechanize and
Splinter but I am getting nowhere. The documentation gave a few examples
b
On Fri, 14 Oct 2011 02:09:14 -0700 (PDT)
Massimo Di Pierro
wrote:
> First of all I apologize. The expression "this thread is not going
> anywhere" was not appropriate. User input was valuable.
/me nods
> What I meant to say it that there was no consensus on a policy in this regard
> other tha
documents is a list of IDs so you have to turn each one of them into a
link. You can try:
db.wbmaster.documents.represent = lambda value, row: SPAN(*[row.name]+
[A(v, _href = URL('download', args = v)) for v in value])
Hope I make sense.
On Oct 14, 3:29 am, Johann Spies wrote:
> This table
>
>
First of all I apologize. The expression "this thread is not going
anywhere" was not appropriate. User input was valuable. What I meant
to say it that there was no consensus on a policy in this regard other
than stated, therefore statistically, I did not expect more comments
to change that.
One c
When it does not work can you zip and and send a small example?
perhaps open a ticket?
On Oct 14, 1:15 am, seongjoo wrote:
> When I am working with a module located in application/modules
> directory with development server with python 2.7, having the module's
> name with 'plugin_' prefix works f
+1
On Oct 14, 12:44 am, "ma...@rockiger.com"
wrote:
> Hi Samuele,
>
> use wget:
>
> wget --recursive -l 1 --no-clobber --page-requisites --html-extension
> --convert-links --restrict-file-names=windows --domains web2py.com
> --no-parenthttp://www.web2py.com/book
>
> This way you get the whole boo
there are two ways:
db.define_table('quantity',
Field('value','integer'))
db.define_table('item',
Field('unit_price','double'),
Field('quantity',db.quantity),
Field('total_price',
compute=lambda r:
r['unit_price']*db.quantity[r.quantity].value))
or
This table
db.define_table("wbdocuments",
Field("name", label = "Document name"),
Field("file", "upload", label = "Download"),
format = '%(name)s')
is linked in another table:
db.define_table('wbmaster',
Field('documents'
If you need the Apache configuration file send me an email and I'll mail
it to you.
Kenneth
Hi Lucas,
if's possible try Centos 6.
I just tried. Installed Apache with 'yum groupinstall "Web Server"',
disabled selinux (or configure it), unzipped web2py.zip src file,
configured Apache and 'a
Webdriver/Chromedriver is another alternative.
http://www.chromium.org/developers/testing/webdriver-for-chrome
mic
Il giorno 14/ott/2011 01:53, "Massimo Di Pierro"
ha scritto:
> I have used mechanize and I was pretty impressed.
> http://wwwsearch.sourceforge.net/mechanize/
>
> On Oct 13, 10:39
Hi Lucas,
if's possible try Centos 6.
I just tried. Installed Apache with 'yum groupinstall "Web Server"',
disabled selinux (or configure it), unzipped web2py.zip src file,
configured Apache and 'apachectl start'.
Voila it works.
Kenneth
CentOS 5 uses an old ver of python I believe but I
82 matches
Mail list logo