NOTE: This works fine on my local system just not on the live servers and
the error message provided is impossible to find out where the problem
exists. As Michele says I can debug at the postgres level however if there
is an issue with secondary DB in web2py not throwing accurate error
messages
Am Donnerstag, 14. Juni 2012 22:45:19 UTC+2 schrieb Michele Comitini:
2012/6/14 KarlHeinzF kh.flor...@florian-sw.de:
Hallo everybody,
first of all I am new to python and web2py.
I am planning to re-develope some of my windows applications in python
for
the web.
What is best to
On Fri, Jun 15, 2012 at 6:10 PM, Anthony abasta...@gmail.com wrote:
Note, web2py will have the same limitations as any framework in this case.
Right. I just didn't know how much of the Web2py forms magic
depended-on/required client-side scripting.
Most things should work fine, except of
I'm looking to potentially use background task(s) to offload sending
of emails and updating of other offline resources, and I'm trying to
sort out what the implications are.
In the PDF of the book (just released for free, thank you!), page 389,
section 8.5 Sending messages using a background task
someone beat me to it (swamped this week), the attribute is projection now
in trunk.
On Wednesday, June 13, 2012 12:17:06 PM UTC-7, Anthony wrote:
Can we simplify to projection=True instead of withprojection=True?
Anthony
On Wednesday, June 13, 2012 2:49:55 PM UTC-4, howesc wrote:
Hi
Hello, I need some help:
How is possible to serve both web pages from apache server and web2py apps
in the same physycal machine?
Thanks in advance!
You can host web2py on Apache, but if you must keep them separate then
I recommend using different port numbers.
On Sun, Jun 17, 2012 at 2:07 AM, Fernando J fernandojabon...@gmail.com wrote:
Hello, I need some help:
How is possible to serve both web pages from apache server and web2py apps
in
You need two VirtualHost configs
http://httpd.apache.org/docs/2.0/vhosts/examples.html
You can find examples in web2py book:
http://web2py.com/books/default/chapter/29/13
Marin
On Sat, Jun 16, 2012 at 6:07 PM, Fernando J fernandojabon...@gmail.comwrote:
Hello, I need some help:
How is
Gracias
El caso es que tengo un servidor dedicado, además gestionado con Plesk,
donde hay unos 30 dominios reales alojados
Y así las cosas, visto que trabajar con web2py es una decisión inteligente,
no debo alterar el servidor apache pero quiero
alojar algún dominio programado bajo web2py.
Lo
Thanks, it's working now
On Sat, Jun 16, 2012 at 1:57 PM, Anthony abasta...@gmail.com wrote:
Here is a list of the current set of tags:
DAL
GAE
GIS
REST
ajax
auth
bug
cache
components
contrib
crud
css
debugging
deployment
development
e-learning
error_handling
forms
grid
Hi all,
I'm preparing to start using EntityGroups for transactions on GAE and this
has led me to desire to have access to a GAE entity's key and parent
information from selects and inserts.
Along the way i noticed that the fix
for http://code.google.com/p/web2py/issues/detail?id=694 breaks
I got it!
To any one who need id:
1.- First in httpd add ports( i.e.) 8000 and 8443 for Listen
El sábado, 16 de junio de 2012 18:34:49 UTC+2, Alec Taylor escribió:
You can host web2py on Apache, but if you must keep them separate then
I recommend using different port numbers.
Unfortunately I haven't been able to get Facebook login with OAuth2 working.
I've created a tiny test-case below with the problem.
The only major changes I have made is to models/db.py with a minor
function (foobar) in controllers/default.py.
https://gist.github.com/9967cb95fe026890dae7
I have
I intend to deploy web2py using Nginx and uwsgi on a VPS. On the same
server, I also installed virtualenv to manage other python packages needed
for my application.
At the end of this this setup
scripthttp://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh,
if you're familiar with database transactions, web2py istantiate a new
transaction every request and commit (if no exceptions are thrown
automatically) at the end of the request.
in a module, if you want to roll your own daemon, a transaction is
initiated at the start of the script. You have
Hello again,
I wanna use cursors on my GAE
queries:
https://developers.google.com/appengine/docs/python/datastore/queries#Query_Cursors
i have attached a patch that adds an optional parameter reusecursor to
select on GAE. If True, and the query has a limitby, it indicates that
Hello,
I am wondering how I can restrict the available choices in the dropdown
box of a form.
I got a table defined like this. This table links auth_users to customers.
db.define_table('t_customer_contact',
Field('f_customer', db.t_customer, label=T(customer)),
On Sat, Jun 16, 2012 at 2:38 PM, Niphlod niph...@gmail.com wrote:
if you're familiar with database transactions, web2py istantiate a new
transaction every request and commit (if no exceptions are thrown
automatically) at the end of the request.
Yup, that part makes sense. And I assume it is
Reference fields automatically get an IS_IN_DB validator, but you can
explicitly specify your own and pass a DAL Set as the first argument to
filter the auth_user records:
db.define_table('t_customer_contact',
Field('f_customer', db.t_customer, label=T(customer)),
Field('f_contact',
Am 16.06.2012 22:30, schrieb Anthony:
Reference fields automatically get an IS_IN_DB validator, but you can
explicitly specify your own and pass a DAL Set as the first argument
to filter the auth_user records:
||
db.define_table('t_customer_contact',
The error you get is not in uploading the file but in trying to display
something very large. I suspect there is something in your model that is
causing the problem. Can we see your model?
On Saturday, 16 June 2012 00:15:35 UTC-5, Sanjeet Roy wrote:
Can i upload the more than 100 mb file
No problem at all.
The bit of magic that I forgot to tell explicitely is that db.commit()
commits every opened transaction and starts a new one :D
just to be precise: locking is true currently only for sqlite engine, and
that's because how sqlite works (it's like that also outside web2py
In trunk with a minor change. Please make sure I did not break your patch.
massimo
On Saturday, 16 June 2012 13:59:34 UTC-5, howesc wrote:
Hello again,
I wanna use cursors on my GAE queries:
https://developers.google.com/appengine/docs/python/datastore/queries#Query_Cursors
i have
A few weeks ago, I had similar problem with uploading big files (starting
from 100Mb), I could never figure out what was the reason ... I could just
understand that web2py loaded the files into memory (for some reason) and
that caused the whole process to crash, that was my analysis but maybe it
Changes in dev in the last week or so have effect on Bootstrap. 2nd level
submenus don't work anymore if using Bootstrap 2.0.4, while bundled 2.0.2
works.
- clean welcome app from latest dev, Bootstrap css and js upgraded to 2.0.4
- clicking over the yellow web2py opens the first submenu level
try to append in static/css/bootswatch.css this rule:
.dropdown-menu ul{display:block;}
Il giorno domenica 17 giugno 2012 00:27:18 UTC+2, LightDot ha scritto:
Changes in dev in the last week or so have effect on Bootstrap. 2nd level
submenus don't work anymore if using Bootstrap 2.0.4,
This is the facebook clone very dire user policy's fault.
Unless you had requested friendship for the other user and he has accepted
you, you cannot see his profile.
You could hack this security check:
(default.py line 102)
if not user or not (user.id==me or \
Sorry. Too permissive. I meant this:
if not user or not (user.id==me or \
myfriends(Link.target==user.id).count() or \
db((db.link.source==user.id) \
(db.link.target==me)).count()):
redirect(URL('home'))
Now you should be able to examine a users profile before you decide to
web2py 2.0 will supports python 3.3 ?
--
There is a fork of web2py that works on 3.3 but this is not a feature we
want to officially support or advertise.
It will break almost all of existing apps.
massimo
On Saturday, 16 June 2012 17:17:55 UTC-5, samuel bonilla wrote:
web2py 2.0 will supports python 3.3 ?
web2py does not load the uploaded file in Ram (unless the the is uploaded
to db). The error reported Sanjeet is in fact different. It runs out of
memory trying to serialize a helper, after the file has been uploaded
completely.
Massimo
On Saturday, 16 June 2012 17:22:14 UTC-5, Khalil
I will not see the f_contact as a name anymore but only as the ids.
When I remove the requires from the table definition the ids are resolved
to the names again.
Sorry, I forgot -- for reference fields, if you don't specify any
validators, it gets a default IS_IN_DB validator, and it
Will there ever be a plan to support python 3.x?
On Sat, Jun 16, 2012 at 4:26 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
There is a fork of web2py that works on 3.3 but this is not a feature we
want to officially support or advertise.
It will break almost all of existing apps.
thanks
El sábado, 16 de junio de 2012 18:26:06 UTC-5, Massimo Di Pierro escribió:
There is a fork of web2py that works on 3.3 but this is not a feature we
want to officially support or advertise.
It will break almost all of existing apps.
massimo
On Saturday, 16 June 2012 17:17:55
When google moves to 2.7 we will. At this time 3.3 does not buy us anything.
On Saturday, 16 June 2012 19:35:21 UTC-5, Bruce Wade wrote:
Will there ever be a plan to support python 3.x?
On Sat, Jun 16, 2012 at 4:26 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
There is a fork of
A week or two ago a change was made to the nav bar to give the auth
buttons for Login, Register, etc a button look. This was part of the
fix to the dropdown menus to get them to work with bootstrap. Another
change was made to revert back to the old look (but only as an attachment
to a
Good Idea.
Done.
Either way, thanks for making the updates.
On Saturday, June 16, 2012 2:49:29 AM UTC+12, Paolo Caruccio wrote:
Andrew, do you mean the code for old auth_navbar style? If yes, I think
it's better if you open a new thread for asking to the web2py users what
style they
I like B better. I do not have a strong opinion between B1 and B2.
Can you please re-send your patch. I do not recall receiving it and cannot
find it.
Clicking on the top-level menu items now open submenus this the associated
links are silently ignored. This is a change of behavior that needs to be
addressed. Suggestions?
On Saturday, 16 June 2012 17:27:18 UTC-5, LightDot wrote:
Changes in dev in the last week or so have effect on
In B, why is the font color blue? It used to be a light gray (same as the
Home link on the left side of the topbar). I vote for B.1, but with the
old light gray text, not blue. (Note, for those who don't want the pipes,
it's very easy to remove them.)
Anthony
On Saturday, June 16, 2012
Hello,
I am still working on learning the inner workings of web2py. At the moment I am
playing with custom validators. I have unfortunately been unable to figure out
how to get a meaningful error message returned to the user.
Here is my custom validator.
class IS_VALID_A(object):
Name =
41 matches
Mail list logo