The problem with IOError, I can understand. As Graham says, if the
client closes the connection before the server responds or if the
server timesout the socket is closed and apache logs the IOError.
What I really do not understand is why some requests are handled by
multiple threads. web2py is agn
I cannot reproduce the problem. I use Chrome on Mac.
from your picture looks like these lines in base.css are being
ignored:
#layout { background: white; }
#header, #footer { color: white; background: url('images/header.png')
repeat #11;}
Any more insight would be helpful.Which css instructi
if you need to cite web2py please cite:
1) the Wiley book, or
2) this paper: http://www.computer.org/portal/web/csdl/doi/10.1109/MCSE.2010.97
or web2py.com of course.
On Jul 20, 2:56 am, mdipierro wrote:
> if you need to cite web2py please cite:
>
> 1) the Wiley book, or
> 2) this paper:http://www.computer.org/portal/web/csdl/doi/10.1109/MCSE.2010.97
Hello,
continuing on my selling tracker the next task is to make a rewards
selector. When a campaign is over and all sellings are recorded into
the tracker it is time to select rewards that the seller gets if he/
she sells enough.
For every EUR sold you get one point. If you get say 10.000 points
Hi ,
Just a word to say that I've faced the same problem. I just hit
refresh and it works fine. But I've faced this pb also with other site
with chrome. It's stupid but to my mind it seems the template render
before the css is refreshed. Each time I just had to refresh and
things got wright. Yet I
Thanks for the answer , but you have to tell me the post you are
mentioning . From weekend I WILL begin to learn cube2py , and some
sugestions for the newbies to begin with will help . If you provide me
a way to write down my experiences then i ll do it . It might be
interesting as a story """ wha
I think the "cube2py" name is going to disappear. It is just way to
pachage this plugin:
http://web2py.com/examples/static/web2py.plugin.wiki.w2p
You can apply this plugin to the new welcome app and basically you get
cube2py.
Register, login and click on [page] in the menu. That is all.
Massimo
On Jul 20, 5:17 pm, mdipierro wrote:
> The problem with IOError, I can understand. As Graham says, if the
> client closes the connection before the server responds or if the
> server timesout the socket is closed and apache logs the IOError.
That isn't what I said. If you see that message when
Thanks for the clarification.
@Michael, do you use the logging module? How?
On Jul 20, 4:00 am, Graham Dumpleton
wrote:
> On Jul 20, 5:17 pm, mdipierro wrote:
>
> > The problem with IOError, I can understand. As Graham says, if the
> > client closes the connection before the server responds or
to me this seems a css caching problem.
On Jul 20, 8:14 am, Jean-Guy wrote:
> To reproduce the problem I just have to open welcome app of web2py older
> build then, I got mess up older welcome app and reopen the newer welcome
> app...
>
> I attach a screenshot of older app with 1.80.1
>
> If I do
If you have not followed closes the latest developments, you should
watch this video:
http://www.vimeo.com/13485916
Massimo, what about custom fields, there is a way using a widget or I
have to change the model?
tks
2010/7/20 mdipierro :
> In the page/meta-code you can do
>
> response.meta.keywords='.'
> response.meta.description='' etc.
>
> they will find their way into the header of the page automati
response.meta.mycustomfield='bla bla bla'
On Jul 20, 9:38 am, Bruno Rocha wrote:
> Massimo, what about custom fields, there is a way using a widget or I
> have to change the model?
>
> tks
>
> 2010/7/20 mdipierro :
>
>
>
> > In the page/meta-code you can do
>
> > response.meta.keywords='.'
>
If there's already a way to write custom meta-fields which are placed
in the header of a page I'd much prefer that to a title field. At the
very least, if a lot of users want a default custom 'text' field it
should not be named Title and possibly have an option to hide i in the
editor. For the no
Massimo, I'm impressed!!! I've followed the discussions about the
markmin syntax but didn't quite understand how it was meant to fit in
the overall scheme of web2py development. It looks like you've taken
web2py up to whole new level. Congrats!
Now I need to watch the video again, download the
Javascript namespace collision? Just a thought ...
On Jul 19, 5:31 pm, mdipierro wrote:
> I do not understand this either. They are different cookies.
>
> On Jul 19, 3:14 pm, weheh wrote:
>
>
>
> > Aha! Found it! I'm using jQuery tabs and wanted to test out the
> > persistent tabs feature. That
Web2py is now in a league of its own.
This is the vision of web2py that has been in mind since the begininning,
all of the other stuff (DAL, templateing etc) is just the means to this end.
--
Thadeus
On Tue, Jul 20, 2010 at 10:40 AM, MikeEllis wrote:
> Massimo, I'm impressed!!! I've followe
Hi all,
somebody can post a little flexigrid tutorial or example ?
i want to use it but i can't find any example or instruction to use it
with web2py
thanks
I almost got it to work with IS_IN_DB
form_fields.append(Field('new_seller', 'integer',
requires=IS_IN_DB(db((db.tracker_person_product.troop_person ==
db.troop_person.id) \
&(db.tracker_person_product.troop == troop.id) \
&(db.tracker_person_product.campaign == campaig
IS_IN_DB now has a groupby. Give that a try.
On Jul 20, 12:00 pm, Kenneth wrote:
> I almost got it to work with IS_IN_DB
>
> form_fields.append(Field('new_seller', 'integer',
> requires=IS_IN_DB(db((db.tracker_person_product.troop_person ==
> db.troop_person.id) \
> &(db.tracker_
2010/7/20 mdipierro :
> response.meta.mycustomfield='bla bla bla'
I wasn't referring to custom fields in the header, It's about custom
fields in the wiki pages table.
if I need for example: create categories for pages, include more
information that are not part of the page body( and for that I am
Hello,
Can't understand what is the syntax to use the jqgrid plugin available
inside of plugin_wiki in "standard" web2py app (in controller).
Everything works in the cube, I would use the jqgrid of plugin_wiki in
my app since it seam that it will be actualize regularly in the future.
Thanks
I am not an experienced web developer but I have always valued the
output from validator.w3.org.
After being disappointed with the output I received when validating a
web2py app I built, I checked out http://www.web2py.com and it
reported even more errors:
http://validator.w3.org/check?uri=http%3
I am not an experienced web developer but I have always valued the
output from validator.w3.org.
After being disappointed with the output I received when validating a
web2py app I built, I checked out http://www.web2py.com and it
reported even more errors:
http://validator.w3.org/check?uri=http%3
On Jul 20, 2010, at 11:32 AM, Johann Spies wrote:
> I am not an experienced web developer but I have always valued the
> output from validator.w3.org.
>
> After being disappointed with the output I received when validating a
> web2py app I built, I checked out http://www.web2py.com and it
> repor
Hello,
Can't understand what is the syntax to use the jqgrid plugin available
inside of plugin_wiki in "standard" web2py app (in controller).
Everything works in the cube, I would use the jqgrid of plugin_wiki in
my app since it seam that it will be actualize regularly in the future.
Thanks.
Massimo:
I want to DZone this. Is there a web page outlining the new features?
On Jul 20, 7:22 am, mdipierro wrote:
> If you have not followed closes the latest developments, you should
> watch this video:
>
> http://www.vimeo.com/13485916
great screencast but you should really stop that
zz. :)
On 20 Temmuz, 17:22, mdipierro wrote:
> If you have not followed closes the latest developments, you should
> watch this video:
>
> http://www.vimeo.com/13485916
Thank you for the clarification.
My wsgi.conf has default values, so I have not set maximum-requests.
Perhaps there are settings there I should look into?
I still have free memory, so perhaps there is not a memory leak
issue. I'm also not sure how one would get memory leaks in web2py,
since isn'
I agree, the high-pitched squeal is maddening! My dog left the room
when the video started :)
On Jul 20, 4:07 pm, Mengu wrote:
> great screencast but you should really stop that
> zz. :)
>
> On 20 Temmuz, 17:22, mdipierro wrote:
>
> > If you have not followed closes the l
Let me also summarize the issues so far.
Originally:
- I got three types of error messages in apache logs
- Logging messages were often duplicated 2, 3, 5 times
- I got the IOError ticket a few times
- After a while the web serving slowed (some requests took up to a
minute) and then quit c
I just watched this video about plugin_wiki (it was posted to Hacker
News):
http://www.vimeo.com/13485916 (What is going on with web2py?)
It seems to me that vast number of dynamic web sites out there could
be done via web2py and plugin_wiki, and it makes me wonder who else is
doing their own app
Is there a way I can use javascript/web2py to make a self submitting
form that has some required fields, but also has a button, that, when
clicked, adds another field? Actually, I need it to add two fields,
in a way that works as a dictionary = one form's content acts as the
way to call the other
I will take a patch. ;-)
We went though this for the old welcome app and we passed.
On Jul 20, 1:52 pm, Jonathan Lundell wrote:
> On Jul 20, 2010, at 11:32 AM, Johann Spies wrote:
>
> > I am not an experienced web developer but I have always valued the
> > output from validator.w3.org.
>
> > Afte
if you have the latest plugin_wiki, in any view
{{=plugin_wiki.widget('jqgrid',tablename)}}
or
{{=plugin_wiki.widget('jqgrid',tablename,fieldname,fieldvalue)}}
to select all records where fieldname==fieldvalue. There are other
optional arguments
columns='id,field1,field2,etc...'
col_widths='23
No. I will try make one... these things are still developing.
On Jul 20, 3:29 pm, mikech wrote:
> Massimo:
> I want to DZone this. Is there a web page outlining the new features?
>
> On Jul 20, 7:22 am, mdipierro wrote:
>
> > If you have not followed closes the latest developments, you should
>
I wish I knew how. I do not know where the z comes from.
On Jul 20, 4:07 pm, Mengu wrote:
> great screencast but you should really stop that
> zz. :)
>
> On 20 Temmuz, 17:22, mdipierro wrote:
>
> > If you have not followed closes the latest developments, you should
>
Can you comment on memory usage?
I have see this once: "after a while web serving slows"
it appeared to be due to a memory leak somewhere (did not experience
it with web2py+Rocket but only in web2py+mod_wsgi+apache).
I googled it and I found Django was having the same problem on some
hosts:
http
I posted this because I hope for comments to determine a roadmap. I
think we need some integration with plugin_layouts (http://web2py.com/
layouts). We may need a few more widgets. We need to make sure we have
a consistent syntax and sufficient customization capabilities.
I guess people need to tr
This is a rudimentary example but it should get you started:
def formtest():
form = SQLFORM.factory(Field('first'),Field('second'))
submitrow = form.element(_type='submit').parent
newrow = TR(LABEL('third'),INPUT(_type='text',_name='third'))
addfields = INPUT(_type='button',_value=
@Jon,
Notice that HTTP(304) call, that doesn't read response.headers, it
only takes in what headers you give it. In this case it's none. Flip
over to http.py line 77...there's your answer.
@Iceberg,
As I've noted above, this is a web2py issue. I'm not going to have
rocket remove headers that
On Jul 20, 2010, at 4:27 PM, Timbo wrote:
> @Jon,
>
> Notice that HTTP(304) call, that doesn't read response.headers, it
> only takes in what headers you give it. In this case it's none. Flip
> over to http.py line 77...there's your answer.
Ah, right. We shouldn't be adding content-type header
On Jul 21, 7:17 am, Michael Toomim wrote:
> Thank you for the clarification.
>
> My wsgi.conf has default values, so I have not set maximum-requests.
> Perhaps there are settings there I should look into?
>
> I still have free memory, so perhaps there is not a memory leak
> issue. I'm also not
On Jul 21, 8:18 am, mdipierro wrote:
> Can you comment on memory usage?
>
> I have see this once: "after a while web serving slows"
> it appeared to be due to a memory leak somewhere (did not experience
> it with web2py+Rocket but only in web2py+mod_wsgi+apache).
>
> I googled it and I found Dja
The solution: I switched to Flask.
And the problems dissipated completely, without modifying any configuration
of the web server.
I would not, and will not use web2py for any application that is mission
critical. For personal sites, or quick projects that I know won't receive
that much attention,
Odd. I do not hear any when I watched it.
--
Thadeus
On Tue, Jul 20, 2010 at 5:08 PM, mdipierro wrote:
> I wish I knew how. I do not know where the z comes from.
>
> On Jul 20, 4:07 pm, Mengu wrote:
> > great screencast but you should really stop that
> > zz.
It sounds like a cooling fan to me. Try an external microphone and
see if the fan noise persists?
On Jul 20, 6:08 pm, mdipierro wrote:
> I wish I knew how. I do not know where the z comes from.
>
> On Jul 20, 4:07 pm, Mengu wrote:
>
>
>
>
>
>
>
> > great screencast but you should really sto
All,
It's been a few months since I've looked at the sparklines web2py
slice (http://web2pyslices.com/main/slices/versions/79/169 or
http://groups.google.com/group/web2py/browse_thread/thread/2a6a7b2cbfe97278/).
It seems that the latest stable and dev builds break the slice because
the controller
Hello,
I try to add two ajax forms into a page with something like this:
{{=LOAD(url=URL(r=request,f='add_person.load'), ajax=True)}}
{{=LOAD(url=URL(r=request,f='add_image.load'), ajax=True)}}
If the form has errors, the error messages are displayed after a
second submit. So, I need to click tw
Addition: only the first form has the problem.
On Jul 20, 10:10 pm, ionel wrote:
> Hello,
>
> I try to add two ajax forms into a page with something like this:
>
> {{=LOAD(url=URL(r=request,f='add_person.load'), ajax=True)}}
> {{=LOAD(url=URL(r=request,f='add_image.load'), ajax=True)}}
>
> If the
Very interesting demo. Lots to absorb. Unfortunately, I hear the audio
buzz, too, and agree that it's distracting.
THANK YOU ALL SO MUCH for your help!
I just learned a LOT. It looks like resource consumption was the
problem, because things are doing better on the bigger machine and
scaled down code. I've also added the MaxRequestsPerChild directive.
I am soo happy to have this web server working, and v
On Jul 21, 1:03 pm, Michael Toomim wrote:
> THANK YOU ALL SO MUCH for your help!
>
> I just learned a LOT. It looks like resource consumption was the
> problem, because things are doing better on the bigger machine and
> scaled down code. I've also added the MaxRequestsPerChild directive.
Are
I'm using daemon mode... I didn't realize that the directive won't
matter in daemon mode.
Yes, I think I probably will run into the problem again when I get
more usage. However, I'm still not convinced it's a memory problem,
because I had 30mb free on my 740mb machine when I was having the
proble
On Jul 21, 1:41 pm, Michael Toomim wrote:
> I'm using daemon mode... I didn't realize that the directive won't
> matter in daemon mode.
>
> Yes, I think I probably will run into the problem again when I get
> more usage. However, I'm still not convinced it's a memory problem,
> because I had 30
I just realized why I did not hear it,
I was listening on one of those headsets that have a built-in inline audio
card, so it was performing a filter and it took that noise out. Playing
through my PC speakers and the noise is there
--
Thadeus
On Tue, Jul 20, 2010 at 9:59 PM, weheh wrote:
>
Maybe a custom, simple and flexible solution is enought,
http://code.google.com/p/pysimplesoap/wiki/Web2Py
I commented this some time ago (client side), but now looking at the
server side, just developed some experimental code with web2py
extending Service infrastructure.
I posted further explan
views/item/index.html:
{{extend 'layout.html'}}
This is the item/index.html template
{{=LOAD(request.controller,'p_view_list.load')}}
views/p_view_list.html:
{{extend 'layout.html'}}
...
controllers/item.py:
def p_view_list():
for k,v in request.vars.items():
if k.startswith('need_'
59 matches
Mail list logo