URL: <https://savannah.nongnu.org/support/?110853>
Summary: Viewing SVN revision log broken on large files Group: Savannah Administration Submitter: philkrylov Submitted: Mon 13 Mar 2023 08:45:41 PM UTC Category: Source code repositories - web browsing Priority: 5 - Normal Severity: 4 - Important Status: None Assigned to: None Originator Email: Operating System: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Mon 13 Mar 2023 08:45:41 PM UTC By: Phil Krylov <philkrylov> E.g.: http://svn.savannah.gnu.org/viewvc/freefont/trunk/freefont/sfd/FreeSerif.sfd?view=log gives: 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 2306, in view_log sortby, first, last - first, options) File "/usr/lib/viewvc/lib/vclib/svn/svn_repos.py", line 530, in itemlog first + limit, options) File "/usr/lib/viewvc/lib/vclib/svn/svn_repos.py", line 205, in _get_history 1, rev, options.get('svn_cross_copies', 0)) File "/usr/lib/python2.7/dist-packages/libsvn/repos.py", line 566, in svn_repos_history return _repos.svn_repos_history(*args) File "/usr/lib/python2.7/dist-packages/libsvn/core.py", line 6643, in _wrap def _wrap(self, obj): File "/usr/lib/viewvc/lib/vclib/svn/svn_repos.py", line 392, in _sigterm_handler sys.exit(-1) NameError: global name 'sys' is not defined This is a bug in ViewVC 1.1.x, it can be fixed by switching to ViewVC 1.2.x or applying the fix from https://github.com/viewvc/viewvc/pull/319 . However, there also seems to be an underlying timeout problem. _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/support/?110853> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/