Omschrijf ThemeMarket/Explorer/Bugs/ImportErrorNoModuleNamed hier.
I have a standalone MoinMoin 1.8.3 Wiki MoinMoin Desktop Edition (MMDE)
I have downloaded The latest Explorer Firts It worked.
After changing some lines in my wikiconfig.py The Wiki with other themes still works (the defaults and Mandarin, FixedLeft) The changes are:
#Show_hosts = True
Show_hosts = False
superuser=[u"<MyName>",]
acl_rights_before = u"<MyName>:read,write,delet,revert,admin"
#acl_rights_default = u"All:read,write,delete,revert,admin"
acl_rights_default = u'Known:read,write,delete,revert All:read'
sitename = u'MoinMoin <MyName>'
#logo_string = u'<img src="/moin_static183/common/moinmoin.png" alt="MoinMoin Logo">'
logo_string=u'<img src="/moin_static183/common/Tiger.png" alt="MoinMoin Logo">Scotts Wiski'
theme_default='mandarin'
When I choose Explorer now (in IE and FF) I get the next Error page:
ImportError No module named p_8a1a84b57a2eac3a9be90ce630a235b20d1d84dd.theme.explorer If you want to report a bug, please save this page and attach it to your bug report. Show debugging information Report bug Visit MoinMoin wiki Traceback A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. C:\Moin-1.8.3\MoinMoin\request\__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x00E55F30>) 1309 self.page.send_page() 1310 else: 1311 handler(self.page.page_name, self) 1312 1313 # every action that didn't use to raise MoinMoinFinish must call this now: handler = <function execute at 0x00CA5EB0>, self = <MoinMoin.request.request_standalone.Request object at 0x00E55F30>, self.page = <MoinMoin.Page.Page object at 0x00EF5F10>, self.page.page_name = u'FrontPage', C:\Moin-1.8.3\MoinMoin\action\userprefs.py in execute (pagename=u'FrontPage', request=<MoinMoin.request.request_standalone.Request object at 0x00E55F30>) 104 request.emit_http_headers() 105 request.theme.add_msg(msg, msg_class) 106 request.theme.send_title(title, page=request.page, pagename=pagename) 107 # Start content (important for RTL support) 108 request.write(request.formatter.startContent("content")) request = <MoinMoin.request.request_standalone.Request object at 0x00E55F30>, request.theme = <wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.Theme instance at 0x00F58530>, request.theme.send_title = <bound method Theme.send_title of <wikiconfig.p_...822.theme.explorer.Theme instance at 0x00F58530>>, title = 'Settings', page undefined , request.page = <MoinMoin.Page.Page object at 0x00EF5F10>, pagename = u'FrontPage', C:\Moin-1.8.3\MoinMoin\theme\__init__.py in send_title (self=<wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.Theme instance at 0x00F58530>, text='Settings', **keywords={'page': <MoinMoin.Page.Page object at 0x00EF5F10>, 'pagename': u'FrontPage'}) 1785 output.append(self.editorheader(d)) 1786 else: 1787 output.append(self.header(d)) 1788 1789 # emit it output = [u'\n<body lang="en" dir="ltr">\n'], output.append = <built-in method append of list object at 0x00FF7E40>, self = <wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.Theme instance at 0x00F58530>, self.header = <bound method Theme.header of <wikiconfig.p_e92d...822.theme.explorer.Theme instance at 0x00F58530>>, d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': (u'Self', u'BertBarske'), 'last_edit_info': '', 'logo_string': u'<img src="/moin_static183/common/Tiger.png" alt="MoinMoin Logo">Scotts Wiski', 'msg': [('User preferences saved!', 'dialog')], 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x00EF5F10>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', 'page_help_contents': 'HelpContents', ...}, C:\Moin-1.8.3\wiki\data\plugin\theme\explorer.py in header (self=<wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.Theme instance at 0x00F58530>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': (u'Self', u'BertBarske'), 'last_edit_info': '', 'logo_string': u'<img src="/moin_static183/common/Tiger.png" alt="MoinMoin Logo">Scotts Wiski', 'msg': [('User preferences saved!', 'dialog')], 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object at 0x00EF5F10>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', 'page_help_contents': 'HelpContents', ...}, **kw={}) 195 module_name = self.module_name 196 # Init the wiki tree 197 self.wiki_tree = WikiTree(self, self.page_name) 198 199 # Initialize default settings self = <wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.Theme instance at 0x00F58530>, self.wiki_tree undefined , global WikiTree = <class wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.WikiTree at 0x00FA3600>, self.page_name = u'FrontPage', C:\Moin-1.8.3\wiki\data\plugin\theme\explorer.py in __init__ (self=<wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f9018...2.theme.explorer.WikiTree instance at 0x00EE7968>, theme=<wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f90184d6822.theme.explorer.Theme instance at 0x00F58530>, page_name=u'FrontPage') 772 # Check if there's a cached wiki tree 773 if disk_cache.exists(): 774 version, self.cache = self.cPickle.loads(disk_cache.content()) 775 if version == self.release and self.cache[4:7] == [self.root, self.orphaned, self.underlay]: 776 # Only use cached data if it corresponds to the wiki_tree version global version = <module 'MoinMoin.version' from 'C:\Moin-1.8.3\MoinMoin\version.pyc'>, self = <wikiconfig.p_e92dc7d4e451076e6cc37f3e578c9f9018...2.theme.explorer.WikiTree instance at 0x00EE7968>, self.cache = None, self.cPickle = <module 'cPickle' (built-in)>, self.cPickle.loads = <built-in function loads>, disk_cache = <MoinMoin.caching.CacheEntry instance at 0x00EE7878>, disk_cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance at 0x00EE7878>>, ImportError No module named p_8a1a84b57a2eac3a9be90ce630a235b20d1d84dd.theme.explorer args = ('No module named p_8a1a84b57a2eac3a9be90ce630a235b20d1d84dd.theme.explorer',) message = 'No module named p_8a1a84b57a2eac3a9be90ce630a235b20d1d84dd.theme.explorer' System Details •Date: Fri, 15 May 2009 21:05:30 +0000 •Platform: win32 (nt) •Python: Python 2.6.2 (C:\Python26\python.exe) •MoinMoin: Release 1.8.3 (release)
Xunchen Liu, Oct, 11, 2009. Moin-1.8.5. Explorer-theme 2.4
I got the same problem. I can have it running on firefox on Fedora, but not on Windows7 with Python 2.6.3.
my error message is cannot find the
p_8a1a84b57a2eac3a9be90ce630a235b20d1d84dd.theme.explorer
too! I found if I remove the explore.py from the addon folder it will work again.
but I really like the theme. anyone could work it out?
I had the same problem after copying a wiki instance to a new one. I fixed it by deleting the content of the cache/wikiconfig folder and restarting apache (i use mod_wsgi). These are the commands on debian
rm /<moin-instance>/data/cache/wikiconfig/* -R sudo apache2ctl restart
I also played with renaming explorer.py and deleting explorer.pyc. Maybe someone can confirm this fix.