Sorry for my bad english and rushed post coz i am in car back to home.
What i want to say is i now have 20 JSONRPC methods and going to grow to
100 or more when project is done. ,I want to separate them into each
controller file , less than 20 each.
On Sat, Feb 11, 2012 at 12:02 AM, Jonathan
Ok, I give in
Is there any easy way to change menu colors in the welcome app? If not then
what is the recommended hard way? (smile)
From View, I am calling server side controller function via web2py's
ajax function with ':eval'
So far, so good.
Further I need to return a dict from this ajax controller (in addition
to return js),
Then access this dict in View process it.
Finally, return dict to another controller for server
On Sat, Feb 11, 2012 at 2:07 AM, howesc how...@umich.edu wrote:
one option working with the framework as is:
- make a controller called jsonrpc with 1 method
- use the first arg from the request.args to select the module to call
- create a directory in modules and put all your calls in
has anyone tested with Pypy 1.8 ? Seems good this time.
Previous tests fails web2py ,
On Fri, Feb 10, 2012 at 10:05 PM, Sathvik Ponangi psath...@gmail.comwrote:
Is there some way to run Web2Py on PyPy http://pypy.org?
I confirm this, the book is wrong, someone can change it?.
http://web2py.com/books/default/chapter/29/4#Scheduler-(experimental)
2012/2/6 Jim Steil j...@qlf.com
That did it. Thanks!
How do we go about getting the book updated? Page 195 is showing the
syntax I was using.
-Jim
On
Dear ALL,
How Can i Make Plugin Wiki Player Have an Image From the video Before
its played ?
Best Regards ,
Just Check the Css 'superfish.css' form the css folder in web2py/
applications/your application/static /css .. and Edit the colors Its
easy :)
Good luck
Best Regards,
Hassan ALnatour.
I feel like I should know this. I've searched, but Google doesn't
really allow for the word in as it's too short and common.
I'd like to do select column in (a,b) in the dal. Any idea how?
Thanks,
Ed
ffmpeg
On Sat, Feb 11, 2012 at 5:42 PM, Web2Py Freak halna...@gardeniatelco.comwrote:
Dear ALL,
How Can i Make Plugin Wiki Player Have an Image From the video Before
its played ?
Best Regards ,
http://web2py.com/books/default/chapter/29/6#belongs
Marin
On Sat, Feb 11, 2012 at 12:34 PM, Ed Greenberg greenberg...@gmail.comwrote:
I feel like I should know this. I've searched, but Google doesn't
really allow for the word in as it's too short and common.
I'd like to do select column
Whats That ? How Do i use it
Always when I deal with big projects, the first thing I do is organize a
strict file structure. Not just web2py, I do similar things with photoshop
layers, files on my computer, etc. It just makes life that much easier.
For now, I would just reorganize your file names a bit...
ie.:
Thanks, Yeah thats a lot better.
I would change naming sheme that way , but still would be good to be able
to use folders.
On Sat, Feb 11, 2012 at 7:07 PM, LightDot light...@gmail.com wrote:
Always when I deal with big projects, the first thing I do is organize a
strict file structure. Not
Look interesting but that would make the service URLs a bit ugly . i would
prefer each UI having its own service URL not generic single method.
What i want is like this :
/controllers/services/case.py
/controllers/services/dashboard.py
/controllers/services/result_grid.py
It might help if you provide a little more detail regarding what D is and
what kind of processing is going on. Why do you create D in the controller
but newD in the view? Does D get used anywhere before newD is created?
Could you just create newD in the controller as well? Is D/newD unique per
belongs() Thanks.
On Feb 11, 7:09 am, Marin Pranjić marin.pran...@gmail.com wrote:
http://web2py.com/books/default/chapter/29/6#belongs
Marin
On Sat, Feb 11, 2012 at 12:34 PM, Ed Greenberg greenberg...@gmail.comwrote:
I feel like I should know this. I've searched, but Google
ffmpeg is video encoder / decoder. You might be able to use the Python
bindings for it to grab a single frame of video from the video file, and
save that as a PNG or JPG.
This is the project page for the ffmpeg bindings:
http://code.google.com/p/pyffmpeg/
I've never done this before myself,
IS_STRONG accepts an error_message kwarg, maybe there is no default
message set for the validator.
On 10 feb, 21:18, Bruce Wade bruce.w...@gmail.com wrote:
Yeah the None error is because we need to add an error message for
IS_STRONG for some reason that validator doesn't return any message,
Il 10/02/2012 18:38, Massimo Di Pierro ha scritto:
SQLFORM.grid has ondelete, SQLFORM(...).accept(...) does not. The book
is correct.
The problem is that grid uses ondelete when doing ajax delete but not
when using SQLFORM(...).accept(...)
my misunderstanding... sorry :)
thanks
Manuele
Thanks Anthony.
Here's the explanation of what I intend to do.
1) D is a dataset (tuple of dicts) obtained from MySQL.
I am using a 3rd party lib viz. 'DABO' for database interaction +
business-logic tier.
So, D is generated by controller function.
2) It is passed to View where HTML elements are
I forgot route.py! thats interesting
I will look into it!
On Sat, Feb 11, 2012 at 7:40 PM, Anthony abasta...@gmail.com wrote:
Look interesting but that would make the service URLs a bit ugly . i would
prefer each UI having its own service URL not generic single method.
What i want is like
Typing in a weak password cause it to return none IE: 11
On Sat, Feb 11, 2012 at 7:31 AM, Anthony abasta...@gmail.com wrote:
On Friday, February 10, 2012 7:18:04 PM UTC-5, Detectedstealth wrote:
Yeah the None error is because we need to add an error message for
IS_STRONG for some reason
3) User interacts with HTML elements changes the data.
4) Dynamically, the dataset is altered after user-interaction with
HTML elements.
In that case, this part of your view won't work:
{{for i in newD:}}
...processing statements...
{{pass}}
{{cPickle.dump(newD, open(
Typing in a weak password cause it to return none IE: 11
I cannot reproduce -- can you show some code? Does it literally display the
string none IE: 11?
Anthony
Thank you.
I saw it after I sent the query
Jose
Vinicius:
I don't think so, it will be stored in db.scheduler_run with status =
'FAILED'
On Feb 10, 5:48 pm, Vinicius Assef vinicius...@gmail.com wrote:
Yet on schedules, if my task failed or timed out, will web2py try to
run it next time?
On Fri, Feb 10, 2012 at 3:39 PM, Massimo Di Pierro
It just displays: None
I'm out right now will show the code when I get back.
On Feb 11, 2012 9:35 AM, Anthony abasta...@gmail.com wrote:
Typing in a weak password cause it to return none IE: 11
I cannot reproduce -- can you show some code? Does it literally display
the string none IE:
11 is a weak password I was suggesting to enter
On Feb 11, 2012 11:48 AM, Bruce Wade bruce.w...@gmail.com wrote:
It just displays: None
I'm out right now will show the code when I get back.
On Feb 11, 2012 9:35 AM, Anthony abasta...@gmail.com wrote:
Typing in a weak password cause it to
Anyone have any thoughts on this?
I have followed what both the book and sample files say can be done in
routes.py:
default_application = 'try'
default_controller = 'default'
default_function = 'index'
This simply doesn't work. Entering www.mydomain.com as the target
url in the browser routes to the welcome app not
I can't Find it for python 2.7 and windows 64bit ?? What to Do ??
You would have to compile it yourself in that case. I don't know how to do
that on Windows, so maybe someone else would have some tips for that.
This doesn't work either:
routers = dict(
BASE = dict(
default_application = 'try',
),
)
I placed the above as routes.py in the web2py folder (of /var as it
happens). All applications run when explicitly referenced as
www.mydomain.com/try.
Do I need to restart web2py?
On Feb
On Feb 11, 2012, at 12:47 PM, Lewis wrote:
This doesn't work either:
routers = dict(
BASE = dict(
default_application = 'try',
),
)
I placed the above as routes.py in the web2py folder (of /var as it
happens). All applications run when explicitly referenced as
The answer appears to be: yes, you must restart web2py.
That means probably the sample in my first post would also work.
So, a question:
Why do the dictionaries need to be nested? In other words why is the
key BASE necessary?
My rant on the manual still stands. Sorry to be disagreeable.
On Feb 11, 2012, at 12:51 PM, Lewis wrote:
The answer appears to be: yes, you must restart web2py.
That means probably the sample in my first post would also work.
So, a question:
Why do the dictionaries need to be nested? In other words why is the
key BASE necessary?
Because the
The answer appears to be: yes, you must restart web2py.
That means probably the sample in my first post would also work.
So, a question:
Why do the dictionaries need to be nested? In other words why is the
key BASE necessary?
My rant on the manual still stands. Sorry to be disagreeable. Lots
I have followed what both the book and sample files say can be done in
routes.py:
default_application = 'try'
default_controller = 'default'
default_function = 'index'
This simply doesn't work. Entering www.mydomain.com as the target
url in the browser routes to the welcome app
It's a bug, fixed in trunk but present in 1.99.4, in the translate()
function of gluon/validators.py.
On 11 Feb, 20:49, Bruce Wade bruce.w...@gmail.com wrote:
11 is a weak password I was suggesting to enter
On Feb 11, 2012 11:48 AM, Bruce Wade bruce.w...@gmail.com wrote:
It just
On Saturday, February 11, 2012 2:49:05 PM UTC-5, Detectedstealth wrote:
11 is a weak password I was suggesting to enter
I see. Even when I try 11, I still get the appropriate error message.
Will wait to see your code.
Anthony
On Saturday, February 11, 2012 4:35:25 PM UTC-5, Detectedstealth wrote:
Ok just got back this is the code I am using for both password and
security password (with name changed only)
LABEL(SPAN(T('Password'), _title=T(Choose a safe password)),
INPUT(_name='password',
Viniciusban - if a scheduler task fails or times out then no it will not be run
again unless you change the status back to queued. Guess it is good because it
makes you handle possible errors and prevents runaway tasks, but rather
annoying during testing since you must reenable after errors or
You can
db(db.scheduler_run.status=='FAILED').update(status='QUEUED')
and they will run again.
On Feb 11, 4:58 pm, Brian M bmere...@gmail.com wrote:
Viniciusban - if a scheduler task fails or times out then no it will not be
run again unless you change the status back to queued. Guess it is
Thanks.
I'll try those.
Is there any general guidance on when an argument that is set with
an assignment statement can be a list? ('always' would be an
interesting answer...)
On Feb 10, 11:24 am, Lewis lewis_le...@hotmail.com wrote:
The model follows. Focus on the category.name field (and
Can you attempt a patch? Else I can do it, but open a ticket first.
Thanks.
On Feb 11, 10:51 pm, Bruce Wade bruce.w...@gmail.com wrote:
See attached welcome application.
Downloaded fresh current stable source code from web2py, started server
created a register action at the top of default.py
I am working exclusively with web2py, over 2 years (8-24 hours a day *7)
plus holydays. And I never used an IDE. I use Sublime-text-2 and VIM, I
have Python code completion and I have set some web2py completions for
common code snippets both in VIM and Sublime-text.
But, If I wanted or needed to
47 matches
Mail list logo