, please report back...
best regards -Ricardo
On Tuesday, October 22, 2013 8:54:48 PM UTC-5, curiouslearn wrote:
Niphlod,
Thanks again. Is uwsgi faster/safer? Anyhow, I tried doing what you said.
But instead of following the difficult instructions in the web2py book, I
used the instructions
I want to get web2py running on a Digital Ocean virtual server with nginx
and uWSGI. I followed the instructions on deployment recipes in Web2py
book, but things are not working. The following are the differences between
the instructions given in the book and my specific case.
*Differences
/name_of_the_service.log
check if you have something on /var/log/upstart/uwsgi-emperor.log
On Tuesday, October 22, 2013 6:48:42 PM UTC+2, curiouslearn wrote:
I want to get web2py running on a Digital Ocean virtual server with nginx
and uWSGI. I followed the instructions on deployment recipes
traffic from http://mydomain.com to this
running instance.
This seems an easy way to do it. What I am risking by doing this?
Thank you.
On Tuesday, October 22, 2013 3:28:21 PM UTC-4, curiouslearn wrote:
Niphlod,
Thanks for getting back to me. There is no file that has uwsgi-emperor in
its
a chance to see any logged error that
may pop up)
On Tuesday, October 22, 2013 10:15:16 PM UTC+2, curiouslearn wrote:
While some helpful soul helps me understand how to setup web2py to work
with nginx and uwsgi, I had another question.
Is there anything wrong, or problematic in using
Hello,
I have a droplet on digitalocean running Ubuntu precise. I installed web2py
using the source and then I started the server using python web2py.py
command. The message says please visit: http://127.0.0.1:8000. Is there a
way I can access from my local computer.
Thank you.
--
---
You
Hi Arvind,
Of these I have tried Pythonanywhere and Dotcloud. It is quite easy to
deploy web2py app on both of these.
I tried Pythonanywhere a long time ago. It is reasonable in terms of price,
but was a little slow in serving pages. Probably that has changed; I am not
sure.
Dotcloud on the
, curiouslearn wrote:
Hello,
I have a couple of questions: is it possible to do asynchronous i/o using
web2py (would I need to use the Tornado server )? If so, is there a simple
example of this somewhere?
Can such an app (that uses Tornado) be deployed on GAE or other SAAS
systems
:25:42 UTC-6, curiouslearn wrote:
I am trying to learn how to deploy a web2py app on GAE. I downloaded a
fresh install of web2py from the web2py site today and then changed the
app.yaml file according to instructions in given in the web2py book. Then I
tried running the app
Hi All,
Not a question but just wanted to bring this to your attention.
Slant.co is a new site whose goal is to allow people to ask questions whose
answers may be subjective (such as, what is your favorite web framework). I
saw a question on General purpose python web framework and added
Forgot to link to the site. Here it is:
http://slant.co/topics/general-purpose-python-web-framework-usable-in-production-sites
On Sunday, March 10, 2013 1:29:57 PM UTC-4, curiouslearn wrote:
Hi All,
Not a question but just wanted to bring this to your attention.
Slant.co is a new site
certificate (_ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed):
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl
On Sunday, March 10, 2013 1:15:01 PM UTC-4, curiouslearn wrote:
Hi Massimo,
Thank you for looking
Hello,
I have a couple of questions: is it possible to do asynchronous i/o using
web2py (would I need to use the Tornado server )? If so, is there a simple
example of this somewhere?
Can such an app (that uses Tornado) be deployed on GAE or other SAAS
systems such as Dotcloud, Openshift etc.?
I am trying to learn how to deploy a web2py app on GAE. I downloaded a
fresh install of web2py from the web2py site today and then changed the
app.yaml file according to instructions in given in the web2py book. Then I
tried running the app on the development server using the
Niphlod, thanks very much. This works great.
On Tuesday, October 23, 2012 4:14:25 AM UTC-4, Niphlod wrote:
everywhere you must point to a folder in your app, use request.folder as
the base path.
filename = os.path.join(request.folder, 'static', 'simdata_1_1.pickle')
df =
Hello,
I have a pandas data frame saved using
pandas.save('simdata_1_1.pickle')
I can load it easily in my regular ipython console (not the web2py ipython
console) using
pandas.load('simdata_1_1.pickle')
I was wondering if I can use this file in a web2py application, such as
extract data
Thanks, Massimo.
On Mon, Oct 15, 2012 at 10:48 AM, Richard Vézina
ml.richard.vez...@gmail.com wrote:
+1
:)
R
On Mon, Oct 15, 2012 at 10:44 AM, Omi Chiba ochib...@gmail.com wrote:
Perfect timing for my upgrade work. Many thanks!!
On Monday, October 15, 2012 6:55:39 AM UTC-5,
Sponona,
Did you try reading the whole book before trying out web2py to make an app?
I would suggest read the overview and then try making a small application,
such as an application to make grocery list,
or a todo application. As you run into the problems, search for the
specifics from the
This is perhaps a problem with google groups. Only reasons I am saying this
is because this happened to me on d3.js google groups.
I had to repost in the chain and then it worked.
On Wednesday, October 10, 2012 10:04:50 PM UTC-4, Massimo Di Pierro wrote:
I have seen some delete posts. We do
.
On another note, my web2py version shows as up to date on the admin page
Version 2.0.9 (2012-09-13 23:51:30) stable
web2py is up to date http://web2py.com/
Running on Rocket 1.2.4
Do I need to update to trunk manually? Thank you.
On Wednesday, October 10, 2012 10:20:05 PM UTC-4, curiouslearn wrote
it fails to validate the ip address.
On Thursday, 11 October 2012 06:50:00 UTC-5, curiouslearn wrote:
Hi Massimo,
I think I probably figured what you were saying: Validation passes on
localhost, but not on dotcloud because of some problem on their servers.
Would appreciate if you let me
Timo,
I don't know what the problem is. However, I do it in the following manner
and that works well:
(i) In $.ajax specify that the datatype is json (dataType: 'json')
(ii) In your controllers file
import simplejson
and, write
def getValuesFromFile():
[...]
return
Hello,
I was hosting a web2py application on dotcloud.com with the older version
of web2py (I think, 1.99.7, definitely below 2.0).
Everything was working great.
To host on dotcloud the following steps were necessary and sufficient with
that version:
(i) Add a dotcloud.yml file to the web2py
validation. You have an old version and it is
possible this is already fixed in trunk.
Now the validate function is in gluon/utils.py and looking at it now, it
should validate your address.
On Wednesday, 10 October 2012 20:22:02 UTC-5, curiouslearn wrote:
Hello,
I was hosting a web2py
Hello,
I want to implement the following SQL query:
select teamname from teams where experimentid = (select id
fromlistofexperiments
where experimentname = 'ug2');
I can think of the following way of doing this:
(1) Get the experiment id
exptidquery =
)
or with a shorter syntax:
rows =
db(db.teams.experimentid.belongs(db.listofexperiments.experimentname=='ug2')).select(db.teams.teamname)
On Friday, 5 October 2012 11:32:44 UTC-5, curiouslearn wrote:
Hello,
I want to implement the following SQL query:
select teamname from teams where experimentid
, September 30, 2012 5:31:50 PM UTC-4, curiouslearn wrote:
Hello,
This is a question about recommended practice for doing the following:
I want to create a web interface for creating a setup for new games. For
example, the web interface will let me specify
name of the game, number of teams etc
you're storing an inordinate amount of images or realtime VOIP
recording you won't need to worry about efficiency.
On Mon, Oct 1, 2012 at 9:21 PM, Curiouslearn curiousle...@gmail.com wrote:
Hi Cliff,
Thanks very much for your input. I am new to databases and appreciate
the advice.
I was also
a schema change, e.g.: multi-tenant.
On Mon, Oct 1, 2012 at 10:54 PM, Curiouslearn curiousle...@gmail.com wrote:
Hi Alec,
I am using mysql backend. I will most probably host it on dotcloud,
using their Python and MySQL service.
I think as suggested by Cliff and you, I will create only one set
across joins. MySQL does not index foreign keys so
joined queries can take a long time.
On Monday, October 1, 2012 9:27:42 AM UTC-4, curiouslearn wrote:
Thanks Alec. I don't think I will reach those numbers, ever, for one game.
This has nothing to do with web2py, but I have a MySQL
Recently I created a simple game in web2py for educational purposes. It
worked out well, however, for this game I did not make use of a lot of
functionality available in web2py; especially the DAL. I used MySQLdb and
raw sql queries to do the job. Based on the recommendations here, I have
that was not defined?
On Sunday, 30 September 2012 11:55:09 UTC-5, curiouslearn wrote:
Recently I created a simple game in web2py for educational purposes. It
worked out well, however, for this game I did not make use of a lot of
functionality available in web2py; especially the DAL. I used
Hello,
This is a question about recommended practice for doing the following:
I want to create a web interface for creating a setup for new games. For
example, the web interface will let me specify
name of the game, number of teams etc. Based on this information I want to
create new database
Thanks, Massimo. That worked.
On Sunday, September 30, 2012 5:33:00 PM UTC-4, Massimo Di Pierro wrote:
Make sure you have the -M and -N options and the tables should be visible.
On Sunday, 30 September 2012 14:26:43 UTC-5, curiouslearn wrote:
Hi Massimo,
Thanks for replying.
I am
on user
input that are also available to other controller functions.
Thanks.
On Sunday, September 30, 2012 5:31:50 PM UTC-4, curiouslearn wrote:
Hello,
This is a question about recommended practice for doing the following:
I want to create a web interface for creating a setup for new games
Many thanks to Massimo for creating Web2py and to Massimo and other
contributors for keeping it going and improving it. I am having fun working
with it.
Equally big thanks to Anthony for answering my questions here. I would most
probably have given up on web2py, had Anthony not helped me with
Hello,
I searched on the forums here and it appears that the suggested solution
for accessing a layout file is to create links (hard links or soft links?).
I have two questions in this regard:
(i) Is this solution robust to changes in where the application is hosted?
Would the links works
two levels from /applications/current_app/views to
/applications, and then the rest of the path follows from there.
Anthony
On Thursday, August 23, 2012 10:08:09 AM UTC-4, curiouslearn wrote:
Hello,
I searched on the forums here and it appears that the suggested solution
for accessing
Thanks, Anthony. I will also go with the method you showed.
On Thursday, August 23, 2012 11:05:44 AM UTC-4, Anthony wrote:
I think I would use the method I showed rather than links.
Anthony
--
Did you say you were in UK? That loads really fast for me, here in the
US. Awesome.
On Mon, Aug 20, 2012 at 3:12 PM, Simon Carr simonjc...@gmail.com wrote:
I think I have made a mistake with SWVPS, I would suggest that no one touch
them. I had no response from them after sending my money, even
Alec,
I was thinking of trying out Red Hat Openshift and came across your
repository. While I have not tried your instructions yet, and they will
most probably work, unfortunately, the things that you modified in the
web2py folder is not clear from those instructions. If it is not too
On Sunday, August 19, 2012 3:16:23 PM UTC-5, curiouslearn wrote:
Alec,
I was thinking of trying out Red Hat Openshift and came across your
repository. While I have not tried your instructions yet, and they will
most probably work, unfortunately, the things that you modified in the
web2py
Andrew, thanks for your response. I will take a look at wsgi folder and the
contents in it.
On Sunday, August 19, 2012 7:39:52 PM UTC-4, Andrew wrote:
A little different in order.
Do all the openshift stuff first, then download web2py and copy it into
the wsgi folder.
I would
Thank you, Villas and Cliff.
Cliff, I will definitely look up on the topic of MySQL injection
attacks. Does using DAL better protect me against such attacks?
Thank you.
On Fri, Aug 17, 2012 at 5:17 PM, Cliff Kachinske cjk...@gmail.com wrote:
curiouslearn
I agree it's a good idea to learn
Hi Simon,
As Bruno has mentioned it is very easy to get your app on
Pythonanywhere. They have great customer service and, hence they are a
good possible option. The only problem is that currently the hosting
on Pythonanywhere is kind of slow. But I suppose that will be fixed
once they move to
Bruno,
Can you please comment on how your Linode instances compare with
pythonanywhere in terms of responsiveness and speed? Are you saying that
you would use PAW because of their awesome customer service, prices, ease
of hosting, or do you also find the application performance better on PAW?
.
On Friday, August 17, 2012 11:57:02 AM UTC+8, curiouslearn wrote:
Hello,
What is the recommended place in web2py folder where I should store
custom functions that are useful to multiple applications? For example,
suppose I have a function such as the following:
*def connecttodb
Hello,
What is the recommended place in web2py folder where I should store custom
functions that are useful to multiple applications? For example, suppose I
have a function such as the following:
*def connecttodb():*
*if request.is_local:*
*user=user*
*passwd=passed*
*
Hello pbreit,
Thanks, I will look into that. After posting I realized, I have the same
question for css style files and js files. Where can I store those? Can I
just store them in one application, and call them using URL() function? Is
that the best way, or is there something better?
I am new
to web2py - it maybe problem with how i've coded my
app.
Anyone else using pythonanywhere ? Especially paid account ? Would you
recommend it for long term and/or production deployment ?
-Mandar
On Sunday, August 5, 2012 11:26:00 PM UTC+5:30, curiouslearn wrote:
Thanks for sharing
Hello,
Is anyone aware of good easy instructions on how to deploy web2py on
dotcloud with mysql? I found the following relevant links:
http://olddocs.dotcloud.com/tutorials/web2py/
http://bot-notes.blogspot.com/2011/10/web2py-deploy-on-dotcloud.html
http://debuggerboy.bo.lt/e7wjh
I can use inside the javascript code the object containing all the vars
On Wednesday, August 1, 2012 8:31:59 PM UTC+2, Vincenzo Ampolo wrote:
On 07/30/2012 10:55 AM, Curiouslearn wrote:
The above does not work. Is there a way that above can be made to
work? If so, can above work for cases
Thanks for sharing that Spiffytech.
I think it would be helpful to new users like me if on web2py page we
collect information on which are good hosts and easy instructions on
how to deploy web2py on these hosts.
On Sun, Jul 29, 2012 at 12:04 AM, spiffytech spiffyt...@gmail.com wrote:
Tonight
Is it possible to pass a javascript variable to python code in a
web2py view? The only questions and answers I have seen this in the
forum are about how to do this for the URL() function. I want to know
if this is possible for the for loop.
For example:
script
var numrows = 5;
{{for i in
iteract. You can use Python to write Javascript
on the server, but the Python cannot dynamically generate or change the
Javascript in the browser.
Anthony
On Monday, July 30, 2012 1:55:14 PM UTC-4, curiouslearn wrote:
Is it possible to pass a javascript variable to python code in a
web2py
Hello,
(1) After searching on the web I have see that the following are two
valid ways to link to an image in the static/images folder. However,
the first way is not working for me. Could this be because I deleted
all css files and js files (except jquery) that come with the Welcome
app? Please
, 2012 7:09:36 PM UTC-4, curiouslearn wrote:
Hello,
(1) After searching on the web I have see that the following are two
valid ways to link to an image in the static/images folder. However,
the first way is not working for me. Could this be because I deleted
all css files and js files
Thanks very much Anthony. Really appreciate all your help.
On Thursday, June 28, 2012 8:24:53 PM UTC-4, Anthony wrote:
Thanks very much Anthony. A small question before I mark this as complete.
Does your comment about web2py template not applying to the CSS file in
the static folder also
Hello All,
I am trying to load my web2py app on fluxflex. As indicated in the
instructions at
(i) https://github.com/nus/web2py-for-fluxflex/blob/master/README.md
and
(ii) http://www.fluxflex.com/projects/pricinggame/instruction/git
I am trying to clone the fluxflex repository associated with
Hello,
I am using an sqlite database for a web2py application. The data is
inserted in the database using the standard sqlite3 module. That is, I
have not used DAL in anyway to connect to the database.
To experiment with hosting the application, I uploaded it to fluxflex
using the web interface
Hi,
I would like to use web2py without DAL. I want to use it with an sqlite
database in a .db file. Are there good examples of how to do this? I am
looking for things such as
(a) Where do I save the .db database file (i.e., which folder within the
application).
(b) Can I connect to it and
pbreit, Simon and Anthony,
Thanks very much for your responses. I am trying out Anthony's
suggestions first.
Can you please help me with the path? I can connect when I give the
absolute path on the filesystem, but I want to use relative path so
that it works on different computers and I can
Thanks a lot Anthony. I was just going to email that I figured it out.
Sorry, should have searched the documentation for request.folder
earlier.
Thanks to you and everyone else here who is providing help with web2py.
On Fri, May 4, 2012 at 11:41 AM, Anthony abasta...@gmail.com wrote:
I tried
63 matches
Mail list logo