--> -->
 
 
<type 'exceptions.UnicodeDecodeError'>
Python 2.6.6: /usr/bin/python
Sat Mar 25 16:38:14 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /demo/www/cgi-bin/ocropus/main.cgi in ()
  744 if not start:
  745     start="0"
  746 print "Content-Type: text/html\n\n"
  747 page().write()
  748 sys.exit(0)
page = <function page>, ).write undefined
 /demo/www/cgi-bin/ocropus/main.cgi in page()
  603     #needed for slidebar
  604     page.append(HTMLgen.Script(src=base +"/wz_dragdrop.js"))
  605     page.append(top_bar())
  606     page.append(side_bar())
  607     #page.append(content())
page = <__main__.MyDocument instance>, page.append = <bound method MyDocument.append of <__main__.MyDocument instance>>, global top_bar = <function top_bar>
 /demo/www/cgi-bin/ocropus/main.cgi in top_bar()
  448             href.append(HTMLgen.Image(img, id="selected", usemap="delete"+ID))
  449         else:
  450             img,xMax=resize(pic,size=128,y=1,delArrow=0)
  451             href.append(HTMLgen.Image(img, usemap="delete"+ID))
  452         span.append(href)
img undefined, xMax undefined, global resize = <function resize>, pic = u'/demo/www/default/demo/ocropus/pics/20656ad9d4a3346700f5deee50782952/orig.jpg', size undefined, y undefined, delArrow undefined
 /demo/www/cgi-bin/ocropus/main.cgi in resize(pic=u'/demo/www/default/demo/ocropus/pics/20656ad9d4a3346700f5deee50782952/orig.jpg', size=128, delArrow=0, y=1)
   58     yMax=""
   59     for file in piclist:
   60         if file.startswith(os.path.basename(pic)) and file.endswith(".thumbnail"):
   61             thumb=file
   62             xMax=file.replace(os.path.basename(pic)+".","").split("x")[0]
file = '\xd2\xe5\xeb\xe5\xf4\xee\xed.jpg', file.startswith = <built-in method startswith of str object>, global os = <module 'os' from '/usr/lib/python2.6/os.pyc'>, os.path = <module 'posixpath' from '/usr/lib/python2.6/posixpath.pyc'>, os.path.basename = <function basename>, pic = u'/demo/www/default/demo/ocropus/pics/20656ad9d4a3346700f5deee50782952/orig.jpg', file.endswith = <built-in method endswith of str object>

<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xd2 in position 0: ordinal not in range(128)
      args = ('ascii', '\xd2\xe5\xeb\xe5\xf4\xee\xed.jpg', 0, 1, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 1
      message = ''
      object = '\xd2\xe5\xeb\xe5\xf4\xee\xed.jpg'
      reason = 'ordinal not in range(128)'
      start = 0