On Thursday, 26 July 2012 21:04:58 UTC+10, Tim Richardson wrote:
>
> I'm confused about this topic.
> I want to run the scheduler in the background, as a windows service.
> web2py is running as a windows service.
> From reading this group, it seems that web2py's built in cron is not a
> reliab
> I cannot reproduce the problem and I do not understand how it is possible
> that #2 is executed (with an error) but #1 is not (code below). I believe
> this is happening to you but I need your help figuring out why.
>
I restarted my Mac, unzipped a second version of web2py and isolated the
Any news about this? Is the problem reproducible? Have you tried trunk?
I suspect this may be a path issue and for some reason at startup web2py
looks in the wrong place.
@Jonathan, do you agree? Could you suggest a test to detect is this is the
case?
massimo
On Sunday, 22 July 2012 09:04:51
You can't. References are always by ID. You can use the IS_IN_DB to show
the UUID instead of the ID but the database will continue to use the ID.
The presence of the UUID will be used by db.import_from_csv_file to fix
references when importing records because it will build a temporary
dictionar
I currently have 3 data tables setup, one is an intermediate table linking
a many to many relationship. I would like to use UUID as the reference ID,
so I insert the uuid into the intermediate table instead of the normal ID.
However this doesn't work as expected, all the fields in the relational
I think embed:http://url should be deprecated in MARKMIN.
It think if a url is found and not marked-up whether or not prefixed with
"embed:" the url should be precessed by the function
gluon/contrib/autolinks.py/expand_one(url,{})
This function uses the oembed protocol to figure out th
I cannot reproduce the problem and I do not understand how it is possible
that #2 is executed (with an error) but #1 is not (code below). I believe
this is happening to you but I need your help figuring out why. I need to
understand which is/elif are true in that code and what is the value of f
I will take a patch. ;-)
On Friday, 27 July 2012 16:54:51 UTC-5, mweissen wrote:
>
> Hallo Johann,
>
> I have tried your proposal - yes, this "workaround" does the job and I
> think I will use it.
> But I am surprised that there is not simple solution. Or does nobody else
> want to get rid the "
Hallo Johann,
I have tried your proposal - yes, this "workaround" does the job and I
think I will use it.
But I am surprised that there is not simple solution. Or does nobody else
want to get rid the "load"?
2012/7/27 Johann Spies
> Hallo Martin,
>
> In stead of redirecting, I am using this scr
You have described my problem nearly perfect, with one difference:
There is a path from index to sub1, from sub1 to sub2 and from sub2 to
sub3, every step should use the LOAD-function. Every step adds some
information. After the last step the whole information should be sent to
index2 (using sessio
Hallo Martin,
In stead of redirecting, I am using this script in the view:
jQuery(document).ready(function() {
jQuery($(":input:submit:last").addClass('gaanvoort'));
jQuery($("input.gaanvoort").click(
function(
Thank you that did the trick! (Tried enormous amount of combinations, but
not all when started playing with dumps() )
On Friday, July 27, 2012 5:06:30 PM UTC+3, Marin Pranjić wrote:
>
> ...
> shouldn't you remove the 'quotes'?
>
> Marin
>
>
--
I've not tested it, but there's a misunderstanding here I think.
Say that "URL() gets the extension from the current request if not
specified" is true. This is generally "wanted" because links in a LOADed
portion of the frame must not contain the whole layout.
But I think you want a LOADed for
I have tried:
redirect(URL('index2',vars={'text':request.vars.text}, extension=False))
Sorry, the same result - index2 is "loaded".
2012/7/27 Bruno Rocha
> put extension=False in URL
>
> redirect(URL('index2',extension='html',vars={'text':request.vars.text},
> extension=False))
>
>
>
--
put extension=False in URL
redirect(URL('index2',extension='html',vars={'text':request.vars.text},
extension=False))
--
>From the book:
*If you LOAD a component having the .load extension and the corresponding
controller functionredirects to another action (for example a login form),
the .load extension propagates and the new url (the one to redirect too) is
also loaded with a .load extension. *
I have a chain LOAD
No this is not what signed urls are for. Signed urls are for delegating
access control from one controller action to another. Consider this code:
@auth.requires_membership('admin'):
def index()
link = URL('other')
return dict(link=link)
@auth.requires_membership('admin'):
def other():
On 27 Jul 2012, at 7:32 AM, Massimo Di Pierro
wrote:
> Fixed in trunk now.
One thing I found via Stack Overflow is that the old IPv6 configuration option
of 'Off' is now gone, except that it's sticky from previous configurations.
Some of these problems are apparently cleared up by changing the
I want to create a protected folder containing file uploads, which can only
be accessed selectively (different set of files for different users,
depending on their permissions).
They should not be able to access it even if they have the direct link.
Can I (or should I) do this using digitally s
Send me a patch and I will take a look. It is probably safe.
On Friday, 27 July 2012 06:30:54 UTC-5, Omri Har-Shemesh wrote:
>
> I recently defined a pickled SQLCustomType field for automatic
> dumping/loading of inserted types to the field.
> The definition is:
>
> pickled = SQLCustomType(
>
Fixed in trunk now.
On Friday, 27 July 2012 01:16:30 UTC-5, pbreit wrote:
>
> This change is preventing me from starting web2py because of a problem
> with socket.gethostbyname():
>
> http://code.google.com/p/web2py/source/detail?r=36139e7a6c9c14983e0d09f626959beb8fcf9320
>
> I'm on a Mac where I
Hi,
shouldn't you remove the 'quotes'?
Marin
On Fri, Jul 27, 2012 at 2:54 PM, MJo wrote:
> Oh I'm using trunk something like one week old to that matter.
>
>
> On Friday, July 27, 2012 3:52:03 PM UTC+3, MJo wrote:
>>
>> If I provide args like following:
>>
>> ...
>> my_id = db.my_inventory.ins
Oh I'm using trunk something like one week old to that matter.
On Friday, July 27, 2012 3:52:03 PM UTC+3, MJo wrote:
>
> If I provide args like following:
>
> ...
> my_id = db.my_inventory.insert(...)
>
> db.scheduler_task.insert(
> ...
> args=dumps(['my_id']),
> ...)
> ...
>
> I see exactly this
If I provide args like following:
...
my_id = db.my_inventory.insert(...)
db.scheduler_task.insert(
...
args=dumps(['my_id']),
...)
...
I see exactly this 'my_id' as textual string on my newly created task,
looking it via appadmin.
How to make my task to get numerical data to be able to do o
Thanks, that did the trick.
On Fri, Jul 27, 2012 at 5:25 PM, Niphlod wrote:
> Massimo is right, but you're having the error for another reason.
>
> it's plain and clear (*Variables* section). You are also lucky that in
> all of this statement there is only one dot.
>
> ('ALTER TABLE rsvp_list AD
I recently defined a pickled SQLCustomType field for automatic
dumping/loading of inserted types to the field.
The definition is:
pickled = SQLCustomType(
type = 'text',
native = 'text',
encoder = (lambda x: pickle.dumps(x)),
decoder = (lambda x: pickle.loads(x))
)
I use it to store
The following rows are the result of a query:
idname controllerfunction parentID
1home site index 0
2about about index 0
3who_we_areabout whoWeAre 2
4what_w
Found the problem :), I was using wrong version of M2Crypto so uninstalled
it and install M2Crypto-0.20.2.win32-py2.7 version and its working fine.
On Fri, Jul 27, 2012 at 12:02 PM, Amit wrote:
> I Have installed python 2.7.2 and M2Crypto-0.21.1-py2.7.egg-info in my
> Windows XP SP3 machine and
That was simple. Feeling quite stupid that I missed it.
Thanks Anthony!
On Thursday, July 26, 2012 10:01:41 PM UTC+8, Anthony wrote:
>
> db.define_table('person',
>> Field('name','string',length=255,requires=IS_NOT_EMPTY()),
>> Field('location_id','reference location',default=location.id
Massimo is right, but you're having the error for another reason.
it's plain and clear (*Variables* section). You are also lucky that in all
of this statement there is only one dot.
('ALTER TABLE rsvp_list ADD event_id INTEGER REFERENCES db.event (id) ON
DELETE CASCADE;',)
you have
Field('ev
30 matches
Mail list logo