And where does the custom_importer get its paths from, because they
seem different in some apps to in others.
So how can I check the paths or change them.
Thanks

On Aug 8, 1:08 pm, Bruno Rocha <rochacbr...@gmail.com> wrote:
> it is imported by the web2py custom_importer
>
>
>
>
>
> On Mon, Aug 8, 2011 at 8:26 AM, peter <peterchutchin...@gmail.com> wrote:
> > Let me ask the question the other way round. How come powergridapp
> > does find the module powergrid. If I look at the current working
> > directory, it is the web2py folder, and if I look at sys.path, it does
> > not have the applications folder in there, so how come the
>
> >  from plugin_PowerGrid.PowerGrid import PowerGrid
>
> > statement succeeds in finding the module when it is relative to the
> > applications path? what path is it using to find the powergrid module,
> > and where does it get this path from?
>
> > Thanks
> > Peter
>
> > On Aug 6, 6:01 pm, peter <peterchutchin...@gmail.com> wrote:
> > > It is 1.98.2
>
> > > On Aug 6, 5:28 pm, Bruno Rocha <rochacbr...@gmail.com> wrote:
>
> > > > What is your web2py version?
>
> > > > The plugin works only in 1.97+
>
> > > >http://zerp.ly/rochacbruno
> > > > Em 06/08/2011 08:55, "peter" <peterchutchin...@gmail.com> escreveu:
>
> > > > > I have powergridapp working on my system, however when I added the
> > > > > powergrid plugin to my app I get
>
> > > > > No module named plugin_PowerGrid.PowerGrid
>
> > > > > Yet, the file organisation seems to be the same. I have
> > > > > plugin_PowerGrid within my modules folder and PowerGrid.py within
> > that
> > > > > folder.
>
> > > > > Any help appreciated.
> > > > > Thanks
> > > > > Peter- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -
>
> --
>
> --
> Bruno Rocha
> [ About me:http://zerp.ly/rochacbruno]
> [ Aprenda a programar:http://CursoDePython.com.br]
> [ O seu aliado nos cuidados com os animais:http://AnimalSystem.com.br]
> [ Consultoria em desenvolvimento web:http://www.blouweb.com]- Hide quoted 
> text -
>
> - Show quoted text -

Reply via email to