Solved: __init__.py was also missing in the top directory of the app.
Thanks for your help.
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hello i have this error i started 10 workers but only have 8 tasks.
Thank u
[image: Imagem inline 1]
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
apart from update web2py (2.0.9 is so old that my brain hurts), trying
lowering the number of workers. That error means that your database can't
keep up with the workers.
On Monday, November 17, 2014 3:16:25 PM UTC+1, Ramos wrote:
Hello i have this error i started 10 workers but only have 8
Don't have time to study your problem carefully... Though I guess you can
pass your var throught session.var from parent controller to child
controller... To do that, once your parent form is accepted you just iter
over you form.vars or just pass the vars one at an time...
for var in form.vars:
Thank u for the tip
António
2014-11-17 15:45 GMT+00:00 Niphlod niph...@gmail.com:
apart from update web2py (2.0.9 is so old that my brain hurts), trying
lowering the number of workers. That error means that your database can't
keep up with the workers.
On Monday, November 17, 2014 3:16:25
By the way, how is web2py support for Mongo ?
I only find old post about it.
Is it safe to use Mongo with Web2py ?
Is the DAL 100% compatible with mongo ?
Regards
António
2014-11-15 13:02 GMT+00:00 Alan Etkin spame...@gmail.com:
Row.__str__ is called which in turn calls Row.as_dict, well
I want the first column in grid to be a link. It's an already-existing
field in a table and displays in the correct order when not linkable.
Is using represent the only way to make this column in this
first-position a link?
If I use the links= statement, the column is displayed to the right,
The question is a taddle bit unclear
If the link is a field of the table, shifting colums is as easy as using
the fields argument with your own order.
By default it's the same order fields are defined in your models.
Why are you building the A element with a represent? There's the links
Hi!
I'm having troubles in making a query with 2 dates in SQL Server 2005.
First, my table definition:
db2.define_table('tabla_datos',
Field('na', requires=IS_NOT_EMPTY()),
Field('fecha', 'datetime', requires=[IS_NOT_EMPTY(),
IS_DATETIME(format=T(%d/%m/%Y
okay, I get it. To get granular control over every individual column, I
move all columns to links. Also, I didn't know that links don't have to
be href links.
I'm assuming I can't use the fields argument to move some of the virtual
link fields to the left and some to the right of the table
I'm assuming I can't use the fields argument to move some of the virtual
link fields to the left and some to the right of the table fields.
I mean fields argument cannot name virtual fields, correct?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
I lobbied to rename the links argument a while ago, as it is not just for
links -- the content of a link column can literally be anything at all.
Anthony
On Monday, November 17, 2014 7:12:15 PM UTC-5, Alex Glaros wrote:
okay, I get it. To get granular control over every individual column, I
In grid, can fields argument name virtual fields?
Or can it only use fields from the table?
If it can, what is the format?
Alex
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I'm trying to run a shell command in Linux from web2py? Is that possible
and how would you accomplish that? Thanks in advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I have a web2py form page which works locally, and on ubuntu running on ec2
at Amazon.
I'm trying to set it up at pythonanywhere and I'm getting an error: 405 Not
Allowed
I don't receive a web2py ticket or any other errors in the error log. I
don't see any errors using firebug.
I believe I've
Hi,
what is standard (read easy ;-) way to export smartgrid to pdf
I tried replacing http://127.0.0.1:8000/app/controller/index to
http://127.0.0.1:8000/app/controller/index.pdf but got an error:
type 'exceptions.RuntimeError' Table column/cell width not specified,
unable to continue
Please
Hi Limedrop,
I've checked both components, and it's unclear how the medium-notes are
stored and retrieved.
Do you happen to know if the medium-notes require a database to store these
notes?
Cause apearantly it was decided to avoid using databases for the book,
mainly due to performance issues.
I basically want either *http://localhost/shop *or*
http://localhost/shop/shoes* to route to index() in shop.py. Is that
possible?
File *shop.py*:
def index:
return dict()
On Friday, November 7, 2014 6:46:36 PM UTC-8, Anthony wrote:
It's not quite clear what you want. Is shoes a
Performance, some collections (tables) have lots of references fields and
have poor select performance using the DAL
On Nov 14, 2014 6:40 PM, Leonel Câmara leonelcam...@gmail.com wrote:
Why are you talking to mongodb directly? This completely ruins the purpose
of using a DAL.
What's happening
So what I'd like to do is once a user makes a selection from the drop down
of an autocomplete field (for instance selecting a customer) in a view ,
I'd like to immediately update the address, city and state fields on the
same view. How would I go about that?
Thanks,
Carl
--
Resources:
-
I'm not too familiar with Console, could you explain how to filter it so it
only shows web2py material?
On Wednesday, September 17, 2008 11:40:39 AM UTC-7, Massimo Di Pierro wrote:
It goes in the OSX console. Type console in finder.
Massimo
On Sep 17, 2008, at 12:46 PM, Scott Hunter wrote:
I am working on an app where the user can select items by clicking on a
button for each item on the index page. It works fine, except after each
item selected the user has to be redirected to index and ends up on the top
of the first page at item 1. Then the user has to go back each time and
Put information about the current page in the request.args dictionary. You
could use the session, but if your user opens a second browser window it
becomes difficult to keep track of which session data corresponds to which
browser tab.
On Friday, November 14, 2014 8:37:25 PM UTC-5, Joe wrote:
I believe the book is correct. Are you sure the redirect doesn't work?
request.function should be second if that was the requested function. The
redirect occurs after the request is parsed.
On Saturday, November 15, 2014 4:58:15 AM UTC-5, T.R.Rajkumar wrote:
In book chapter 3 overview the
what is not working?
On Monday, 10 November 2014 04:21:31 UTC-6, Yebach wrote:
Hello
In my db.py i have the following settings
auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = True/False - it is always
Fasle - user can login even if
there is a function db.mytable.myfield.retrieve(row.myfield)
On Monday, 10 November 2014 10:51:53 UTC-6, LoveWeb2py wrote:
Here is the code in the link:
db.define_table('music', Field('name',required=True),
Field('filename','upload',required=True), auth.signature)
There is a
scripts/setup-web2py-centos7.sh
which is more recent
On Tuesday, 11 November 2014 05:29:34 UTC-6, lesssugar wrote:
Hi, guys, I would like to setup web2py on my CentOS 6.6 and I'm looking
for deployment script, as I'm no expert.
Apache and MySQL is in place, but I'm looking
yes. Strange you get a pyc file error. Perhaps you have a compiled app?
On Tuesday, 11 November 2014 15:49:21 UTC-6, John Davis wrote:
Hello
If I get an error in the ticket exception output which shows an error at
line x in a .pyc file, can I assume that the corresponding .py file on line
The online manual explains it here:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Date-and-time-validators
If I recall correctly, it may also be necessary to make an entry in your
language dictionary. But try it first without such an entry.
On Monday, November 17, 2014
Why do you want to do that?
On Friday, November 14, 2014 4:01:25 PM UTC-5, BitHui wrote:
I'm trying to run a shell command in Linux from web2py? Is that possible
and how would you accomplish that? Thanks in advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book
Problem is that IS_LIST_OF experts to validate a list. Instead you are
passing (not a list) and None (also not a list).
I agree that it is odd that interprets '' as [] and None as [None].
They should either be interpreted as [''] and [None] or both as an empty
list.
Your proposed fix makes
In my todo list but no great progress yet.
On Friday, 14 November 2014 05:58:10 UTC-6, Ramos wrote:
Just checking the status of Jform.
Any news on it?
Regards
António
2014-09-10 2:02 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com:
I agree. I have not implemented but I was
I am able to visit the second page directly without visiting the first page
if I have only the request.function. If I add the session var condition
then it restricts.
On Saturday, November 15, 2014 3:28:15 PM UTC+5:30, T.R.Rajkumar wrote:
In book chapter 3 overview the following is given to
form_upload = SQLFORM.factory(Field('your_excel_file', 'upload',uploadfolder
='helloworld/uploads'))
if form_upload.process().accepted:
session.your_excel_file = form.vars.your_excel_file
def import_from_excel():
workbook = xlrd.open_workbook(session.your_excel_file)
When
Hello all.
I would like to add Like and Share buttons to my app.
It seems really simple with this Facebook instructions:
https://developers.facebook.com/docs/plugins/like-button
I've had these buttons at the end of my layout,.
I need to build the url to pass to Facebook.
mail was not send to verify a new user. I found out that is because I was
not using auth form but SQLFORM.factory. After I changed mail is now send
2014-11-18 5:44 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com:
what is not working?
On Monday, 10 November 2014 04:21:31 UTC-6, Yebach
Hi:
This patch broke my rss.
When update web2py 2.9.5 to 2.9.11 the RSS produces an encoding error.
Ticket ID
192.168.0.109.2014-11-18.08-43-24.a4e11dac-b0ab-49b8-83b7-105ea1ba5ad2
type 'exceptions.UnicodeEncodeError' 'ascii' codec can't encode
character u'\xf3' in position 23: ordinal not
37 matches
Mail list logo