We might need to see some code to give you an answer. My first thought is:
what is the order of your middleware in middleware.py.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to
On Wed, Jan 5, 2011 at 4:02 PM, Jason McKellar ja...@deadtreepages.comwrote:
On Wed, Jan 5, 2011 at 3:56 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com
wrote:
We might need to see some code to give you an answer. My first thought is:
what is the order of your middleware in middleware.py.
% sure
Here's how to repro:
virtualenv virttest
cd virttest
source bin/activate
easy_install repoze.what-quickstart repoze.what-pylons
ipython
import repoze.what.plugins.quickstart
This is because ipython doesn't know anything about your virtualenv.
You can see for yourself:
In [1
bin/activate
easy_install repoze.what-quickstart repoze.what-pylons
ipython
import repoze.what.plugins.quickstart
Anyways, once I installed it globally outside of the virtualenv it
worked globally. Also, that seemed to make it work inside the
virtualenv as well.
So I think it's looking
I've been trying to go through the repoze.what guide, but when i try
and start up my app I get the following:
ImportError: No module named what.plugins.quickstart
I've installed repoze.what_pylons and repoze.what_quickstart with
easy_install and I'm running python 2.5. I can see both packages
Hello,
I'd make sure they're indeed installed in the current virtualenv:
easy_install -U repoze.what-quickstart repoze.what-pylons
This is the first time I see this problem, but I'm sure it's in the
virtualenv.
HTH.
--
Gustavo Narea http://gustavonarea.net/.
Get rid of unethical
Thank you so much for the fast response. easy_install -U did the
trick. When I ran it I got:
repoze.what-xxx is already the active version in easy-install.pth
for both packages. It would seem to me that running the command
wouldn't have done much. Can you explain why it might have fixed the
Looks like I spoke too soon with that last post. So I am now able to
import everything properly through the python shell under the
virtualenv, but when I try and serve my app or enter the paster shell,
I get the error I was getting before:
ImportError: No module named what.plugins.quickstart
Alright, problem solved. Unfortunately I've got to attribute this one
to my own stupidity. Before i found your guide, I was going through
another one that recommended putting the lib/auth functions in a file
called repoze located in lib/auth. Of course doing that made the
program look into
On Tuesday February 24, 2009 23:26:58 dw wrote:
Thanks for all your help.
No worries! I'm glad to know it's working now! ;-)
--
Gustavo Narea http://gustavonarea.net/.
Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/
On Feb 24, 10:26 pm, dw dwe...@structuralcomponents.net wrote:
recommended putting the lib/auth functions in a file
called repoze located in lib/auth.
Heh, that's exactly what I did too, with exactly the same results. It
totally weirded me out for a while. It can be a misleading exception
On Tue, Feb 10, 2009 at 17:51, Gustavo Narea m...@gustavonarea.net wrote:
Hello, everybody.
I'm pleased to announce that I have:
1.- Finished the guide on how to use repoze.what in Pylons:
http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what
2.- Created a plugin
have:
1.- Finished the guide on how to use repoze.what in Pylons:
http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze
.what 2.- Created a plugin to integrate repoze.what in Pylons
applications: http://code.gustavonarea.net/repoze.what-pylons/
So hopefully now using
On Tue, 2009-02-10 at 21:51:17 +0100, Gustavo Narea wrote:
Hello, everybody.
I'm pleased to announce that I have:
1.- Finished the guide on how to use repoze.what in Pylons:
http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what
2.- Created a plugin to integrate
On Feb 11, 2009, at 12:37 PM, Audrius Kažukauskas wrote:
Having said that, there's one issue I've encountered while integrating
repoze.what: model.meta.Session was imported in config/middleware.py
at
the time when model.init_model() hasn't been called yet, so Session
was
still None and
Hello, everybody.
I'm pleased to announce that I have:
1.- Finished the guide on how to use repoze.what in Pylons:
http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what
2.- Created a plugin to integrate repoze.what in Pylons applications:
http://code.gustavonarea.net
16 matches
Mail list logo