it's not a major change. You're the one writing programs that are relying
on the default serialization instead of defining your own.
Il giorno giovedì 20 giugno 2013 23:14:16 UTC+2, Richard ha scritto:
Can someone point me out change log... I didn't see this one...
mathjax is not an option because it is JS and cannont be embedded in PDF.
You can, in principle, generate images using google and and embed those.
The alignment and font sizes will be a nightmare.
On Thursday, 20 June 2013 16:35:04 UTC-5, peibol wrote:
Could it be feasible to use mathjax to
Hi,
I am trying out webapp development using web2py and need your direction in
finding a solution
I use links to display a check-box in sqlform.grid and in the form I have a
button.
links = [dict(header='Actioned',body=lambda row:
INPUT(_name='action',_type='checkbox'))]
Once I click the
Hello All
In my application I have a cron that runs every 5 minutes and performs a
task. Basically it checks for a entry in a database table and then performs
the task.
Now I want that whenever there is an entry made in a particular database
table a task should be fired automatically
I have got a similar error:
Unable to download because:
'results'
And the tweets have been no longer loaded for several days.
I have tried your solutions but they didn't work
If you can help...
El viernes, 31 de mayo de 2013 05:39:10 UTC+2, 黄祥 escribió:
hi,
just want to report that web2py
did you mean you got an error :
Unable to download because:
local variable 'r' referenced before assignment
best regards
On Friday, June 21, 2013 3:39:53 PM UTC+7, Jacinto Parga wrote:
I have got a similar error:
Unable to download because:
'results'
And the tweets have been no longer
yep. hook up on the _after_insert and do a scheduler.queue_task()
Il giorno venerdì 21 giugno 2013 09:32:11 UTC+2, Apoorve Mohan ha scritto:
Hello All
In my application I have a cron that runs every 5 minutes and performs a
task. Basically it checks for a entry in a database table and then
+1 on this one.
Social login support is a huge pain on the ass. The social network
histrionics change their APIs every month.
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from
Hi list,
I create a form like this:
form = SQLFORM(db.table,
int(request.args[0]),
readonly=True,
showid=True,
)
return dict(form=form)
and render this later with {{=form}}.
Now the rendered form contains a simple
I think it is not in the change log and it is not acceptable
Hi Richard. Why it is not acceptable? Did the change break a documented
feature? How?
Perhaps you want to post an issue in the project page
(code.google.com/p/web2py/issues). If you do, please post as much
information you
Please open a ticket about this and we will look into it asap.
On Wednesday, 19 June 2013 14:48:35 UTC-5, Georgess wrote:
Hi all,
For example original url is /init/service/index?service_code=sf_vod
but for login form it became as _next =
/init/service/index%3Fservice_code%3Dsf_vod
'?'
Thank you again for reporting this. there is a possible solution in trunk,
proposed by Jonathan. Would you be able to check it?
On Wednesday, 19 June 2013 17:55:56 UTC-5, Aurelio Tinio wrote:
Hi Massimo,
We've been able to track down the issue which appeared like a memory
leak. It seems
I may be able to attend EuroPython on July 5. We could organize a web2py
Open Space. Is anybody here attending?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
who knows some of us may need the references in this latter one day.
http://gawker.com/this-is-how-you-respond-to-an-unjust-cease-and-desist-l-514155395
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and
I think I found a solution by myself;
form = SQLFORM(query,
id,
readonly=True,
showid=False)
c = form.components[0]
c.attributes[_style] = width:80%
c.add_class(table xtable-bordered table-condensed)
return form
--
---
You received this message
+1
You can also replace
c = form.components[0]
with
c = form.element('table')
On Friday, 21 June 2013 07:04:45 UTC-5, Holger Schurig wrote:
I think I found a solution by myself;
form = SQLFORM(query,
id,
readonly=True,
showid=False)
c =
As explain Simone in case of passing id to javascript it requires
refactoring of app... Also it brake silently a javascript plugin integrated
manually as a field widget (not a custom widget). I gues I should have a
made some test to cover that, but I am still exploring how the best way to
manage
Here is how I'm handling it:
grid = SQLFORM.grid(query,fields=fields,create=False,editable=False,
details=False,deletable=False,csv=False,
searchable=False, orderby=orderby,
selectable=lambda
Though to be fair, the documentation simply says that id fields are
auto-incrementing *integers*, and for many years, they were just int's on
the web2py side, so it probably wasn't reasonable to expect everyone to do
int(row.id) everywhere instead of just row.id in anticipation of some
It was motivated bit the need to support bigint ID fields. This is for
relational databases but, most importantly for non-relational ones. For
example in mongodb the ID is a long UUID so we must map that into a ID. It
comes up a long integer.
Yet using int instead of long was a problem also
I can manage this no problem, my only concern is how it could have pass
under the radar like that. I am less active on mailing-list the last week
so I don't read much email... But if you search the mailing-list, you will
get almost notting about long...
Richard
On Fri, Jun 21, 2013 at 11:14 AM,
Further code review lead me to the conclusion that the issue is not because
compute don't get all it needs to compute... I mean I get the row and since
it is a update every field are available in the row and I still need to
redefine the compute field...
Should computed field computes on
Yes, I've tested it with the google chart api and it works. I plan to use
it with a template for pypdf to minimize alignment issues.
Although it would be better if we could just render the html produced by
mathajax (or similar) but server side and then use it.
El viernes, 21 de junio de 2013
Hi Jim,
The selectable works perfectly but the reason I am using links is I might
require couple of more additional columns containing check-box.
So links could be used to add more colums
links = [dict(header='field1',body=lambda row:
INPUT(_name='action',_type='checkbox')) ,
I am using web2py admin served by nginx and uwsgi. When I access the
server from the same LAN, I can edit files with no problem. When I use an
ssh tunnel to proxy into my LAN from a remote location, I can login to the
admin app and I can view files, but when I try to edit them, I get nothing
from web2py's standpoint (the web one) it only matters where requests are
from, not the user who's doing those.
If you have a working admin on the local LAN and you can access but not
edit from outside your LAN, than you're doing the ssh tunnel wrong.
PS: did you just tried to do a ctrl+R to
Hi Ricardo,
Thank you very much for posting the application. Here are a few questions
that I have regarding this:
1. Do I need to put the route.py in the root directory of my app?
2. I tried by putting the routes.py in the rood directory of iochat.
run_io_chat.py was also created in the same
But in Python, isn't an int's size unlimited? I didn't think it was mapped
to a platform int...
On Friday, June 21, 2013 8:19:20 AM UTC-7, Massimo Di Pierro wrote:
It was motivated bit the need to support bigint ID fields. This is for
relational databases but, most importantly for
I have to use 'rrule' part of python-dateutil library see here
http://labix.org/python-dateutilhttp://labix.org/python-dateutil#head-470fa22b2db72000d7abe698a5783a46b0731b57
But
I cant get it to work under web2py. It freezes the Rocket server. Its
working fine as standalone in Python, but in
very good :)
2013/6/21 Massimo Di Pierro massimo.dipie...@gmail.com
who knows some of us may need the references in this latter one day.
http://gawker.com/this-is-how-you-respond-to-an-unjust-cease-and-desist-l-514155395
--
---
You received this message because you are subscribed to
Welcome and thank you for quickly posting the solution. I've gone ahead and
applied the following changeset:
https://github.com/web2py/web2py/commit/1509559e78e858282a7726c6f6cfc553952823e2
to our web2py copy and it looks to have solved the problem. Woot!
On Friday, June 21, 2013 4:48:49 AM
I use dateutil extensively but not rrule().
-Jim
On Friday, June 21, 2013 1:52:16 PM UTC-5, David Marko wrote:
I have to use 'rrule' part of python-dateutil library see here
http://labix.org/python-dateutilhttp://labix.org/python-dateutil#head-470fa22b2db72000d7abe698a5783a46b0731b57
But
Sorry, misunderstood what the problem was.
On Fri, Jun 21, 2013 at 10:50 AM, PremKumar KrishnaKumar
premkumar.krishnaku...@gmail.com wrote:
Hi Jim,
The selectable works perfectly but the reason I am using links is I might
require couple of more additional columns containing check-box.
So
timedeltas are fine, but I need rrules, which contains great functionality
...
Dne pátek, 21. června 2013 22:12:53 UTC+2 Jim S napsal(a):
I use dateutil extensively but not rrule().
-Jim
On Friday, June 21, 2013 1:52:16 PM UTC-5, David Marko wrote:
I have to use 'rrule' part of
It should. Can you provide a concrete example?
On Friday, 21 June 2013 10:31:45 UTC-5, Richard wrote:
Further code review lead me to the conclusion that the issue is not
because compute don't get all it needs to compute... I mean I get the row
and since it is a update every field are
:D
Looks good! I'll have to check out trunk and try it out.
Thanks for the answers (makes me feel like I'm getting pretty good with
web2py) and especially for the code!
-C
On Thursday, 20 June 2013 22:08:27 UTC-5, Anthony wrote:
FYI, see possible solution here:
import sys
sys.maxint
9223372036854775807
int(sys.maxint +1)
9223372036854775808L
int(sys.maxint)
9223372036854775807
On Friday, June 21, 2013 7:58:46 PM UTC+2, Derek wrote:
But in Python, isn't an int's size unlimited? I didn't think it was mapped
to a platform int...
On Friday, June
Hi,
I have a jQuery script in a view. It has a bug as it's not working (textbox
always shown). I think my syntax in the if statement is wrong.. here it is-
script
jQuery(document).ready(
function()
{
if( jQuery('#cnd').prop('checked', true) );
{
jQuery('#nnd').show();
}
Hi Marco,
Did you ever resolve this? Did you ever improve the performance of your
server?
Any insights you could share?
Thanks,
On Thursday, 11 April 2013 08:02:14 UTC-7, Marco Tulio wrote:
2013/4/11 LightDot ligh...@gmail.com javascript:
Are you using db connection pooling and do
No problem. For this interested, in trunk, you can now do:
rows = db(query).select()
repr_row = rows.repr(0)
The .repr() method of the Rows object takes an index and returns a copy of
the indexed row, but for fields with represent attributes, the
represent function is applied to the value in
Thanks!
On Thursday, June 20, 2013 4:34:23 PM UTC-7, Anthony wrote:
The record ID isn't known until after the insert, so I don't think it can
be used in a computed field. Perhaps you could use .after_insert and
.after_update callbacks to do this.
Anthony
On Thursday, June 20, 2013
SO, I have this:
SIZES = [x*0.05 for x in range(0,int(25/0.05))]
db.define_table('product',
Field('series', 'reference series'),
Field('material', 'reference material'),
Field('finish', 'reference finish'),
Field('size1'),
Field('size2'))
I'll try this. I hope it works. Later I say you if I have success.
Regards
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I too use relativedelta a lot but hadn't tried rrule() before. However, I
just gave it a try and it appeared to work OK. (Tested with current web2py
trunk running via rocket)
def index():
from dateutil.rrule import *
from dateutil.parser import *
from datetime import *
recur =
Thanks a lot for testing !!! I just got it. When I use :
return dict(message=Testing RRule, recur = recur)
... its working fine, but when I returned (just for testing) 'return recur'
only, it freezed the Rocket ...
Thanks again!
Dne sobota, 22. června 2013 4:17:29 UTC+2 Brian M napsal(a):
I
45 matches
Mail list logo