ERP5 KM

Screenshots

ERP5 Screenshots

ERP5 Accounting8

ERP5 Configuration

--> -->

ImportError

No module named Image

If you want to report a bug, please save this page and attach it to your bug report.

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.

  1. /var/www/wiki/lib/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object at 0x20bdbd0>)

    1. 1306 self.page.send_page()
    2. 1307 else:
    3. 1308 handler(self.page.page_name, self)
    4. 1309
    5. 1310 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show at 0xf66f50>
    • self = <MoinMoin.request.request_fcgi.Request object at 0x20bdbd0>
    • self.page = <MoinMoin.Page.Page object at 0x1f50950>
    • self.page.page_name = u'Screenshots'
  2. /var/www/wiki/lib/MoinMoin/action/__init__.py in do_show (pagename=u'Screenshots', request=<MoinMoin.request.request_fcgi.Request object at 0x20bdbd0>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /var/www/wiki/lib/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x1f502d0>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1195 format_args=pi['formatargs'],
    2. 1196 do_cache=do_cache,
    3. 1197 start_line=pi['lines'])
    4. 1198
    5. 1199 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x26dc200>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 0}
  4. /var/www/wiki/lib/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x1f502d0>, request=<MoinMoin.request.request_fcgi.Request object at 0x20bdbd0>, body=u'= ERP5 Screenshots =\n== ERP5 Accounting8 ==\n== E...#!Gallery2 show_text=0\n}}}\n----\nCategoryCategory\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})

    1. 1279
    2. 1280 if not (do_cache and self.canUseCache(Parser)):
    3. 1281 self.format(parser)
    4. 1282 else:
    5. 1283 try:
    • self = <MoinMoin.Page.Page object at 0x1f502d0>
    • self.format = <bound method Page.format of <MoinMoin.Page.Page object at 0x1f502d0>>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>
  5. /var/www/wiki/lib/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page object at 0x1f502d0>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>)

    1. 1300 def format(self, parser):
    2. 1301 """ Format and write page content without caching """
    3. 1302 parser.format(self.formatter)
    4. 1303
    5. 1304 def execute(self, request, parser, code):
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>>
    • self = <MoinMoin.Page.Page object at 0x1f502d0>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0x26dc488>
  6. /var/www/wiki/lib/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x26dc488>, inhibit_p=False)

    1. 1530
    2. 1531 # Scan line, format and write
    3. 1532 formatted_line = self.scan(line, inhibit_p=inhibit_p)
    4. 1533 self.request.write(formatted_line)
    5. 1534
    • formatted_line = u'<p class="line867">'
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>
    • self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>>
    • line = u'#!Gallery2 show_text=0'
    • inhibit_p = False
  7. /var/www/wiki/lib/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>, line=u'#!Gallery2 show_text=0', inhibit_p=False)

    1. 1354 else:
    2. 1355 if self.in_pre:
    3. 1356 self._parser_content(line[lastpos:])
    4. 1357 elif line[lastpos:]:
    5. 1358 ###result.append('<span class="info">[no match, add rest: <tt>"%s"<tt>]</span>' % line[lastpos:])
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>
    • self._parser_content = <bound method Parser._parser_content of <MoinMoi...ser.text_moin_wiki.Parser instance at 0x26dcbd8>>
    • line = u'#!Gallery2 show_text=0'
    • lastpos = 0
  8. /var/www/wiki/lib/MoinMoin/parser/text_moin_wiki.py in _parser_content (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>, line=u'#!Gallery2 show_text=0')

    1. 1252 else:
    2. 1253 parser_name = 'text'
    3. 1254 self.setParser(parser_name)
    4. 1255
    5. 1256 if not self.parser:
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>
    • self.setParser = <bound method Parser.setParser of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>>
    • parser_name = u'Gallery2'
  9. /var/www/wiki/lib/MoinMoin/parser/text_moin_wiki.py in setParser (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>, name=u'Gallery2')

    1. 1550 # XXX this is done by the formatter as well
    2. 1551 try:
    3. 1552 self.parser = wikiutil.searchAndImportPlugin(self.request.cfg, "parser", name)
    4. 1553 except wikiutil.PluginMissingError:
    5. 1554 self.parser = None
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x26dcbd8>
    • self.parser = None
    • global wikiutil = <module 'MoinMoin.wikiutil' from '/var/www/wiki/lib/MoinMoin/wikiutil.pyc'>
    • wikiutil.searchAndImportPlugin = <function searchAndImportPlugin at 0x853230>
    • self.request = <MoinMoin.request.request_fcgi.Request object at 0x20bdbd0>
    • self.request.cfg = <wikiconfig.Config object at 0x9a4a90>
    • name = u'Gallery2'
  10. /var/www/wiki/lib/MoinMoin/wikiutil.py in searchAndImportPlugin (cfg=<wikiconfig.Config object at 0x9a4a90>, type='parser', name=u'Gallery2', what='Parser')

    1. 1220 for module_name in mt.module_name():
    2. 1221 try:
    3. 1222 plugin = importPlugin(cfg, type, module_name, what)
    4. 1223 break
    5. 1224 except PluginMissingError:
    • plugin = None
    • global importPlugin = <function importPlugin at 0x83ad70>
    • cfg = <wikiconfig.Config object at 0x9a4a90>
    • type = 'parser'
    • module_name = u'Gallery2'
    • what = 'Parser'
  11. /var/www/wiki/lib/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config object at 0x9a4a90>, kind='parser', name=u'Gallery2', function='Parser')

    1. 1105 """
    2. 1106 try:
    3. 1107 return importWikiPlugin(cfg, kind, name, function)
    4. 1108 except PluginMissingError:
    5. 1109 return importBuiltinPlugin(kind, name, function)
    • global importWikiPlugin = <function importWikiPlugin at 0x83a7d0>
    • cfg = <wikiconfig.Config object at 0x9a4a90>
    • kind = 'parser'
    • name = u'Gallery2'
    • function = 'Parser'
  12. /var/www/wiki/lib/MoinMoin/wikiutil.py in importWikiPlugin (cfg=<wikiconfig.Config object at 0x9a4a90>, kind='parser', name=u'Gallery2', function='Parser')

    1. 1118 raise PluginMissingError
    2. 1119 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
    3. 1120 return importNameFromPlugin(moduleName, function)
    4. 1121
    5. 1122
    • global importNameFromPlugin = <function importNameFromPlugin at 0x853050>
    • moduleName = u'wikiconfig.plugin.parser.Gallery2'
    • function = 'Parser'
  13. /var/www/wiki/lib/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName=u'wikiconfig.plugin.parser.Gallery2', name='Parser')

    1. 1142 else:
    2. 1143 fromlist = [name]
    3. 1144 module = __import__(moduleName, globals(), {}, fromlist)
    4. 1145 if fromlist:
    5. 1146 # module has the obj for module <moduleName>
    • module undefined
    • builtin __import__ = <built-in function __import__>
    • moduleName = u'wikiconfig.plugin.parser.Gallery2'
    • builtin globals = <built-in function globals>
    • fromlist = ['Parser']
  14. /var/www/wiki/erp5/data/plugin/parser/Gallery2.py in ()

    1. 338 """
    2. 339 Dependencies = []
    3. 340 import os, re, Image, StringIO, SWF, EXIF
    4. 341 from MoinMoin.action import AttachFile
    5. 342 from MoinMoin import wikiutil
    • os = None
    • re = None
    • Image undefined
    • StringIO undefined
    • SWF undefined
    • EXIF undefined

ImportError

No module named Image

  • args = ('No module named Image',)
  • message = 'No module named Image'

System Details

  • Date: Sat, 04 Jul 2009 20:24:37 +0000
  • Platform: Linux web3 2.6.23.12-xxxx-std-ipv4-64 #1 SMP Thu Dec 27 17:29:17 CET 2007 x86_64
  • Python: Python 2.5.2 (/home/web/wiki/erp5/cgi-bin/)
  • MoinMoin: Release 1.7.3 (release)