2011/5/20 mart msenecal...@gmail.com
not sure if this applies, but just in case...
years ago (i think 12, so this may be outdated), i worked in a
localization team, (although it was a purely windows shop where words
like dll was all that anyone talked about). Anyways, we adopted a
method
2011/5/20 Anthony abasta...@gmail.com
It appears that messages to the web2py-users group are somehow being copied
to various other groups, including
https://groups.google.com/group/fameisfame/search?hl=engroup=fameisfameq=web2py,
Hi Massimo,
Our Python API developers have taken over testing web2py. However, they are
taking a vacation from today until the end of this month. So they will not
be available. Upon their arrival to work, they will provide their test
results. Is that all right?
Moreover, I have just uploaded
Great to hear. Can you create a windows binary for python 2.7. web2py is not
python 3.1 ready
Thanks ...
David
hello guys
do you know
http://www.resolversystems.com/
they have a spreadsheet with python as a scripting language.
Its awsome.
Please check it
also they have in beta test
http://www.pythonanywhere.com/
its python in the browser!
how can I get the session id of a web2py app on Google App Engine?
to make of this?
or have to do differently?
Hi my web2py deployment is on app engine. I'm trying to add
plug-ins/appliances using the admin area but all I get is an error message:
unable to install application APP_NAME
when trying to upload the package at
https://my-app-deployment.appspot.com/admin/default/site
Am I uploading in the wrong
Hi all,
The meta tag viewport inside the template layout.html currently (and in
trunk) uses semicolons to separate and trail the arguments in the
content-attribute. Throws errors in Chrome (when inspecting). Easy fixed by
using comma *and* by removing trailing separator. See
Hi,
I am using web2py as a frontend and i have a single script
(myscript.py) doing all the extra calculation based on the uploaded
files (unzipping zip file contents to tables, deleting other info
etc.) This script contains four threads and now the problem is that
these threads are accessing the
Please help m debug this. In gluon/dal.py there is this code:
try:
from new import classobj
from google.appengine.ext import db as gae
from google.appengine.api import namespace_manager, rdbms
from google.appengine.api.datastore_types import Key ### needed
for belongs \
on
ID
Those I made should be but not tested on GAE. plugin_wiki was tested.
On May 20, 4:58 am, Niklas Rosencrantz nikla...@gmail.com wrote:
Hi my web2py deployment is on app engine. I'm trying to add
plug-ins/appliances using the admin area but all I get is an error message:
unable to install
On May 20, 3:48 am, CUBRID RDBMS kadish...@gmail.com wrote:
Hi Massimo,
Our Python API developers have taken over testing web2py. However, they are
taking a vacation from today until the end of this month. So they will not
be available. Upon their arrival to work, they will provide their test
Do you know you can can do it with web2py, right?
http://web2py.com/examples/spreadsheet
On May 20, 6:55 am, António Ramos ramstei...@gmail.com wrote:
hello guys
do you know
http://www.resolversystems.com/
they have a spreadsheet with python as a scripting language.
Its awsome.
Please
To run python in the browser for real, not just a console:
https://bitbucket.org/pypy/lang-js/
Or maybe this (unbelievable!):
http://bellard.org/jslinux/
http://bellard.org/jslinux/tech.html
Of course stability and speed can be an issue! ;-)
mic
2011/5/20 Massimo Di Pierro
If I am reading this properly, you want to create a new instance if db for
each thread? I have never tried this before, but could you do something like
this for each thread?
db_thread = DAL(db._uri)
for k, v in db.items():
db_thread[k] = v
The idea being to using the existing db's URI
Hi Pierre,
Agreed, and yes the money was there for the resources, but doesn't
mean we were smart about it (I.e. of couple of local Japanese
restaurant employees had much to do with a couple of of product
releasees;) - true story)
I think the issue here is not lack of knowledge on how-best-to-go-
wow, that is pretty cool!!! also the web2py spreadsheet widget (this
is the first time I see it in action) would be nice if the fields grew
to accommodate size of content :)
but regardless, its amazing!
Mart :)
On May 20, 9:09 am, Michele Comitini michele.comit...@gmail.com
wrote:
To run
I saw the video on creating components;
I tried following the steps outline there;
For some reasons I must have missed a step because the message post
table is not uploading;
Here is the code I think is not working correctly.
def reload(target):
def js(form):
response.js =
That did the trick! I had my ssl_certificate line commented out. I
also noticed that the online web2py manual has a typo. There should
be double quotes at the end of the ssl_certificate and ssl_private_key
so the look like this:
ssl_certificate =
ssl_private_key =
Thanks for your help!
On
what's the view?
On May 20, 9:26 am, David J. da...@styleflare.com wrote:
I saw the video on creating components;
I tried following the steps outline there;
For some reasons I must have missed a step because the message post
table is not uploading;
Here is the code I think is not working
The view is index.html
{{= LOAD('default','list_post.load',ajax=True,target='list_post') }}
{{= LOAD('default','post.load',ajax=True) }}
On 5/20/11 10:45 AM, Massimo Di Pierro wrote:
what's the view?
On May 20, 9:26 am, David J.da...@styleflare.com wrote:
I saw the video on creating
The strange thing is that repsonse.flash is not executing either;
I have the web2py_ajax included
The components say loading when the page is loaded; so javascript
is working.
I am using the trunk version of web2py; I see some strange stuff so I am
going to try to download again.
I
I see it was in the VERSION File; I deleted the content and updated to
1.96
Never Mind this
local local local local Version
1.94.5 (2011-03-18 20:24:56) === Version 1.94.5 (2011-03-20
15:21:40) other === Version 1.95.1 (2011-05-08
02:28:27) other
Hi Massimo,
I removed the try and except leaving the block. It says ImportError:
cannot import name rdbms
Traceback (most recent call last):
File .../myproject/google/appengine/tools/dev_appserver.py, line
3245, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
I think you have an old GAE SDK.
Massimo
On May 20, 10:05 am, Arbie Samong phek...@gmail.com wrote:
Hi Massimo,
I removed the try and except leaving the block. It says ImportError:
cannot import name rdbms
Traceback (most recent call last):
File
2011/5/19 danto web2py.n...@gmail.com:
I'm setting the created_on field in a database table with request.now
but i need to adjust the result to my timezone with the application
(it's a shared server). Can you tell me how can I achieve this?
thank you in advance
kind regards
sorry, it's
Does SQLFORM have an onaccept handler?
I just tried doing this
def post():
if form.accepts(request):
response.js = reload('list')
in my view I have
{{= LOAD('list_posts',target='list',ajax=True) }}
But this does not seem to work either.
I suppose I am missing one step in the
just found this resource
http://www.slideshare.net/kwatch/how-to-create-a-highspeed-template-engine-in-python
I started from scratch here is all the code running latest from trunk.
Seems I am still missing something.
(By the way I added an alert('running') to web2py_component() to see
when it executes. Seems like after submitting the form it is never called.)
so I think response.js is not being
Sorry maximo but resolversystems product is much more than your spreadsheet.
You looked but you did not see
(where did y heard this before.?!?!?!)
:)
2011/5/20 Massimo Di Pierro massimo.dipie...@gmail.com
Do you know you can can do it with web2py, right?
check this screencast
http://www.resolversystems.com/screencasts/console/
Em 20 de maio de 2011 18:04, António Ramos ramstei...@gmail.com escreveu:
Sorry maximo but resolversystems product is much more than your
spreadsheet.
You looked but you did not see
(where did y heard this
Thank you. I will look into this.
On May 19, 9:54 am, Chris May chrisma...@gmail.com wrote:
I thought I read of a way of using jQuery for something like this
using its deferred object. (http://api.jquery.com/category/deferred-
object/)
Sorry I can't be more specific, but I hope it helps.
That worked! Thanks Massimo.
I downloaded the latest and that got rid of the error. Also I restored
the try-catch block.
Thanks,
Arbie
On May 20, 11:40 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I think you have an old GAE SDK.
Massimo
On May 20, 10:05 am, Arbie Samong
Actually it isn't that obvious. In Python the datetime class by default is
not time zone aware. If you have users coming from multiple time zones the
best universal way to handle this is store the time in UTC which the
datetime class has a method for datetime.utcnow(). This is how UNIX does it
I recommend you to set your own names for migration files, it will turn it
easy to migrate.
db_define_table('tablename',Field('...'), migrate='mycustomname.table')
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
On Fri, May 20, 2011 at 2:01 AM, james c. james.cryp...@gmail.com wrote:
chopapp will get python, can become cool
Hi Nico,
Adding syntax highlighting for additional languages is the most common
request we've gotten so far; a good problem to have. :) Yes, we're going to
figure out a way to add support for additional languages soon. Stay tuned.
Louis Corso
Seems that
reponse.js is never called.
I see in firebug
post to http://localhost:8000/ajax/default/post_message.load
X-Powered-By|web2py
|web2py-component-flash|Form You
|Set-Cookie|session_id_ajax=127.0.0.1-7a4406f9-01c9-46ab-ad14-4d83978d4d69;
Path=/
|Expires|Fri, 20 May 2011 18:50:53
Now if we could just get a built-in web2py version that does the exact same
thing. Massimo should be able to knock that out in a couple hours :)
Just kidding, of course. Although it would be sweet.
With some css + jqgrid
(http://www.trirand.com/blog/jqgrid/jqgrid.html) you can reach similar
results
2011/5/20 Ross Peoples ross.peop...@gmail.com:
Now if we could just get a built-in web2py version that does the exact same
thing. Massimo should be able to knock that out in a couple hours :)
Well, in fact Resolver One is made with IronPython (asp.net). I read
it in the book IronPython in action which is written by one of the
developers of Resolverone.
Niklas,
you will have to run the code locally and upload plugins and then deploy to
GAE. you cannot upload files to a deployed GAE instance (without using the
blobstore). so you must have a complete code set that you can upload.
cfh
in that case i would put it right in the DB, using CRUD's archive tools.
then you know who made what changes to what rows and when, and you can go
back an restore previous versions.
http://web2py.com/book/default/chapter/07?search=archive
much easier to parse than text logs (in my opinion)
The important issue being, making it easier for people to contribute
additional translations...
On May 19, 6:52 pm, Pierre Thibault pierre.thibau...@gmail.com
wrote:
2011/5/19 Christopher Steel chris.st...@gmail.com
Hi Pierre,
I think you have touched on an important issues and although I
Ah nice trick also, didn't think about the cache, but where do you put
the code to defie the _init_log ?
On May 19, 11:23 pm, pbreit pbreitenb...@gmail.com wrote:
I got this from here awhile back:
def _init_log():
import os,logging,logging.handlers,time
logger =
saludos!
quiero tener semi sincrinizada varias app instaladas en varios sitios
diferentes (geograficamente)
quiero poder distribuir la app bajo la licencia MIT y que cualquier la
instale en local, para ser usada cómodamente entre los
usuarios de su intranet.
pero también me interesa que esa app
You made good points. I think that it is important to have a process that
can support the community we are.
Here is my last idea on the subject:
We can support a global translation repository just like Jonathan was
proposing. But if an application has not for example a custom dictionary for
2011/5/20 Ialejandro ialejandr...@gmail.com
Well, in fact Resolver One is made with IronPython (asp.net). I read
it in the book IronPython in action which is written by one of the
developers of Resolverone.
Too bad. It is Windows only. :-(
--
A+
-
Pierre
My blog and profile
Hi,
since I doesn't need any email adresses associated with my users, I
changed the schema of the auth_user table like this:
file: db.py
snip
db.define_table(
auth.settings.table_user_name,
Field('name', length=32, default='', label='Name'),
Field('password', 'password', length=512,
Anyone using web2py as the web service and then consuming the service
via json-rpc in C#? I imagine this is possible, but seem to have quite
some time trying to get this to work.
I'm using jayrock as my json-rpc C# parser and setting the url to the
service to be my exposed web2py service but
Auth requires the email field. without it there is no way to reset
password.
Anyway you can do
db.auth_user.email.readable=False
db.auth_user.email.writable=False
and disable the reset password actions.
On May 20, 6:00 pm, haggis patr...@mindf.org wrote:
Hi,
since I doesn't need any email
On Friday, May 20, 2011 7:00:08 PM UTC-4, haggis wrote:
Hi,
since I doesn't need any email adresses associated with my users, I
changed the schema of the auth_user table like this:
file: db.py
snip
db.define_table(
auth.settings.table_user_name,
Field('name', length=32,
I couldn't figure out how to see it. Any suggestions?
I have it in a model so it's available everywhere.
that makes a lot of sense! removes confusion and leaves little room
for doubt.
Mart :)
On May 20, 9:23 pm, Pierre Thibault pierre.thibau...@gmail.com
wrote:
You made good points. I think that it is important to have a process that
can support the community we are.
Here is my last idea on
This is the best answer I've seen:
http://stackoverflow.com/questions/117514/how-do-i-use-timezones-with-a-datetime-object-in-python
It can get complicated so make sure you need it.
55 matches
Mail list logo