Re: [web2py] Re: announcement

2010-03-08 Thread Debebe Asefa
To those who want to get a job in health care EHR or EMR - electronic ( health = H or medical=M) record job in your area check this site - www.himss.org - register with you resume and you will get email with all the job opennings. Study the demo, all the functions are there, the only addtion we w

Re: [web2py] Re: announcement

2010-03-08 Thread Debebe Asefa
Why the following error messages: Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\User>cd .. C:\Users>cd .. C:\>cd python25 C:\Python25>python C:\web2pyy\web2py.py WARNING:root:no file locking web2py Enterprise Web Framework Created by

[web2py] Re: local_import works on windows, fails on Linux

2010-03-08 Thread stephen
Hello Russell, What is the path to the file that the code: h = local_import('helpers', reload=True) is being ran in? Stephen On Mar 8, 6:31 pm, Russell wrote: > I have a local module in /web2py/applications/test/modules/helpers.py > > Which is imported like this: > > h = local_import('helpers

[web2py] Re: exposing crossdomain.xml

2010-03-08 Thread iggass
Very stupid of me. I restarted the server multiple times to see if it works, but never figured out that I needed to actually close the server process and execute it anew. Apparently, it loads mapping from 'routes.py' only once during initial start-up. Now it works as expected. By the way, if there

[web2py] Re: exposing crossdomain.xml

2010-03-08 Thread stephen
Hello iggass, The snippets of code you submitted should work if your web2py application is named "app". Is that the case? If not just change '/app/static/crossdomain.xml' to '/myappname/static/crossdomain.xml' where "myappname" is the application that has the crossdomain.xml in its static fold

[web2py] Re: local_import works on windows, fails on Linux

2010-03-08 Thread Russell
Doh! You're right. I had it in the application and module folder, but forgot to check the higher level web2py/applications/ folder itself. Thanks Richard. On Mar 9, 12:56 pm, Richard wrote: > that works for me on Linux. Do you have __init__.py in all those > folders? > > On Mar 9, 10:31 am, Ru

[web2py] Re: * web2py's Brand *

2010-03-08 Thread Richard
thanks for going to the effort of creating the survey On Mar 2, 1:12 pm, Wobmofo wrote: > There is a very interesting Pylons page on > branding:http://wiki.pylonshq.com/display/pylonscommunity/Brand+Strategy+Notes > There is one thing I haven't understood (if a native english speaker > could ex

[web2py] Re: exposing crossdomain.xml

2010-03-08 Thread mr.freeze
Your route works for me. Did you restart the server? On Mar 8, 3:14 pm, iggass wrote: > Hello, > > I'm running web2py (v1.76.1 on Win 2K3) server for development > purposes. > I would like to expose 'crossdomain.xml' at the top level of my site > for the sake of providing AMF service and being ab

[web2py] Re: More Questions About Compatibility

2010-03-08 Thread Richard
> So, forgive me if I don't feel particularly enclined to add Linux (and > the trail of accompanying tools) on top of the pile right now. Even if it's more practical to stick with Windows right now I recommend giving Linux a go. I find myself far more productive than with Windows - like comparing

[web2py] Re: * web2py's Brand *

2010-03-08 Thread Richard
"Convince PHP users that Python is easier than PHP" I totally agree with that comment. Trying to convince Django people is not good use of time/resources - they already have a quite good framework and have largely made a conscious choice to use it after evaluating other solutions. Better to go af

[web2py] Re: web2py beautification

2010-03-08 Thread mdipierro
On Mar 8, 4:44 pm, Albert Abril wrote: > As said by villas, I think this is the principal goal: > > 1. A clear goal of moving from table to divs. Problem. web2py welcome was based on DIVs and them we moved BACK to tables. Why? Because with DIVs having multiple columns where some have fixed width

[web2py] Re: local_import works on windows, fails on Linux

2010-03-08 Thread Richard
that works for me on Linux. Do you have __init__.py in all those folders? On Mar 9, 10:31 am, Russell wrote: > I have a local module in /web2py/applications/test/modules/helpers.py > > Which is imported like this: > > h = local_import('helpers', reload=True) > > This works on my windows box, but

[web2py] local_import works on windows, fails on Linux

2010-03-08 Thread Russell
I have a local module in /web2py/applications/test/modules/helpers.py Which is imported like this: h = local_import('helpers', reload=True) This works on my windows box, but fails when I moved the application to Linux: File "gluon/compileapp.py", line 258, in local_import_aux(name,reload

[web2py] Re: More Questions About Compatibility

2010-03-08 Thread Magnitus
>I know it could sounds cruel, but.. try to leave windows Yeah, well, MS has a big share of the market. As a teenage gamer, I used MS Windows to play my PC games. As a undergrad student, I was taught C and then C++ with MS Visual Studio. During my 4 work terms, my employers used Windows as the

Re: [web2py] Re: web2py beautification

2010-03-08 Thread Albert Abril
As said by villas, I think this is the principal goal: 1. A clear goal of moving from table to divs. 2. A web2py list of semantic names to name certain sections of the page. If in 2, we take references from wordpress or some cms, it would be easier to import templates from them. On Sun, Mar 7, 2

[web2py] Re: web2py beautification

2010-03-08 Thread mdipierro
Why do we need a grid system again? Why does this belong to web2py? I am not convinced. I only suggested 1) a better admin. 2) ability to choose among different web2py scaffolding apps. Perhaps one of the options can be 960, another couse can be BlueprintCss. Massimo On Mar 8, 4:08 pm, villas wr

[web2py] Re: * web2py's Brand *

2010-03-08 Thread Yarko Tymciurak
On Mar 8, 6:37 am, villas wrote: > Yarko, on reflection my post was not so clear, it is true. However, > IMO the central point here should be about rudeness rather than > clarity. I appreciate this move on your part towards civility - ultimately, we can only be responsible for nothing more than h

[web2py] Re: web2py beautification

2010-03-08 Thread villas
I had another look around. Here are my notes ... YAML: Creative commons licence with backlink. Unacceptable, right. Golden Grid: MIT licence seems good and the size is tiny. Would be great to include, but the project doesn't seem active enough, so I'm not so sure. Blueprintcss: MIT and well

[web2py] exposing crossdomain.xml

2010-03-08 Thread iggass
Hello, I'm running web2py (v1.76.1 on Win 2K3) server for development purposes. I would like to expose 'crossdomain.xml' at the top level of my site for the sake of providing AMF service and being able to access it from another domain, like: http://example.com:8000/crossdomain.xml As far as I und

Re: [web2py] Re: More Questions About Compatibility

2010-03-08 Thread Albert Abril
I know it could sounds cruel, but.. try to leave windows [?] On Mon, Mar 8, 2010 at 3:49 PM, Magnitus wrote: > > LOL. That ambiguous phrasing may be enough to tip Graham Dumpleton > > over the edge! > > Yes, well, unless I'm using the language of mathematics, I'm not the > best of communicator

[web2py] Re: announcement

2010-03-08 Thread mikech
Congratulations! Will you be writing anything about th ecreation of this app? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+uns

[web2py] Re: Dream Host Deployment

2010-03-08 Thread mr.freeze
Port 9009 works for me and has the added bonus of being a palindrome. On Mar 8, 1:27 pm, Jesse wrote: > Unfortunately, none of those work. > > Result from using pretty much any of the above: > > $ python web2py.py -i 0.0.0.0 -p 8001 -a "password" > The profile/pstats modules cannot be found > Pl

[web2py] Re: Dream Host Deployment

2010-03-08 Thread Jesse
Unfortunately, none of those work. Result from using pretty much any of the above: $ python web2py.py -i 0.0.0.0 -p 8001 -a "password" The profile/pstats modules cannot be found Please install the python-profiler package web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007

[web2py] Re: "Web of trust" authentication

2010-03-08 Thread Joe Barnhart
In this particular case the other coaches don't need to view the CV of the "new" coach. Since they all work at the same school they pretty much know already what's going on. This just gives them a way to manage their own "permissions" to view the team records that doesn't involve an email to the

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-08 Thread DenesL
http://web2py.com/HLv3/static/web2py.app.hl7.w2p On Mar 8, 12:41 pm, mdipierro wrote: > hmmm. I do not know what the problem is. > > Anyway: > > http://web2py.com/HLv3/statoc/web2py.app.hl7.w2p > -- You received this message because you are subscribed to the Google Groups "web2py-users" group

[web2py] Re: cron

2010-03-08 Thread mdipierro
I think so. unless you disable cron On Mar 8, 9:51 am, Wes James wrote: > is this supposed to be logging on the console every 1-2 hours? > > Mon Mar  8 08:10:00 2010 hard CRON RUNNING ['/usr/bin/python', > 'web2py.py', '-P', '-N', '', '-S', 'admin', '-a', '""', '-R', > 'applications/admin/cron/ex

[web2py] Re: questions regarding auth tables

2010-03-08 Thread mdipierro
What do you mean by "doesn't work"? On Mar 8, 11:07 am, weheh wrote: > Why does this work: > > db.auth_membership.user_id.readable=db.auth_membership.user_id.writable=False > > but this doesn't? > >     db.auth_membership.user_id.writable=False > > - > > Also, why doesn't this work? >   #cont

[web2py] Re: Dream Host Deployment

2010-03-08 Thread mdipierro
Or python web2py.py -i 0.0.0.0 -p 8001 -a "password" for all public IPs On Mar 8, 9:39 am, Kuba Kucharski wrote: > yes, there is a mistake in my recipe > > should be: > > python web2py.py -i 127.0.0.1 -p 8001 -a "password" > > not: > > python web2py.py -i public_ip -p 8001 -a "password" > > he

[web2py] DAL Cassandra support

2010-03-08 Thread waTR
In case there is someone working on Cassandra support for DAL, here is a great bit of code to get you started. http://github.com/ericflo/twissandra/tree/master/deps -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send ema

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-08 Thread mdipierro
hmmm. I do not know what the problem is. Anyway: http://web2py.com/HLv3/statoc/web2py.app.hl7.w2p On Mar 8, 9:37 am, Wes James wrote: > On Mon, Mar 8, 2010 at 8:00 AM, DenesL wrote: > > > A w2p file would make this easier to download and try but I did not > > see one. > > Otherwise you need a

[web2py] Re: web2py beautification

2010-03-08 Thread mdipierro
I vaguely remember somebody buiding a web2py app for this some time ago but I cannot find it. Massimo On Mar 8, 8:02 am, aure wrote: > Looking for more info about OOCSS, I just stumbled upon > that:http://www.yaml.de/en/ > > (It seems to also make use of jQuery in some ways.) > > I am no expert

[web2py] Re: questions regarding auth tables

2010-03-08 Thread weheh
> Also, why doesn't this work? >   #controller >   user=db(db.auth_user.id==int(request.args(2))).select().first() >   ... >   return dict(user=user, ...) > >   #view >   {{=user.id}} If I change the variable "user" to "name", then the statements above seems to work. Is "user" a keyword? -- You

[web2py] questions regarding auth tables

2010-03-08 Thread weheh
Why does this work: db.auth_membership.user_id.readable=db.auth_membership.user_id.writable=False but this doesn't? db.auth_membership.user_id.writable=False - Also, why doesn't this work? #controller user=db(db.auth_user.id==int(request.args(2))).select().first() ... return

[web2py] Re: Problem with IS_IN_SET validator where valid list is dynamic

2010-03-08 Thread hschill...@nasa.gov
>     ... > > Notice, though, that if that fixes the validation, you've still got the > problem that the user has selected a last name that's no longer in the > database. If you can confirm that this is indeed the bug, you might want to > leave the code as-is, since the validation failure is cor

[web2py] Re: "Web of trust" authentication

2010-03-08 Thread weheh
Alright, forget the cron job. Whenever a vote comes in, compute percentage, check to see if voting is done and set permissions. On Mar 8, 2:43 am, Álvaro Justen [Turicas] wrote: > On Mon, Mar 8, 2010 at 02:31, weheh wrote: > > Seems like a straight-forward thing to implement on top of auth. You

[web2py] cron

2010-03-08 Thread Wes James
is this supposed to be logging on the console every 1-2 hours? Mon Mar 8 08:10:00 2010 hard CRON RUNNING ['/usr/bin/python', 'web2py.py', '-P', '-N', '', '-S', 'admin', '-a', '""', '-R', 'applications/admin/cron/expire_sessions.py'] -- You received this message because you are subscribed to the

[web2py] Re: Doubt with the example in the book

2010-03-08 Thread Felix
Thank you villas :) On Mar 7, 2:58 pm, villas wrote: > Hi Felix, > > '%(title)s' doesn't affect the table contents,  it is used to > represent the 'id' field in drop-down select boxes etc. In this case, > the 'title' field would appear in the select box for choosing the > 'id'.  Of course,  the i

Re: [web2py] Re: Dream Host Deployment

2010-03-08 Thread Kuba Kucharski
yes, there is a mistake in my recipe should be: python web2py.py -i 127.0.0.1 -p 8001 -a "password" not: python web2py.py -i public_ip -p 8001 -a "password" here is a slice: http://www.web2pyslices.com/main/slices/take_slice/71 -- Kuba -- You received this message because you are subscri

Re: [web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-08 Thread Wes James
On Mon, Mar 8, 2010 at 8:00 AM, DenesL wrote: > > A w2p file would make this easier to download and try but I did not > see one. > Otherwise you need an hg client, or am I missing something?. > > I just tried and got the error: ??? hg clone http://code.google.com/p/web2pyhl7/ web2pyhl7 abort: '

Re: [web2py] Re: announcement

2010-03-08 Thread Wes James
on another thread it looks like you need to register as a doctor to get full access. On Sun, Mar 7, 2010 at 10:13 PM, Jason Brower wrote: > What is the username and pass for the demo site? > BR, > Jason > -- You received this message because you are subscribed to the Google Groups "web2py-user

[web2py] Re: Relase of the first HL7 based on web2py framework

2010-03-08 Thread DenesL
A w2p file would make this easier to download and try but I did not see one. Otherwise you need an hg client, or am I missing something?. On Mar 7, 3:33 pm, mdipierro wrote: > I would like to congratulate with Debebe who did most of the work and > I was glad to help. He is a real expert in the

[web2py] Re: More Questions About Compatibility

2010-03-08 Thread Magnitus
> LOL. That ambiguous phrasing may be enough to tip Graham Dumpleton > over the edge! Yes, well, unless I'm using the language of mathematics, I'm not the best of communicator for technical stuff. I apologize. > Others have also spoken enthusiastically about Lighttpd / Nginx in > terms of speed,

[web2py] web2py uwsgi and ngnix

2010-03-08 Thread mdipierro
I was reading this http://blog.zacharyvoase.com/2010-03-05-deployment-with-uwsgi-and-nginx and I think it will work with web2py with two changes: 1) cd web2py cp wsgihandler.py wsgi.py 2) In step 3 replace lines 29-57 with upstream web2py { ip_hash; server unix:sock/uwsgi.sock; }

[web2py] Re: web2py beautification

2010-03-08 Thread villas
On Mar 8, 2:02 pm, aure wrote: > Looking for more info about OOCSS, I just stumbled upon that: > http://www.yaml.de/en/ Hi Aure, I was vaguely aware of YAML, but on your suggestion I took another look and I see they now have a fantastic "YAML Builder". I haven't really played with it much, but

[web2py] Re: web2py beautification

2010-03-08 Thread aure
Looking for more info about OOCSS, I just stumbled upon that: http://www.yaml.de/en/ (It seems to also make use of jQuery in some ways.) I am no expert, but it looks interesting to me, so I thought I would mention it. Aurelien On Mar 7, 6:21 pm, villas wrote: > On Mar 7, 11:37 am, Mengu wrote

[web2py] Re: Rendering one-to many as a select combo box?

2010-03-08 Thread mdipierro
you do not need the IS_IN_DB if you use format. db.define_table('category',Field('name','string'),format='%(name)s') db.define_table('note', Field('description','string'), Field('created_on','date'), Field('category',db.category)) On Mar 8, 5:42 am, villas wrote: > Hi Giovanni > > So

[web2py] Re: date fieds layout problem

2010-03-08 Thread mdipierro
Can somebody try the fix with IE6? Massimo On Mar 8, 3:11 am, parroit wrote: > Finally I solved the problem. > You can find solution at following > address:http://www.dynarch.com/projects/calendar/old/#Kcomment-202 > > I've checked with Firefox 3.6 ,IE8, Chrome 4.0, IE7 and works fine > for all

[web2py] Re: Issue with represent for date field in SQLTABLE

2010-03-08 Thread fgpy
Hi mr.freeze, thanks for this. Problem solved. Waiting for the next binary release to include this change FG On Mar 8, 1:56 am, "mr.freeze" wrote: > It looks like line 1099 of sqlhtml.py should be: >  if isinstance(r,str): > Instead of: >  if not isinstance(r,str): > > It was changed on 2/10 for

[web2py] Re: * web2py's Brand *

2010-03-08 Thread villas
Yarko, on reflection my post was not so clear, it is true. However, IMO the central point here should be about rudeness rather than clarity. You imply that it is correct to be rude about something misunderstood, but I think you are wrong about that. In any case, whether you are wrong or not, please

[web2py] Re: "Web of trust" authentication

2010-03-08 Thread villas
Don't they need to read the CV of the new coach? If so, send them the email inviting them to 'meet' the new candidate on-line. Then once they are online, ask them to log in. Only allow those who are logged in with the right permission to vote. Or, if it has to be a single click from the email:

[web2py] Re: Rendering one-to many as a select combo box?

2010-03-08 Thread villas
Hi Giovanni Something like this should help: db.note.category.requires = IS_IN_DB(db, db.category.id, '%(name)s') This tutorial section gives an example: http://web2py.com/book/default/section/3/6 Regards, -David -- You received this message because you are subscribed to the Google Groups "we

Re: [web2py] Re: Introducing myself: Giovanni Giorgi

2010-03-08 Thread Simo
Mi chiamo Emmanuel Simo, Se qualcuno usa web2py a Milano , sarà un grande piacere essere in contatto. mi sono laureato in ing. informatica in 2007 e lavoro come programmatore Java , ho iniziato a studiare e usare web2py 8 mesi fa e ne soddisfatto 100%, sei un grande Massimo . Saluti On Sun,

[web2py] Re: DAL problems on Firebird 2.1 (DROP COLUMN DOES NOT WORK)

2010-03-08 Thread salbefe
It's working fine now. Thanks. On 8 mar, 05:03, mdipierro wrote: > Please check it. It is in. > > On Mar 6, 12:17 pm, Jose wrote: > > > > > On 6 mar, 15:36, salbefe wrote: > > > > I'm using the latest version from mercurial repository. > > > I sent a patch to Massimo. > > > Jose -- You receiv

[web2py] Re: date fieds layout problem

2010-03-08 Thread parroit
Finally I solved the problem. You can find solution at following address: http://www.dynarch.com/projects/calendar/old/#Kcomment-202 I've checked with Firefox 3.6 ,IE8, Chrome 4.0, IE7 and works fine for all. Bye Andrea On 6 Mar, 12:15, parroit wrote: > I'm using Internet Explorer 8, > Python

[web2py] Rendering one-to many as a select combo box?

2010-03-08 Thread Giovanni Giorgi
Hi all, I have a simple one-to many relation between two tables. When I use the admin interface the foreign key is rendered as a textbox. I'd like to render it with a combo box (select tag). There is a simple way to do it? I have tried to use the widget property of the Field object, without much s

Re: [web2py] Re: "Web of trust" authentication

2010-03-08 Thread Joe Barnhart
This sounds promising guys. I was thinking that a single "no" could veto the new coach but it might take a majority of "yes" votes to confirm him. Or something similar. I need to create a UUID to represent the vote and I presume a /yes and /no page for the link. It has to be a UUID the new coach