OK, finally managed to pull new trunk off of google code. :) Still doesn't
seem to be working on Windows. :(
1. The necessary DB tables don't ever seem to get created without user
intervention. I had to temporarily edit gluon/scheduler.py to have
migrate=True in the __init__ of the
Hi,
Does plugin_ckeditor work with internet explorer? It works great with
firefox, but I have problems using it with IE.
When I call up the application with IE8 like this:
http://server:8000/application/default/editthis
The text area doesn't load the ckeditor
Surprisingly, when I call it like
Kenji,
Thanks for contributing your great plugins. I've started to use
solidtable and solidform and I expect that I will use them a lot
because they really improve the look and usability of the web2py apps
I've been working on.
I was wondering if solidtables has a formatting option that will
dis
Vey strange.
I pushed this 6hours ago.
http://code.google.com/p/web2py/source/detail?r=17764f774ab1c34da4eaa6a4b9ccee8bee7ca1d8
I pushed it again but it does not show it yet. Strange again. I found
Google very slow in the last few days.
Massimo
On Sep 3, 9:26 pm, Brian M wrote:
> The google cod
Thank you guys, I sort of zeroed in on the solution from your replies.
Little by little I am learning how things are done in web2py. :)
tblBalias = db.skedp.with_alias('tblBalias')
desired_result = db(db.tblB.fkA == 1).select(db.tblB.name,
db.tblB.data, tblBalias.data,
left = tblBalias.o
The google code repository doesn't appear to have been updated - trunk
hasn't changed since Friday night.
I have tested bulbs with Rexster and while they are great products
with an equally great community, there are some existing
incompatibilities that prevent usage of OrientDB's remote engine.
This is the only one that allows multiple connections to a db as well
as the built-in clustering capabilities
Massimo,
When browsing changesets at http://code.google.com/p/web2py/source/list there
doesn't seem to be anything changed in trunk since last night so I don't
think the new code has been pushed out yet.
On Sat, Sep 3, 2011 at 7:04 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> This
> However, still not sure offhand how to modify the auth.navbar options.
Don't. You do not need it. Remove it and add links to your own
functions.
This should be fixed in trunk now.
On Sep 3, 5:13 pm, Niphlod wrote:
> BTW, I was on linux.after exporting WEB2PY_PATH variable it seems
> to work
>
> Another traceback, though when I inserted from appadmin a wrong
> "args" value (it was not valid json format) I got
>
> Traceback (most re
I will make a guess:
b = db.tblB.with_alias('b')
db(db.tblB.fkA ==
1).select(db.tblB.name,b.data,left=b.on((b.fkA==db.tblA.fkA)&(db.tblA.id==1)))
If you show your SQL we can make this right. You have not explained
why the output is
100,'aaa','xxx'
101,'bbb','yyy'
102,'ccc',None
and not
100,'aa
I figured out how to combine login and registration forms by using the
controller:
def index():
return dict(form=auth.login(),form1=auth.register())
and then in my view
{{=form}}
{{=form1}}
I figure the answer to part 1 of my question question, combining the
lost password and username forms
Ok. Makes sense. So I wasn't nuts or "doing it wrong". :)
Thanks!
- Aaron
On Sep 2, 9:31 pm, Massimo Di Pierro
wrote:
> Field('name',type='password') makes use data can only go in but never
> out to forms.
>
> On Sep 2, 5:29 pm, Aaron Mahler wrote:> I'm definitely
> using web2py's login f
what do you think if we will write and adapter on top of rexter (or
bulbflow)? we will have an adapter for all rexster graph databases
(TinkerGraph, Neo4j, OrientDB, DEX, and Sail RDF Stores)
http://code.google.com/p/orient/wiki/ProgrammingLanguageBindings#Language_bindings
https://github.com/tink
I'm hoping to combine the auth registration and login forms on one
page. Can anyone please point me in the right direction? I could do
this manually in the view, but I am guessing there's a simpler way to
do it with web2py.
Reading the manual, I see that I can set the login URL accordingly:
aut
BTW, I was on linux.after exporting WEB2PY_PATH variable it seems
to work
Another traceback, though when I inserted from appadmin a wrong
"args" value (it was not valid json format) I got
Traceback (most recent call last):
File "/home/niphlod/Scrivania/web2py/gluon/restricted.py", line
Does this
help: http://web2py.com/book/default/chapter/06#Self-Reference-and-Aliases
On Saturday, September 3, 2011 5:36:12 PM UTC-4, Noel Villamor wrote:
>
> TABLE db.tblB
> fkA, name, data
> 1,100,'aaa'
> 1,101,'bbb'
> 1,102,'ccc'
> 2,100,'xxx'
> 2,101,'yyy'
>
> 1st query: db(db.tblB.fk
traceback hereI'm missing environmental variable WEB2PY_PATH that
I didn't know of :D
DEBUG:root:looping...
DEBUG:root: grabbing all queued tasks
DEBUG:root: grabbed 1 tasks
DEBUG:root: releasing all but one (running)
DEBUG:root:new scheduler_run record
INFO:root:new task 11002 "ciao" a
TABLE db.tblB
fkA, name, data
1,100,'aaa'
1,101,'bbb'
1,102,'ccc'
2,100,'xxx'
2,101,'yyy'
1st query: db(db.tblB.fkA == 1).select(db.tblB.name,db.tblB.data)
name,data
100,'aaa'
101,'bbb'
102,'ccc'
2nd query: db(db.tblB.fkA == 2).select(db.tblB.name,db.tblB.data)
name,data
100,'xxx'
101,'yyy'
Desi
On Sep 3, 2011, at 2:03 PM, Massimo Di Pierro wrote:
> Yes and no.
>
> The new scheduler uses multiprocessing to make sure each task is
> executed in its on process. This allows the main process to monitor
> the task and eventually terminate it. It also prevents a task from
> messing up the worke
Yes and no.
The new scheduler uses multiprocessing to make sure each task is
executed in its on process. This allows the main process to monitor
the task and eventually terminate it. It also prevents a task from
messing up the worker status.
Windows does not support work and multiprocessing behav
Please try again. I fixed the problem in trunk.
Step 1:
in your app try something like this
def demo(*a,**b): return 'hello(%s,%s)' % (a,b)
from gluon.scheduler import Scheduler
Scheduler(tasks=dict(demo=demo),heartbeat=10)
Step 2:
python2.6 web2yp.py -K
Step 3:
http:////appadmin
to s
Maybe something like this:
def user():
form=auth()
if request.args(0)=='request_reset_password' and form.errors:
session.flash='If your user ID was found, we have sent you reset
details by email.'
redirect(URL('user',args='login'))
return dict(form=form)
Anthony
On
Have you tried starting over from scratch with a brand new app? Would it
work to save the items into session itself instead of the DB?
That is thrilling news Massimo. Issue #407. Having strong
integration between web2py and OrientDB will allow for some truly
amazing products on top of the already amazing capabilities of web2py.
Please tell me what could use testing lately and how I can find that
information out without bugging
Wouldn't a regular query do that? Something like:
rows = db((db.tblB.fkA.belongs(1,2))) &
(db.tblB.fkA==db.tblA.fldA)).select()
I suspect that might be tricky since it's a change in validator logic.
Probably not a bad thing to investigate since this approach to password
recovery is not uncommon.
Hi, I'd like to customise the "reset password" part of the
authentication module. At the moment, it tells you if you have entered
an incorrect email address, and doesn't in fact try to send the email
unless the user is found in the database. I'd like to change it so
that if a valid email address is
Thanks massimo
That solved the problem.
:)
On Sep 3, 7:25 pm, Massimo Di Pierro
wrote:
> Because parse takes a string.This line
>
> var ctg = JSON.parse({{=XML(ctg)}});
>
> should be
>
> var ctg = JSON.parse('{{=XML(ctg)}}');
>
> or
>
> var ctg = JSON.parse({{=repr(XML(ctg))}});
>
> On Sep 3, 1:
On Sep 2, 2011, at 2:15 PM, Stefaan Himpe wrote:
>> There *is* a bug, but it should be generating text/x-json (and that should
>> be fixed). Are you sure you're getting text/html?
>
> I definitely received text/html.
> (web2py 1.98.2, running on rocket 1.2.2).
This should be fixed in the trunk.
I do not understand. Can you make and example why actual data?
On Sep 3, 3:37 am, Noel Villamor wrote:
> Say I have a parent table tblA and child table tblX:
>
> db.define_table('tblA',
> Field(fldA'))
>
> db.define_table('tblB',
> Field('fkA', db.tblA),
> Field('name', 'integer'),
>
Because parse takes a string.This line
var ctg = JSON.parse({{=XML(ctg)}});
should be
var ctg = JSON.parse('{{=XML(ctg)}}');
or
var ctg = JSON.parse({{=repr(XML(ctg))}});
On Sep 3, 1:46 am, Vineet wrote:
> I want to convert a list into javascript array.
> Referred to a related thread before
Thank you Massimo!
On 3 sep, 03:27, Massimo Di Pierro wrote:
> Yes the book refers to manual insert/update.
>
> On Sep 2, 3:25 pm, paroiron wrote:
>
>
>
>
>
>
>
> > > Maybe that is referring to doing a manual insert or update (via .insert()
> > > or
> > > .update(), not via a form submission).
Say I have a parent table tblA and child table tblX:
db.define_table('tblA',
Field(fldA'))
db.define_table('tblB',
Field('fkA', db.tblA),
Field('name', 'integer'),
Field('data'))
How do I left join the two queries on tblB below:
1st: db(db.tblB.fkA == 1).select(db.tblB.name,db.t
This is still driving me nuts. I have an app that works some of the
time and totally inexplicably fails other times. When it fails it is
because it gets a new session_id value for every transaction with
web2py.
I have a table where I keep information created by the user during
their session. Th
35 matches
Mail list logo