Right.
Then why does the whole ticketting system depend on admin ?
It is even said in the Deployment Recipe chapter of the doc
http://www.web2py.com/books/default/chapter/29/13/deployment-recipes#Collecting-tickets
: You can later view the errors *using the admin app*, clicking on the
switch
apparently I did something diffrent back than. Now its working.
Thanks
On Tue, Nov 25, 2014 at 6:55 PM, Leonel Câmara leonelcam...@gmail.com
wrote:
This is working fine for me.
db.define_table('fruit',
Field('name'),
)
db.define_table('cocktail',
Field('fruit','list:reference
I think I was a little quick to write it works. The multiple select shows
but the entries won't move to the second box. So no function of the widget
at all.
How do I open up the console to check for javascript errors?
On Fri, Nov 28, 2014 at 11:55 AM, Kevin Bethke kevin.bet...@gmail.com
wrote:
I now get why many blogs and forums discussing web2py vs other
framework always end up mentionning that developping on web2py starts as a
very thrilling experience but often leaves a bitter taste.
You could have suggested that we make admin more production ready than it
already is, maybe even
Hello
I have a SQLFROM.grid and some fields are not editable but the value is
calculated based on two other fields a user inserts and should be seen for
user after he inserts the values for them
e.g.:
start time : 9:00 --user inserts
end time : 11:00 --user inserts
duration: 2:00 - calculated
You would need to write JavaScript code to get that done.
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Fri, 28-11-2014 5:15 PM, Yebach wrote:
Hello
I have a SQLFROM.grid and some fields are not editable but the value
is calculated based
I don't think commenting about my age is any more mature than what you
claim I would be...
Anyway, contributing is amongst my current preoccupations - as I mentionned
in another post.
The thing is : my disappointment here lies in the architecture, not the
features.
There is little
I go back to this thread because today I ran with the same problem:
postgresql reaching max_connection limits and, therefor, some of my
websites throwing intermitent HTTP 500 errors (because web2py couldn't
connect to the database).
To remind, we are talking of a VPS with multiple instances of
Any project will eventually outgrow any framework it uses, when that
happens you can either contribute to the framework if it makes sense or
just do it yourself for that application. The advantage is that with web2py
you can use the included tools while you don't reach that moment while with
a
Hi.
I'd like to use the domain model pattern and keep database access code
outside models. It seems to me that using a simple database abstraction
layer such as web2py DAL better fits to transaction script (no domain
models or anemic domain model - models reflect tables) or active records
Hi,
I have this weird scenario in which i have to send the filename in the
query parameter like this:
'host' : wpvr_variables.ajaxurl + '?action=wpvr_upload_file' +
'filename=recorded_file' + wpvr_variables.post_id,
but it is only taking the first parameter action from the url and
discarding
I can make the client work if using python suds and pysimplesoap. But when
I use JAVA-WS client, I always got the error:
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
https://aa.bb.cc.dd//default/call/soap?WSDL. It failed with:
Got java.security.cert.CertificateException:
Hi,
I saw a discussion begin on this subject on Stackoverflow but can't find the
continuation here.
I have a case where I need to use the input in one form field (eg portfolio) to
filter options of the IS_IN_SET constraint for a subsequent form field (eg
sector/industry).
I'm pretty new to
Thanks I'm testing this now. I'll let you know if it works.
On Monday, November 24, 2014 10:04:56 AM UTC-7, Derek wrote:
If you don't need sessions for those requests, you should disable sessions
first and see if that works better. Sessions kills concurrency.
On Friday, November 21, 2014
Hi
I use the built-in web2py Wiki. It works create without mod_proxy
configuration. If I use mod_proxy with Apache I get wrong URL for the
uploaded media files (png graphics etc.).
My Apache virtual host file:
VirtualHost *:80
ServerAdmin webmas...@myserver.ch
ServerName
Hi Guys,
I've just stumbled upon something of what i think could be a bug.
When you use an openldap server(uid/cn) to manage the users and groups,
these values should be imported to the respective auth-tables upon login
(membership, user, etc..)
However i've just added a new memberUid-attribute
I have a series of form elements as follows
form = SQLFORM.factory (
Field ('client',
requires=IS_IN_SET (['Client','Rhubarb','Custard','Bogies']),
default='Client'),
Field ('portfolio',
requires=IS_IN_SET (['US Equity','Multi Asset
Hi All,
anyone have success using MongoDb in DAL? When I ran web2py, I don't see
MongoDB listed.
here is what I got when I ran web2py command
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2014
Version 2.9.11-stable+timestamp.2014.09.15.23.35.11
Database drivers available:
Hi,
I'm just wondering if anyone has experienced the same problem or not.
Basically, I get a segmentation fault (scheduler process killed by signal
11) if I try to start more than one scheduler under OS X.
The problem can be reproduced with the built-in welcome app by adding a
Hi to all,
I have an web2py framework and it is very good, and i want to know about
some details like how to get user logs details, errors details, user
management details and administration management.
Thanks
Mohemed
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
bump, any news? This is really anoying not to be able to preserve vars as
we can args
Dana petak, 24. listopada 2014. 21:47:38 UTC+2, korisnik Alen Cerovic
napisao je:
I am on the same boat, any solutions?
Dana subota, 18. listopada 2014. 20:57:46 UTC+2, korisnik Alfonso de la
Guarda
Hello (and Happy Thanksgiving)
I've walked through the tutorials about creating a simple model (db table)
then using the controller and view to automatically generate forms with
validation. They are GREAT!
My problem is when I tried to modify the form.
For example, I created a simple model
This topic can be closed.
Instead of using the sqlform.factory()-statement, you can just set
db.table.field.widget = multiselect_widget.
To activate the widget for this field.
On Friday, November 21, 2014 10:29:29 AM UTC+1, Dennis Jacobs wrote:
Hi Kenji,
First of all I wanted to thank you
I'm using MySQL, but I've also used SQLite. Yes I've verified that the
POST is timing out. I ran another test and the script ran for 2 days until
the error showed up again. I reloaded the default/index webpage in my
browser and now its working again. I'll try disabling sessions as Derek
Hi All,
I'm having issue with Web2Py and MonogoDB in Windows 7. When I ran the cmd
web2py, I don't see MongoDB driver database as available. Howerver, I
installed the Pymongo driver and installed MongoDB successfully in my pc.
Here is what I see when I do web2py command:
Created by Massimo
are you using the binary or the source distribution ?
On Friday, November 28, 2014 5:05:22 PM UTC+1, Oliver wrote:
Hi All,
I'm having issue with Web2Py and MonogoDB in Windows 7. When I ran the
cmd web2py, I don't see MongoDB driver database as available. Howerver, I
installed the
ticketing doesn't depend on admin, and you - again usually - don't want to
see errors on the production server.
Just copy errors over and see them on your development instance (or let the
script tickets2email.py send the errors over to you).
And...in a production server appadmin.py isn't
On Friday, November 28, 2014 3:31:02 PM UTC+1, Lisandro wrote:
I go back to this thread because today I ran with the same problem:
postgresql reaching max_connection limits and, therefor, some of my
websites throwing intermitent HTTP 500 errors (because web2py couldn't
connect to the
def test():
newid = sched.queue_task(, immediate=True)
db.commit() #the db instance where the scheduler is
while True:
rtn = sched.task_status(newid)
if rtn.status == 'COMPLETED':
...blablabla
break
time.sleep(3)
not
whoa! yet another reason to ditch urllib in favour of requests. thanks for
the report though.
On Tuesday, November 25, 2014 8:40:38 PM UTC+1, Jack Kuan wrote:
Hi,
I'm just wondering if anyone has experienced the same problem or not.
Basically, I get a segmentation fault (scheduler process
Related, but not exactly the same question:
I'm submitting an immediate task in a regular (no sleep or anything --
though no special commit either); I can see it's queued for seconds and
sometimes minutes before getting assigned and running.
There are no other tasks waiting or running, there
You'll need to use Ajax. Check out this link:
http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910.
Anthony
On Thursday, November 27, 2014 7:04:28 PM UTC-5, tahnoon pasha wrote:
Hi,
I saw a discussion
I will attend.
-Dave Lypka.
On Thursday, November 6, 2014 1:48:14 AM UTC-6, weheh wrote:
*Massimo Di Pietro, web2py's originator, will attend our own Bay Area*
*web2py
meetup* to meet, greet and present. Additional talks by Dexter Hadley, of
Stanford University and Richard Gordon, of
To make a field un-writable, set its writable attribute to False. To
completely remove it from the form altogether, you can also set its
readable attribute to False. If you would like the field to get a default
value based on data in the session, you can set the default and/or
update
I want to let the user do a query and paginate through the resulting table.
grid/smartgrid would be great, except that I need to supply the query
through a form and not leave it open -- the query has minimum and maximum
values for most fields, multiple selects for others (I build the search
Mmm... I see. That was my understanding in the first place.
At that time I did the maths, I had 10 apps, each one using a
pool_size of 3. In postgresql.conf max_connections was set to 80.
However this morning, with those numbers, almost every of my websites
was throwing intermitent HTTP 500
I suppose it depends on your requirements, though note that the web2py DAL
isn't *that *simple -- you might find you can get pretty far with things
like virtual fields
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Virtual-fields,
table inheritance
The grid allows you to implement a custom search widget (via the
search_widget argument) as well as a custom server-side search function
(via the searchable argument) to build a query based on the keywords
returned by the widget. This isn't well documented, so you'll have to look
at the source
Louis, I think you're getting a little pushback because you make a rather
extreme criticism in the face of a fairly small issue that (a) you can
easily work around right now and (b) would not be difficult to fix in the
framework. Furthermore, the issue at hand affects features of web2py (i.e.,
You could see DAL as a scoped ORM i.e. for specific kind of objects, these
object are Table(s) containing Field(s) and the way to manipulate those
objects mimics as much as possible the relational model. By no mean DAL is
thin. As a matter of fact it allows extremely sophisticated thing like
Are you using the source version of the binary version of web2py? The
binary version comes his own python version.
On Wednesday, 26 November 2014 09:42:56 UTC-6, Oliver wrote:
Hi All,
anyone have success using MongoDb in DAL? When I ran web2py, I don't see
MongoDB listed.
here is what I
Only the users table is populate in this case, not groups and membership.
On Thursday, 27 November 2014 07:20:27 UTC-6, Dennis Jacobs wrote:
Hi Guys,
I've just stumbled upon something of what i think could be a bug.
When you use an openldap server(uid/cn) to manage the users and groups,
say you have a field called 'client' you can do:
form.element(_name='client')['_placeholder'] = 'The label for client'
Massimo
On Thursday, 27 November 2014 20:02:36 UTC-6, tahnoon pasha wrote:
I have a series of form elements as follows
form = SQLFORM.factory (
Field
for example
def index():
return dict(form =
SQLFORM(Field('a',requires=IS_IN_SET(('one','two'))),Field('b',required=IS_IN_SET([]
def options():
cases = {'one':['x','y','z'], 'two':['w','e','r']}
return response.json(cases[request.vars.a])
and in JS
Hy everyone.
I'm working with web2py since one year. In most cases it's a fine and easy
way to develop a nice working web app.
Now i want to create a new web application in web 2.0 design.
For this i want to use more bootstrap components
i need to use the bootstrap slider
Hi
I am using a query like ;
rows = db(db.v_histo_freins.busid == busid).select()
and I am using a function to generate the HTML table.
I made this function to serve my look and feel needs and so it would adapt
to any kind of rows result.
When I run the query and my the function, I get
select(orderby=db.v_histo_freins.DateJour||db.v_histo_freins.FRAVD)
On Friday, 28 November 2014 12:32:28 UTC-6, Daniel Lafrance wrote:
Hi
I am using a query like ;
rows = db(db.v_histo_freins.busid == busid).select()
and I am using a function to generate the HTML table.
I made
47 matches
Mail list logo