there is some variable in index.html that is none, but you are trying to
access it as a Storage or dict i bet. does you app expect/require login?
is there something that is set conditionally based on the user agent?
On Saturday, August 3, 2013 9:07:45 PM UTC-7, James Burke wrote:
>
> Hi,
>
>
is it hard to warn users of that or disable the button in the admin
interface? i probably wouldn't have caught that detail. :(
On Wednesday, August 7, 2013 4:26:50 PM UTC-7, Massimo Di Pierro wrote:
>
> No no no. You need the source version to be able to deploy on GAE.
>
> On Wednesday, 7 August
ctory)
> #
> runtime: python27
> threadsafe: true# true for WSGI & concurrent requests (Python 2.7 only)
>
> default_expiration: "24h" # for static files
>
> let me know if you would like me to test anything...
> Dave
>
> On Sunday, August 4, 20
i personally like to break things into logical units. from an execution
perspective i don't think it makes much of a difference how many files your
model is broken into, but if there are groups of related tables that can be
broken out it might make your editing much faster.
On Sunday, August 1
if you have a large number of users running this once a week might take a
long time...
on app engine, use the app engine cron functionality to schedule a request
once a week. i'd point that to an instance that can run for long time
periods (these were called backends and then in a recent relea
which version of the SDK are you using? try visiting http://localhost:8000
or http://127.0.0.1:8000 you should then see the GAE SDK admin console,
and hopefully there is a link to cron from there.
also when you deploy you'll see cron jobs and their status in the gae admin
console.
On Wednesd
joe,
about the money validator - if you set widget *and* requires on the Field
object then you won't have the default integer validator. just make sure
that your validator converts the string/decimal number to an int so that it
can be stored in the DB (which expects an int).
good luck!
cfh
end server and with uiwebview accessing it.
>
> i've been looking for it too.
>
> On Friday, May 17, 2013 10:21:13 PM UTC+8, Christian Foster Howes wrote:
>>
>> i don't understand the question. what are you trying to do?
>>
>> web2py can run the server
i have noticed that if in the same browser i open the same page with the
same form in multiple tabs my stored session data only stores 1 form key,
so the most recently loaded tab will submit the form fine, the others will
be denied until i reload the page. any chance you have form key
duplicat
n. Perhaps we should change it. The problem is how not to
pollute the session with un-used keys.
On Sunday, 22 September 2013 10:53:26 UTC-5, Christian Foster Howes wrote:
i have noticed that if in the same browser i open the same page with the
same form in multiple tabs my stored session data onl
i believe that git submodules can also do what you are looking for. not
sure if that is easier/harder then symlinks.
On Wednesday, September 25, 2013 3:59:18 AM UTC-7, Marin Pranjić wrote:
>
> Yes gitignore is the answer but I have been burned once trying to git
> reset so I lost my app repo.
>
can you use an inspector to see the actual generated javascript? it's
possible that web2py is escaping the apostrophe. you can try
{{=XML(myobject.name)}}
On Tuesday, September 24, 2013 5:26:29 PM UTC-7, User wrote:
>
> I'm using the google map javascript api (v3). I have a google map in one
close the string?
On Thursday, September 26, 2013 12:02:55 PM UTC-4, Christian Foster Howes
wrote:
can you use an inspector to see the actual generated javascript? it's
possible that web2py is escaping the apostrophe. you can try {{=XML(
myobject.name)}}
On Tuesday, September 24, 2013 5:26:2
--upgrade simplejson
On Thursday, September 26, 2013 11:50:18 PM UTC+2, Christian Foster Howes
wrote:
i agree that if the data is from user input you want to make sure it is
escaped. the JSON might work for you. one tip - if you are using
python 2.7 it comes with a json lib (import json) that is wr
unittest on GAE has been a challenge for us as well. right now we trigger
our unittests via a controller run in the GAE dev server. it's not pretty,
but it mostly works and has the proper GAE env setup. I'd love to figure
out a cleaner way to make this happen.
here's the controller that we u
the setup is trivial to use bigtable (datastore). once you have it running
you'll never think about it again. ;)
i have not kept up to date with the default welcome app, but it used to
just use the GAE bigtable if it noticed that it's running on GAE.
bootstrap i think is used in the welcome a
thanks! i didn't remember that i had installed python 2.7 myself and had
to hack it to run with 10.9!
cfh
On Sunday, October 27, 2013 1:46:49 PM UTC-7, Jonathan Lundell wrote:
>
> Just FYI, in case this bites you.
>
> I had installed Python 2.7.2 on my Mac some time back, and had an override
Also, keep in mind that there is not really a model on GAE big table
(google datastore), so there is nothing to view in the console until you
write rows to the database. once you write data, you will be able to see
the "schema" of the data that was written.
cfh
On Sunday, October 27, 2013 3:0
interesting i as skim the NDB docs very quickly and the patch above i
see that it is *very* similar to the "DB Datastore"/Big Table. if the APIs
are the same then we should just use the same DAL adapter with a parameter
to use NDB. Though because of the caching nature of NDB there may be
the problem is that facebook is not returning an email.
i know, i know, you told facebook that email is required and you can't
reproduce such a state. i'm 100% with you, but i see the exact same
behavior with my users! i suspect that these are actually returning users
who granted email access
me'],
user['last_name']), \
username=user['id'], registration_id=user['id'],
email=user['email'])
I would like to, at least, show an error message to the user saying
that something went wrong trying to get his/her email from Facebook, and
Niphlod is correct - no storing on the filesystem. datastore or blobstore
to store your uploaded files on GAE.
On Saturday, November 23, 2013 11:24:31 AM UTC-8, Niphlod wrote:
>
> If I'm not mistaken, GAE filesystem is not writable your only option
> is to store the file into the database
>
ess these files directly (for example, if they were
image files that needed to be modified using the GAE analogy of PIL)?
On Saturday, November 23, 2013 4:32:57 PM UTC-5, Christian Foster Howes
wrote:
Niphlod is correct - no storing on the filesystem. datastore or blobstore
to store your uploaded fi
that simply does not work. you'll have to write custom code to store in
blobstore or cloud storage if you don't want to keep uploaded images in
the DB.
note that images that are static that you deploy with the application
can be stored in a static folder and mapped via app.yaml to be handled
Can you share the log/stack trace from when that happens? does the form
post to the same function that generated it?
i have not tried upload in grid()wonder if there is something there
that doesn't quite work on app engine?
On Tuesday, December 3, 2013 10:49:47 AM UTC-8, James Burke wrote:
this is a documented GAE SDK bug. you'll have to downgrade your GAE SDK to
the last working version of this. i *think* the last working version is
1.8.1
On Wednesday, December 4, 2013 8:46:31 AM UTC-8, David Manns wrote:
>
> My application runs on GAE. Using Google's bulk loader I make occasio
ink ran only on Python 2.5 and probably because of other
changes in the yaml file and the --use_sqlite app parameter can't get these
to run at all.
Thanks!
On Thursday, December 5, 2013 1:39:37 AM UTC-5, Christian Foster Howes
wrote:
this is a documented GAE SDK bug. you'll have to dow
can you create a module and/or a base template that you can put the
"boilerplate" code in so you don't have to duplicate the stuffs in each
individual controller and view? or can you write a generic controller that
based on parameters/POST data adjusts its queries.
On Thursday, December 5, 201
also Prachi, can you visit the GAE logs and paste in the error you are
getting? that might make it even quicker for us to help you sort it out.
On Thursday, December 5, 2013 1:07:37 PM UTC-8, James Burke wrote:
>
> Hi Prachi
>
> When I ran the code the form appeared.
>
> I didn't try the form.
i suspect that instapress needs to use a relational database and that if
you use google cloud SQL you are more likely to get it to work.
the traceback from the logs would be most helpful in debugging.
On Thursday, December 5, 2013 2:55:36 AM UTC-8, peibol wrote:
>
> No, I didn't find any solutio
this strikes me as an old version of web2py. GAE upgraded IDs to be
longs a few months back and i know we made sure the DAL in the latest
version supports that, yet this looks like such an error. :(
On 12/5/13, 21:42 , Massimo Di Pierro wrote:
When posting a comment the last 5 lines are usual
can't you just add google analytics to your site. from there you can see
referrers and funnels and conversions etc. with almost no extra work.
On Friday, December 6, 2013 12:48:31 PM UTC-8, Mika Sjöman wrote:
>
> Hi
>
> I was wondering if it is possible to measure the conversion rate of how
> m
i bet that by the time your lambda is running the point has been converted
to a string already. can you see if that is true? i'm not sure how to
invoke db functions in a lambda of a virtual field. :(
On Wednesday, January 1, 2014 5:50:54 PM UTC-8, User wrote:
>
> Suppose I have a table like:
>
did you invoke dev_appserver.py with the options to enable mysql? there's
a couple of options that you must pass to dev_appserver to tell it to load
and connect to mysql for local emulation of google cloud sql. i haven't
done it for a while so i don't remember the exact magic incantations
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
i have an oauth implementation that i used on app engine. i can try and
clean it up a touch and share it if you would like.
cfh
On Saturday, April 26, 2014 7:05:55 AM UTC-7, samuel bonill wrote:
>
> thanks Marks, i'm using phonegap(android, iOS) as my client and angularjs
> consume the API Res
the "command line" way to deploy to the running server is to zip the
contents of your application directory, transfer to the host, and unzip to
the host's applications directory. assuming the your code has no
additional dependencies it should work.
depending on how you do URL routing you may n
auto increment IDs are implemented differently on different databases. the
instructions for mysql vs postgres are different for example. It's best to
check the documentation for the database that you are using.
i'm assuming that you have already removed all rows from the table. :)
cfh
On Thu
#x27;d like take a look...
>
>
> 2014-04-26 17:24 GMT-05:00 Christian Foster Howes:
>
>> i have an oauth implementation that i used on app engine. i can try and
>> clean it up a touch and share it if you would like.
>>
>> cfh
>>
>>
>>
are you storing your images in the datastore or in blobstore, or in google
cloud storage? if blobstore you can use
https://developers.google.com/appengine/docs/python/images/functions#Image_get_serving_url
to store a URL that serves it directly from blobstore.
cfh
On Monday, April 28, 2014
tephan
Am Mittwoch, 30. April 2014 16:28:08 UTC+2 schrieb Christian Foster Howes:
are you storing your images in the datastore or in blobstore, or in google
cloud storage? if blobstore you can use
https://developers.google.com/appengine/docs/python/images/functions#Image_get_serving_urlto
store
did you use a SQLForm? if not then you probably didn't trigger the
validators to run.
On Thursday, May 1, 2014 9:14:28 AM UTC-7, Thomas Neubrand wrote:
>
> Hello,
>
> I have two validators in my db.py for my *auth_user* table for the
> password and the domain field, but both don´t work. When I
Stephen,
i don't see your usage of file_blob or file_data in the sample. did you
mean bild_blob is empty?
last time i implemented file upload on GAE i was writing to blobstore
(cause cloud storage didn't exist yet). i haven't ported that code to
cloud storagebut the blobstore code was *v
ers,
Albert.
On 29 May 2013 00:21, Christian Foster Howes wrote:
i have configured my system to be an oauth provider and added a decorator
to all RESTful calls to validate the oauth signature. yes, i do this on
each request that i require authentication for.
On Tuesday, May 28, 2013 6:01:11 AM
101 - 144 of 144 matches
Mail list logo