[web2py] Re: very simple question ...

2012-07-18 Thread Massimo Di Pierro
The windows nightly build it broken because we are moving to python 2.7 and are running some tests. Will let you know when it should be working again. Hopefully later today or tomorrow. On Wednesday, 18 July 2012 13:22:41 UTC-5, Ashraf Mansour wrote: > > I am trying to test my program against th

[web2py] Re: very simple question ...

2012-07-18 Thread Ashraf Mansour
I am trying to test my program against the nightly build (windows). Installing web2p, I get the error *Traceback (most recent call last):* * File "web2py.py", line 16, in * *zipimport.ZipImportError: can't find module 'gluon'* * * Please, advise. Ashraf --

[web2py] Re: very simple question ...

2012-07-18 Thread Massimo Di Pierro
I cannot reproduce this error with your code. Something else is interfering with it. On Wednesday, 18 July 2012 05:33:53 UTC-5, Ashraf Mansour wrote: > > *Hi, All:* > * > * > *Having these two tables* > > *db.define_table(* > *'salescompany',* > *Field('name') )* > * > * > *db.define_tab

[web2py] Re: very simple question ...

2012-07-18 Thread Ashraf Mansour
for these three lines: * * *current_user_id = auth.user.id* ** *xsalescompany_id=db(db.salescompany_user.user_id == current_user_id).select(db.salescompany_user.salescompany_id).first().id* * * *salescompany_name=db(db.salescompany.id == int(xsalescompany_id) ).select(db.sale