file rm_tmanu1_page11.gda
elems [397]
vmap [([1,'ӥ',1.000000],[165,14.259797]),([0,'',1.0],[0,0.0])]
doc_set 2007

--> -->
 
 
UnicodeDecodeError
Python 2.4.4: /usr/local/python-2.4/bin/python
Mon Oct 22 18:51:25 2018

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

 /home/i-content/public_html/kamome/cgi-bin/print.cgi
  182     print '<tr><td width="9%">doc_set</td><td>',argv['doc_set'],'</td></tr>'
  183     print '</table><br /></div>'
  184     print_doc(argv['file'],argv['doc_set'],argv['elems'],argv['idmap'])
  185     print '</div></body>'
  186     print '</html>'
print_doc = <function print_doc>, argv = {'doc_set': '2007', 'elems': [397], 'file': 'rm_tmanu1_page11.gda', 'idmap': {0: (0, ''), 165: (1, '\xa5\xb5\xa1\xbc\xa5\xd3\xa5\xb9')}, 'parent': '2018.10.13_01:15:12_xxxxx_WhuyKa.dat', 'vmap': "[([1,'\xa5\xb5\xa1\xbc\xa5\xd3\xa5\xb9',1.000000],[165,14.259797]),([0,'',1.0],[0,0.0])]"}
 /home/i-content/public_html/kamome/cgi-bin/print.cgi in print_doc(filename='rm_tmanu1_page11.gda', doc_set='2007', elems=[397], idmap={0: (0, ''), 165: (1, '\xa5\xb5\xa1\xbc\xa5\xd3\xa5\xb9')})
  111     file = open(filepath,'r')
  112     parser = GDAParser(MyTag,filepath)
  113     parser.parse(file.read())
  114     file.close()
  115     tree = parser.parsed[0]
parser = <gda_parser.GDAParser instance>, parser.parse = <bound method GDAParser.parse of <gda_parser.GDAParser instance>>, file = <open file '/home/i-content/public_html/kamome/GDA-2007-revised/rm_tmanu1_page11.gda', mode 'r'>, file.read = <built-in method read of file object>
 /home/i-content/public_html/kamome/cgi-bin/myxml.py in parse(self=<gda_parser.GDAParser instance>, str='<?xml version="1.0" encoding="EUC-JP"?>\n<gda><su...\xdc\xb7\xc1;\xa4\xb9\xa4\xeb;\xa5\xb9\xa5\xeb">\xa4\xb9\xa4\xeb</v>\xa1\xa3</v></v></v></su>\n</gda>')
  158             self.encoding = string.lower(m.group(1))
  159             self.decoder = codecs.getdecoder(self.encoding)
  160             self.buffer = self.toeuc(str[m.end(0):])
  161             m = PAT_DTYPE.match(self.buffer)
  162             if m: self.buffer = self.buffer[m.end(0):]
self = <gda_parser.GDAParser instance>, self.buffer = '', self.toeuc = <bound method GDAParser.toeuc of <gda_parser.GDAParser instance>>, str = '<?xml version="1.0" encoding="EUC-JP"?>\n<gda><su...\xdc\xb7\xc1;\xa4\xb9\xa4\xeb;\xa5\xb9\xa5\xeb">\xa4\xb9\xa4\xeb</v>\xa1\xa3</v></v></v></su>\n</gda>', m = <_sre.SRE_Match object>, m.end = <built-in method end of _sre.SRE_Match object>
 /home/i-content/public_html/kamome/cgi-bin/myxml.py in toeuc(self=<gda_parser.GDAParser instance>, string='\n<gda><su syn="f"><np mph="chasen;\xcc\xbe\xbb\xec+\xb0\xec\xc8\xcc;;\xbf\xcd\xb4...\xdc\xb7\xc1;\xa4\xb9\xa4\xeb;\xa5\xb9\xa5\xeb">\xa4\xb9\xa4\xeb</v>\xa1\xa3</v></v></v></su>\n</gda>')
   99 
  100     def toeuc(self,string):
  101         return self.decoder(string)[0].encode('euc-jp')
  102 
  103     def skip_whitespace(self):
self = <gda_parser.GDAParser instance>, self.decoder = <built-in method decode of MultibyteCodec object>, string = '\n<gda><su syn="f"><np mph="chasen;\xcc\xbe\xbb\xec+\xb0\xec\xc8\xcc;;\xbf\xcd\xb4...\xdc\xb7\xc1;\xa4\xb9\xa4\xeb;\xa5\xb9\xa5\xeb">\xa4\xb9\xa4\xeb</v>\xa1\xa3</v></v></v></su>\n</gda>', ].encode = <built-in method encode of str object>

UnicodeDecodeError: 'euc_jp' codec can't decode bytes in position 47841-47842: illegal multibyte sequence
      args = ('euc_jp', '\n<gda><su syn="f"><np mph="chasen;\xcc\xbe\xbb\xec+\xb0\xec\xc8\xcc;;\xbf\xcd\xb4...\xdc\xb7\xc1;\xa4\xb9\xa4\xeb;\xa5\xb9\xa5\xeb">\xa4\xb9\xa4\xeb</v>\xa1\xa3</v></v></v></su>\n</gda>', 47841, 47843, 'illegal multibyte sequence')
      encoding = 'euc_jp'
      end = 47843
      object = '\n<gda><su syn="f"><np mph="chasen;\xcc\xbe\xbb\xec+\xb0\xec\xc8\xcc;;\xbf\xcd\xb4...\xdc\xb7\xc1;\xa4\xb9\xa4\xeb;\xa5\xb9\xa5\xeb">\xa4\xb9\xa4\xeb</v>\xa1\xa3</v></v></v></su>\n</gda>'
      reason = 'illegal multibyte sequence'
      start = 47841