I was passing the contents of a list:reference field
On Wednesday, October 30, 2013 9:59:29 PM UTC-4, Massimo Di Pierro wrote:
Belongs on GAE has always been supported. The cited code in version 2.7.4
is
def BELONGS(self,first,second=None):
if not isinstance(second,(list, tuple)):
On Monday, 28 October 2013 22:03:06 UTC-5, Saisha D wrote:
Thanks for the responses everyone.
I've tried the welcome app n read through the docs, things were a breeze
to set up.
I'm now at the data modeling stage for my app.
I'm quite familiar with bigtable, and most probably going to
Can you show us the db.Reservations definition and in particular its
widgets and validators.
there seems to be an invalid query in a IS_IN_DB somewhere.
On Tuesday, 29 October 2013 08:28:06 UTC-5, David Manns wrote:
I have been running my application on GAE using Python 2.7 and web2py
2.4.6.
I have attached the reservations section from my model. Also the relevant
section of the controller script - a number of validators are set up at run
time. The failure case is the crud.update() in the middle of the function,
modifying an existing reservation. There are no custom widgets
Not sure what the problem is but it it fails because of this:
affl = db(db.Colleges.id.belongs(cl))
db.Reservations.Affiliation.requires = IS_EMPTY_OR(IS_IN_DB(affl,
db.Colleges.id, '%(Name)s',orderby=db.Colleges.Name))
could it be affl is empty?
On Tuesday, 29 October 2013 14:24:38 UTC-5,
This validator is only used if affs is non-empty, I.e. the member has known
college affiliations. Otherwise the standard validator is used, allowing any
college in the table to be selected. In the failure case, affs was non-empty.
So that doesn't seem to be the problem.
--
Resources:
-
Don't know if this helps, but I see that the query for affl uses belongs,
and I'm seeing the following in my GAE log for a query that uses belongs:
File
/Users/shunter/Dropbox/webdev/google_app_engine/mypptrials/gluon/dal.py,
line 4802, in BELONGS
raise SyntaxError(Not supported)
I
Thanks for the responses everyone.
I've tried the welcome app n read through the docs, things were a breeze to
set up.
I'm now at the data modeling stage for my app.
I'm quite familiar with bigtable, and most probably going to deploy my
startup live on app-engine for the initial launch.
Now my
I ended up using this web2py testrunner:
http://pythonhosted.org/web2py_utils/test_runner.html
This runs each test in it's own local environment.
Most things now work. But there are still some things that do not work.
I'm not getting any of the already mentioned exceptions but just an
Just to note, Bootstrap is included in the welcome app, not web2py itself.
The welcome app is a great starting point and I guess 99% of the web2py
users base their applications on it's code. It gives a nice headstart when
developing web apps. But web2py itself can also be used with any other
Bootstrap is included w/ web2py, and the provided scaffolding detects if
you are running in GAE and sets up the DAL accordingly. Which means you
can develop running web2py natively and switch to GAE w/o having to
change any code.
The section of the book on deployment recipes goes into more
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
Guys,
What are the steps i need to take to be able to run tests while using GAE?
Do you want me to to create an issue?
On Sunday, October 13, 2013 3:14:46 PM UTC+2, Quint wrote:
That indeed had something to do with it.
After i changed it to this:
db = DAL('google:datastore')
I figured out that when i use env() in stead of exec_environment() i can
successfully load my environment.
Is this the recommended way?
def setUp (self):
self.testbed = testbed.Testbed()
self.testbed.activate()
self.testbed.init_datastore_v3_stub()
I think that that's a problem on how by default web2py recognize a GAE
environment. If I'm right, you didn't change at all the db.py lines that do
something like this
if not request.env.web2py_runtime_gae:
## if NOT running on Google App Engine use SQLite or other DB
db =
That indeed had something to do with it.
After i changed it to this:
db = DAL('google:datastore')
session.connect(request, response, db=db)
I got this error:
Traceback (most recent call last):
File X:\GAE\***\tests\test_fragments.py, line 25, in setUp
You cannot. GAE has a readonly file system. You need to create run with
web2py.py in order to create a new app.
On Tuesday, 3 September 2013 13:57:52 UTC-5, Derek wrote:
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
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
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
I am using the gae python sdk at the moment. when I go to
http://localhost:8000/cron i see an invalid request.
On Tuesday, August 20, 2013 4:10:04 PM UTC-4, Niphlod wrote:
I'm just reading through the docs.
*Cron support in the development server*
When using the Python SDK, the
nothing?
On Monday, August 19, 2013 7:49:03 AM UTC-4, jjg0 wrote:
I was referring to google app engine...
The book hasn't been very helpful
On Friday, August 16, 2013 6:05:41 PM UTC-4, Massimo Di Pierro wrote:
It all depends on how you run web2py. If you run it with web2py.py thank
you
Scheduler in GAE is not allowed. I'd go for their cron or their task
queue...
https://developers.google.com/appengine/docs/python/config/cron?hl=itcsw=1
https://developers.google.com/appengine/docs/python/taskqueue/?hl=itcsw=1#Using_Task_Queues_in_Python
There's also a presentation that explains
Still not getting this.
The gae docs says 'A cron.yaml file in the root directory of your
application (alongside app.yaml) configures scheduled tasks for your Python
application.'
so I made a cron.yaml file in my root directory in /web2py folder right
where the app.yaml file is. Looking at
I'm just reading through the docs.
*Cron support in the development server*
When using the Python SDK, the dev_appserver has an admin interface that
allows you to view cron jobs at http://localhost:8000/cron.
The development server doesn't automatically run your cron jobs. You can
use your
I was referring to google app engine...
The book hasn't been very helpful
On Friday, August 16, 2013 6:05:41 PM UTC-4, Massimo Di Pierro wrote:
It all depends on how you run web2py. If you run it with web2py.py thank
you can pass a command line option to enable cron and then you need a
It all depends on how you run web2py. If you run it with web2py.py thank
you can pass a command line option to enable cron and then you need a
applications/app/cron/crontab file. if you run web2py with apache or other
server via fcgi or wsgi, than you should use the scheduler instead. This is
I do not believe GAE allows connections to external MySQL services. You
have to connect to theirs with using DAL('google:sql://...')
On Thursday, 15 August 2013 02:33:04 UTC-5, Grace wrote:
Hi,
I am trying to work with Web2py for GAE, connect to my local MySQL. When I
use DAL, with the
Hi Massimo,
Thanks for the reply. I have change the line to
db = DAL('google:sql://username:password@localhost/dbname')
and the GAE logs now show the following:
File C:\Program Files (x86)\Google\google_appengine\web2py\gluon\dal.py,
lin
e 9958, in select
return
Which web2py version?
On Thursday, 15 August 2013 04:32:58 UTC-5, Grace wrote:
Hi Massimo,
Thanks for the reply. I have change the line to
db = DAL('google:sql://username:password@localhost/dbname')
and the GAE logs now show the following:
File C:\Program Files
Thanks for letting us know.
On Tuesday, 25 June 2013 15:31:30 UTC-5, peibol wrote:
Excuse me for the monologue, but it can also be useful for somebody.
The thing was that I was accesing the deployed app via https. Doing so,
chrome disabled js, and the weird thing is that in Firefox it
Excuse me for the monologue, but it can also be useful for somebody.
The thing was that I was accesing the deployed app via https. Doing so,
chrome disabled js, and the weird thing is that in Firefox it works.
Anyway, accessing via usual http does the trick.
El lunes, 24 de junio de 2013
Mmm, more info... I've tested with a hard-coded markmin input (the example
one, that I attach), and it fails also in GAE... Don't know what's
happening cause there is no log in the appengine dashboard (there is even
no warnings). Simply it renders the content without loading the css and js
i have not updated my local launcher to 1.8.1 yethopefully tomorrow.
but in past versions of GAE i have changed line 74 of gaehandler.py (at the
web2py top-level) to:
#logging.basicConfig(level=logging.INFO)
#access the GAE logging handler and set level to ignore debug logs
Thank you Christian!,
Now, I have a lot of LOGs :) (more logs is far better that no logs! :)).
Like you, I had no luck with logging.conf.
Working now, thank you again.
On Thursday, June 20, 2013 8:09:10 AM UTC+2, Christian Foster Howes wrote:
i have not updated my local launcher to 1.8.1
i've not used NDB, but i use the GAE datastore quite a lot.
lucky for me the projects i'm working on are OK with paying to use GAE so
quota per-se is not a concernbut overall cost is.
some things that i have done:
- i moved sessions to the DB, counter-intuitive i know, but they kept
Hi Christian,
On 06/03/13 07:42, Christian Foster Howes wrote:
the ticket you linked to looks like it is not failing on the connection,
but rather failing on a query. these 2 line are of interest to me:
File /base/data/home/apps/s~gk-hercules/1.365624770532609305/gluon/dal.py,
line 4115,
Philip,
I've discovered that if I create an empty database via a direct
connection to CloudSQL and point the DAL at that that statement makes
me think
web2py *never* sends a create database statement to the database (no
matter what DB you are using). it expects that the DB server is
the ticket you linked to looks like it is not failing on the connection,
but rather failing on a query. these 2 line are of interest to me:
File /base/data/home/apps/s~gk-hercules/1.365624770532609305/gluon/dal.py,
line 4115, in execute
return self.log_execute(command.decode('utf8'), *a,
at one point i was running both together. i did something like:
db = insert connection code here
sqldb = insert connection code here
and then connected tickets and such to db.
cfh
On Monday, March 4, 2013 8:24:44 AM UTC-8, Philip Kilner wrote:
Hi,
Is there a way to use the datastore for
i'm no longer using cloudSQL as i don't need it anymorebut several
months ago when i was using it i got weird and varied problems on GAE when
i had exceeded my billing quota on could SQL. have you checked that those
SQL instances are running and billing up to date?
On Monday, March 4,
Hi,
On 05/03/13 02:02, howesc wrote:
at one point i was running both together. i did something like:
db = insert connection code here
sqldb = insert connection code here
Got it - had tied that, but...
and then connected tickets and such to db.
...could not work out how to point these
Hi,
On 05/03/13 02:05, howesc wrote:
i'm no longer using cloudSQL as i don't need it anymorebut several
months ago when i was using it i got weird and varied problems on GAE
when i had exceeded my billing quota on could SQL. have you checked
that those SQL instances are running and billing
ahh, the connection stuff is in the book:
#store sessions in the DB
session.connect(request,response,db = db)
http://web2py.com/books/default/chapter/29/13#Avoid-the-filesystem
On Monday, March 4, 2013 9:50:02 PM UTC-8, Philip Kilner wrote:
Hi,
On 05/03/13 02:02, howesc
hrmmaybe it's time for GAE's next code update. i frequently notice a
degradation in performance just before they announce a new SDK version.
i'm not seeing anything out of the ordinary on my GAE apps right now, but i
do agree that the GAE team is not as transparent as i would like.
i
Hi Christian,
On 05/03/13 06:07, Christian Foster Howes wrote:
ahh, the connection stuff is in the book:
#store sessions in the DB
session.connect(request,response,db = db)
http://web2py.com/books/default/chapter/29/13#Avoid-the-filesystem
D'Oh!
Thanks for the pointer -
Hi Christian,
On 05/03/13 06:12, Christian Foster Howes wrote:
hrmmaybe it's time for GAE's next code update. i frequently notice
a degradation in performance just before they announce a new SDK version.
Interesting observation - will look out for that.
i'm not seeing anything out of
I'm simply trying to run lettuce against a web2py model domain. Well,
actually, because of the DAL I'm running it against models in the modules
folder. Problem is, this is just Python with no web2py running so Lettuce
can't find things like gluon.dal. I used abspath to get to the web2py
feel free to ask more questions as you learning things!
cfh
On Friday, February 8, 2013 2:54:46 PM UTC-8, Riccardo C wrote:
Thanks a lot for all these informations. It seems I have a lot to learn ;)
On Wednesday, 6 February 2013 20:54:21 UTC, howesc wrote:
Riccardo,
some answers:
Thanks a lot for all these informations. It seems I have a lot to learn ;)
On Wednesday, 6 February 2013 20:54:21 UTC, howesc wrote:
Riccardo,
some answers:
- i backup the source code of my app by using HG or GIT.
- google offers data backup via google cloud storage. you can see
Riccardo,
some answers:
- i backup the source code of my app by using HG or GIT.
- google offers data backup via google cloud storage. you can see options
for this in the google app engine web admin console
- yes it is possible to download GAE data. you'll have to download
database data
Unfortunately, this was working a couple of days ago (accounts created
and mail sent both in testing and production), and I'm not aware of any
change which could have triggered this issue, so I'm having trouble
figuring out where to start troubleshooting this.
Have you updated your app's
Hi Alan,
Thanks for responding!
On 30/01/13 12:01, Alan Etkin wrote:
Have you updated your app's code before the issue?
Yes, I'm in the process of commissioning this app, and have had to make
many changes to the model as I import real world data, but none in the
relevant period to the
- Running pure web2py locally: works
- Running the GAE Development server locally: fails
- Running on GAE remotely: fails
I may be wrong, but It seems to me that when creating the mail object in
the model, you need to pass explicitly the server='gae' argument. (the
class docstring says
Hi,
On 30/01/13 12:31, Philip Kilner wrote:
The more I think about it the more I wonder if the use of the router is
an issue
Just to close the loop on that, disabling routing made no difference.
I've just created a clean app to test, with the following settings for
auth and mail: -
##
try with
mail.settings.server = 'gae'
On Wednesday, January 30, 2013 2:03:50 PM UTC+1, Philip Kilner wrote:
Hi,
On 30/01/13 12:31, Philip Kilner wrote:
The more I think about it the more I wonder if the use of the router is
an issue
Just to close the loop on that, disabling
Hi Alan,
On 30/01/13 12:53, Alan Etkin wrote:
I may be wrong, but It seems to me that when creating the mail object in
the model, you need to pass explicitly the server='gae' argument. (the
class docstring says it so in trunk at least)
Perhaps you can test that mail.settings.server is 'gae'
I had understood that web2py detected the server automagically (for mail
as it does for the db) so IOW I believe that server='gae' is set in
code, and my working hypothesis is that it is this detection which is
somehow failing.
Now I've read the book :P . And it states that for GAE you
Hi Niphlod,
On 30/01/13 13:09, Niphlod wrote:
try with
mail.settings.server = 'gae'
Aargh!
That did it, and Googling that line took me straight to: -
http://stackoverflow.com/questions/2656068/sending-email-from-an-web2py-on-gae
...which I should have found at 8:30 this morning if my
I'm curious, though - given that the database switch is handled
automagically in the script, is there a reason that the mail
configuration should not also be handled conditionally, as above? My app
is targeted at GAE, but I am also testing RDBMS back-ends as a fall
back, so I'm switching
Hi Alan,
On 30/01/13 13:43, Alan Etkin wrote:
I had understood that web2py detected the server automagically (for mail
as it does for the db) so IOW I believe that server='gae' is set in
code, and my working hypothesis is that it is this detection which is
somehow failing.
Now I've
Well, the real problem is I'm using GAE with Google Cloud SQL, so I have
the migrations problem but here is the fix:
On restricted.py line 72:
def _get_table(self, db, tablename, app):
tablename = tablename + '_' + app
try:
table = db[tablename]
except:
Never mind, this solution just worked the first time, when I need to define
the table, the second time it fails too...
On Tuesday, January 8, 2013 4:21:01 PM UTC-2, Felipe Meirelles wrote:
Well, the real problem is I'm using GAE with Google Cloud SQL, so I have
the migrations problem but
Now its working for all requests, but the solution is a little odd:
First try to get the table, then try to define it for the first time and if
it fails, try to just define the table, with no migrate. Is this OK?
def _get_table(self, db, tablename, app):
tablename = tablename + '_' +
El jueves, 3 de enero de 2013 11:31:45 UTC-3, Felipe Meirelles escribió:
Well, the problem is when the ticket is saved, self.db points to DAL
uri=google:sql://**:novello-solutionworkshop:novello-solutionworkshop/novello_test
but when load() is called, it points to DAL uri=gae.
AFAIK
Admin is readonly on GAE and by default not deployed.
On Friday, 4 January 2013 17:10:56 UTC-6, Alan Etkin wrote:
El jueves, 3 de enero de 2013 11:31:45 UTC-3, Felipe Meirelles escribió:
Well, the problem is when the ticket is saved, self.db points to DAL
Massimo, just figured it out:
Using App Engine + Lazy Tables results on _get_table() in restricted.py
line 77 returning None as the tablename all the times.
So I tried to set lazy_tables = False, then the table is found, but when
table.insert(ticket_id=ticket_id,
Just added a self.db.commit() after the insert command, and it worked as
spected, but the load() function cant retrieve the ticket data...
I've tried to inspect the select stmt with _select(), but it dosent returns
the SQL. Any ideas?
On Thursday, January 3, 2013 11:07:04 AM UTC-2, Felipe
Actualy, it is displaying the SQL as:
select [gluon.dal.Field object at 0x126F9290, gluon.dal.Field object at
0x126F9170, gluon.dal.Field object at 0x126F9190, gluon.dal.Field
object at 0x126F9210] where Query [(ticket_id =
Well, the problem is when the ticket is saved, self.db points to DAL
uri=google:sql://**:novello-solutionworkshop:novello-solutionworkshop/novello_test
but when load() is called, it points to DAL uri=gae.
Where the admin application DAL is defined?
On Thursday, January 3, 2013 11:47:38 AM
I am not sure I understand the context here. Why do you have two dal uri?
What load function?
On Thursday, 3 January 2013 08:31:45 UTC-6, Felipe Meirelles wrote:
Well, the problem is when the ticket is saved, self.db points to DAL
If there is no ticket here is a problem talking to database or other
internal web2py error, not an application error. Please check for traceback
in the app engine logs.
On Tuesday, 18 December 2012 06:08:56 UTC-6, Felipe Meirelles wrote:
Hi, I'm using GAE + Cloud SQL but every time I get an
Thank you! I checked out trunk and now it is working unless I call the
truncate method on any table:
Traceback (most recent call last):
File
/base/data/home/apps/s~cambeoserver/1.363276531332237989/gluon/restricted.py,
line 212, in restricted
exec ccode in environment
File
http://code.google.com/p/web2py/issues/detail?id=1176thanks=1176ts=1353330181
will fix tonight
On Monday, 19 November 2012 03:11:24 UTC-6, Sebastian Cambeo wrote:
Thank you! I checked out trunk and now it is working unless I call the
truncate method on any table:
Traceback (most recent
Are you sing trunk? If not please check trunk. We recently fixed a bug
related to that.
On Sunday, 18 November 2012 12:52:48 UTC-6, Sebastian Cambeo wrote:
Hello,
I can't seem to get web2py + GAE + Cloud SQL working at all:
If I change nothing else but setting
I created today a sql cloud database. And I got the same error.
I changed to path VARCHAR(255) and now it works. Anybody else having the
same problem?
-rif
marți, 7 august 2012, 18:27:13 UTC+3, Massimo Di Pierro a scris:
Why does 512 result in Specified key was too long; max key length is
Please open a ticket and we will fix this asap.
On Friday, 16 November 2012 04:49:35 UTC-6, rif wrote:
I created today a sql cloud database. And I got the same error.
I changed to path VARCHAR(255) and now it works. Anybody else having the
same problem?
-rif
marți, 7 august 2012,
Done (http://code.google.com/p/web2py/issues/detail?id=1172)
Are the migrations issues to GoogleSQL still present?
-rif
vineri, 16 noiembrie 2012, 12:57:14 UTC+2, Massimo Di Pierro a scris:
Please open a ticket and we will fix this asap.
On Friday, 16 November 2012 04:49:35 UTC-6, rif
i made a patch for
reviewhttp://code.google.com/p/web2py/issues/detail?id=1143
On Monday, October 15, 2012 7:26:00 PM UTC-7, howesc wrote:
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
Did you check with latest 2.1.1. We rewrote the import logic.
On Monday, 15 October 2012 12:19:15 UTC-5, b00m_chef wrote:
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
while i'm still using 2.0.xi've not had module import problems on GAE
for several versions of web2py. if you are still having problems can you
post an example with the error messages?
On Monday, October 15, 2012 10:19:15 AM UTC-7, b00m_chef wrote:
I have an app and need to split out some
can you show us the error from the GAE log console when running locally?
chances are the code you downloaded has an app.yaml config or something
that is not compatible with the latest GAE SDK (i've had that happen to me
in the past couple of years).
i still use modules as on all other
This error was fixed, but now my app just throws a 500 error, with no error
code.
On Sunday, October 14, 2012 5:33:59 PM UTC-7, b00m_chef wrote:
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
I have taken out the modules import call and placed the code inside each of
the controllers. Is there no way to import code into controllers from other
files?
On Sunday, October 14, 2012 6:38:21 PM UTC-7, b00m_chef wrote:
I have an app that I wrote in web2py using version 1.99. It has been
So my code works on v1.99 of web2py, but not on 2.0.9 on GAE.
On Sunday, October 14, 2012 6:38:21 PM UTC-7, b00m_chef wrote:
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
i added a comment to the ticket. GAE deprecated that some time ago and we
just didn't keep up. looks like it is updated in trunk.
cfh
On Monday, October 1, 2012 6:58:08 PM UTC-7, Massimo Di Pierro wrote:
What about this ticket?
i have not run the code yet.
but upon inspection i like that line 1619 of gluon/tools.py is redundant,
and because it uses an OR query it breaks on GAE.
can someone confirm that:
user = user or table_user._db(
(table_user.registration_id==value)|
That was it. Fixing in 2.0.3
On Thursday, 30 August 2012 08:06:42 UTC-5, howesc wrote:
i have not run the code yet.
but upon inspection it looks like line 1619 of gluon/tools.py is
redundant, and because it uses an OR query it breaks on GAE.
can someone confirm that:
i use old skool regex routersi added the following to routes_in:
('/_ah/channel/(?Pf.*)', '/appname/channel/$f'), #channel
messages
FWIW i tried to use the channel API but failed miserably. i did not
reliably get disconnect messages, and channels often closed before the
I just found by myself.
populate method in db.py doesn't support in GAE.
On Thursday, September 29, 2011 6:52:16 PM UTC+9, glomde wrote:
Hi,
I am trying to use GAE but I get import error on populate in
db_wizard_populate.py.
It seems to do with the restricted environment. Do anybody
It gives me the error:
self.folder = thread.folder.split('/applications/',1)[1]
IndexError: list index out of range
Full traceback:
ERROR2012-08-13 15:36:00,799 dal.py:6586] DEBUG: connect attempt 0,
connection error:
Traceback (most recent call last):
File
any way you can log what is in thread.folder?
On Monday, 13 August 2012 10:38:48 UTC-5, Alexei Vinidiktov wrote:
It gives me the error:
self.folder = thread.folder.split('/applications/',1)[1]
IndexError: list index out of range
Full traceback:
ERROR2012-08-13 15:36:00,799
The contents of thread.folder: C:\Users\alexei\Dev\web2py\
web2py.googlecode.com\applications\vocabilis\databases
On Mon, Aug 13, 2012 at 11:11 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
any way you can log what is in thread.folder?
On Monday, 13 August 2012 10:38:48 UTC-5,
Change '/applications/' to os.sep + 'applications' + os.sep
On Aug 13, 2012, at 10:40 AM, Alexei Vinidiktov alexei.vinidik...@gmail.com
wrote:
The contents of thread.folder:
C:\Users\alexei\Dev\web2py\web2py.googlecode.com\applications\vocabilis\databases
On Mon, Aug 13, 2012 at 11:11
Ok. this is in trunk. Still need testing, there may be other issues. The
$HOME in that line assumes this is running on GAE (or linux) and not on
Windows.
On Monday, 13 August 2012 13:10:03 UTC-5, Jonathan Lundell wrote:
Change '/applications/' to os.sep + 'applications' + os.sep
On Aug 13,
Trunk appears to work on Windows now.
I think there's a redundant line in there (line 3867):
self.folder = folder # line 3867
self.db_codec = db_codec
self.folder = folder or '$HOME'+os.sep+thread.folder.split(
os.sep+'applications'+os.sep,1)[1]
On Tue, Aug 14, 2012 at 1:30 AM, Massimo
Just reviving this topic. Its not setable via index.yaml.
On Wednesday, May 16, 2012 1:07:10 PM UTC-3, howesc wrote:
actually the question at hand here i think is whether or not web2py can
support indexed=False in the property constructor when defining GAE
models:
Can you try replace
self.folder = folder or '$HOME/'+thread.folder.split('/applications/',1)[1]
with
self.folder = thread.folder.split('/applications/',1)[1]
On Wednesday, 8 August 2012 18:11:04 UTC-5, Alexei Vinidiktov wrote:
Ok. I've managed to connect to MySQL from GAE local dev
can you please open a ticket?
On Wednesday, 8 August 2012 18:11:04 UTC-5, Alexei Vinidiktov wrote:
Ok. I've managed to connect to MySQL from GAE local dev server on Windows
if I change line 3845 in dal.py to this:
self.folder =
instead of (self.folder = folder or
The problem is still not resolved in trunk.
On Mon, Aug 6, 2012 at 12:56 PM, Alexei Vinidiktov
alexei.vinidik...@gmail.com wrote:
Here it is: db = DAL('google:sql://vocabilisproject:vocabilis/vocabilis')
I pass the password and the user name via App Launcher parameters as
suggested in the
Ok. I've managed to connect to MySQL from GAE local dev server on Windows
if I change line 3845 in dal.py to this:
self.folder =
instead of (self.folder = folder or
'$HOME/'+thread.folder.split('/applications/',1)[1])
I don't know if it breaks anything though.
On Thu, Aug 9, 2012 at 6:03 AM,
101 - 200 of 532 matches
Mail list logo