Re: collective.twitter.accounts auth problem

dieter <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Peter Fraterdeus <[email protected]> writes:

> ...
> Unfortunately, that didn't solve my problem.
> Now, it's complaining that
>
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 138, in publish
>   Module ZPublisher.mapply, line 77, in mapply
>   Module ZPublisher.Publish, line 48, in call_object
>   Module collective.twitter.accounts.browser.token, line 95, in __call__
> AttributeError: 'module' object has no attribute 'Consumer'
>
> The line in the code is:
>
>         oauth_consumer = oauth.Consumer(key=consumer_key,
>                                         secret=consumer_secret)

You might already have found the real problem.
Thus, just a general remark (which might you help in the future):

  "'module' object has no attribute 'Consumer'" indicates either
  a programming error or a version incompatibility.

In your case, two separate packages are involved ("collective.twitter"
and "oauth") which hints towards a version compatibility problem.


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.