On 14/12/2009, at 8:36 PM, Gas wrote:
> Hi
>
> I muck around in twisted and am trying to setup a site for a club and would
> like to use twisted as much as possible because I like it. So saw stuff on
> Axiom and liked that then found mantissa only problem is nothing on web on
> how to get mantissa to work that actually works .. So I've lost a few hours
> trying to get it going with latest svn on python 2.5 (2.6 you get normal 2.5
> code in 2.6 warnings (ie md5 etc) plus axiom/_pysqlite2.py needs to point to
> sqlite3 otherwise same errors) but keep getting the
>
> File
> "/Users/gas/src/py/twisted/axiom-tests/Wiki/xmantissa/plugins/wikioff.py",
> line 3, in <module>
> from xmantissa import website, offering, provisioning
> exceptions.ImportError: cannot import name provisioning
>
> error which came up in this forum in Feb 2008 t but that is about it that I
> can find on web.
>
> I presume this error is related to the mantissa install issue - which Im not
> sure how to debug/fix:
> <snip>
> ersion=Version('xmantissa', 0, 7, 0) # (SVN r17880)),
> <class 'axiom.plugins.mantissacmd.Mantissa'>,
> <class 'axiom.plugins.mantissacmd.RemoteStats'>,
> Version('xmantissa', 0, 7, 0) # (SVN r17880),
> <class 'xmantissa.port.PortConfiguration'>,
> <class 'axiom.plugins.mantissacmd.Generate'>,
> <class 'axiom.plugins.axiom_plugins.Browse'>,
> <class 'axiom.listversions.ListVersions'>,
> <class 'axiom.plugins.axiom_plugins.Upgrade'>,
> Version('axiom', 0, 6, 0),
> <class 'axiom.plugins.axiom_plugins.Insert'>,
> <class 'axiom.plugins.axiom_plugins.Extract'>,
> <class 'axiom.plugins.axiom_plugins.UserBaseCommand'>,
> <class 'axiom.plugins.offeringcmd.OfferingCommand'>]
> Traceback (most recent call last):
> File "/Users/gas/Library/Python/2.6/site-packages/epsilon/setuphelper.py",
> line 12, in pluginModules
> yield namedAny(moduleName)
> File
> "/Users/gas/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-i386.egg/twisted/python/reflect.py",
> line 469, in namedAny
> raise ObjectNotFound('%r does not name an object' % (name,))
> ObjectNotFound: 'build.lib.axiom.plugins' does not name an object
> Traceback (most recent call last):
> File "/Users/gas/Library/Python/2.6/site-packages/epsilon/setuphelper.py",
> line 12, in pluginModules
> yield namedAny(moduleName)
> File
> "/Users/gas/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-i386.egg/twisted/python/reflect.py",
> line 469, in namedAny
> raise ObjectNotFound('%r does not name an object' % (name,))
> ObjectNotFound: 'build.lib.nevow.plugins' does not name an object
> Traceback (most recent call last):
> File "/Users/gas/Library/Python/2.6/site-packages/epsilon/setuphelper.py",
> line 12, in pluginModules
> yield namedAny(moduleName)
> File
> "/Users/gas/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-i386.egg/twisted/python/reflect.py",
> line 469, in namedAny
> raise ObjectNotFound('%r does not name an object' % (name,))
> ObjectNotFound: 'doc.listings.interstore.xmantissa.plugins' does not name an
> object
> Full plugin list for 'nevow.plugins':
> [<nevow.athena.AutoJSPackage object at 0x10363fe50>,
> <nevow.athena.AutoCSSPackage object at 0x10363f750>,
> <nevow.athena.AutoJSPackage object at 0x10363fd10>]
>
>
> (ps this debug was form my mac machine but have done it on ubuntu 2.5 install
> with same results)
>
> So my questions are - being a twisted and web NOB seeing Divmod
> died/disbanded (I think 6 months ago?) and Mantissa doesnt look like its
> been touched for 2 years, and Nevow??? --- I'm not sure what is strategy if
> you want to develop a web app with twisted?
>
> Do I continue and try and work out the code for Mantissa (which I doubt Im
> capable of being a programming NOB), try to do it via Nevow or go back to JPs
> web in 60 second tutorial and work out a web application from there?
>
> Any pointers most appreciated
>
> Gas
>
> PS mucked around and got Combinator going which i liked however if you are
> developing a Mantissa app then combinator didnt work as you really needed too
> install mantissa and all its dependencies so you could get access to the
> axiomatic script or did I miss something? Is that the issue with Combinator
> that if python source installs scripts you still need to install the source
> in your site-packages? So is Combinator still valid or shall I look at things
> like bzr and use same Twisted development method ie of branches?
>
>
> +34618525900
> [email protected]
>
>
>
>
Gas
+34618525900
[email protected]
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web