[web2py:11952] Re: ... and you can run *some* SQLALchemy models in web2py

2008-11-16 Thread billf
Massimo The problem with the above example is that, tho' it works fine first time thru', subsequent executions (for me at least) result in "'users' referenced before assignment" I believe that this is because any variable defined in db.py (e.g. users) is global but is only assigned to if it is

[web2py:11951] Web2py & Elixir

2008-11-16 Thread mmstud
Earlier this year i made a web app with Pylons using Elixir as ORM front layer. I got a project lately and browsed to Pylons, Django and Turbogears sites to find, if there are any updates. Finally on some point using Google i found web2py mentioned. I dont remember, that i had read it last year, w

[web2py:11950] Re: Cannot import from CSV file

2008-11-16 Thread mmstud
Was it only column names? I tried to import csv file, got parse errors althought i had column names... Finally i got tired of trying to import with web2py and did import data with Navicat. Same csv file and it worked well. But now my character encodings are wrong... Actually i did one test, where

[web2py:11949] Re: create a web2py application which function as sending email

2008-11-16 Thread somebody
Is it possible that I add an upload fuction so the email sent will attach with an uploaded file? On Nov 17, 1:33 pm, somebody <[EMAIL PROTECTED]> wrote: > Thank alot.. > missed that page hahaaa > > On Nov 17, 1:08 pm, mdipierro <[EMAIL PROTECTED]> wrote: > > > > >http://mdp.cti.depaul.edu/applian

[web2py:11948] Re: create a web2py application which function as sending email

2008-11-16 Thread somebody
Thank alot.. missed that page hahaaa On Nov 17, 1:08 pm, mdipierro <[EMAIL PROTECTED]> wrote: > http://mdp.cti.depaul.edu/appliances/default/show/10 > > On Nov 16, 10:54 pm, somebody <[EMAIL PROTECTED]> wrote: > > > > > can we create an application in web2py to send an email? > > any help?- Hide

[web2py:11947] Re: Cannot import from CSV file

2008-11-16 Thread somebody
hi are u creating a new module/controller which allow you to export SQL table value and save them as text file? I know that web2py has build in CSV but i want to create a new controller which allow you to export choosenSQL table value and save them as text file? can you help? thanks On Nov 5, 8:

[web2py:11946] Re: export sql statement and tables'values save as text file

2008-11-16 Thread somebody
i know that web2py has CSV module. but now I need to create another controller which allow me to choose which table to export the values and save them as text file without click on the originally build in CSV in web2py On Nov 12, 10:10 pm, mdipierro <[EMAIL PROTECTED]> wrote: > from appadmin you

[web2py:11945] Re: create a web2py application which function as sending email

2008-11-16 Thread mdipierro
http://mdp.cti.depaul.edu/appliances/default/show/10 On Nov 16, 10:54 pm, somebody <[EMAIL PROTECTED]> wrote: > can we create an application in web2py to send an email? > any help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[web2py:11944] Re: Bugfix and improvement for CAS

2008-11-16 Thread mdipierro
Iceberg, would you like to become a maintainer for CAS? If so, just add your name as author, post your new version on Launchpad and I will link it. It i becoming too hard for me to maintain the apps. Massimo On Nov 16, 10:44 pm, Iceberg <[EMAIL PROTECTED]> wrote: > Hi there, > > I don't know wh

[web2py:11943] create a web2py application which function as sending email

2008-11-16 Thread somebody
can we create an application in web2py to send an email? any help? --~--~-~--~~~---~--~~ 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 unsubscr

[web2py:11942] Bugfix and improvement for CAS

2008-11-16 Thread Iceberg
Hi there, I don't know whether CAS (http://mdp.cti.depaul.edu/appliances/default/ show/22) is obsolete due to the more and more interest on T2, but I still give it a try because it seems more "lightweight". So here I am writing for sharing some bugfix and improvement to all. Bugfix in verify() o

[web2py:11941] Re: Way to generate atom feed

2008-11-16 Thread Jonathan Benn
Hi Pigmej, On Nov 16, 2:03 am, pigmej <[EMAIL PROTECTED]> wrote: > I think for atom better is pyatom :) > I use it always :) So this time too :) If you create a web2py atom feed handler, could you please post it for the rest of us? Thanks, --Jonathan --~--~-~--~~~

[web2py:11940] ... and you can run *some* SQLALchemy models in web2py

2008-11-16 Thread mdipierro
** This is incomplete and to be considered a proof of concept ** 1) download http://groups.google.com/group/web2py/web/sqlalchemy.py 2) import it in your app and try the following model: db=SQLDB() metadata=MetaData(db) users = Table('users', metadata, Column('id', Integer)

[web2py:11939] Re: SQLFORM, visible data in fields but without update form

2008-11-16 Thread Yarko Tymciurak
Notice - it this tutorial shows up for you as "broken file" - it is a problem w/ the transfer of the file - it seems to work (for me) from Firefox 3, but not from Chrome (and based on past experience, this suggests not from Safari either - they both use the same engine)... This happens often enou

[web2py:11938] Re: IMPORTANT: Bill's patch

2008-11-16 Thread ceej
This was my helper: class form_helper(object): def error(self,form,error_name,div_class='form_error'): if request.vars.has_key('name') and form.errors.has_key (error_name): response.write(XML('%(error)s'%{'error': form.errors[error_name],'class': div_class}))

[web2py:11937] Re: IMPORTANT: Bill's patch

2008-11-16 Thread ceej
Using your example Massimo: db.define_table('person',SQLField('name')) def index(): form=SQLFORM(db.person) if form.accepts(request.vars,session) return dict(form=form) {{if form.errors:}}{{=form.errors}}{{pass}} {{=form.hidden_fields()}} Could i do: {{if form.errors.name:}}

[web2py:11936] Re: web2py meets N810

2008-11-16 Thread mdipierro
I'd love to see that. On Nov 16, 6:38 pm, ceej <[EMAIL PROTECTED]> wrote: > Maybe I should do a screen cast of that also :) > > On Nov 16, 4:36 pm, ceej <[EMAIL PROTECTED]> wrote: > > > Nice, I also installed it on my hacked 2.0 iphone awhile ago and it > > works like a charm. :) > > > On Nov 16,

[web2py:11935] Re: web2py egg

2008-11-16 Thread achipa
Also, it would perhaps not be pointless to make actual packages (like for Debian, RHEL, etc) to facilitate easier install (e.g. take into account apache, proper dependencies, system startup stuff, proper logging, etc). On Nov 16, 3:12 pm, mdipierro <[EMAIL PROTECTED]> wrote: > I used the wrong wo

[web2py:11934] Re: web2py meets N810

2008-11-16 Thread achipa
We could make a 'what did you last install web2py on?' competition :) Or our own version of the obligatory 'yes, but does it run web2py ?' slashdot joke for hosting companies. On Nov 17, 1:38 am, ceej <[EMAIL PROTECTED]> wrote: > Maybe I should do a screen cast of that also :) > > On Nov 16, 4:36

[web2py:11933] Re: web2py meets N810

2008-11-16 Thread ceej
Maybe I should do a screen cast of that also :) On Nov 16, 4:36 pm, ceej <[EMAIL PROTECTED]> wrote: > Nice, I also installed it on my hacked 2.0 iphone awhile ago and it > works like a charm. :) > > On Nov 16, 4:33 pm, mdipierro <[EMAIL PROTECTED]> wrote: > > >http://www.rosswalker.co.uk/tv_sound

[web2py:11932] Re: web2py meets N810

2008-11-16 Thread ceej
Nice, I also installed it on my hacked 2.0 iphone awhile ago and it works like a charm. :) On Nov 16, 4:33 pm, mdipierro <[EMAIL PROTECTED]> wrote: > http://www.rosswalker.co.uk/tv_sounds/sounds_files_20081022_3079652/s... > > On Nov 16, 5:48 pm, achipa <[EMAIL PROTECTED]> wrote: > > >http://www.

[web2py:11931] Re: web2py meets N810

2008-11-16 Thread mdipierro
http://www.rosswalker.co.uk/tv_sounds/sounds_files_20081022_3079652/simpsons/burns_excellent3.wav On Nov 16, 5:48 pm, achipa <[EMAIL PROTECTED]> wrote: > http://www.youtube.com/watch?v=s0fsjGVIGPU > > I Installed web2py on my Nokia N810 just for kicks while waiting for > some friends in a caffe (

[web2py:11930] Re: web2py foundation

2008-11-16 Thread Phyo Arkar
Dear All; I cannot participate in this thread yet , i am very excited about this but ahh , so busy . I will b contributing my ideas soon! Regards, Phyo Arkar Lwin *Nix Solutions. On Sun, Nov 16, 2008 at 11:58 PM, achipa <[EMAIL PROTECTED]> wrote: > > Massimo, all that can still fit into the fo

[web2py:11929] Re: web2py foundation

2008-11-16 Thread achipa
Massimo, all that can still fit into the foundation approach, in fact, I don't really see (apart from focus and/or emphasis) how is it different from what, say, OSGEO does. Apart from all the tech and managing aspect, it also has a consulting facet, see http://www.osgeo.org/search_profile The poi

[web2py:11928] Re: web2py meets N810

2008-11-16 Thread Phyo Arkar
WOW I AM GETTING NOKIA 810 then! YEAHH! GOOD JOB! (sorry for caps , excited!) On Sun, Nov 16, 2008 at 11:48 PM, achipa <[EMAIL PROTECTED]> wrote: > > http://www.youtube.com/watch?v=s0fsjGVIGPU > > I Installed web2py on my Nokia N810 just for kicks while waiting for > some friends in a caffe (ho

[web2py:11927] web2py meets N810

2008-11-16 Thread achipa
http://www.youtube.com/watch?v=s0fsjGVIGPU I Installed web2py on my Nokia N810 just for kicks while waiting for some friends in a caffe (how geeky is that ?) - it turns out it was even less effort than I thought. It doesn't get any easier (unless you're in a maemo repository, that is). Sorry, no

[web2py:11926] Re: How to extend a model

2008-11-16 Thread Baron
hello, I wasn't able to run your example because of tabbing issues, but from examining it I see you added the user_role field. But the login and register forms still seem to require an email - is that right? How do you intend to deal with updates to t2.py? Stay with your edited version, or remake

[web2py:11925] Re: SQLFORM, visible data in fields but without update form

2008-11-16 Thread billf
Try working through the tutorial in http://mdp.cti.depaul.edu/examples/static/cookbook.pdf It provides code examples that probably cover your needs. On Nov 16, 8:14 pm, Jędrzej Nowak <[EMAIL PROTECTED]> wrote: > So, I would like to create SQLFORM with inserts data to db, but I would > like to s

[web2py:11924] SQLFORM, visible data in fields but without update form

2008-11-16 Thread Jędrzej Nowak
So, I would like to create SQLFORM with inserts data to db, but I would like to see values from database there. I would like to made some kind of template for adding records. Is it possible to made with SQLFORM, or must I use my own form (custom one) -- Pozdrawiam, Jędrzej Nowak --~--~--

[web2py:11923] Re: Alwaysdata.com, first FREE (10MB) web2py host

2008-11-16 Thread Tito Garrido
Yes... now I have some space.. thanks... On Sat, Nov 15, 2008 at 2:27 PM, Grahack <[EMAIL PROTECTED]> wrote: > > Did you remove apps/examples/ and examples.tar ? > > On 13 nov, 14:42, "Tito Garrido" <[EMAIL PROTECTED]> wrote: > > I've deployed web2py with success... but I don't have enough space

[web2py:11921] an old app... now on appengine

2008-11-16 Thread mdipierro
http://web2py.appspot.com/textgenerator/default/index/into --~--~-~--~~~---~--~~ 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 fro

[web2py:11920] Re: web2py egg

2008-11-16 Thread mdipierro
I used the wrong word. I did not really mean it. easy_install is actually great for most apps because it checks for dependencies. The problem is that it requires access to the OS shell, while it would make more sense to me to have an installation tool that runs from the Python shell. Perhaps it c

[web2py:11919] Re: web2py foundation

2008-11-16 Thread carlo
I am for it, my little owned company will be trying to enroll for sure carlo On 16 Nov, 07:55, mdipierro <[EMAIL PROTECTED]> wrote: > Our model will be different. > that is email is asking you to work for free in the hope a future > compensation. I would not ask anybody that. > > I am thinking of

[web2py:11918] Re: web2py egg

2008-11-16 Thread carlo
why do you hate it Massimo? I think it is a good way to install modules the easiest way.. carlo On 16 Nov, 07:57, mdipierro <[EMAIL PROTECTED]> wrote: > I hate easy_install but I have no objection is anybody wants to work > on it > > On Nov 16, 12:10 am, "Wes James" <[EMAIL PROTECTED]> wrote: >

[web2py:11917] Re: web2py.net?

2008-11-16 Thread vihang
Thank you everyone. I am sure the domain will be put to good use by the community, which was always the intention. Looking forward to collaborating further... On Nov 16, 12:44 am, pmate <[EMAIL PROTECTED]> wrote: > Well done Vihang! --~--~-~--~~~---~--~~ You recei