On Tue, 2012-04-17 at 22:18 +0100, Anusha Ranganathan wrote:
> Hello, 
> I have been trying to get repoze.what / repoze.who working with a
> pylons 1.0 application.
> 
> When I try to initialize my pylons application, I get the following
> error 
> 
>     from repoze.who.config import make_middleware_with_config as
> make_who_with_config
> ImportError: No module named config
> 
> I have repoze.what/repoze.who configured and working on another
> machine but have problems getting it to work on a new installation.


I suspect you've got some "repoze" packages installed with pip and some
installed with easy_install.  They don't mix well.  I'd suggest maybe
starting in a new virtualenv and installing everything using
easy_install.
> 
> I have tried installing just repoze.who again, but that makes no
> difference.
> 
> A few links that may be of use:
> who.ini file used by repoze.who: 
>         https://github.com/dataflow/RDFDatabank/blob/master/who.ini
> middleware.py which throws the exception: 
> 
> https://github.com/dataflow/RDFDatabank/blob/master/rdfdatabank/config/middleware.pyMy
>  database model
> Sqlalchemy model
> 
> https://github.com/dataflow/RDFDatabank/tree/master/rdfdatabank/model
> 
> Packages installed using easy_install (on Ubuntu Oneiric with python
> 2.7)
> pylons 1.0
> repooze.what-pylons
> repoze.what-quickstart
> 
> If you would like to have a look at what I am trying to achieve with
> repoze, a demo of my app currently working with repoze.what and
> sqlalchemy is available at http://databank-vm1.oerc.ox.ac.uk 
> 
> Any thoughts and suggestions would be greatly appreciated as I am
> stumped.
> 
> Regards,
> Anusha
> 
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev


_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to