I think the alterego post is old; try instead the webfaction blog:
http://forum.webfaction.com/viewtopic.php?pid=8473
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this grou
You cannot store your own classes in the session. This is because the
session is retrieved automatically for you before your controller is
called and outside the scope where the function is defined.
This is a general problem with Python.
Try this:
import picke
class A: pass
pickle.dump(A(),open(
I have been attempting to get web2py up and running on webfaction.
And, based on the nice writeups I have found, I think I am pretty
close.
For reference, I followed: http://mdp.cti.depaul.edu/AlterEgo/default/show/202
With my current configuration, I am able to access my web2py app:
http://myh
I agree. Consider this: practically every school/college/university in
the country has switched to Python in their intro sequence programming
courses within the last 3 years. These people are hitting the job
market now. This means in the long term it should be easy for any
company to find Python p
I am having difficulty storing a simple (non-SQL) object in the
session. I wondered if anyone could give me a clue as to why. The
following works:
def update_profile():
if (session.sections!=None):
session.sections=None
return dict(sections='spam')
else:
session.se
Please try this
1) to authenticate with gmail
auth=Auth(globals(),db)
from gluon.contrib.login_methods.email_auth import email_auth
auth.settings.login_methods.append(email_auth())
2) to authenticate using basic authentication of a third party server
auth=Auth(globals(),db)
from gluon.cont
I would offer one other suggestion.
- If standards committee are part of any assessment process; consider
pitching Python as the language being used for the development.
This would be especially true if Python is on the 'approved' stds list
in the company.
JohnMc
On May 12, 5:19 pm, mdipierro
On May 12, 10:16 pm, Russell wrote:
> Hi,
>
> I've recently experienced two issues with the html helpers when trying
> to implement .
>
> First, the TAG helper doesn't seem to pickle (but all the others do).
> Have I missed something here?
>
> >>> import cPickle
> >>> htm1 = cPickle.dumps(DIV())
I think you need to create a widget. I cannot say because it really
depends on details.
On May 11, 12:02 pm, Jurgis Pralgauskis
wrote:
> Hello,
> I want to use customised dropdown field in my app,
> but dont want to to duplicate the code..
>
> my dropdown has the tree structure in it
> like
>
Please try again the latest code in trunk.
On May 11, 8:27 am, NewBeen wrote:
> i try to use the last version 1.62rc2
>
> and a still with the same problem, now show right what is doing but
> still showing none in the record
> something like
>
> Record None create
> Record None update
>
> i gonn
Em Terça-feira 14 Abril 2009, às 23:26:40, mdipierro escreveu:
> I have been thinking about this. Even if I do not like your proposal
> Yarko, I think you have a better point than you think. In fact
> form_factory would not work with my proposal syntax but it would work
> with yours and that is a
Hi,
I've recently experienced two issues with the html helpers when trying
to implement .
First, the TAG helper doesn't seem to pickle (but all the others do).
Have I missed something here?
>>> import cPickle
>>> htm1 = cPickle.dumps(DIV())
>>> htm2 = cPickle.dumps(TAG.colgroup())
Traceback (mo
first you'd better scheduled a Hotel,such as 7days(http://www.7daysinn.cn/)
and also rujia(http://www.homeinns.com)
and since that the subway of beijing is crowded,so when you travel,you'd
better take taxi
final I think the website is suitable for you
http://www.beijingtraveltips.com/
http://wiki
Welcome to BeiJing China,and since that I am not in BeiJing ,but NanJing,so
I'd like to take you some advice before you come to BeiJing
first you'd better scheduled a Hotel,such as 7days(http://www.7daysinn.cn/)
and also rujia(http://www.homeinns.com)
and since that the subway of beijing is crowded
I think you want a resize validator that resizes a file as it is
uploaded. this should do it but I let you do the debugging. ;-)
class RESIZE:
def __init__(self,nx=32,ny=32,error_message='not an image'):
(self.nx,self.ny,self.error_message)=(nx,ny,error_message)
def __call__(sel
Cool... I'm wondering how can I use that resize function on web2py...
On Tue, May 12, 2009 at 10:45 PM, mdipierro wrote:
>
> and this
>
> class Image (webapp.RequestHandler):
> def get(self):
>greeting = db.get(self.request.get("img_id"))
>if greeting.avatar:
> self.response.header
and this
class Image (webapp.RequestHandler):
def get(self):
greeting = db.get(self.request.get("img_id"))
if greeting.avatar:
self.response.headers['Content-Type'] = "image/png"
self.response.out.write(greeting.avatar)
else:
self.error(404)
of course is all done
This
avatar = db.BlobProperty()
is done transparently by web2py
db.define_table('user',SQLField('avatar','upload'))
This
from google.appengine.api import images
is useful and I did not know about it.
Massimo
On May 12, 8:31 pm, Tito Garrido wrote:
> Seems that it has a kind of Ima
Seems that it has a kind of Image support:
http://code.google.com/intl/pt-BR/appengine/docs/python/images/usingimages.html
On Tue, May 12, 2009 at 10:28 PM, mdipierro wrote:
>
> This is about installing PIL locally and that is easy.
> Does it mean that it is already available on GAE?
> I do not
It is an excellent forum. I need to link from the web2py page. asap.
Massimo
On May 12, 6:19 pm, mikech wrote:
> Great, its a very impressive project. I plan to study your code to
> learn Python and web2py. Also, FYI it's one of the highest ranked
> entries that I've added to Dzone.
>
> Mike
This is about installing PIL locally and that is easy.
Does it mean that it is already available on GAE?
I do not know.
On May 12, 8:17 pm, Tito Garrido wrote:
> I could find this regarding PIL +
> GAE:http://code.google.com/appengine/docs/python/images/installingPIL.html
>
> But I don't know h
I think we can draft a minimal set of specs and build a repository of
converted themes.
On May 12, 7:47 pm, Douglas Soares de Andrade
wrote:
> Em Terça-feira 12 Maio 2009, às 02:31:59, mdipierro escreveu:
>
>
>
> > 1) download and unzip your favorite drupal theme
> > 2) cut and paste the content
I could find this regarding PIL + GAE:
http://code.google.com/appengine/docs/python/images/installingPIL.html
But I don't know how could I resize the picture during the upload...
On Tue, May 12, 2009 at 9:42 PM, mdipierro wrote:
>
> PIL includes binary modules. If GAE does not provide it alread
Em Terça-feira 12 Maio 2009, às 02:31:59, mdipierro escreveu:
> 1) download and unzip your favorite drupal theme
> 2) cut and paste the content of page.php into
>
> http://www.web2py.com/php
>
> 3) retrieve the generated web2py code and save it as layout.html (this
> is not 100% fool proof but
PIL includes binary modules. If GAE does not provide it already (and I
do not know if they do) there is no way to install it on GAE.
On May 12, 7:12 pm, Tito Garrido wrote:
> Is there a way to use PIL on web2py+GAE? I mean, could we reduce a picture
> while we're uploading it to GAE?
>
> Thanks
We need to decide when to stop. This and the one before are not bugs.
request.env stores environment variables passed to the app by the web
server.
when running a script with -M -S the models are executed but (by
definition) there is no web server so these variables do not exist.
When a model ne
Is there a way to use PIL on web2py+GAE? I mean, could we reduce a picture
while we're uploading it to GAE?
Thanks in advance,
Tito
--
Linux User #387870
.
_/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___
--~--~-~--~~~---~--~~
You receiv
On Tue, May 12, 2009 at 6:08 PM, mdipierro wrote:
>
> > Why is it not on LP?
>
> what does LP maan?
I think Tim means Launchpad
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To
Close, but not quite. Examples is OK, admin still chokes.
Traceback (most recent call last):
File "/usr/src/web2py_bzr_cron/gluon/restricted.py", line 107, in
restricted
exec ccode in environment
File "applications/admin/models/access.py", line 34, in
port = int(request.env.server_po
Great, its a very impressive project. I plan to study your code to
learn Python and web2py. Also, FYI it's one of the highest ranked
entries that I've added to Dzone.
Mike
On May 12, 1:26 pm, Speedbird wrote:
> Thanks for the entry Mike,
>
> Just FYI I am just about to release the last of the
> What roadmap do you have for the KPAX application?
I needs to be rewritten on top of gluon/tools and become more modular.
> Why is it not on LP?
what does LP maan?
>
> Will you merge it with the wiki app?
>
> I am currently looking into an CMS/Wiki.
> So currently there is:
> * web2py wiki
>
reST is easier to manage in other wikis; we need a wiki owner to see what
pycon-tech, others who use this a lot have done in setup of the docutil
renderers, and we hope that it will be sphinx compatible too.
Tim has pointed to someone starting a live sphinx project, which could be
_instead_ of a w
In general, when we move to mercurial, each app should have it's own place
repo. We'll have to figure out some acceptance test for new web2py
releases, etc.
On Tue, May 12, 2009 at 5:48 PM, Tim Michelsen
wrote:
>
> > Would you consider making the wiki page names be created based on the
> > title
On Tue, May 12, 2009 at 3:28 PM, JohnMc wrote:
..
>
> What's you trend analysis? Would you suggest adopting
> > web2py for a long-term investment? I ask, possibily, for an "unbiased"
> > answer, as I'm going to adopt it as a backend for a public
> > infrastructure backend... don't put me in
> yes. the KPAX appliance does that we you sort questions in a survey.
Very nice. Then I knwo where to digg...
What roadmap do you have for the KPAX application?
Why is it not on LP?
Will you merge it with the wiki app?
I am currently looking into an CMS/Wiki.
So currently there is:
* web2py wi
On Tue, May 12, 2009 at 5:19 PM, mdipierro wrote:
>
> If you have made up your mind about using web2py and you have to go
> through committees to have it approved you should consider:
>
> - print a copy of
> http://mdp.cti.depaul.edu/examples/static/web2py_vs_others.pdf
> (outdated but better tha
Hey wes,
we seem to think into the same direction...
> ok, I see on the wiki Documentation How-To why reST is being used. I
> guess it wouldn't be so bad if one is starting out their document
> thinking in this format.
I tried to find a WYSIWYG-editor for rest and only found:
http://zwiki.org/Fr
> Would you consider making the wiki page names be created based on the
> title of the page?
>
> i.e., the title "How-To create forms" ->
> "http://.../how-to-create-forms"; instead of the long encoded name.
I would also like to see this.
--~--~-~--~~~---~--~~
On Tue, May 12, 2009 at 4:30 AM, giohappy wrote:
>
> Dear web2py group,
> I'm going to adobt a python web application framework for my next
> works, and until yesterday I was oriented to Django, as it seems to
> give me the best tradoff between simplicity, rapidity, power, etc
> A friend of mine
ok, I see on the wiki Documentation How-To why reST is being used. I
guess it wouldn't be so bad if one is starting out their document
thinking in this format.
-wes
On May 12, 4:24 pm, Wes James wrote:
> What was the reason form using rest on the wiki? (I looked on the list
> archive, but don
What was the reason form using rest on the wiki? (I looked on the list
archive, but don't see it right off).
It seems like a lot of work to format it so that it works properly. But
that is coming from trying to copy/paste the "how to get help" info and then
try to learn and then format it so it
If you have made up your mind about using web2py and you have to go
through committees to have it approved you should consider:
- print a copy of http://mdp.cti.depaul.edu/examples/static/web2py_vs_others.pdf
(outdated but better than nothing)
- make list of open issues and bug reports for web2py
I think your new wiki replaced this or maybe this is a demo from some other
link.
Aw... now I see how I got to it. I looked up "web2py wiki" on google and it
was the second hit. I should just go to web2py.com then click on wiki link.
-wes
On Tue, May 12, 2009 at 4:13 PM, mdipierro wrote:
>
>
let me check is there are links and then I will take it down. I assume
nobody is using it any more. correct?
Massimo
On May 12, 4:30 pm, "compte...@gmail.com" wrote:
> Sorry, I went to the wrong wiki (do you need to take the old one
> down?)
>
> old one:https://mdp.cti.depaul.edu/web2py_wiki/d
I do not have much time to maintain that app. I am looking for
somebody to take over maintenance. It is less than 100 lines of code.
Massimo
On May 12, 4:55 pm, Wes James wrote:
> Massimo,
>
> Would you consider making the wiki page names be created based on the title
> of the page?
>
> i.e., t
yes. the KPAX appliance does that we you sort questions in a survey.
Massimo
On May 12, 5:08 pm, Tim Michelsen wrote:
> Hello,
> dis somebody already try out to sort a data base generated list
> (SQLTABLE) with jQuery via drag&drop?
>
> I would like to have an interface like:http://www.swartzfa
Hello,
dis somebody already try out to sort a data base generated list
(SQLTABLE) with jQuery via drag&drop?
I would like to have an interface like:
http://www.swartzfager.org/ctcm/
where I can sort& edit & delete the TODO items and the changes would
get updated in the database.
Other example
Massimo,
Would you consider making the wiki page names be created based on the title
of the page?
i.e., the title "How-To create forms" -> "http://.../how-to-create-forms";
instead of the long encoded name.
thx,
-wes
--~--~-~--~~~---~--~~
You received this messa
Sorry, I went to the wrong wiki (do you need to take the old one
down?)
old one: https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main
-wes
On May 12, 9:00 am, Wes James wrote:
> Massimo,
>
> I was trying to do a password reset on the wiki, but it says "Unable to Send
> Email"
>
--~--~
I will give you a perspective from someone who comes from a web/php -
cakephp perspective --
On May 12, 4:30 am, giohappy wrote:
> Dear web2py group,
> I'm going to adobt a python web application framework for my next
> works, and until yesterday I was oriented to Django, as it seems to
> give m
Thanks for the entry Mike,
Just FYI I am just about to release the last of the "RC" versions,
this time pyForum will have English, Spanish and German translations
to show how to seamlessly include internationalization in any web2py
project, I am running the last testings and will post the update
Hi:
I'm making sure that web2py blog entries get listed on Dzone. If you
have a membership you can vote these links up, or add your own.
Here's my latest:
http://www.dzone.com/links/pyforum_a_message_board_system_coded_in_the_web2p.html
--~--~-~--~~~---~--~~
You r
I am going to China for a conference July 26-31 but I am planning to
leave as much as a week early and travel around (July 20-25). I do not
like to travel alone but my wife and child cannot accompany me for
logistic reasons.
My ideal vacation would consist of traveling around by train as much
as
if you are on windows, and start default web2py (no options) it will start
whatever windows thinks is the browser.
if you start from the command line with anything, no browser should be
started,
e.g. (from sources);
$ python we2py.py -a 'hello'
or (from binary, windows):
C:> web2py.exe -a '
For your second edition I sent you the wrong page by email.
carlo
On 12 Mag, 18:43, mdipierro wrote:
> very odd... I do not think that ever existing else it would have been
> a breaking of backward compatibility.
> Must be a typo.
>
> Massimo
>
> On May 12, 11:31 am, carlo wrote:
>
> > Thank y
John,
Your welcome.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
w
please ping me at dly...@gmail.com with your email address
- I have some info you may be interested in about a similar existing
such open source system.
On May 8, 8:59 pm, Horst wrote:
> http://www.odesk.com/jobs/?g=&q=web2py&qs=1
>
> Over time I will post a number of modular projects requiring
OK. Now there is a warning in the trunk version. ;-)
On May 12, 11:37 am, Jason Brower wrote:
> It may be nice to be a little more verbose about that. Even something
> like, "TK" not found, if you would like the GUI you can install blabla
> bla.
> Regards,
> Jason
>
> On Tue, 2009-05-12 at 09:2
Is there a way to start a different browser then what ever it picks?
Even deeper, can I simple not have the webbrowser turn on?
--
Jason
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
very odd... I do not think that ever existing else it would have been
a breaking of backward compatibility.
Must be a typo.
Massimo
On May 12, 11:31 am, carlo wrote:
> Thank you, but in my book (pdf version) at page 167 I have id_label
> among SQLFORM parameters, maybe a known misprint ?
>
> ca
It may be nice to be a little more verbose about that. Even something
like, "TK" not found, if you would like the GUI you can install blabla
bla.
Regards,
Jason
On Tue, 2009-05-12 at 09:28 -0700, mdipierro wrote:
> almost
>
> If you specify a password in the command line
>
> ./web2py -a [pass
Thank you, but in my book (pdf version) at page 167 I have id_label
among SQLFORM parameters, maybe a known misprint ?
carlo
On 12 Mag, 18:25, mdipierro wrote:
> there is no id_label.
>
> You can do
>
> form=SQLFORM(db2[table],records[0],fields=flds,\
> submit_butt
almost
If you specify a password in the command line
./web2py -a [password]
([password] can be the previous password) NO GUI
If you do not specify a password
./web2py.py
then you should get the GUI. In this latter case if web2py cannot find
Tk or Tk is broken, then no gui and it prompts for
there is no id_label.
You can do
form=SQLFORM(db2[table],records[0],fields=flds,\
submit_button='Salva',labels={'id':'N.'})
or
db2[table].id.label='N.'
form=SQLFORM(db2[table],records[0],fields=flds,\
submit_button='Salva')
If you do ./web2py -M you should get the gui, if you do ./web2py -M -a
-p 8080 then you should get just a console.
On Tue, May 12, 2009 at 9:44 AM, Jason Brower wrote:
>
> It seems I don't have the gui server admin screen anymore, just the
> console based. How do I get it back? I am using ubu
It seems I don't have the gui server admin screen anymore, just the
console based. How do I get it back? I am using ubuntu 9.04.
---
Jason Brower
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framew
Is the id_label parameter working?
I have:
table=request.vars.table
if len(request.args)>1:
flds=[v for v in request.args[1:]]
records=db2(db2[table].id==request.args[0]).select()
form=SQLFORM(db2[table],records[0],fields=flds,\
submit_button='Salva
I am obviously partial in this but here are my two cents:
- web2py is here to stay. I have committed enough time on this already
to let it die anytime too, so have many of the other contributors and
there is many of them.
- as far as usability is concerned, you should try it yourself and
here we
In trunk we now have:
T.requested_languages (a parsed list of languaged accepted by the
client)
T.current_languages (a list of languages that should not be
translated, set by the developer)
T.accepted_language (the language chosen by web2py based on
availability)
T.language_file (the file associa
Massimo,
I was trying to do a password reset on the wiki, but it says "Unable to Send
Email"
-wes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to we
fixed in trunk. Please try it and let me know if it is ok.
On May 12, 6:47 am, AchipA wrote:
> There seems to be the problem when trying to invoke shells with models
> (checked with latest from launchpad). For example, admin and examples
> both fail miserably, welcome works. The actual error see
On Tue, May 12, 2009 at 17:30, giohappy wrote:
>
> Dear web2py group,
> I'm going to adobt a python web application framework for my next
> works, and until yesterday I was oriented to Django, as it seems to
> give me the best tradoff between simplicity, rapidity, power, etc
> A friend of mine ha
On Tue, May 12, 2009 at 3:30 AM, giohappy wrote:
>
> Dear web2py group,
> I'm going to adobt a python web application framework for my next
> works, and until yesterday I was oriented to Django, as it seems to
Last October I was looking for a framework to move to as I have been just
using my ow
Dear web2py group,
I'm going to adobt a python web application framework for my next
works, and until yesterday I was oriented to Django, as it seems to
give me the best tradoff between simplicity, rapidity, power, etc
A friend of mine ha suggested me to have a look at web2py, and I admit
I've bee
OK, that should solve it. Think I'd rather having the first language
on the current_languages list be returned, but hay - you cannot get
everything.
On May 12, 11:12 am, Álvaro Justen [Turicas]
wrote:
> On Tue, May 12, 2009 at 5:07 AM, guruyaya wrote:
>
> > I think there will be a problem, in c
There seems to be the problem when trying to invoke shells with models
(checked with latest from launchpad). For example, admin and examples
both fail miserably, welcome works. The actual error seems to be
referencing things like request.env in some of the models. This
behaviour also happens to br
On Tue, May 12, 2009 at 5:07 AM, guruyaya wrote:
>
> I think there will be a problem, in case I have a none standart
> setting in my browser. If I don't have English defined in my browser,
> only Italian, for example, it will throw an error, even if I wrote
> T.current_languages=['en','en-en'], t
I think there will be a problem, in case I have a none standart
setting in my browser. If I don't have English defined in my browser,
only Italian, for example, it will throw an error, even if I wrote
T.current_languages=['en','en-en'], trying to read the accepted
language.
On May 11, 11:59 pm, m
78 matches
Mail list logo