getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] Problems viewing some files at GNA


From: Torquil Macdonald Sørensen
Subject: [Getfem-users] Problems viewing some files at GNA
Date: Mon, 27 Jan 2014 15:09:51 +0100

Hi!

There seems to be some problems with the online source code browser at GNA:

http://svn.gna.org/viewcvs/getfem/

For some of the files, I get a Python error when trying to view the file contents. E.g. when I click on the link "4448" next to the file "getfem_assembling_tensors.cc", I get:

An Exception Has Occurred

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/viewvc/lib/viewvc.py", line 4322, in main
    request.run_viewvc()
  File "/usr/lib/viewvc/lib/viewvc.py", line 397, in run_viewvc
    self.view_func(self)
  File "/usr/lib/viewvc/lib/viewvc.py", line 1766, in view_markup
    markup_or_annotate(request, 0)
  File "/usr/lib/viewvc/lib/viewvc.py", line 1699, in markup_or_annotate
    path[-1], mime_type)
  File "/usr/lib/viewvc/lib/viewvc.py", line 1592, in markup_stream_pygments
    encoding='utf-8'), ps)
  File "/usr/lib/pymodules/python2.6/pygments/__init__.py", line 86, in highlight
    return format(lex(code, lexer), formatter, outfile)
  File "/usr/lib/pymodules/python2.6/pygments/__init__.py", line 45, in lex
    return lexer.get_tokens(code)
  File "/usr/lib/pymodules/python2.6/pygments/lexer.py", line 137, in get_tokens
    text = text.decode('utf-8')
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xea in position 5064: invalid continuation byte

I also get this for some of the other files, e.g. bgeot_sparse_tensors.cc"

Best regards
Torquil Sørensen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]