← Back to team overview

divmod-dev team mailing list archive

[Bug 994287] Re: SpamBayes broken, TypeError when adding.

 

** Branch linked: lp:~exarkun/divmod.org/spambayes-hammie-args

-- 
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Quotient.
https://bugs.launchpad.net/bugs/994287

Title:
  SpamBayes broken, TypeError when adding.

Status in Multi-protocol messaging server and tools:
  New

Bug description:
  I have SpamBayes 1.1b1 installed and get the following Traceback when
  attemptin to Endow the product to an user.

          Traceback (most recent call last):
            File "/home/alex/newdiv/lib/python2.6/site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
              result = f(*args, **kw)
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/liveform.py", line 938, in invoke
              result.addCallback(lambda params: self.callable(**params))
            File "/home/alex/newdiv/lib/python2.6/site-packages/twisted/internet/defer.py", line 301, in addCallback
              callbackKeywords=kw)
            File "/home/alex/newdiv/lib/python2.6/site-packages/twisted/internet/defer.py", line 290, in addCallbacks
              self._runCallbacks()
          --- <exception caught here> ---
            File "/home/alex/newdiv/lib/python2.6/site-packages/twisted/internet/defer.py", line 551, in _runCallbacks
              current.result = callback(current.result, *args, **kw)
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/liveform.py", line 938, in <lambda>
              result.addCallback(lambda params: self.callable(**params))
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/webadmin.py", line 261, in _endow
              subs.transact(endowall)
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/store.py", line 1808, in transact
              result = f(*a, **k)
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/webadmin.py", line 260, in endowall
              getattr(product, self.which)(subs)
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/product.py", line 40, in installProductOn
              userstore.transact(install)
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/store.py", line 1802, in transact
              return f(*a, **k)
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/product.py", line 39, in install
              i.install()
            File "/home/alex/Projects/Divmod/trunk/Mantissa/xmantissa/product.py", line 103, in install
              it = self.store.findOrCreate(namedAny(typeName))
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/store.py", line 1384, in findOrCreate
              newItem = userItemClass(store=self, **attrs)
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/item.py", line 646, in __init__
              self.__subinit__(**kw)
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/item.py", line 627, in __subinit__
              self.store = tostore
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/slotmachine.py", line 168, in __setattr__
              setter(self, value)
            File "/home/alex/Projects/Divmod/trunk/Axiom/axiom/item.py", line 551, in set
              self.activate()
            File "/home/alex/Projects/Divmod/trunk/Quotient/xquotient/spam.py", line 396, in activate
              self.guesser = hammie.Hammie(c)
          exceptions.TypeError: __init__() takes exactly 3 arguments (2 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/quotient/+bug/994287/+subscriptions


References