Thanks!
On 14 April 2014 02:44, Brian M wrote:
> Great job niphlod!
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this m
db.define_table(...,
Field('image', 'upload', autodelete=True),
Field('thumbnail', 'upload', autodelete=True, compute=create_thumbnail),
...)
This is not working because on _before_update/_before_delete callbacks
thumbnail is not one of the upload_fields.
I am talking about delete_uploaded_f
Are you saying I have to update the price field, regardless of whether it
has changed or not?? That's not very logical.
On Sunday, 13 April 2014 18:39:51 UTC-4, Anthony wrote:
>
> I believe you have to provide the price field in your update as well.
--
Resources:
- http://web2py.com
- http://w
I just discovered a related issue:
With session in memcache: Accessing a page repeatedly without being logged
in leads to a changing session_id on every request. This destroys the
purpose of a session_id completely... As far as I can see this is caused by
_try_store_in_db() which fails to lookup
Hi Tim,
Any idea how long it will take for caches to clear? The problem still
persists :-|
On Friday, 11 April 2014 06:40:58 UTC+2, Tim Richardson wrote:
>
> it;s been fixed ... just waiting for caches to clear, I think.
>
> On Friday, 11 April 2014 00:03:39 UTC+10, DenesL wrote:
>>
>>
>> Tru
Thanks Niphlod, this is great!
On Sunday, 13 April 2014 16:43:26 UTC+1, Massimo Di Pierro wrote:
>
> Great news! We are finally moving to Sphinx.
>
> http://web2py.readthedocs.org/en/latest/
>
> Kudos to Simone (niphlod) who single handedly ported all the docstrings
> and made this possible.
>
Yes, otherwise the DAL would have to do a db query to retrieve all the
records being updated and issue a separate update for each record (since
they may not all have the same price value and therefore might require
different updated values in the computed field).
On Monday, April 14, 2014 7:09:
Massimo Di Pierro
writes:
> Great news! We are finally moving to Sphinx.
Very nice!!
Does it mean the web2py book will also move to reST/Sphinx and/or more
support for using reST within web2py?
Sincerely,
Gour
--
One who restrains his senses, keeping them under full control,
and fixes his
Thanks Derek
I changed the driver to psycopg2 and since then I got no problems. Mariano
Reingart gave this advice. I would recommend that everybody use psycopg2 in
deployment.
Thanks.
Em sábado, 5 de abril de 2014 10h13min06s UTC-3, Mobility escreveu:
>
>
> Versionweb2py™Version 2.9.5-stable+t
On 13/04/14 12:43, Massimo Di Pierro wrote:
Great news! We are finally moving to Sphinx.
http://web2py.readthedocs.org/en/latest/
Kudos to Simone (niphlod) who single handedly ported all the docstrings
and made this possible.
Thank you Simone!
Awesome! This is very useful, Thank you niphol
It's only me?
See a few lines below this anchor:
http://www.web2py.com/books/default/chapter/29/09/access-control#Renaming-Auth-tables
mic
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2p
Nope, I have also reported it:
https://groups.google.com/forum/?fromgroups#!topic/web2py/0hEVdXMY6BE
I think Tim did try to fix it, but the cache seems to be the problem now.
On Monday, 14 April 2014 14:59:36 UTC+2, Michele Comitini wrote:
>
> It's only me?
>
> See a few lines below this ancho
thank you Seeker.
The cache must have some problem if it taking so long.
2014-04-14 15:04 GMT+02:00 Seeker :
> Nope, I have also reported it:
> https://groups.google.com/forum/?fromgroups#!topic/web2py/0hEVdXMY6BE
>
> I think Tim did try to fix it, but the cache seems to be the problem now.
>
>
>
Now I see your POV. You are speaking about browser's scrollbars and not
about div content area scrollbars. The "overflow:auto" setting has been
applied to the container div of the result table for aestethic reasons
because such div should have a width of 80% but there is a bug in the code.
I wi
And what about if I do want to create my own edit form from scratch? How do
I get the 'edit' button on the SQLFORM.grid to link to my custom form?
On Friday, February 21, 2014 2:32:25 PM UTC+1, Anthony wrote:
>
> You can also customize the edit form created by the grid in the usual ways
> (witho
matplotlib has two API. A stateless and a statefull.
The statefull mode is called matplotlib.pyplot and is it designed for some
compatibility with Matlab. Most of the examples posted are with pyplot. The
problem is that pyplot does not work for multithreaded web apps because the
state is in a g
Please open a ticket about this. Is this cachedb specific? Which page did
you try it with?
On Monday, 14 April 2014 06:16:37 UTC-5, Sebastian Cambeo wrote:
>
> I just discovered a related issue:
> With session in memcache: Accessing a page repeatedly without being logged
> in leads to a changing
Hello and thank you very much for your answers.
stifan:
I thought that when you set migrate=False the content of db.py file was not
executed, but obviously I was wrong. So, if I put the CREATE INDEX in a
controller, the performance should be much better?
pallav:
Thank you very much, I will t
Use unicorn!!
Phusion is more work...
You can have a look in contrib there is a scrip that help deploy redmine
beside web2py with unicorn, so you can derive something for you need from
it. It works with 12.04.
Richard
On Sun, Apr 13, 2014 at 4:52 PM, Krzysztof Socha wrote:
> I am trying to s
Simone BIG THANK YOU!!
Richard
On Mon, Apr 14, 2014 at 8:50 AM, Daniel Aguayo wrote:
> On 13/04/14 12:43, Massimo Di Pierro wrote:
>
>> Great news! We are finally moving to Sphinx.
>>
>> http://web2py.readthedocs.org/en/latest/
>>
>> Kudos to Simone (niphlod) who single handedly ported all the
Sonovagun, you're right! But that rather diminishes the usefulness of
'compute', IMO.
On Monday, 14 April 2014 08:15:14 UTC-4, Anthony wrote:
>
> Yes, otherwise the DAL would have to do a db query to retrieve all the
> records being updated and issue a separate update for each record (since
>
Hey Guys,
i have a few problems with the various view possibilities. The reference
manual gives this piece of code as an example for the in the view:
[code]
>>> print SELECT('', XML('world'), _class='test', _id=0)
world [/code]
when i just copy this into a view, nothing happens. Whic
Sorry, never mind: I was on 2.9.4 and tried to reproduce it in latest trunk
(Apparently it has been fixed since last month)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (R
On Monday, April 14, 2014 11:10:28 AM UTC-4, horridohobbyist wrote:
>
> Sonovagun, you're right! But that rather diminishes the usefulness of
> 'compute', IMO.
>
Yes, though I suppose the alternative would add a lot of complexity (and
potentially inefficiency). Maybe at least when .update_record
Sorry again the error is still there:
I opened an issue:
https://code.google.com/p/web2py/issues/detail?id=1922&thanks=1922&ts=1397493893
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py
Bravo Niphlod! Looks really slick! besides being useful ;-)
2014-04-14 16:00 GMT+02:00 Richard Vézina :
> Simone BIG THANK YOU!!
>
> Richard
>
>
> On Mon, Apr 14, 2014 at 8:50 AM, Daniel Aguayo
> wrote:
>>
>> On 13/04/14 12:43, Massimo Di Pierro wrote:
>>>
>>> Great news! We are finally moving t
I've done this 100 times.
service httpd restart
and it works fine
I am running web2py with python 2.7 and using the wsgihandler.py with
apache.
I've checked the error logs and it says
[warn] Init: Name-based SSL virtual hosts only work for clients with TLS
server name indication support (RFC
Found out what the problem was. I upgraded my OpenSSL and only had
permissions to access OpenSSL for apache. I installed it as root and wsgi
tries to access one of the files in the OpenSSL folder (which was owned by
root).
Once I changed ownership back to apache it started working again. Howeve
El Mon, 14 Apr 2014 11:28:25 -0700 (PDT)
LoveWeb2py escribió:
> I've done this 100 times.
>
> service httpd restart
> and it works fine
>
> I am running web2py with python 2.7 and using the wsgihandler.py with
> apache.
>
> I've checked the error logs and it says
> [warn] Init: Name-based SS
Hello,
I had pretty weird issue with commented block of code. I was in the process
to migrate to 2.9.5 and I had code in controllers file that were not
executing at all. I have been searching for wild and finally discover that
I had leave an opening triple double quote in dash commented block o
Thank you Niphlod.
You have done Yet Another Good Thing.
On Sunday, April 13, 2014 11:43:26 AM UTC-4, Massimo Di Pierro wrote:
>
> Great news! We are finally moving to Sphinx.
>
> http://web2py.readthedocs.org/en/latest/
>
> Kudos to Simone (niphlod) who single handedly ported all the docstrings
the the migrate settings is about the define_table affect on the database
side (migrate = True) and on the *.table files (fake_migrate=True).
there will be a little performance impact, but in terms of efficincy code
(because you only need to execute 1 time for create index). So let say
about st
Yes agree I did modify my own appadmin copy but I guess don't see why
anyone would want the overflow auto in this context. I understand it's for
aesthetic but from my POV it's appadmin so this is not end users using it.
My thinking was that if I'm annoyed by it others would be too and we shoul
Oks, it's clear to me now. I'll change this. Thank you very much again!
On Monday, April 14, 2014 10:47:49 PM UTC+2, 黄祥 wrote:
>
> the the migrate settings is about the define_table affect on the database
> side (migrate = True) and on the *.table files (fake_migrate=True).
> there will be a lit
Please open a ticket about this. I see the problem.
On Monday, 14 April 2014 14:45:07 UTC-5, Richard wrote:
>
> Hello,
>
> I had pretty weird issue with commented block of code. I was in the
> process to migrate to 2.9.5 and I had code in controllers file that were
> not executing at all. I have
Thank you very much Massimo. I will check if NetworkX can draw graphs
without pyplot. Othercase
I will have to draw my graphs from scratch using Figure, Axis, etc.
On Monday, April 14, 2014 3:28:43 PM UTC+2, Massimo Di Pierro wrote:
>
> matplotlib has two API. A stateless and a statefull.
>
> Th
I am doing a quite complicated sql select with selects nested, which I do
not know how to create using DAL, so I decided to go with executesql with
fields specified. My questions is once I get back results of type, is there a way to create a SQLFORM.grid with them?
I am able to use SQLTABLE, bu
In other words, I am looking for code like this:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from gluon import current
from gluon.dal import DAL, Field
db = DAL('sqlite://storage.db', lazy_tables=True)
db.define_table('mytable', Field('myfield'))
rows = fn_that_returns_a_list_or_Rows_object
I have a ssh code using javascript. I would like to know whether ssh for a
remote server need to be done in view or controller ? I am using jquery
because, I want to add remote machine to table and turn link into green /
red based on remote server being active. I am completely new to web2py and
On 14 April 2014 18:35, Yufei Li wrote:
I am doing a quite complicated sql select with selects nested, which I do
> not know how to create using DAL, so I decided to go with executesql with
> fields specified. My questions is once I get back results of 'gluon.dal.Rows'> type, is there a way to c
40 matches
Mail list logo