Re: [web2py] Re: web2py with Eclipse

2011-06-27 Thread Sebastian E. Ovide
That's it ! thanks On Mon, Jun 27, 2011 at 1:16 AM, Pierre Thibault pierre.thibau...@gmail.com wrote: from applications.soso.models.some_module import my_db_helper_here I'm sorry I forgot the some_module in my first example. -- Sebastian E. Ovide

Re: [web2py] Re: web2py with Eclipse

2011-06-26 Thread Pierre Thibault
2011/6/26 sebastian sebastianov...@gmail.com what about the functions defined in the models ? (global functions) Pydev won't see them because they are imported implicitly by web2py. You can use the if 0: trick so the static code analyzer will not complain: if 0: from

Re: [web2py] Re: web2py with Eclipse

2011-06-26 Thread Sebastian E. Ovide
Thanks Pierr, I was trying to do that but it is not working... actually I have a bunch of imports insede that if 0 trick that solve all the web2py dependencies errors... the only errors stil there are those due to functions in my model files (as for example the models of my plugins) I've tried

Re: [web2py] Re: web2py with Eclipse

2011-06-26 Thread Sebastian E. Ovide
add info: from applications.soso.models import my_db_helper_here eclipse give this error: Unresolved import: my_db_helper_here Unused import: my_db_helper_here On Sun, Jun 26, 2011 at 11:43 PM, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: Thanks Pierr, I was trying to do that but

Re: [web2py] Re: web2py with Eclipse

2011-06-26 Thread Pierre Thibault
2011/6/26 Sebastian E. Ovide sebastian.ov...@gmail.com add info: from applications.soso.models import my_db_helper_here eclipse give this error: Unresolved import: my_db_helper_here Unused import: my_db_helper_here Is the web2py folder in your path? I guess you are missing a level. Try

Re: [web2py] Re: web2py with Eclipse -- still lots of undefined stuff

2011-06-20 Thread Pierre Thibault
2011/6/20 weheh richard_gor...@verizon.net Hi Pierre, I've read your excellent pages and followed your instructions before, to good effect. Of course, the downside is that one ends up with a lot of junk code in the beginning of one's files. I was under the impression that the latest version

Re: [web2py] Re: web2py with Eclipse -- still lots of undefined stuff

2011-06-20 Thread Anthony
Massimo suggested this recently: https://groups.google.com/d/msg/web2py/z-ckQANc9PY/-tGhBE6oxYMJ On Monday, June 20, 2011 2:14:47 AM UTC-4, Pierre Thibault wrote: 2011/6/20 weheh richard...@verizon.net Hi Pierre, I've read your excellent pages and followed your instructions before, to good

Re: [web2py] Re: web2py with Eclipse -- still lots of undefined stuff

2011-06-20 Thread Pierre Thibault
2011/6/20 weheh richard_gor...@verizon.net @Anthony, Unfortunately, this code from the other thread does not work for my Eclipse installation: if 0: from gluon.dal import DAL from gluon.tools import Auth db = DAL() auth = Auth() The only thing that has worked so far is

Re: [web2py] Re: web2py with Eclipse

2011-05-10 Thread Sebastian E. Ovide
yes, I'm using that trick and it is working fine... except in the views On Tue, May 10, 2011 at 5:52 PM, Ross Peoples ross.peop...@gmail.comwrote: The only thing that had really worked for me in the past was doing the if 0: trick: if 0: from gluon.dal import DAL from gluon.tools