It seems like nginx can be run by www-data as well. So:
Delete:
sudo('adduser --system --no-create-home --disabled-login --disabled-password
--group nginx')
Edit:
sudo('cd /opt/nginx*/; ./configure --prefix=/opt/nginx --user=www-data
--group=www-data --with-http_ssl_module')
If anyone has an t
> The "view profile" link next to your name at the beginning of each
> post?.
Yes, I tried the profile link in the drop box under my name top-right,
but that just led me to a page to edit my profile. The 'view profile'
link is what I was looking for, shouldn't this link be in the drop box
too? no
http://code.google.com/p/typhoonae/
The TyphoonAE project aims at providing a full-featured and productive
serving environment to run Google App Engine (Python) applications. It
delivers the parts for building your own scalable App Engine while
staying compatible with Google's API.
Important note
I'm currently using one web2py instance and and then running multiple sites
using code in routes.py. This example from Jonathan should be helpful:
https://groups.google.com/d/msg/web2py/iq_YAstVUCI/pr65jJRY6JwJ
This works fine but is not the most efficient way for high volume sites.
Various peo
thanks for the reply.
I know about the domain redirect methods. My question is different
though, which is better, having 1 installation for each domain or 1
installation for multiple domains?
On 13 Μαρ, 13:27, Tom Atkins wrote:
> I'm currently using one web2py instance and and then running mult
I think it boils dow to who administers them. If there is only one
administrator I would use one installation. If they are managed by
different people, I would use different installations under different
accounts. If they require a background process, I would use different
background processes (one
Here is a link of all your posts in the web2py group:
http://groups.google.com/groups/search?scoring=d&filter=0&enc_author=-aUA7xcAAADH3c2cptFoWyqABz-QtXr_HqZiDvCVswhrZ6TQxKj0ww
On Mar 13, 11:17 am, annet wrote:
> > The "view profile" link next to your name at the beginning of each
> > post?.
>
>
Here is the traceback:
Traceback (most recent call last):
File "c:\Google\AppEngine\esentrnet\gluon\restricted.py", line 188,
in restricted
exec ccode in environment
File "c:\Google\AppEngine\esentrnet\applications\init/controllers/
default.py:upbm2gig", line 246, in
File "c:\Google\AppE
Would not it be better to do this?
@request.get()
<@request.post()>
<@request.put()>
<@request.delete()>
def api():
(...)
return dict(...)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Thanks for the link, I bookmarked it.
Kind regards,
Annet.
+1
2011/3/13 Anthony
> Note, the Sahana Software Foundation is looking for translators to complete
> a localization of Sahana Eden into Japanese:
> http://www.sahanafoundation.org/japan
>
> Sahana Eden is an open source disaster management system written in web2py.
>
> Anthony
>
Hi,
it is possible to just load the content of a plugin_wiki page in a view
using the LOAD() function?
I am also experiencing this "issue". I see this in routes.example.py:
--snip--
# In the event that the error-handling page itself returns an error, web2py will
# fall back to its old static responses. You can customize them here.
# ErrorMessageTicket takes a string format dictionary containing (o
Hi,
running web2py in a directory with restricted permissions I've checked that
anytime a translation is used, web2py try to re-write the translation
string:
/var/lib/python-support/python2.5/gluon/languages.py(284)translate()
-> write_dict(self.language_file, self.t)
> /var/lib/python-support
Are you on the new groups? Did you try this link (see attached)?<>
Yes, but instead of
http://.../plugin_wiki/page/...
you must do
{{=LOAD('plugin_wiki','page.load/...',ajax=True)}}
On Mar 13, 10:17 am, danto wrote:
> Hi,
>
> it is possible to just load the content of a plugin_wiki page in a view
> using the LOAD() function?
Because I would know how to do
@request.get()
def api(): return dict()
@request.post()
def api(): return dict()
i.e. have two functions with the same name and select one or the other
without ambiguity.
On Mar 13, 9:04 am, "contatogilson...@gmail.com"
wrote:
> Would not it be better to do this?
You can also do
{{=plugin_wiki.render_page('slug')}}
if you do not need the ajax trapping.
On Mar 13, 10:17 am, danto wrote:
> Hi,
>
> it is possible to just load the content of a plugin_wiki page in a view
> using the LOAD() function?
How do you know there is no need for it? Did you look at what is being
re-written? It should only try to re-write if you have new text
needing translation.
Massimo
On Mar 13, 10:56 am, José L. wrote:
> Hi,
> running web2py in a directory with restricted permissions I've checked that
> anytime a
Or it may be well:
@request.get()
> @request.post()
> def api(): return dict()
As he is a decorator, avoid ambiguities and thus would be more clear the
code.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/13 Massimo Di Pierro
> Becau
On Mar 13, 2011, at 10:33 AM, Massimo Di Pierro wrote:
>
> How do you know there is no need for it? Did you look at what is being
> re-written? It should only try to re-write if you have new text
> needing translation.
José mentioned restricted permissions. If the write fails, might it keep
tryi
On Sunday, March 13, 2011 6:33:00 PM UTC+1, Massimo Di Pierro wrote:
>
> How do you know there is no need for it? Did you look at what is being
> re-written? It should only try to re-write if you have new text
> needing translation.
>
ok, catched, so there's not such bug, only my misundersta
Interesting idea: "Maybe this check should be done with all the language
files when a new release is done, so they are complete, avoiding this write
attempts"
Does we know how translation impacts performance in general? And if there
are any warranted optimizations?
Just tested _select(). Thanks for that :)
It is overwhelming, but I love this framework, so thoughtful and well
done!!! And I haven't even scratched the surface yet :)
On Mar 12, 8:50 pm, villas wrote:
> By using the underscore in front of select, you can see the SQL. That
> is often the best
Hey,
Doing some cleanup today and found a box of acrobat pro v.9. (EN) for
windows.
Anyways, still in its box, unopened and sealed. If anyone interested
let me know, I don't want anything for it, just thought I'd ask before
I chuck it.
Oh, and no worry, it has a legal, authentic and & not-yet-re
OK I'll try but... the SQL is not the same !
On 12 mar, 18:08, Massimo Di Pierro
wrote:
> Nobody has tried byt the mssql adapter (pyodbc) should work with
> access. The SQL is the same.
> Try and tel us know what problems you run into.
>
> On Mar 12, 9:43 am, Philnext wrote:
>
> > HelIo
> > I sa
Hi Folks!
I have two applications on my webfaction domain. One is "init" and another
one is "blog" I'd like to point a different domain to blog... would you know
how to do that?
Regards,
Tito
--
Linux User #387870
.
_/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___
thanks, that was very useful
2011/3/13 Massimo Di Pierro
> You can also do
>
> {{=plugin_wiki.render_page('slug')}}
>
> if you do not need the ajax trapping.
>
> On Mar 13, 10:17 am, danto wrote:
> > Hi,
> >
> > it is possible to just load the content of a plugin_wiki page in a view
> > using
I do this using autoroutes I will post my autoroutes.py when I go to the
computer.
Enviado via iPhone
Em 13/03/2011, às 16:20, Tito Garrido escreveu:
> Hi Folks!
>
> I have two applications on my webfaction domain. One is "init" and another
> one is "blog" I'd like to point a different doma
this is interesting...
I added the function in a app's default controller, the did this:
for x in [item.strip().split('/') for item in urllib2.urlopen('http://
127.0.0.1:8000/appRM/default/api/list.json')]:
for item in [string.strip(y,'", "') for y in x[1:-1]]:
blablabalbla.
I couldn't find anything in the PG docs. If I were to add another postgres
adapter that specifically handles databases created like this, is that
something you'd be interested in adding to web2py?
On Friday, March 11, 2011 4:42:11 PM UTC-5, Massimo Di Pierro wrote:
>
> Then web2py cannot do this
Hello guys, this slicehttp://web2pyslices.com/main/slices/
take_slice/77">http://web2pyslices.com/main/slices/take_slice/77
doesnt seem to work as it should. I am using the updated code but it
still doesnt work. I am trying to integrate local auth and Twitter,
Facebook and Google authentication mec
> If anyone has an tips, suggestions or corrections, please let me know. I am
> relatively new to all of this.
>
Looks great. I'm almost tempted to try it myself ... but as at the moment my
web2py is under no serious load I'll probably follow the "if it works, don't
break it" philosophy :)
Thanks Massimo,
But I would like to know how to implement it? Do i have to do the from
gluon.tools import * stuff?
and what do i do to my controllers and views?
On 13-03-2011 05:52, Anthony wrote:
> Note, the Sahana Software Foundation is looking for translators to complete a
> localization of
> Sahana Eden into Japanese: http://www.sahanafoundation.org/japan
>
> Sahana Eden is an open source disaster management system written in web2py.
>
I read goog
Well, I tried to modify my model by changing a column. I am using
postgres. That apparently messed things up. Setting migration to
True does not work.
Viewing the database using psql, I saw that that column was deleted,
but adding the same field (in web2py) does not recreate that column.
Is th
I'm having an issue that is affecting my ability to access admin. If you
look at the attached, you can see that even though I am accessing an HTTPS
url, the wsgi.url_scheme value is reporting HTTP. I'm not sure what the
problem is. I've seen some information about including settings in
nginx.co
What I have done so far is compress the entire app folder and backup
the database separately. I don't think this is the best way, or is
it?
Thanks.
I think I figured out the solution. Need to add one line to the nginx.conf:
uwsgi_param UWSGI_SCHEME$scheme;
# HTTPS server
server {
listen 443;
server_name "";
ssl on;
ssl_certificate /opt/nginx/conf/server.crt;
We might need to see your model and then information about your database
columns.
I'm just getting ready to switch from development mode to production and am
getting worried about managing my Postgres (since now I don't worry about it
and just re-create the DB when I make big schema changes).
hi, i just upgraded to 1.93.2 from 1.89.1 and my appadmin link is no longer
working. i get the following error by going to
http://localhost:8080/init/appadmin:
invalid controller (appadmin/index)
the only things i changed from the default routes file were:
#
http://groups.google.com/group/web2
Sounds like the problem is with your route changes. I think the
routes_onerror needs to be inside of the routers dict. Make sure to restart
web2py after you edit routes.py.
routers = dict(
BASE = dict(
routes_onerror = [
(r'*/400', r'/init/default/doesnotexist'),
On Mar 13, 2011, at 5:19 PM, pbreit wrote:
> Sounds like the problem is with your route changes. I think the
> routes_onerror needs to be inside of the routers dict. Make sure to restart
> web2py after you edit routes.py.
>
> routers = dict(
>
> BASE = dict(
> routes_onerror = [
>
See the book, chapter 6 fixing broken migration. Here is an excerpt,
good luck:
The solution consists of disabling migrations for all tables and
enabling fake migrations:
db.define_table(,migrate=False,fake_migrate=True)
This will rebuild web2py metadata about the table according to the
tabl
Thanks Bruno! Let me know when you get this piece of code!
Regards,
Tito
On Sun, Mar 13, 2011 at 5:27 PM, rochacbruno wrote:
> I do this using autoroutes I will post my autoroutes.py when I go to the
> computer.
>
> Enviado via iPhone
>
> Em 13/03/2011, às 16:20, Tito Garrido escreveu:
>
> >
On Mar 13, 2011, at 5:07 PM, mattynoce wrote:
> hi, i just upgraded to 1.93.2 from 1.89.1 and my appadmin link is no longer
> working. i get the following error by going to
> http://localhost:8080/init/appadmin:
>
> invalid controller (appadmin/index)
Generally speaking, this suggests that web2
as far as I know, ldap_auth is not support to do this.
please take a look at web2py/gluon/contrib/login_methods/ldap_auth.py
On Mar 11, 5:55 am, Ialejandro wrote:
> Hi! I have this question, how could I use LDAP auth and use roles. So
> I need to take the users from an active directory (microsof
Here it is
you need two files in the root web2py folder
this
http://snipt.net/rochacbruno/routesconf/
and this
http://snipt.net/rochacbruno/routespy/
in routes.conf you can simply do:
blog.domain.com /blog/default
domain.com /init/default
It is working for me in 2 websites on webfaction
--
Br
Last time I worked on windows at this level was... ok, a while back (i
think we had NT 3.5 (or was it called something other than NT? - can't
remember)). Anyways, I would guess with pretty fair odds that using
LDAP probably requires that the logged-on user has sufficient rights
and privileges to a
Hey,
Will be sending it out to the first reply, and a gave dibs to the
first runner up of anymore Acrobats (or close relatives) found. Still
have 4 or 5 boxes to go through and wife is convinced I have more in
there... Who knows, maybe.
Will re-open Mart's Auction House if more are found (I just
So I have finally gotten around to trying to implement paypal into my site.
But I am facing some issues and was hoping some one could help me figure out
my questions.
I am trying to figure out how to use this example
http://www.web2pyslices.com/main/slices/take_slice/106 but I need to know:
What
I'll put this into a slice when the new slice site comes. But here's an
example of PayPal's Express Checkout interface which is more modern. There
are two main functions in the controller and a module.
def paypal():
session.recipient_id = ''
item = db(db.item.id==request.args(0)).select(
I assume at import urlib and below is the module does it matter what I name
the controller or module?
*cheers
Do I need to add the button code in my view?
what is this file 'PAYMENTREQUEST_0_NOTIFYURL': 'http://mysite.com/ipn'}
how do I add this to my site... sorry I have been wrecking my head over this
the past week and am going crazy your code looks way simpler though imo just
some questions I have :
Sweet!
I was looking at the layout on Webfaction recently and it seems like
it would also be possible to run two instances of web2py relatively
easy as well. On the Webfaction admin web interface you would install
a python2.x/wsgi "application" two times but use a different name,
then you would en
+1
On Mar 11, 11:58 am, Massimo Di Pierro
wrote:
> We all feel very close to our friends in Japan, and we are saddened by
> what has happened.
56 matches
Mail list logo