[Moin-user] Does EventCalendar-099.py work with Moinmoin 1.8.0 ???

Mr. Potato Head angry_garden_salad at yahoo.com
Fri Dec 12 15:50:02 EST 2008

  I was wondering if anyone has tested or has working EventCalendar-099 and Moinmoin 1.8.0 working together?  I know zero about python so trying to see what's broken (or if i did something wrong) is nearly impossible for me.  I had a couple issues with certain *.py files not imported and i believe i have gotten past that.  I change the following in the EventCalendar.py script:

from MoinMoin.parser import wiki
from MoinMoin.parser import text_moin_wiki

and removed:
from MoinMoin.Page import Page
and added "Page" to the end of an existing "from" line:
from MoinMoin import wikiutil, config, search, caching, Page

Don't know if this is write or wrong, but it seems to not complain about these pieces anymore.  Now i'm stuck with the following error:

'module' object is not callable
args = ("'module' object is not callable",)

Here's the last line of the debug:

1393 # cache configurations
1394 arena = Page(request, Globs.pagename)
1396 eventkey = 'events'

arena undefined, global Page = <module 'MoinMoin.Page' from /opt/moin/lib/python2.4/site-packages/MoinMoin/Page.pyc'>, request = <MoinMoin.request.request_standalone.Request object at 0x70fe30>, global Globs = <classwikiconfig.p_47c322caf44e6e2569f64039b53c03c9b3ffab3c.macro.EventCalendar.Globs at 0x4fb9c0>, Globs.pagename = u'EventCalendar'

Any thoughts or suggestions would be appreciated.  Thanks in Advance...


More information about the Moin-user mailing list