An Exception Has Occurred

Denis Bitouzé dbitouze at wanadoo.fr
Sat Nov 23 18:04:04 CET 2019


Hi,

an exception occurs when one tries to visit the "text changed" links on
Revision pages such as:

  ┌────
  │ https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG?r1=52892&r2=52891&pathrev=52892
  └────

Complete exception:

  ┌────
  │ An Exception Has Occurred
  │ Python Traceback
  │ 
  │ Traceback (most recent call last):
  │   File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 4855, in main
  │     request.run_viewvc()
  │   File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 408, in run_viewvc
  │     self.view_func(self)
  │   File "/usr/local/viewvc-1.1.26/lib/viewvc.py", line 3564, in view_diff
  │     fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options)
  │   File "/usr/local/viewvc-1.1.26/lib/vclib/svn/svn_repos.py", line 575, in rawdiff
  │     temp1 = temp_checkout(self, p1, r1)
  │   File "/usr/local/viewvc-1.1.26/lib/vclib/svn/svn_repos.py", line 228, in temp_checkout
  │     temp = tempfile.mktemp()
  │   File "/usr/lib64/python2.7/tempfile.py", line 356, in mktemp
  │     dir = gettempdir()
  │   File "/usr/lib64/python2.7/tempfile.py", line 265, in gettempdir
  │     tempdir = _get_default_tempdir()
  │   File "/usr/lib64/python2.7/tempfile.py", line 212, in _get_default_tempdir
  │     ("No usable temporary directory found in %s" % dirlist))
  │ IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/usr/local/viewvc-1.1.26/bin/cgi']
  └────

BTW, Python 2 will retire on January 1, 2020...
-- 
Denis



More information about the tex-live mailing list