Attachment 'UmlautError_Gallery.txt'

Download

   1    3.
   2 
   3          1. 1179 format_args=pi['formatargs'],
   4          2. 1180 do_cache=do_cache,
   5          3. 1181 start_line=pi['lines'])
   6          4. 1182
   7          5. 1183 # check for pending footnotes
   8           * start_line undefined
   9           * pi = {'acl': <MoinMoin.security.AccessControlList instance at 0xb5fa958c>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 1}
  10    4.
  11 
  12       /home2/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0xb5fa934c>, request=<MoinMoin.request.request_fcgi.Request object at 0xb5f922ac>, body=u'\n\n= H\xe4fner, Marcel =\n\n<<Gallery>>\n\n\n= Daten =\n A...ks>>\n\n= Text =\nDas bin ich\n\n\n----\nCategoryPerson\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 1})
  13          1. 1263
  14          2. 1264 if not (do_cache and self.canUseCache(Parser)):
  15          3. 1265 self.format(parser)
  16          4. 1266 else:
  17          5. 1267 try:
  18           * self = <MoinMoin.Page.Page object at 0xb5fa934c>
  19           * self.format = <bound method Page.format of <MoinMoin.Page.Page object at 0xb5fa934c>>
  20           * parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>
  21    5.
  22 
  23       /home2/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page object at 0xb5fa934c>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>)
  24          1. 1284 def format(self, parser):
  25          2. 1285 """ Format and write page content without caching """
  26          3. 1286 parser.format(self.formatter)
  27          4. 1287
  28          5. 1288 def execute(self, request, parser, code):
  29           * parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>
  30           * parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>>
  31           * self = <MoinMoin.Page.Page object at 0xb5fa934c>
  32           * self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0xb5fa94ec>
  33    6.
  34 
  35       /home2/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0xb5fa94ec>, inhibit_p=False)
  36          1. 1541
  37          2. 1542 # Scan line, format and write
  38          3. 1543 formatted_line = self.scan(line, inhibit_p=inhibit_p)
  39          4. 1544 self.request.write(formatted_line)
  40          5. 1545
  41           * formatted_line = u'<p class="line867">\n<h1 id="head-7bae6945982e6e0f1953d0a6270f1c182cea7a81">H\xe4fner, Marcel</h1>\n'
  42           * self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>
  43           * self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>>
  44           * line = u'<<Gallery>> '
  45           * inhibit_p = False
  46    7.
  47 
  48       /home2/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>, line=u'<<Gallery>> ', inhibit_p=False)
  49          1. 1357 self.in_table or self.in_list):
  50          2. 1358 result.append(self.formatter.paragraph(1, css_class="line867"))
  51          3. 1359 result.append(self.replace(match, inhibit_p))
  52          4. 1360 end = match.end()
  53          5. 1361 lastpos = end
  54           * result = ['<p class="line867">']
  55           * result.append = <built-in method append of list object at 0xb5fa9c4c>
  56           * self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>
  57           * self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>>
  58           * match = <_sre.SRE_Match object at 0x98b7bc8>
  59           * inhibit_p = False
  60    8.
  61 
  62       /home2/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in replace (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>, match=<_sre.SRE_Match object at 0x98b7bc8>, inhibit_p=False)
  63          1. 1399 # Get replace method and replace hit
  64          2. 1400 replace_func = getattr(self, '_%s_repl' % type)
  65          3. 1401 result.append(replace_func(hit, match.groupdict()))
  66          4. 1402 return ''.join(result)
  67          5. 1403 else:
  68           * result = []
  69           * result.append = <built-in method append of list object at 0xb5fae26c>
  70           * replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>>
  71           * hit = u'Gallery'
  72           * match = <_sre.SRE_Match object at 0x98b7bc8>
  73           * match.groupdict = <built-in method groupdict of _sre.SRE_Match object at 0x98b7bc8>
  74    9.
  75 
  76       /home2/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in _macro_repl (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>, word=u'Gallery', groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...})
  77          1. 1324 if self.macro is None:
  78          2. 1325 self.macro = macro.Macro(self)
  79          3. 1326 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
  80          4. 1327 _macro_name_repl = _macro_repl
  81          5. 1328 _macro_args_repl = _macro_repl
  82           * self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb5fad7ec>
  83           * self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0xb5fa94ec>
  84           * self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance at 0xb5fa94ec>>
  85           * self.macro = <MoinMoin.macro.Macro instance at 0xb5fae22c>
  86           * macro_name = u'Gallery'
  87           * macro_args = None
  88           * markup undefined
  89           * groups = {u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}
  90           * groups.get = <built-in method get of dict object at 0xb5faadfc>
  91   10.
  92 
  93       /home2/lotek/lib/python2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0xb5fa94ec>, macro_obj=<MoinMoin.macro.Macro instance at 0xb5fae22c>, name=u'Gallery', args=None, markup=u'<<Gallery>>')
  94          1. 306 # call the macro
  95          2. 307 try:
  96          3. 308 return macro_obj.execute(name, args)
  97          4. 309 except ImportError, err:
  98          5. 310 errmsg = unicode(err)
  99           * macro_obj = <MoinMoin.macro.Macro instance at 0xb5fae22c>
 100           * macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0xb5fae22c>>
 101           * name = u'Gallery'
 102           * args = None
 103   11.
 104 
 105       /home2/lotek/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0xb5fae22c>, macro_name=u'Gallery', args=None)
 106          1. 114 else:
 107          2. 115 raise ImportError("Cannot load macro %s" % macro_name)
 108          3. 116 return execute(self, args)
 109          4. 117
 110          5. 118 def _m_lang(self, text):
 111           * execute = <function execute at 0xb6fc16bc>
 112           * self = <MoinMoin.macro.Macro instance at 0xb5fae22c>
 113           * args = None
 114   12.
 115 
 116       /home/lotek/wiki/data/bickelhof/plugin/macro/Gallery.py in execute (macro=<MoinMoin.macro.Macro instance at 0xb5fae22c>, args=None)
 117          1. 732
 118          2. 733 # Table entry for thumbnail image
 119          3. 734 out.write('<td><a href="'+Globs.baseurl+Globs.pagename+'?webnail='+item+Globs.bcomp+'"><center><img src="'+Globs.gallerytempurl+'tmp.thumbnail.'+item+'.jpg" '+rollover+'></a></center></td>')
 120          4. 735 out.write('</tr>\n')
 121          5. 736 if cease:
 122           * out = <cStringIO.StringO object at 0xb5fada20>
 123           * out.write = <built-in method write of cStringIO.StringO object at 0xb5fada20>
 124           * global Globs = <class IntranetHeavy.plugin.macro.Gallery.Globs at 0xb71adc8c>
 125           * Globs.baseurl = 'http://intranet.heavy.ch/'
 126           * Globs.pagename = u'H\xe4fner, Marcel'
 127           * item = 'person'
 128           * Globs.bcomp = u'&action=edit'
 129           * Globs.gallerytempurl = u'H\xe4fner, Marcel?action=AttachFile&amp;do=get&amp;target='
 130           * rollover = 'alt="" title=""'
 131 
 132 UnicodeEncodeError
 133 
 134 'ascii' codec can't encode character u'\xe4' in position 39: ordinal not in range(128)
 135 
 136     * args = ('ascii', u'<td><a href="http://intranet.heavy.ch/H\xe4fner, Ma...il.person.jpg" alt="" title=""></a></center></td>', 39, 40, 'ordinal not in range(128)')
 137     * encoding = 'ascii'
 138     * end = 40
 139     * message = ''
 140     * object = u'<td><a href="http://intranet.heavy.ch/H\xe4fner, Ma...il.person.jpg" alt="" title=""></a></center></td>'
 141     * reason = 'ordinal not in range(128)'
 142     * start = 39
 143 
 144 System Details
 145 
 146     * Date: Mon, 07 Apr 2008 11:31:53 +0000
 147     * Platform: Linux web11.webfaction.com 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686
 148     * Python: Python 2.5 (/home2/lotek/bin/python)
 149     * MoinMoin: Release 1.6.2 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2004-07-12 23:54:14, 22.8 KB) [[attachment:Gallery-082.py]]
  • [get | view] (2005-08-19 07:17:36, 26.0 KB) [[attachment:Gallery-086.py]]
  • [get | view] (2006-07-21 22:15:07, 28.0 KB) [[attachment:Gallery-087.py]]
  • [get | view] (2008-04-07 11:37:15, 9.0 KB) [[attachment:UmlautError_Gallery.txt]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.