Recursive
selects: http://web2py.com/book/default/chapter/06#Recursive-selects. One
query per record, so a join is more efficient if processing lots of records
at once.
Anthony
On Saturday, September 24, 2011 1:59:21 AM UTC-4, encompass wrote:
I thought I needed a join to print .name
I am just starting out with Web2py and am looking for an application/
appliance to start off..
The Appliances available often do not provide much information so it
appears that I can only download them..
I would be interested in getting more information about more
Appliances and Applications.
Or
I am using this in AnimalSystem.com.br for two purposes..
Clinical reports are saved by veterinary laboratory in a local shared
folder, so from system I have a Fetch reports button which goes to Dropbox
folder and take the docs. teh accounts are configured by users and strored
in a database.
No. But I realized that I was using 1.94 and now switched to 1.99. I
will use 1.99 and see if there is a problem. Was there a problem like
that in 1.94?
On Sep 23, 11:44 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Do you touch sys.path in your code?
On Sep 23, 3:21 pm, Necati Demir
I started to see error messages again. So it is not about 1.94.
On Sep 24, 10:26 am, Necati Demir ndemir.de...@gmail.com wrote:
No. But I realized that I was using 1.94 and now switched to 1.99. I
will use 1.99 and see if there is a problem. Was there a problem like
that in 1.94?
On Sep 23,
Open a google issue for this...
http://zerp.ly/rochacbruno
Em 23/09/2011 17:42, sd eez...@gmail.com escreveu:
Czech translation
http://pastebin.com/pg4xhzJt
ps: chtelo by to nejakou osvetu na zdrojak.root.cz :)
You are correct. I misspoke.
On Sep 23, 8:30 pm, Anthony abasta...@gmail.com wrote:
As I understand the term, use of detect_record_change is actually optimistic
locking. When User 1 loads an update form, User 2 can still read the
existing record and even load their own update form. However,
+1 it's confusing every body, I made this way because I don't want to touch
DAL.
Hi, I have same problems here.
can someone record a step by step screencast?
when I clone the repo, I only get one folder and 4 files:
public_html dispatch.fcgi
icon.png
README
tmp_fb_pw
how I can to add one app?
Thanks so much!
Hi, Pepe
Some time ago, I wrote how to add applications to README.md.
Please read this file.
https://github.com/nus/web2py-for-fluxflex/blob/master/README.md
2011/9/25 Pepe Araya pepea...@gmail.com:
Hi, I have same problems here.
can someone record a step by step screencast?
when I clone the
I have a loop in a view that loads a set of components (see code
below). However if one of the components fails then I get a
restricted error and the line number is the line of the LOAD command
so I do not even know which component failed let alone the real error
message and line number.
Is using
Is it the same component that is failing? You can view the component by
itself in the browser like this:
http://localhost:8000/myapp/component/function.load
Hi,
I'm quite impressed with the features in this release (also it didn't break
anything :) )
Just a question for Martin or Bruno, or anybody who knows the answer
regarding smartrgid/grid and Jquery UI themes application. I've spent few
hours searching through this group and couldn't find the
I am loading 12 components. The error message restricted error on
the LOAD line is unhelpful. It does not tell me which component has
failed. Today it is one component, another day it may be another.
Of course I can amend the code to try one component at a time and then
do what you suggestis
I am writing a Web UI for Mercurial TODO Plugin and for that case I
am not going to need Auth. WHy it is a requirment ?
On 9/23/11, Anthony abasta...@gmail.com wrote:
Why does it have to use Auth? What if access control isn't relevant for the
particular app?
Anthony
On Thursday, September
I already ran into this problem and i beleive theres a need for
announcement section on web2py.com site showing that generic is
disabled by default Starting at ... Version.
I already suggested to massimo i believe he will add an announcement
section when hes free.
On 9/22/11, nick name
Martin,
I'm curious about structuring a new app using the new importing and modules.
I read your blog post:
http://martin.tecnodoc.com.ar/default/post/2011/09/12/7_optimize-your-web2py-app-using-the-new-import-method
Which is very helpful but I couldn't get it to work. I suspect the
Can you print each component name? Maybe like:
{{for component in componentlist:}}
{{=str(component.function}}
{{=LOAD(f=component.function, extension=load, ajax=False,
ajaxTrap=True, args=component.args, vars=component.vars)}}
br
{{pass}}
I can do that then load the component separately to test it as you
suggested.
But it still feels a bit wrong. Why can't web2py tell me where the
error has occurred?
On Sep 24, 7:37 pm, pbreit pbreitenb...@gmail.com wrote:
Can you print each component name? Maybe like:
{{for component in
When call singleview and submit the form it should print singleview,
edit, edit. However it prints singleview, edit, singleview, edit. Why
is the submit not trapped and sent via ajax to the edit controller?
controller.
def edit():
print(edit)
table=db[customer]
I'm still not able to get this to run. I even tried restarting apache
but to no avail.
*/1 * * * * python /home/www-data/web2py/web2py.py -J -S my_app_name -
R /cron/ctest.py
ctest.py looks like this and runs fine in the command line on the
server:
FILE = open(pytest.txt,w)
I also just tried:
*/1 * * * * python /home/www-data/web2py/web2py.py -S sos_test -M -N -
R applications/sos_test/private/scripts/ctest.py
and
*/1 * * * * python /home/www-data/web2py/web2py.py -S sos_test -M -N -
R /private/scripts/ctest.py
I also noticed that my crontab file doesn't have a
Congrats Martin,
Great slides, I am going to stole something for my talk sept 29.
http://zerp.ly/rochacbruno
Em 24/09/2011 11:25, Martín Mulone mulone.mar...@gmail.com escreveu:
web2py slides from pycon argentina (spanish)
--
http://martin.tecnodoc.com.ar
That's really helpful. Somehow I had missed it. Thanks Yota.
I have a db text field that is displayed to the user and I'd like to be able
to format the text inside using html. But when I retrieve a row (using
db.select()) and display the field (using {{=row.field}} in my view) the
html just shows up as normal text. Is there any way to fix this? I.e., to
{{=XML(row.field)}}
http://zerp.ly/rochacbruno
Em 24/09/2011 17:18, monotasker scotti...@gmail.com escreveu:
I have a db text field that is displayed to the user and I'd like to be
able
to format the text inside using html. But when I retrieve a row (using
db.select()) and display the field
Hi,
As nobody answered this question, I'll give it a try. I only installed this
module couple of few days ago, and here it's how I've set it up.
Ok so you install iadmin as a module inside the app.
You access it with this link:
Thanks Bruno. Nice and simple.
Ops, sorry you have to install it as a plugin not module.
+1
Ovidio Marinho Falcao Neto
ovidio...@gmail.com
83 8826 9088 - Oi
83 9334 0266 - Claro
Paraiba-Brasil
2011/9/24 Martín Mulone mulone.mar...@gmail.com
web2py slides from pycon argentina (spanish)
--
I'd taken chinakr app using deck js to make presentations (thanks!),
and added some tables to support automatic slides generation using
markmin.
Included as an example are my tree talks at the conference:
- rad2py
- Python Sucks
- gui2py lighting talk
You can see that running here:
this is in trunk now. thanks sd.
On Sep 23, 1:16 pm, sd eez...@gmail.com wrote:
Czech translation
http://pastebin.com/pg4xhzJt
ps: chtelo by to nejakou osvetu na zdrojak.root.cz :)
Yes they are:
grid=SQLFORM.smartgrid(db.person,ui='jquery-ui')
On Sep 24, 12:48 pm, Ivica Kralj ivicakr...@gmail.com wrote:
Hi,
I'm quite impressed with the features in this release (also it didn't break
anything :) )
Just a question for Martin or Bruno, or anybody who knows the answer
Yes it should. Please open a ticket this will require some thought and
some work
On Sep 24, 2:01 pm, apple simo...@gmail.com wrote:
I can do that then load the component separately to test it as you
suggested.
But it still feels a bit wrong. Why can't web2py tell me where the
error has
+1
On Sep 24, 5:44 pm, Mariano Reingart reing...@gmail.com wrote:
I'd taken chinakr app using deck js to make presentations (thanks!),
and added some tables to support automatic slides generation using
markmin.
Included as an example are my tree talks at the conference:
- rad2py
-
Fantastic slides. I see you moved to the new form.process().accepted
syntax. ;-)
On Sep 24, 9:25 am, Martín Mulone mulone.mar...@gmail.com wrote:
web2py slides from pycon argentina (spanish)
--
http://martin.tecnodoc.com.ar
pensandoengrande.pdf
1139KViewDownload
Thanks for your reply, but it keeps the same error message
1.Traceback (most recent call last):
2. File gluon/restricted.py, line 181, in restricted
3. File PATH web2py
folder/web2py/applications/sistema/models/plugin_instant_admin.py
Hi,
I'm trying to create a layout plugin, and I'm using the existing
layouts at www.web2py.com/layouts as a guide.
I've noticed that they have names like web2py.plugin.layout_Name.w2p
but when I install them they are all called plugin_layouts.
I'm guessing the plugin name in the w2p file was
I have a complex select() that would be much easier if I could do a left
outer join between a db table and a rows object resulting from a previous
db.select(). Is this possible?
Good point. The name of the plugin (after installed) is not determined
by the filename (w2p) but determined by the file content of the w2p
file.
I used the convention to put all layout as subfolder so a
plugin_layouts so
web2py.plugin.layout_xxx.w2p would contain
views/layout.html
Can you provide a sql example?
On Sep 24, 6:51 pm, monotasker scotti...@gmail.com wrote:
I have a complex select() that would be much easier if I could do a left
outer join between a db table and a rows object resulting from a previous
db.select(). Is this possible?
Must be a bug.
from storage import Settings
should be
from gluon.storage import Settings
You may want to report it to the author.
On Sep 24, 6:45 pm, Javier Quarite jquari...@gmail.com wrote:
Thanks for your reply, but it keeps the same error message
1.Traceback (most recent call last):
It works!
Thank you so much
I sent an e-mail yesterday but I got no response. I hope this post help
others
On Sat, Sep 24, 2011 at 6:57 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Must be a bug.
from storage import Settings
should be
from gluon.storage import Settings
You
Has anybody tried 1.99.1 with https (other thank Dirk)? We have a
strange error logged and we cannot get to the bottom of it. Perhaps if
you have tried on other OSes/Python version it can help us narrow it
downs. It seems to work even if the error is logged.
Massimo
This thread did not work as I expected. Let's try again. I am
interested in the set of apps meeting these specs:
- it does matter if you wrote or just saw it, just post below
- the app must be open source
- the app must be under version control and available
- the app must use Auth
- avoid
My sql is very rusty, but here's the use case. I have two tables, one with
quiz questions (db.questions) and one with records for each student's
performance on each question (db.question_records). The latter table adds a
new row when a particular student tries a question for the first time, and
thank you so much!
Yes, I'm using it. My configuration:
Scientific Linux 6.1 in an openvz virtual machine, fully updated
python 2.6.6-20.el6
apache 2.2.15-9.sl6.2
using mod_wsgi in daemon mode.
I'm using SSL with a self signed cert, standard port 443. So far I have only
used the admin app briefly, with
Just tried ssl via the admin console.
Running windows 7 64 with 32 bit (I think) python 2.7.2.
Got this in firefox version 6.x:
Secure Connection Failed
An error occurred during a connection to 127.0.0.1:8000.
SSL received a record that exceeded the maximum permissible length.
(Error code:
I assume it does *not* matter if you wrote or just saw it?
This might be a different error you're seeing. Your web2py does not seem to
be configured for SSL connections. Did you pass the path of your SSL
certificate to the Rocket server? Do you have the python ssl library
installed?
This somewhat cryptic error usually means that you're trying to
Thanks Massimo,
It is a good convention to keep consistency across many layouts, so
I'll do the same.
Regards
Andrew
On Sep 25, 12:56 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Good point. The name of the plugin (after installed) is not determined
by the filename (w2p) but
I had a problem logging in to admin on http. I fixed it by creating the
private directory which I think write_hosts_deny expects.
I then ran into the version parsing problem but I think that's fixed in a
more current changeset. I can't tell if my admin app gets updated when I do
hg pull -u?
I have my errors set to redirect to an app named error.
I might have fixed mine by reverting this change:
http://code.google.com/p/web2py/source/detail?r=07ae0d6cb4792e6ee7c660add78cc8fa0b9c9d13
I don't really get how string interpolation works here. Would this work?
myversion = Version 1.97.1 (2011-07-04 00:39:51)
{{=Version %s.%s.%s (%s) %
55 matches
Mail list logo