[web2py] GAE, cloudsql deployment help needed

2018-05-02 Thread Management Backoffice
Trying to get web2py deployed on Cloud SQL and GAE. Running OSX at home. Will pay for 2 hours on Skype or whatever for you to walk me through it. Just name your price and availability when you email me mkt...@gmail.com. I am apparently the dumbest sysadmin in history. -- Resources: - http://we

[web2py] Web2Py + GAE + Memcache | How to Implement in Web2Py

2018-02-25 Thread PRACHI VAKHARIA
1. *How to deploy Web2Py+Memcache on GAE * 2. *How does one configure and also monitor the memcache server on GAE from web2py?* The description and details *here* are not enough or cl

[web2py] GAE deposit folder skipped in app.yaml

2017-08-19 Thread Jacinto Parga
Hi, I have included deposit folder in the skipped files in app.yaml to deploy in GAE. ¿Is there any trouble ? ... (applications/examples/.*)| (deposit/.*)| ((examples|welcome)\.(w2p|tar))| (applications/.*?/(cron|databases|errors|cache|sessions)/.*)| -- Resources: - http://web2py.com -

[web2py] gae issue when using two independent apps with same data model under one project

2017-06-16 Thread 98ujko9
Hello, I uploaded a simple web2py app named 'mynotes', (based on markmin app example) to gae under a project 'projectnotes' to keep my notes in. Very simple model: db.define_table('tblpage', Field('page_title','string',label='Title'), Field('page_text','text',label

[web2py] GAE Datastore performance / potential index issue

2017-04-22 Thread Karoly Kantor
My queries on GAE Datastore are very slow. So I decided to try to fetch everything into memory before further processing, to no avail. For example, the following runs for 8 seconds for only 3000 items, which is very bad because my app might have much much more than that eventually. que

[web2py] GAE Datastore conceptual question - different fields in different rows of a table

2017-04-05 Thread Karoly Kantor
In GAE Datastore I can put any arbitrary properties into an entity of an entity kind (in SQL terms, I can put any field into a table row), without having to redefine / migrate the table. This GAE datastore feature is very useful for my specific purposes. Is there a way I can make use of this GA

[web2py] GAE deployment. appcfg not in the package

2016-10-11 Thread yutaka kawate
Where i can get appcfg.py? web2py souce code does not contain this file, used to be in the package -- 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) --- You r

[web2py] GAE integration is MASSIVELY broken again (in multiple ways in multiple versions)

2016-09-13 Thread webmaster
First, sometime around the 2.13 or 2.14 change, the password reset feature stopped working, as I detail here: https://groups.google.com/forum/?pli=1#!topic/web2py/YndwuzoEypw And today I decided to try out the latest version (2.15.x based on changelog) from Git to see if you all had maybe fixe

[web2py] GAE problems

2016-03-29 Thread rif
The gae query is this: http://11.firmoasa.appspot.com/facturi I have this route: routers = dict( # base router BASE=dict( default_application='firmoasa', ), ) And the full log is this: /facturi 500 952ms 0kb Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like G

[web2py] GAE and date query, where is the limit

2015-12-13 Thread Mathieu Clabaut
Hello, the doc says that GAE does not support complex datetime query… Could someone tell me if the following is expected to fail (where end_date is a datetime): db((db.auth_user.end_date.year() == end.year) & (db.auth_user.end_date.month() == end.month) & (db.auth_user.end_date.day()

[web2py] GAE: "UserWarning: There are too many files in your application..." Which files to hide?

2015-12-11 Thread Tom Campbell
While attempting to another GAE problem , I'm running into this GAE error: 15: UserWarning: There are too many files in your application for changes > in all of them to be monitored. You may have to restart the development

[web2py] GAE app running locally can't open Google Cloud SQL database: "Failure to connect, tried 5 times"

2015-12-11 Thread Tom Campbell
Can someone tell me what I'm doing wrong in my attempt to use Google Cloud SQL? My GAE app runs successfully on local machine without database support. Goal is to use Google Cloud SQL database. Remote Google Cloud SQL database is accessible via mysql on the command line. Google SDK is the latest

[web2py] GAE problems cont'd--Library not loaded: libmysqlclient.18.dylib

2015-10-23 Thread Tom Campbell
Have been unable to connect to Cloud SQL so far in Python (I can do it in raw Go). Sébastien reminded me about installing the Python MySQLdb lib . Still no luck, but it got me thi

[web2py] GAE bitbucket mirror - ImportError: Cannot import module 'applications.init.modules.pydal'

2015-10-21 Thread James Burke
I've just uploaded a simple app to GAE using the bitbucket mirror. Seems odd that it is looking for pydal in an applications modules... I get the same error with versions: Version 2.12.3 & Version 2.9.12 But I don't get the error deploying from GAE Launcher Unable to store in FILE: /base/data

[web2py] GAE app works locally, not deployed to cloud

2015-10-16 Thread Tom Campbell
Plan is to host my app on GAE eventually. I have a small demo app named todo that works fine this way, deployed using the GAE local server: $ cd /usr/local/web2py $ python web2py.py -G GAE $ dev_appserver.py ../web2py But when I deploy it to the cloud: $ dev_appserver.py ../web2py and vist ht

[web2py] GAE: BadRequestError: projection and keys_only cannot both be set

2015-08-21 Thread Jaime Sempere
Hi, Im using web2py 2.9.12, Im developing on local gae, and when I tried to execute this query: pics = db(db.pics.user_id==user_id).select(db.pics.img_link, projection=True ,orderby=~db.pics.up_date, limitby=(num_min, num_max)) I got that error WARNING 2015-08-21 23:40:54,728 tas

[web2py] GAE unicodeDecodeError: 'ascii' codec can't decode byte... unable to fix it

2015-08-17 Thread Jaime Sempere
Hi, I am having problems when I try to deploy my app on local SDK GAE. I can start the app on my local gae, but when I try to register first user, after fill the form and press submit, I got this: Traceback (most recent call last): File "/home/jukvoxman/web2py/gluon/restricted.py", line 227,

[web2py] GAE/Google AppEngine problem with web2py: "Deployment successful" but GAE does not launch

2015-07-30 Thread Tom Campbell
My AppEngine ID is memberable0. I copied examples/app.example.yaml to web2py root as app.yaml Only change I made was: application: memberable0 Web2py lives in /Users/tom/Dropbox/work/m/web2py and that path shows successfully in GoogleAppEngineLauncher, which shows port 8081 for the web server (no

[web2py] GAE list:integer fields on v2.10.4 and beyond

2015-05-27 Thread Donald McClymont
I am having major problems using Google App Engine with v2.10.4 as I use a number of list integer types field types. It seems the only way to get zero to be stored as a value on a list integer field is to send it as a character string eg ['0','0','0'] - surely it should be possible to send

[web2py] GAE login in twitter

2015-03-22 Thread www.diazluis.com
greetings, could post the code to log into twitter, using as a server GAE -- 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) --- You received this message becau

[web2py] GAE NDB is there a problem with using belongs on an id field?

2014-08-29 Thread Russ King
I am struggling to use belongs on GAE+NDB it appears that: quests = db(db.question.level.belongs([1])).select(db.question.id,db.question.level) is valid however quests = db(db.question.id.belongs([1])).select(db.question.id, db.question.level) generates an error along the lines of

[web2py] GAE Python Dev Server won't serve static assets on Windows - MIME type error

2014-07-25 Thread Russ King
It appears that this issue will affect web2py on windows development and basically all the css files get ignored so its rather obvious its a problem: http://code.google.com/p/googleappengine/issues/detail?id=11001 and putting the stuff below into the top of the handlers section of app.yaml does

[web2py] GAE Deployment with no JOIN on queries...

2014-06-19 Thread Sébastien
Hello, I'm creating my first Web App with Web2py and I am amazed of all its capacities!! I am thinking of deploying my app in GAE but I only realize now that it doesn't allow JOIN on table queries. I wanted to use GAE because of scalability and not having to configure and maintain a server for

[web2py] GAE: Downloading uploaded images

2014-04-28 Thread St. Pirsch
Hi, i am trying to find an efficient way to display images uploaded to GAE. Currently, im using the download action: * background-image: url({{=URL('download', args=line.contents.vorschaubild)}});* Since there are a lot images to display, there should be a less power consuming way to get the imag

[web2py] GAE Select Ignores cache and cacheable arguments?

2014-04-13 Thread pallav
It seems like the 'cache' and 'cacheable' arguments to the .select() statement do not work on GAE. This is even after setting cache.ram=cache.memcache (following the code in the book and multiple examples in this forum) I tested on a GAE app, and explicitly setting memcache works, but the sele

[web2py] GAE - Shell

2014-04-03 Thread Marcello
Hello, I started to play with web2py and GAE. I want to run a remote shell with something like: python web2py.py -M -S app_name But remotely... I looked everywhere but I did not find an answer... Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://git

[web2py] GAE deployment problem with gluon.settings

2014-03-13 Thread Francisco García
Hello all, I am trying to upload a Web2py application to GAE, as I use to do with other web2py apps (without problems). I find the following error in GAE logs: : 'module' object has no attribute 'settings' Traceback (most recent call last): File "/base/data/home/apps/s~proy1/1.37438895196618

[web2py] web2py + gae + google:sql : Not authorized to access (database) instance

2014-02-28 Thread Christian Foster Howes
It's been some time since I connected to cloud SQL myself, but I would suggest triple check the connection string and permissions. You should not have to connect with any other client first. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/w

[web2py] web2py + gae + google:sql : Not authorized to access (database) instance

2014-02-28 Thread Mike England
I have started working with web2py + gae and a Cloud SQL database. The application db connection string is : db = DAL('google:sql://cloud1:ctm-manager/ctmdb') Logs on GAE show the following: File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/storage/spe

[web2py] GAE / Memcache consistency minor change request.

2014-02-26 Thread Matt
Hi there, I've noticed a small variation between two parts of web2py. The memcache client MemcacheClient in gluon.contrib.memcache.__init__.py supports the ability to control the default timeout via the default_time_expire parameter. Whereas the version that supports GAE does not. It would be

[web2py] GAE localhost mysql instance

2014-02-14 Thread Juslin Guo
Hi, Can anyone point me to any resource that show me how to use CloudSQL+GAE together with a local mysql development environment on mac..It can't seem to connect to the local mysql for development purposes. I did this: if not request.env.web2py_runtime_gae: db = DAL("mysql://root:123@localhos

[web2py] GAE: insert using "key_name"

2014-01-08 Thread Quint
Hi, In GAE it's possibe to supply a "key_name" when you insert an entity. This is a string that you can then use as an id to efficiently fetch an entity from db. ( https://developers.google.com/appengine/docs/python/datastore/entities#Python_Kinds_and_identifiers ) I would like to be able to do

[web2py] GAE: defaults on "_tableobj"

2014-01-02 Thread Quint
Hello everybody, Happy New Year! I'm using GAE and sometimes a need to call some GAE datastore functions directly. (For instance when I want to supply a "key_name" when I put() an entity so I can have better performance to get() that entity from db. Or when I want to use put_multi()) Anyway,

[web2py] GAE - Not Working || Full Code Attached

2013-12-04 Thread PRACHI VAKHARIA
*GAE – Not Working* The app works well locally and also on GAE-launcher, but once uploaded (deployed) on to GAE, the app does not work and gives an error. *Code and Error Provided Below* *MODEL (db.py)* if not request.env.web2py_runtime_gae: db = DAL('sqlite://storage.s

[web2py] GAE compatability with recent web2py versions

2013-10-29 Thread David Manns
I have been running my application on GAE using Python 2.7 and web2py 2.4.6. Recently made minor application change and deployed with web2py 2.7.4, the current version. I am getting an error in at least one part of the application. The GAE log is attached. Re-deployed with the same application

[web2py] web2py, GAE and pydev

2013-10-23 Thread Tim Clare
Hey everyone, I am very new to web2py & google app engine development. I just wondered if there is a walkthrough/tutorial that shows how to get an environment setup using web2py, GAE and pydev? I have seen tutorials covering web2py with GAE, but I couldn't find one which adds pyd

[web2py] gae boilerplate vs web2py

2013-10-16 Thread Saisha D
Hi All, Apologies if this is a repost, my last post did not go through for many hours, posting again. I'm a newbie to web development, but quite familiar with python (use it at work), I'm trying to quickly prototype some ideas for a startup website. My goal is to deploy it initially with app e

[web2py] GAE: Running test. issue with exec_environment()

2013-10-13 Thread Quint
Hi, I am trying to create a test for one of my modules. This module depends on several global variables like "Resonse" and some extra things i store in current from one of my Models. (current.myapp.*** ). So to be able to run the test i need to execute some of the models like this. (Is this the

[web2py] GAE 2.5.1 can't create new application

2013-09-03 Thread Derek
I try to create a new simple application on my local GAE instance (I clicked 'run' in GAE since that's the only one that has admin). I get this traceback: Traceback (most recent call last): File "C:\Temp\web2py_src\web2py\gluon\admin.py", line 179, in app_create os.mkdir(path) File "C:\P

Re: [web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread Jonathan Lundell
On 17 Aug 2013, at 1:40 PM, David Gawlowski wrote: > Shoot, thanks, you're right, that field was a string and I changed it to do > math on elsewhere... > > Do you know how to take the far right number of a two digit number? Will > something like field[-1] work like it does on strings? > You c

Re: [web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread David Gawlowski
Shoot, thanks, you're right, that field was a string and I changed it to do math on elsewhere... Do you know how to take the far right number of a two digit number? Will something like field[-1] work like it does on strings? On Aug 17, 2013 4:14 PM, "Jonathan Lundell" wrote: > On 17 Aug 2013, a

Re: [web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread Jonathan Lundell
On 17 Aug 2013, at 1:06 PM, davedigerati wrote: > My app is working locally fine with a field defined as > Field('Q2V','integer'), > > then in the controller I have been able to > len(Q2V) > > but after upload to Google App Engine I am tripping with > object of type 'long' has no le

[web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread davedigerati
My app is working locally fine with a field defined as Field('Q2V','integer'), then in the controller I have been able to len(Q2V) but after upload to Google App Engine I am tripping with object of type 'long' has no len() I've been abel to discover that apparently GAE will map Inte

[web2py] GAE Cron, or some equivelant

2013-08-16 Thread jjg0
I asked this in another topic but did not get any answers:( I have a table I want to update on a weekly basis and I'm trying to find a way to have this run automatically. I've looked around and it seems like I can use cron for this. I am using google app engine and their docs on cron are diff

[web2py] (GAE) periodic updates

2013-08-15 Thread jjg0
(Using google app engine if that matters) I have a table that I want to update on a weekly basis. Basically it's a simple table of users with a date field that gets set to the last time they did something and a field to indicate that they are active. I want to check every Monday which users we

[web2py] GAE local MySQL with DAL

2013-08-15 Thread Grace
Hi, I am trying to work with Web2py for GAE, connect to my local MySQL. When I use DAL, with the following command: db = DAL('mysql://username:password@localhost/dbname') GAE log show the following: RuntimeError: no driver available ('MySQLdb', 'pymysql') but the above command work perfectly fr

[web2py] GAE Database codification issues? Using reveal-slides and wiki pages

2013-06-23 Thread peibol
Hi all! I'm adapting the reveal-slides implementation made by Massimo, by using as input a page from the builtin wiki. Pretty cool! In local, everything runs great, but when running in gae, some issue with the codification in the db made the thing weird. There is even no show of the reveal css..

[web2py] GAE 1.8.1 and logging doesn't work

2013-06-19 Thread José Manuel López
Hi!, I've change to GAE 1.8.1 and suddenly (before, with GAE 1.7.5 everything worked ok) the LOG is not working. None of my debugs lines are dump to console. Then I've see that my logging.conf was not being used. This is my log config: [loggers] keys=root,rocket,markdown,web2py,rewrite,cron,ap

Re: [web2py] GAE "orderby date" not working

2013-03-06 Thread Jaime Sempere
Thanks a lot for pointing me the way, now is working I am a beginner in web2py & GAE and I didn't know anything about index.yaml. I was developing locally with web2py and uploading directly to GAE (in the beginning I used locally GAE, but later I skipped this step). So index.yaml was

Re: [web2py] GAE "orderby date" not working

2013-03-06 Thread Jonathan Lundell
On 6 Mar 2013, at 2:12 AM, Jaime Sempere wrote: > I've been searching about this but can't found any info abut it. > > I have an application which locally work well, but when I upload and test it > in google app engine this line gives me error: > > for row in > db(db.posts.thread_id==thre

[web2py] GAE "orderby date" not working

2013-03-06 Thread Jaime Sempere
Hi, I've been searching about this but can't found any info abut it. I have an application which locally work well, but when I upload and test it in google app engine this line gives me error: for row in db(db.posts.thread_id==thread_id).select(orderby=db.posts. post_date): Google app en

[web2py] GAE DB vs NDB

2013-03-05 Thread Aleš Holubec
I read about many limitations if I will use GAE for web2py, nevertheless it will not stop me :-) I think that main issue is to properly use memcaches. Is it enought to use only cache.memcache and if yes what is the best way to use it? I plan to use it for sessions a for selected results stored a

[web2py] GAE - Datastore and CloudSQL together

2013-03-04 Thread Philip Kilner
Hi, Is there a way to use the datastore for the session, filesystem and ticket tables, whilst using CloudSQL for the actual db? Also, having migrated from the datastore to CloudSQL, I am no longer getting tickets saved in either - is there anything obvious I can look into there? (In the abse

[web2py] GAE Hosting Issue

2013-03-04 Thread Philip Kilner
Hi All, I'm developing an app on GAE which has suddenly stopped serving, and just wanted to sanity check that other web2py users were not seeing the same thing. The app uses Python 2.7, HRD and CloudSQL. It's a relatively simple transactional CRUD app - nothing clever at all from the GAE PoV

[web2py] GAE deployment questions...from a total beginner!

2013-02-05 Thread Riccardo C
Hi All, As in the title I'm an absolute beginner... now I'd like to see my app online. Probably it would be more correct to say that I would learn to deploy for choosing then the hosting for my app. I think that using Gae would be the best solution (for a beginner) but I was not able to find a

[web2py] GAE Email Sending Issue

2013-01-30 Thread Philip Kilner
Hi All, Am trying to resolve an issue with sending email on App Engine. My application throws an "Unable to send email" error, and the logged error is: - 2013-01-30 09:06:16.409 Mail.send failure:The API package 'remote_socket' or call 'Resolve()' was not found. Running locally mail is sen

[web2py] GAE + Cloud SQL: Tickets

2012-12-18 Thread Felipe Meirelles
Hi, I'm using GAE + Cloud SQL but every time I get an error, there is no ticket. Can I set web2py to save tickets to database as in Google NoSQL (big table)? --

[web2py] GAE + Cloud Sql just does not work

2012-11-18 Thread Sebastian Cambeo
Hello, I can't seem to get web2py + GAE + Cloud SQL working at all: If I change nothing else but setting db=DAL('google:sql://cambeo.com:cloud1:instance1/cambeoDB',migrate_enabled=True) in the scaffolding app, it crashes. Do I have to adjust anything else? Enter passwords or a

Re: [web2py] GAE - SQL cloud connection

2012-11-16 Thread rif
I was referring to http://web2py.com/books/default/chapter/29/06#Gotchas vineri, 16 noiembrie 2012, 15:04:47 UTC+2, Massimo Di Pierro a scris: > > > On Nov 16, 2012, at 5:17 AM, rif wrote: > > Done (http://code.google.com/p/web2py/issues/detail?id=1172) > > Are the migrations issues to GoogleSQL s

Re: [web2py] GAE - SQL cloud connection

2012-11-16 Thread Massimo DiPierro
On Nov 16, 2012, at 5:17 AM, rif wrote: > Done (http://code.google.com/p/web2py/issues/detail?id=1172) > > Are the migrations issues to GoogleSQL still present? I am not aware of any issue. Can you point me to some something about this? > > -rif > > vineri, 16 noiembrie 2012, 12:57:14 UTC+2,

[web2py] GAE and count and smartgrid

2012-10-15 Thread howesc
Hi all, I am trying to integrate smartgrid into my web2py GAE app..but i have some tables with millions of rows, so when i want to load a table with no query filters the count() fails to return on GAE in 60 seconds. I'm thinking about creating a patch to grid/smartgrid that does no

[web2py] GAE: importing code into controllers

2012-10-15 Thread b00m_chef
I have an app and need to split out some code. However, importing from modules doesn't seem to work on GAE. How do you guys go about solving this? Where do you keep your non-controller code? --

[web2py] GAE issue - app works on Appspot - not on desktop

2012-10-14 Thread b00m_chef
I have an app that I wrote in web2py using version 1.99. It has been running on appspot for the last 1.5 years with no issues. I recently wanted to continue working on it, so I downloaded all my source code. I installed GAE on my desktop, and added the app folder (put it on my root C:\appname ).

[web2py] GAE Import error

2012-10-14 Thread b00m_chef
Using web2py 2.0.9 source with AppEngine 1.7.2 I get an error in GAE: ERROR2012-10-15 00:29:49,611 cgi.py:121] Traceback (most recent call last): File "C:\gaeapp\gaehandler.py", line 41, in from gluon.settings import global_settings ImportError: No module named gluon.settings --

[web2py] GAE users… help

2012-10-01 Thread Massimo DiPierro
What about this ticket? http://code.google.com/p/web2py/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Modified&groupby=&sort=-modified&id=990 Massimo --

[web2py] GAE with Janrain problem 2.0.2

2012-08-30 Thread rif
After a succesful login from janrain running on GAE I get the following error: Traceback (most recent call last): File "/home/rif/Documents/webframeworks/homepage/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/rif/Documents/webframeworks/homepage/app

[web2py] GAE Channel API and web2py mapping

2012-08-22 Thread Sushant Taneja
Hi, As per the GAE channel API documentation, for tracking client connections, I need to monitor the URLs /_ah/channel/connected and /_ah/channel/disconnected. How do I map these to web2py URLs ? I am guessing some changes will be needed in routes.py. I am currently using web2py 1.99.7 (latest

Re: [web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-19 Thread Massimo Di Pierro
This is safe. On Saturday, 18 August 2012 20:35:43 UTC-5, howesc wrote: > > yes i use modules, and current, but in the form of: > > from gluon import current > > def module_func(): >if current.request.args: > do something >return > > that is threadsafe right? > > in either case, when

Re: [web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-18 Thread howesc
yes i use modules, and current, but in the form of: from gluon import current def module_func(): if current.request.args: do something return that is threadsafe right? in either case, when i had the problems reported in the other thread i was not using current in modules. On Satur

Re: [web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-18 Thread Massimo Di Pierro
Do you use modules? Do you do anything like from gluon import current request = current.request # very very thread unsafe!!! Massimo On Saturday, 18 August 2012 11:27:31 UTC-5, howesc wrote: > > i agree that it is GAE specific. i've never had a problem elsewhere. > > On 8/17/12 22:19 , Massi

Re: [web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-18 Thread Christian Foster Howes
i agree that it is GAE specific. i've never had a problem elsewhere. On 8/17/12 22:19 , Massimo Di Pierro wrote: I opened an issue on googlecode. If there is a problem with thread safety it is GAE specific. There is some logic created in the early days to cache things on GAE assuming one proces

Re: [web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-17 Thread Massimo Di Pierro
I opened an issue on googlecode. If there is a problem with thread safety it is GAE specific. There is some logic created in the early days to cache things on GAE assuming one process per request. On Friday, 17 August 2012 23:11:34 UTC-5, howesc wrote: > > db, auth, response was getting overwri

Re: [web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-17 Thread Christian Foster Howes
db, auth, response was getting overwritten mid-request. see https://groups.google.com/forum/?fromgroups#!topic/web2py/aaG7YK7fddg[1-25] On 8/17/12 19:49 , Massimo Di Pierro wrote: What kind of thread problems did you have on GAE? On Friday, 17 August 2012 16:23:17 UTC-5, howesc wrote: respo

[web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-17 Thread Massimo Di Pierro
What kind of thread problems did you have on GAE? On Friday, 17 August 2012 16:23:17 UTC-5, howesc wrote: > > response.include_file() outputs the files that were added to > response.files (js, css). when you remove that you loose the auto output > of files that were added to response.files alon

[web2py] Re: Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-17 Thread howesc
response.include_file() outputs the files that were added to response.files (js, css). when you remove that you loose the auto output of files that were added to response.files along the way. response.include_mete() works much the same for HTML meta properties. can we see the resulting HTML in

[web2py] Web2py GAE strange error [Errno 13] file not accessible: (jQuery.js)

2012-08-16 Thread Akash Kakkar
Hi, I have tried deploying an earlier version of my app on gae and was successful, unfortunately the product release version of my app is faltering when I try to run locally on gae before deploying and was getting undefined error. In the process of debugging I made changes in my app.yaml file

[web2py] GAE Cloud SQL local dev server problem

2012-08-03 Thread Alexei Vinidiktov
Hello, I'm need hep figuring out how to set up a local GAE development server with MySQL. MySQL connection parameters are specified via App Launcher application settings: --mysql_user=root --mysql_password=xx --mysql_host=localhost --mysql_port=3306 When I launch my web2py app with GAE Launc

[web2py] GAE error (INSERT INTO auth_event fails)

2012-07-11 Thread Alexei Vinidiktov
Hello, I'm receiving this error when trying to log in to my application: ValueError: "INSERT INTO auth_event(origin,user_id,description,time_stamp,client_ip) VALUES ('auth',2,'\xd0\x9f\xd0\xbe\xd0\xbb\xd1\x8c\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c 2 \xd0\xb2\xd0\xbe\xd1

[web2py] GAE supports SSL for custom domains now

2012-07-01 Thread chinakr
GAE supports SSL for custom domains now. We can choose Server Name Indication (SNI) with 5 certificates for $9/month, or Virtual IP (VIP) with multi domain certificate for $99/month. Is there anything that web2py can do with it? Reference: (Google App Engine 1.7.0 Released at Google I/O](http

[web2py] GAE query cursors

2012-06-16 Thread howesc
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 db['_lastcur

[web2py] GAE keys and references

2012-06-16 Thread howesc
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 the

[web2py] Re: web2py + GAE memory usage

2012-05-28 Thread howesc
i have not revisited this in some time. my clients have been happy to let this go in favor of other fixes/features. when i get everyone moved to python2.7 on GAE i'll probably revisit this. On Monday, May 28, 2012 9:21:37 AM UTC-7, Sushant Taneja wrote: > > I am not sure, as I am not well ver

[web2py] Re: web2py + GAE memory usage

2012-05-28 Thread Sushant Taneja
I am not sure, as I am not well versed with how python handles memory but does the following link help : https://developers.google.com/appengine/docs/python/runtime#App_Caching Please let me know if you have found any solution. Thanks, Sushant On Monday, May 28, 2012 9:44:20 PM UTC+5:30, Susha

[web2py] Re: web2py + GAE memory usage

2012-05-28 Thread Sushant Taneja
Did you find the solution to the problem ? I am facing the same issue. Thanks, Sushant On Tuesday, February 21, 2012 2:02:08 AM UTC+5:30, howesc wrote: > > it does not seem to make a difference, so it is something else...

[web2py] gae + wsgi testing with lettuce and webtest

2012-05-17 Thread amit
The overall setup is that I have a gae, wsgi application and I am trying to include lettuce with webtest to automate the testing. 1. I am trying to run lettuce from myapp/tests/ directory. 2. myapp/tests/features directory contains the features and steps description as input to lettuce. In one

[web2py] GAE datastore: how to unindex a field?

2012-05-14 Thread Felipe Meirelles
Hi, I'm porting a commercial project from django + djangoappengine ( http://www.allbuttonspressed.com/) to web2py and one thing I could'nt find at all is how to manage per field indexes on App Engine. My project is database intensive so every entity is written hundreds of thousend times a day a

[web2py] GAE

2012-05-10 Thread Prakhar Srivastava
when i upload my application this waring come up 2012-05-09 23:02:24.992 /pixelofn/static/images/album/thumbs/PixelOfNature_fm_03.jpg 404 27ms 0kb 223.183.189.220 - - [09/May/2012:23:02:24 -0700] "GET /pixelofn/static/images/album/thumbs/PixelOfNature_fm_03.jpg HTTP/1.1" 404 0 "http://www.p

[web2py] GAE Mail Config.

2012-05-10 Thread Prakhar Srivastava
Is there anyone config the mail feature for GAE Server

[web2py] web2py + GAE 1.6.4 + NDB datastore API

2012-03-31 Thread thstart
GAE 1.6.4 with support for the new NDB datastore API. What are the plans to use it in web2py? GAE Version 1.6.4 - March 27, 2012 http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes - The NDB datastore API is now generally available. For full release notes on the version 0.9.9

[web2py] GAE email 'reply_to'

2012-03-14 Thread David Manns
Reply_to is supported by GAE but the interface doesn't currently implemented. The following 2 lines need to be added to web2py.gluon.tools.py at line 600: if reply_to: xcc['reply_to'] = reply_to

[web2py] GAE - Rendering uploaded Blob as jpeg image rather than as a string?

2012-02-23 Thread BrendanC
I uploaded a small (<1mb) jpeg image to my local dev app server. In this case the blob goes in the image file and is stored as a large string in an 'image_blob' field. However when I retrieve this image it is displayed as a string, rather than as an image. Is there something else I need to do

[web2py] GAE and Web2Py - Current Issues and some thoughts on Best Practices?

2012-02-21 Thread BrendanC
Just started testing a small GAE test app with Web2py. I worked with the App Engine a few years ago, but have not looked at it for a while. I know there has been some earlier discussion here re proposed DAL changes to enhance GAE support. Unfortunately the Web2Py GAE docs are a bit sparse and

[web2py] Re: web2py + GAE memory usage

2012-02-20 Thread howesc
it does not seem to make a difference, so it is something else...

[web2py] Re: web2py + GAE memory usage

2012-02-19 Thread Massimo Di Pierro
in compileapp there is some weird logic: if not os.path.split(model)[0] in paths and c!='appadmin': continue elif compiled: code = read_pyc(model) elif is_gae: code = getcfs(model, model, lambda: compile2(read_fi

[web2py] Re: web2py + GAE memory usage

2012-02-19 Thread howesc
i've learned that i don't know how to figure this out. i tried using the sys.getsizeof() on globals in various locations in the code and that always remained constant even while the memory size of the instance changed. i did notice that by adding the toolbar to the response on welcome/default/

Re: [web2py] Re: web2py + GAE memory usage

2012-02-19 Thread Christian Foster Howes
i see similar behavior on python2.5, i just did my test on 2.7 as i'm trying to move my clients that way anyway. i'm going to do some more digging this afternoon. On 2/19/12 11:53 , Jonathan Lundell wrote: On Feb 19, 2012, at 11:41 AM, Massimo Di Pierro wrote: I am very puzzled by this. I was

Re: [web2py] Re: web2py + GAE memory usage

2012-02-19 Thread Jonathan Lundell
On Feb 19, 2012, at 11:41 AM, Massimo Di Pierro wrote: > I am very puzzled by this. I was under he impression nothing persisted > on GAE except for stuff in datastore. web2py for GAE was built under > that assumption. It appears to be not true. If you can find anything > else to narrow down the pro

[web2py] Re: web2py + GAE memory usage

2012-02-19 Thread Massimo Di Pierro
I am very puzzled by this. I was under he impression nothing persisted on GAE except for stuff in datastore. web2py for GAE was built under that assumption. It appears to be not true. If you can find anything else to narrow down the problem, let us know. On Feb 19, 11:57 am, howesc wrote: > so i

[web2py] Re: web2py + GAE memory usage

2012-02-19 Thread howesc
so i uploaded welcome from 1.99.4 to GAE, running python2.7 multi-threaded, and hit all the URLS in welcome that i coule (which is not too many), and here is the play-by-play. The numbers on the left are instance memory size in MB 45.3 - first page 45.7 - same page, diff URL 45.7 - refresh 45.

Re: [web2py] Re: web2py + GAE memory usage

2012-02-18 Thread Christian Foster Howes
good question. i suppose that is my weekend homework. :) On 2/17/12 15:23 , Massimo Di Pierro wrote: Can you reproduce this with the welcome app? On Feb 17, 2:09 pm, howesc wrote: Hi all, I see this in mt GAE logs from time to time: 1. 2012-02-17 11:35:59.737 Exceeded soft private

  1   2   3   >