Hello,
I'm learning web2py by working my way through the book (2nd edition).
I hit a road block in Chapter 6 (DAL) page 163 where it says: "A Rows
object is a container for rows.colnames, rows.response" and goes on to
explain that a Rows cannot be pickled or serialized by XML-RPC while a
response
You are right. This needs to be fixed.
Massimo
On Apr 18, 1:15 am, Jeremy McNaughton
wrote:
> Hello,
>
> I'm learning web2py by working my way through the book (2nd edition).
> I hit a road block in Chapter 6 (DAL) page 163 where it says: "A Rows
> object is a container for rows.colnames, rows.r
PanosJee writes:
>
> Hello everyone I am working on a CSS/JS merger/minifier (with
> expiration tags) and i want to deploy on AppEngine.
> Unfortunately i cannot read static files on GAE as web2py has declared
> everything in /static as static files
> Do you have any ideas on how to circumvent t
I am not sure what is wrong here, and the example is complex so I
cannot understand the details. Nevertheless, I suggest replace
response.render('clublocatormail/send_mail.html',context)
with
from gluon.template import render
render(filename='clublocatormail/send_mail.html',context=context)
s
Vi/Vim mode would be really nice to have, but it's far from trivial to
implement.
On Apr 18, 2010, at 12:26 AM, Mengu wrote:
> On 18 Nisan, 04:10, Doug Elkin wrote:
>> Feel free to take these requests with a grain of salt... I know most
>> things with development are easier said than done, but
http://bit.ly/ar4k8X
--
Thadeus
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
Remember - the simplest, most general initial approach to letting
people edit a file in their own preferred editor is to allow external
editors, and configuration of same.
Yes, this gives up things (i.e. code completion) but at the same time
it provides an important stepping stone: a way to do "e
Is this cherokee specific? Would it work on apache?
Just a comment. This will bypass db.table.field.authorize so auth
permissions on downloads will not be enforced.
Massimo
On Apr 18, 11:34 am, Thadeus Burgess wrote:
> http://bit.ly/ar4k8X
>
> --
> Thadeus
>
> --
> Subscription settings:http://
Seems like a lot of really nice stuff, but are the browser ready for
it, yet? A lot of the presentation didn't display properly or work
properly in Firefox, from what I could tell. And IE 8 couldn't display
it at all. What do you think, Massimo -- is it ready for prime time?
On Apr 17, 3:47 pm, md
On Apr 18, 2:02 pm, weheh wrote:
> Seems like a lot of really nice stuff, but are the browser ready for
> it, yet? A lot of the presentation didn't display properly or work
> properly in Firefox, from what I could tell. And IE 8 couldn't display
> it at all. What do you think, Massimo -- is it rea
It works with apache, as long as you install the module.
Cherokee just has it enabled by default, and is the webserver I use currently.
The advantages of X-Sendfile is that you still get to have permissions
on downloads, its simply, if they are not authorized, do not set a
x-sendfile header. You
I see. Than the current download function could be improved to take
advantage of this.
On Apr 18, 3:01 pm, Thadeus Burgess wrote:
> It works with apache, as long as you install the module.
>
> Cherokee just has it enabled by default, and is the webserver I use currently.
>
> The advantages of X-S
Precisely!
--
Thadeus
On Sun, Apr 18, 2010 at 6:43 PM, mdipierro wrote:
> I see. Than the current download function could be improved to take
> advantage of this.
>
> On Apr 18, 3:01 pm, Thadeus Burgess wrote:
>> It works with apache, as long as you install the module.
>>
>> Cherokee just h
http://twitter.com/idlecool/status/12408675362
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
I wonder if this is an innocent report, from a false positive - or a
valid report.
Bitdefender had some trouble with false reports recently; see:
http://krebsonsecurity.com/2010/03/bad-bitdefender-antivirus-update-hobbles-windows-pcs/
But that Windows expoits exist for / in PDF files is als
On Apr 18, 2010, at 5:07 PM, mdipierro wrote:
> http://twitter.com/idlecool/status/12408675362
You never know, but it seems doubtful, especially since the pdf came from
Keynote. Bitdefender has had problems with false positives in the past.
--
Subscription settings: http://groups.google.com/gr
I ran the PDF file referred to through Microsoft Security Essentials
and it was fine. Also checked online at http://www.kaspersky.com/scanforvirus
and http://www.virustotal.com and it came out clean.
On Apr 18, 7:07 pm, mdipierro wrote:
> http://twitter.com/idlecool/status/12408675362
>
> --
> Su
Hi,
Quick question when using web2py with GAE.
I need to assign a model as the parent of another entity.
How can I retrieve the GAE "model instance" from a web2py query...?
book = db.book[request.args(0)]
[The book is returned as a row]
I'd like to do the following:
d
On Apr 18, 2010, at 5:07 PM, mdipierro wrote:
> http://twitter.com/idlecool/status/12408675362
Speaking of viruses in PDFs, I hope that everyone on this list using Acrobat or
Adobe Reader knows to disable JavaScript. It's of little to no use in PDFs
(except for some interactive forms, I think),
No but there should. Will look into this. If anybody has come concrete
proposals, let me know.
Massimo
On Apr 18, 7:30 pm, Matt wrote:
> Hi,
>
> Quick question when using web2py with GAE.
>
> I need to assign a model as the parent of another entity.
>
> How can I retrieve the GAE "model instance
Thanks Massimo.
Matt
On Apr 19, 1:53 pm, mdipierro wrote:
> No but there should. Will look into this. If anybody has come concrete
> proposals, let me know.
>
> Massimo
>
> On Apr 18, 7:30 pm, Matt wrote:
>
>
>
> > Hi,
>
> > Quick question when using web2py with GAE.
>
> > I need to assign a mo
Traceback (most recent call last):
File "/home/thadeusb/Applications/web2py/gluon/restricted.py", line
178, in restricted
exec ccode in environment
File
"/home/thadeusb/Applications/web2py/applications/admin/controllers/default.py",
line 1058, in
File "/home/thadeusb/Applications/web2py
Hi.
Sometimes I have to execute this line prior to making a query:
oradb.executesql("ALTER SESSION set NLS_DATE_FORMAT = '-MM-DD
HH24:MI:SS';")
That is because Oracle by default uses different date format that causes my
queries to fail.
The problem is that doing that in model is incorrect
Hi all,
In my application, the session id seems to be getting re-used across
different sessions.
To explain:
Login 1:
---
print str(session) on user/logout shows the following:
, 'last_visit':
datetime.datetime(2010, 4, 19, 11, 18, 37, 417024), 'remember': False}
>}>
Login 2:
-
Update:
This seems to work in user():
if request.args(0) == 'login':
session.clear()
Am I doing something wrong or unnecessary?
On Apr 19, 10:57 am, Adi wrote:
> Hi all,
>
> In my application, the session id seems to be getting re-used across
> different sessions.
>
> To explain:
>
> Lo
25 matches
Mail list logo