[Plone-Users] Invalid plugin id: credentials_basic_auth

0 views
Skip to first unread message

percious

unread,
Sep 21, 2007, 11:27:03 AM9/21/07
to plone...@lists.sourceforge.net
As many of you know, I have sort of doing battle with plone/zope get
it working in my environment. I'll go into details why in another
post, but I needed to zap my current zope instance, and create a new
one, which prompted a new install of plone. I grabbed the plone off
the site, did the fun stuff with PIL and element tree and poof! I get
this error:


Error Type: KeyError
Error Value: 'Invalid plugin id: credentials_basic_auth'

Troubleshooting Suggestions

* This resource may be trying to reference a nonexistent object or
variable 'Invalid plugin id: credentials_basic_auth'.
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an
error.

For more detailed information about the error, please refer to the
error log.

If the error persists please contact the site maintainer. Thank you
for your patience.


So, Here is the dump on the Zope Side:
Unhandled exception in thread started by <class
ZServer.PubCore.ZServerPublisher.ZServerPublisher at 0x242df90>
Traceback (most recent call last):
File "/opt/Zope-2.10/lib/python/ZServer/PubCore/
ZServerPublisher.py", line 25, in __init__
response=b)
File "/opt/Zope-2.10/lib/python/ZPublisher/Publish.py", line 401, in
publish_module
environ, debug, request, response)
File "/opt/Zope-2.10/lib/python/ZPublisher/Publish.py", line 227, in
publish_module_standard
if request is not None: request.close()
File "/opt/Zope-2.10/lib/python/ZPublisher/HTTPRequest.py", line
151, in close
BaseRequest.close(self)
File "/opt/Zope-2.10/lib/python/ZPublisher/BaseRequest.py", line
205, in close
notify(EndRequestEvent(None, self))
File "/opt/Zope-2.10/lib/python/zope/event/__init__.py", line 23, in
notify
subscriber(event)
File "/opt/Zope-2.10/lib/python/zope/component/event.py", line 26,
in dispatch
for ignored in zope.component.subscribers(event, None):
File "/opt/Zope-2.10/lib/python/zope/component/_api.py", line 130,
in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/Zope-2.10/lib/python/zope/component/registry.py", line
290, in subscribers
return self.adapters.subscribers(objects, provided)
AttributeError: adapters


And here is what prints out in my event.log:
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.factory, line 80, in addPloneSite
Module Products.GenericSetup.tool, line 319, in
runAllImportStepsFromProfile
- __traceback_info__: profile-Products.CMFPlone:plone
Module Products.GenericSetup.tool, line 1023, in
_runImportStepsFromContext
Module Products.GenericSetup.tool, line 982, in _doRunImportStep
- __traceback_info__: plone_various
Module Products.CMFPlone.setuphandlers, line 498, in importVarious
Module Products.CMFPlone.setuphandlers, line 71, in installProducts
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 405,
in installProduct
- __traceback_info__: ('PlonePAS',)
Module Products.GenericSetup.tool, line 319, in
runAllImportStepsFromProfile
- __traceback_info__: profile-Products.PlonePAS:PlonePAS
Module Products.GenericSetup.tool, line 1023, in
_runImportStepsFromContext
Module Products.GenericSetup.tool, line 982, in _doRunImportStep
- __traceback_info__: plonepas
Module Products.PlonePAS.setuphandlers, line 72, in setupPlonePAS
Module Products.PlonePAS.setuphandlers, line 57, in installPAS
Module Products.PlonePAS.Extensions.Install, line 169, in
setupPlugins
Module Products.PlonePAS.Extensions.Install, line 283, in
setupAuthPlugins
Module Products.PluginRegistry.PluginRegistry, line 183, in
deactivatePlugin
KeyError: 'Invalid plugin id: credentials_basic_auth'

It is worth noting that there is an active ticket Here:
http://dev.plone.org/plone/ticket/6420#comment:5
but as far as I can tell I cannot add my own comment to said ticket,
despite adding my accoutn to the trac system. (I think I probably
have to be the ticket creator, or an admin or something...)

So I put my errors here... Anyone with a quick fix is urged to step
forward, I'll be looking into this until it works as it is holding me
up.

-chris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users

percious

unread,
Sep 21, 2007, 2:15:37 PM9/21/07
to plone...@lists.sourceforge.net
I just tried this with Plone 3.0 and yielded the same results.

> Defy all challenges. Microsoft(R) Visual Studio 2005.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/plone-users

percious

unread,
Sep 21, 2007, 2:23:00 PM9/21/07
to plone...@lists.sourceforge.net
RESOLUTION!!!!!!!!!!!!!

ok. So I was trying to figure out what I did AFTER I installed Plone
that made it not work. Well, I am working on a Twisted Project
here... You guessed it; zope.interface is required by twisted. Seems
to mung the whole thing up. Is there any resolution to this? I
really need twisted *and* plone working in the same environment.

cheers.
-chris

On Sep 21, 9:27 am, percious <ch...@percious.com> wrote:

> Defy all challenges. Microsoft(R) Visual Studio 2005.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/plone-users

David Bear

unread,
Sep 21, 2007, 3:05:42 PM9/21/07
to percious, plone...@lists.sourceforge.net
On Fri, Sep 21, 2007 at 11:23:00AM -0700, percious wrote:
> RESOLUTION!!!!!!!!!!!!!
>
> ok. So I was trying to figure out what I did AFTER I installed Plone
> that made it not work. Well, I am working on a Twisted Project
> here... You guessed it; zope.interface is required by twisted. Seems
> to mung the whole thing up. Is there any resolution to this? I
> really need twisted *and* plone working in the same environment.

.. comes close but how about separate python instances??

--
David Bear
phone: 602-496-0424
fax: 602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"

percious

unread,
Sep 21, 2007, 3:13:25 PM9/21/07
to plone...@lists.sourceforge.net
Yeah,

I realize this may be the only real way to circumnavigate my problem.
The problem is that I have so many different projects, I don't want to
have N installs of python all over the place. I tend to use a lot of
different open source packages with my code and it is somewhat of a
pain to have to easy_install a package that I have already installed
somewhere else 6 times. Plus, if I am looking at someone else's egg,
injecting print statements or what have you, I have to figure out what
package directory to go looking in. This can be confusing if you
already have stuff open from other packages.

I guess what I am looking for is an answer to whether or not Zope/
Plone will play well with zope.interface in my packages directory, or
whether or not this compatibility is planned for the future.

thanks.
-chris

> > Plone-Us...@lists.sourceforge.net

Reply all
Reply to author
Forward
0 new messages