mainSavannah Administration - Support: sr #110853, Viewing SVN revision log broken on...

 
 

sr #110853: Viewing SVN revision log broken on large files

Submitter:  Phil Krylov <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
Privacy:  Public Assigned to:  None
Operating System:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 16 Dec 2023 02:08:51 AM UTC, comment #2: 


comment #1:

> For the reference: svn.savannah.gnu.org (i.e. vcs0) currently runs Trisquel 7; in the latest Trisquel releases (10 and 11), I failed to find the viewvc package.


Probably because Debian deprecated python2 packages. The latest ViewVC 1.3-dev on github uses python3, can (only) be installed manually.

Jing Luo <jing>
Group Member
Fri 17 Mar 2023 08:00:21 AM UTC, comment #1: 

For the reference: svn.savannah.gnu.org (i.e. vcs0) currently runs Trisquel 7; in the latest Trisquel releases (10 and 11), I failed to find the viewvc package.

Ineiev <ineiev>
Site Administrator
Mon 13 Mar 2023 08:45:41 PM UTC, original submission:  

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.

Phil Krylov <philkrylov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jing (Posted a comment)
  • -email is unavailable- added by ineiev (Posted a comment)
  • -email is unavailable- added by philkrylov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-0159.
    Corresponding source code