i have not updated my local launcher to 1.8.1 yethopefully tomorrow.
but in past versions of GAE i have changed line 74 of gaehandler.py (at the
web2py top-level) to:
#logging.basicConfig(level=logging.INFO)
#access the GAE logging handler and set level to ignore debug logs
It seems in Table._listify(...) that the row object passed to the compute
function only includes non-compute fields, so attempting to refer to a
computed field fails (silently).
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To
I have a encountered a problem with an update from v1.97 to
v2.4.6-stable+timestamp.2013.04.06.17.37.38. Only found out I had these
problems after pushing to production server which uses Python 2.6, while my
local test set ups all use Python 2.7. In both cases SQLite DBs are used.
Queries fail
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
'?' and '=' are replaced in URL and after that the modified doesn't work -
invalid request
--
---
You received this message
Try and let us know. :-)
On Thursday, 20 June 2013 01:31:22 UTC-5, Tim Richardson wrote:
It seems in Table._listify(...) that the row object passed to the compute
function only includes non-compute fields, so attempting to refer to a
computed field fails (silently). That's because the
Thank you Christian!,
Now, I have a lot of LOGs :) (more logs is far better that no logs! :)).
Like you, I had no luck with logging.conf.
Working now, thank you again.
On Thursday, June 20, 2013 8:09:10 AM UTC+2, Christian Foster Howes wrote:
i have not updated my local launcher to 1.8.1
I understand importing modules, or at least I thought I did... Why would it
affect scheduler.py if I Import datetime in a module of my own? I haven't made
mods to scheduler.py if that is what you meant.
--
---
You received this message because you are subscribed to the Google Groups
Hi,
Does anyone have an example on how to hook this up in web2py?
--
---
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 web2py+unsubscr...@googlegroups.com.
For
That code listing is from dal.py. I didn't really want to poke too much at
that as I haven't had time to examine it too deeply.
I should probably upgrade to latest web2py before trying anything else :)
*/scurries off to upgrade the server...*
On Thursday, June 20, 2013 12:45:28 AM UTC+3,
I think because python doesn't know what to do on importing the same
library name ... it probably just overwrites it discarding the old
one the point is that the datetime is both the name of the root module
and the child one.
same thing should happen on web2py applications too, I think
Hi,
I am using GAE (dev server) and i am unable to cache Row objects.
For some reason they cannot be pickled.
When a convert it to dicts everything works fine, but then i am unable to
work with web2py Rows.
This is a related post:
I rolled CONTAINS() in gluon/dal.py (line 1258) back to v1.97 spec which
seems to solve the problem.
On Wednesday, June 19, 2013 7:24:40 PM UTC+2, Peter wrote:
I have a encountered a problem with an update from v1.97 to
v2.4.6-stable+timestamp.2013.04.06.17.37.38. Only found out I had these
See http://web2py.com/books/default/chapter/29/06#Caching-selects. Have you
tried:
db(query).select(..., cacheable=True)
Anthony
On Thursday, June 20, 2013 10:02:44 AM UTC-4, Quint wrote:
Hi,
I am using GAE (dev server) and i am unable to cache Row objects.
For some reason they cannot be
Upgraded, but the error is still there. It's failing at the SQLFORM
validation in dal.py, I don't even get the chance to access session
variables myself. Also, list:integer fields leave an empty field behind
Is there a way from within the DAL to remove empty entries on list:integer
(as I can't
thnx,
I added cacheable=True to the select() but still the same error.
On Thursday, June 20, 2013 4:23:02 PM UTC+2, Anthony wrote:
See http://web2py.com/books/default/chapter/29/06#Caching-selects. Have
you tried:
db(query).select(..., cacheable=True)
Anthony
On Thursday, June 20,
Hi,
I have a problem when i perform a select() on a model with an
ReferenceProperty Field.
I'am getting this error:
*('ReferenceProperty' object has no attribute 'startswith',)*
*
*
related but nor sure it's the same:
https://groups.google.com/forum/?fromgroups#!topic/web2py/M7civkMWRyo
and it
A bit of offtopic but maybe someone knows what's going on. I'm using this
thumbnail generating slice I found:
LINKhttp://www.web2pyslices.com/slice/show/1522/generate-a-thumbnail-that-fits-in-a-box
All works fine but the problem I face is the thumbnails quality. I upload
really high-quality
Should these RecordDeleter and RecordUpdater be in the response when
cachable = True is used?
--
---
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
Hi all
I'm getting in love with web2py, but I'm just a newcomer, and need some
advice. Take into account that I finally want to deploy my app on GAE (so I
can't install pdflatex for example).
1- I have configured my views to use mathjax (in the head section). Is it
the right way to proceed
No, I don't think there are two columns labelled 'title'.
I attach the csv...
Thanks for your interest
El miércoles, 19 de junio de 2013 17:55:27 UTC+2, Christian Foster Howes
escribió:
check your CSV file - that error looks to me like there are 2 columns
with the name title and therefore
The error says you have 2 records with same value in the column title.
On Thu, Jun 20, 2013 at 12:56 PM, peibol pabe...@gmail.com wrote:
No, I don't think there are two columns labelled 'title'.
I attach the csv...
Thanks for your interest
El miércoles, 19 de junio de 2013 17:55:27 UTC+2,
Please open a ticket about this.
On Thursday, 20 June 2013 17:00:09 UTC+2, Quint wrote:
Hi,
I have a problem when i perform a select() on a model with an
ReferenceProperty Field.
I'am getting this error:
*('ReferenceProperty' object has no attribute 'startswith',)*
*
*
related but
No
On Thursday, 20 June 2013 17:47:06 UTC+2, Quint wrote:
Should these RecordDeleter and RecordUpdater be in the response when
cachable = True is used?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and
Does it requires pdflatex, doesn't it? I think it's not supported in GAE.
El jueves, 20 de junio de 2013 18:59:44 UTC+2, Massimo Di Pierro escribió:
Why not use markmin2latex or markmin2pdf (itsuses latex inside)
On Thursday, 20 June 2013 17:53:58 UTC+2, peibol wrote:
Hi all
I'm getting
Thanks
El jueves, 20 de junio de 2013 18:22:47 UTC+2, viniciusban escribió:
The error says you have 2 records with same value in the column title.
On Thu, Jun 20, 2013 at 12:56 PM, peibol pab...@gmail.com javascript:
wrote:
No, I don't think there are two columns labelled 'title'.
I
Why not use markmin2latex or markmin2pdf (itsuses latex inside)
On Thursday, 20 June 2013 17:53:58 UTC+2, peibol wrote:
Hi all
I'm getting in love with web2py, but I'm just a newcomer, and need some
advice. Take into account that I finally want to deploy my app on GAE (so I
can't install
I did some digging around:
After i changed this piece of code in GoogleDatastoreAdapter, the cacheable
attribute was passed to the *parse() *method in BaseAdapter.
Before the change it wasn't and thus cacheable was always the default value
False.
def select(self,query,fields,attributes):
Hello,
I don't understand why I have to redefine my compute field function...
I have a compute field like this one :
# model
db.define_table('mytable',
Field('f1', 'string'),
Field('review', 'boolean'),
Field('record_review_status', compute=lambda record:
return_computed(record,
yes, I'm italian :D
I've already check it
in my it.py is
%d/%m/%Y
for the input I use the calendar I have, for exeple
20/06/2013
and the error say me
enter date as 28/08/1963
and the date is in that format!
--
---
You received this message because you are subscribed to the Google Groups
Hi all,
I was playing with record/field representation and was wondering if there
is a simple solution for my problem.
Here's what I'm trying to do -- print out a record using the represent
function from the DB table.
Here's my model:
models/document.py
db.define_table('document',
uhm. Italian here too, but I don't have that problem. Something must be
missing / must be incorrect in your app.
Can you pack a minimal app to reproduce the issue ?
On Thursday, June 20, 2013 7:17:49 PM UTC+2, palomar wrote:
yes, I'm italian :D
I've already check it
in my it.py is
%d/%m/%Y
1) Am I missing something with the abilities of 'represent' to easily
represent records' field values?
I think the represent attribute is currently only used in SQLTABLE,
SQLFORM.grid (and smartgrid), and in forms (i.e., read-only fields), so no,
I don't think you're missing anything.
you upgraded, but the patch isn't there. as you may notice, the exception
raises at the exact same line as before.
I just sent an email to Massimo to let him know that ATM the fix isn't in
trunk
http://code.google.com/p/web2py/issues/detail?id=1547
On Thursday, June 20, 2013 4:29:51 PM UTC+2,
A function of my web2py app calls an external website. This website creates
a pdf-file and calls another function of my website, which should load this
pdf-file. Therefore this call should resume the first session. Is it
possible?
Regards Martin
--
---
You received this message because you
Solved my own problem, I don't know how I read past selectable in the grid
documentation.
Thanks,
David
On Thursday, June 20, 2013 12:12:10 AM UTC-4, David wrote:
Hello,
I am hoping that this is a simple question. I am looking for a way to send
the results of a SQLFORM.smartgrid search
There's a pull request for this. If it's ok I'll add a test.
--
---
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 web2py+unsubscr...@googlegroups.com.
For
db.define_table('series',
Field('seriesnumber',compute=lambda r: '%s%s' (r['id'],r['seriesname'][0:
3]))
Field('seriesname'),
Field('seriesdescription'),
Field('layertype','reference layertype'),
Field('created_by',db.auth_user,default=me,writable=False,readable=False
),
You are right. No latex on GAE. I cannot think of any other way to render
formulas in PDF without latex.
On Thursday, 20 June 2013 12:04:18 UTC-5, peibol wrote:
Does it requires pdflatex, doesn't it? I think it's not supported in GAE.
El jueves, 20 de junio de 2013 18:59:44 UTC+2, Massimo Di
I think the problem is that your form does not contain enough info for the
computed field. You correctly pull them from DB (in row) and pass to the
compute function.
On Thursday, 20 June 2013 12:13:16 UTC-5, Richard wrote:
Hello,
I don't understand why I have to redefine my compute field
Are you askin for another site (the one that creates the PDF) to be able to
use your session? This would me a security issue. I am sure there is a
better solution. Perhaps I do not understand. Can you tell us more about
the workflow?
On Thursday, 20 June 2013 15:02:29 UTC-5, mweissen wrote:
Ok, yes, it may not have some field that are to None... I had issue with
that that I have patch my compute function for. I should be the same...
Thank you Massimo to point me this out.
Richard
On Thu, Jun 20, 2013 at 5:02 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
I think the
Can someone point me out change log... I didn't see this one...
http://web2py.com/init/default/changelog
I think it is not in the change log and it is not acceptable
Thanks
Richard
On Wed, Jun 19, 2013 at 9:23 AM, palomar stefanob...@gmail.com wrote:
thanks for your reply!
--
---
I am not sure but the quality option could be for jpeg only.
Paolo
On Thursday, June 20, 2013 5:06:06 PM UTC+2, lesssugar wrote:
A bit of offtopic but maybe someone knows what's going on. I'm using this
thumbnail generating slice I found:
Could it be feasible to use mathjax to render the latex to be put inside
the pdf? Or the google api to generates the image and then add it to the
pdf?
Thanks Massimo
El jueves, 20 de junio de 2013 23:00:25 UTC+2, Massimo Di Pierro escribió:
You are right. No latex on GAE. I cannot think of
I think you're right. In addition, the *quality *attribute is not such an
easy-peasy as I thought.
Some clarification from Stack Overflow:
LINKhttp://stackoverflow.com/questions/4354543/determining-jpg-quality-in-python-pil
Need to dig deeper. Thanks, anyway.
On Thursday, June 20, 2013
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 4:55:24 PM UTC-4, greenpoise wrote:
db.define_table('series',
Hello!
This question was made by me several months ago. The matter is simple: How
to serve php apps and web2py apps from the same shared hosting? In my case
I'm using Hostgator. The web2py app is in the root of the domain (\www
folder), the php is in a sub URL (from \www\phpAppFolder), but
Not a bad idea. Maybe have a look at how SQLTABLE and SQLFORM.grid (both
in gluon.sqlhtml.py) handle field representation. Very simply, we might
add a method to the Row class allowing something like:
row.represent('myfield')
Actually, Row objects don't know about their db/table, so
Hi,
The best way to do this is to create subdomains.
So you will have:
/home/user/www
/home/user/phpapp
and you can create a subdomain this way:
php.mydomain.com (that refers to /home/user/phpapp)
to call it directly using your main www.mydomain.com you can create a
redirect app.
in web2py
FYI, see possible solution
here: https://groups.google.com/d/msg/web2py-developers/kMMG1wH6Xxg/pCYZfJGHVckJ
Anthony
On Thursday, June 20, 2013 8:22:54 PM UTC-4, Anthony wrote:
Not a bad idea. Maybe have a look at how SQLTABLE and SQLFORM.grid (both
in gluon.sqlhtml.py) handle field
50 matches
Mail list logo