Might this be a bug on GAE? Could someone confirm that on GAE migration is
fine?
On Saturday, 17 October 2015 13:13:21 UTC+2, Sébastien wrote:
>
> Hello,
>
> I am working locally on GAE (with Cloud SQL) and I can't seem to be able
> to add a new field to a table. I keep hav
Is it happening locally? Did you install MySQLdb?
I app.yaml you have to add under "libraries"
- name: MySQLdb
version: "latest"
Finally you have to add your MySQL credential to dev_appserver.py like:
dev_appserver.py [root folder of web2py] --mysql_user=[mysql user]
Hello,
I am working locally on GAE (with Cloud SQL) and I can't seem to be able to
add a new field to a table. I keep having 'xxx.table appears corrupted'
messages.
This is what I do before getting the error.
1. To begin with I have:
DAL('google:sql:xxx:xxx/xxx’, migrate_enabled = False,
Could someone explain to me then how I can tell people to clone a given
web2py tag and at the same time leave intact my "app.yaml", "routes.py",
".gitmodules" (submodules needed apart from pydal) at the base of the repo?
Thank you
On Friday, 9 October 2015 19:10:55 UTC+2, Tom Campbell wrote:
>
What exactly are you trying to achieve?
I am using AngularJS + Restangular with API calls to Web2py Controller and
it works great.
My web2py controller has the @@request.restful() decorator
After which action in Angular do you get redirected?
@Ramos: have a look at Angular 2 and use it, it is
Did you copy gaehandler.py in the root folder?
I would first debug the app in the local Google SDK before deploying it.
On Tuesday, 30 June 2015 14:29:56 UTC+2, kawate wrote:
To reproduce this problem, download the source version of web2py on Mac,
update application id on the
Could we say that it is a bug on GAE and that for now it is not possible to
have translated static assets when deployed on Google?
Should I report it somewhere or maybe explain better the issue for a future
fix?
Thanks!
On Friday, 26 June 2015 22:36:56 UTC+2, Sébastien Loix wrote:
Hello
Yeah it's definitely a CSS not found. Did you double check the console and
network tab (under Chrome) to see if all CSS files loaded correctly?
On Friday, 26 June 2015 13:58:45 UTC+2, Chaitu P wrote:
Thank you for reply.
Iam using windows operating system.
I have created a new application in
Hello to all,
When I set the src of my static image with the helper {{=URL('static',
'img/logo.png', scheme=True, host=True)}} I get this path in my view:
http://192.168.1.12:8080/corporate/en/static/img/logo.png
The language en is not routed like it should (and said in the manual) to
In case you want some nice formatted prints, I am using json dumps to check
on large dicts otherwise very complex to read in the console:
import json
print json.dumps(my_dict, sort_keys=True, indent=4)
On Saturday, 6 June 2015 05:26:39 UTC+2, am...@gettalent.com wrote:
One debugging method
That's what I thought too
And if it's all coming from static, why don't you just keep in db the path
from inside the static folder ( in your case images/image.gif) and then
in your view you build the path img
src={{appname}}/'static/{{path_from_db}} /
On Sunday, 19 April 2015 04:57:00
reload, from the web2py perspective. Am I correct?
Thanks for all the insights
Sébastien.
On Thursday, 16 April 2015 02:46:08 UTC+2, Richard wrote:
Ok, you are right... I only said that as long as that page not reload and
he call web2py functions which are not requesting a new page load
One last thing, any idea if it is also possible to dynamically add
left=[.], orderby=
For now I can't as it (logically) tells me that 'append() takes no keyword
arguments'
thank you!
On Wednesday, 15 April 2015 00:52:53 UTC+2, Limedrop wrote:
You can do this by building a list of
to rethink exactly what models depend on others to be able to
put them in folders... I might get crazy before time :)
Once again thank you for the help!
Best,
Sébastien.
@Steve: I will have a look in the mailing about defining tables inside
modules. It sounds interesting. Thanks for the info
Great thank you!
Quiet new to Python so this one will help me a lot...
On Wednesday, 15 April 2015 00:52:53 UTC+2, Limedrop wrote:
You can do this by building a list of fields and then using the python
unpack operator. For example:
field_list = [db.auth_user.first_name]
if
Hi to all
I am wondering how to ask dynamically the fields inside the select()
I know we can do dynamic *query* but how do we do dynamic *select*?
I want to avoid to do this if else (just an example):
if ask_for_lastname:
user = db(db.auth_user.id == user_id).select(db.auth_user.first_name,
...
Richard
On Fri, Apr 10, 2015 at 8:19 AM, Sébastien Loix seb...@gmail.com
javascript: wrote:
Hi to all,
I would like to ask for some advices on my web2py application
arquitecture as I am seeing it grow rapidly and it might be a good time to
start thinking it through before it is too late
Hi to all,
I would like to ask for some advices on my web2py application arquitecture
as I am seeing it grow rapidly and it might be a good time to start
thinking it through before it is too late :)
The website I am working on consist of several big parts (for now it has 2
web2py
)
and manually created the extra field for auth_user table but just so you
know it.
Thanks for the update!
On Saturday, 28 March 2015 17:29:24 UTC+1, Massimo Di Pierro wrote:
http://web2py.com/examples/default/download
On Saturday, 28 March 2015 11:14:44 UTC-5, Sébastien Loix wrote:
Hello
they
have some caveats. Let's try without that.
Can you help us check if this work? If, not what behaviour do you see? Do
you get a traceback?
On Tuesday, 24 March 2015 11:18:06 UTC-5, Sébastien Loix wrote:
Thank you for the answer.
Could you explain a bit more the there are no migrations
, 23 March 2015 21:53:04 UTC-5, Sébastien Loix wrote:
Hi,
I am having difficulties with table migration on GAE.
I deployed perfectly in the Google App Engine and everything is working
fine.
I then needed to make some change in the auth_user adding some extra
field but when I deploy again
Hi,
I am having difficulties with table migration on GAE.
I deployed perfectly in the Google App Engine and everything is working
fine.
I then needed to make some change in the auth_user adding some extra field
but when I deploy again the new version, the migration doesn't occur and
the new
sábado, 21 de marzo de 2015, 21:21:17 (UTC+1), Sébastien Loix escribió:
Hello,
I can't get the username=False inside the auth.define_tables to work while
developing on GAE locally.
I need to add a custom field username in the auth table that I do like
this:
auth.settings.extra_fields
Hello,
I can't get the username=False inside the auth.define_tables to work while
developing on GAE locally.
I need to add a custom field username in the auth table that I do like
this:
auth.settings.extra_fields['auth_user'] = [Field('username', length=128,
default=, unique=True)]
then
I know this thread is old but I have the exact same problem with the router
and GAE with multi language application.
I did add
- url: /(?Pa.+?)/static/\w\{2}?/(?Pb.+)
static_files: applications/\1/static/\2
upload: applications/(.+?)/static/(.+)
secure: optional
expiration: 365d
to my
Hi Niphlod,
I haven't been able to try in another application, this is my first app on
Google Engine.
I just printed the request.env to see if the X-AppEngine-CityLatLong'
header was in it and didn't see it.
So you're saying that it is something I should check on GAE side then?
thanks for
Hello,
I am trying to read inside a controller the Geo Headers (
https://cloud.google.com/appengine/docs/python/requests?hl=iw#Python_Request_headers)
that Appengine adds.
I did find the 'X-AppEngine-Country' inside web2py
request.env[''http_x_appengine_country''], but I can not find the '
An old post to solve a 2014 problem. Thanks for sharing! :)
El miércoles, 2 de noviembre de 2011 16:27:23 UTC+1, Vineet escribió:
Recently, I wrote this function for my purpose.
See if this helps you.
Assuming that argument 'dte' input format is -- 03-11-2011
[CODE]
import datetime,
Hello,
I am trying to integrate Stripe but I can't manage to add a 'metadata
field to a charge. I read that in the Stripe Docs
(https://stripe.com/docs/api/python#metadata) that we can pass a metadata
parameter inside a charge, but when I look at gluon/contrib/stripe.py I
don't see anything
and maybe in the future we
will have our own Virtual Server. In that case I wouldn't want to have to
write back all my queries and update all my views.
Thanks for any help in this subject. I am still trying to find out what is
the best deployment platform for my project.
Best regards,
Sébastien
Hello Lewis,
I am having the same issue. Could you tell us where did you put the code
for the navbar?
Thanks!
Sebastian
El viernes, 20 de julio de 2012 10:35:25 UTC+2, Matt Newton escribió:
Is there a simple way to make changes to the auth.navbar() helper object?
For example, the default for
Hello,
I am quiet new to Web2py and I am having a hard time with the Auth events
handlers.
I am trying to check if a user tried to login before hitting the page but I
can't get to know it.
This is my index Controller:
def index():
return dict(form=auth.login())
In the view I have a
Hi,
I'm new to web2py and just learning the framework.
I have an issue with my CSS static file which is not reloaded by the
browser in local.
I have read thread about versioning of static files but it doesn't seem to
solve the problem. Probably I don't it correctly.
Here is the line set in my
Dear All,
I found a workaround to the problem, I would like to double-check with you what
is the impact in term of performance, maintainability etc ...
Problem described in my previous email is caused by two lambda functions
(update_record and delete_record) returned by
return
34 matches
Mail list logo