helpSavannah Administration - Support: sr #110275, ViewVC Exception on...

 
 

sr #110275: ViewVC Exception on http://svn.savannah.gnu.org/viewvc/texmacs/trunk/?view=log

Submitted by:  Sebastian Miele <whxvd>
Submitted on:  Sat 18 Jul 2020 02:48:07 PM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Confirmed
Assigned to:  None Operating System:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 14 Sep 2020 08:30:53 AM UTC, comment #5: 

I had a look at the latest viewvc code. And there's no more similar code like in the last traceback call.

Though they have "import sys" now but sys module is not used in the file :-)

See https://raw.githubusercontent.com/viewvc/viewvc/master/lib/vclib/svn/svn_repos.py

"_sigterm_handler()" method was removed in 2009: https://github.com/viewvc/viewvc/commit/c2a2238ab70370c73a85d6ec8a87c88fb1dff471#diff-dbad197ab5442678435ce132f4482bee

I'm not sure why such old version of the library is used unless it'
s not installed via packages, for example. So I'm not sure about my next step.

Anatoly A. Kazantsev <jimcrow>
Thu 10 Sep 2020 10:06:39 PM UTC, comment #4: 

vclib is part of viewvc.  It's all Python.  If you wanted to tear into it and figure out what is happening that would be awesome! :-)

Upgrading the OS is on the TODO task list but life and time is what keeps everything from happening all at once.  Meanwhile there doesn't seem to be anything too interesting in the changes from the current viewvc to newer. Does not seem like "just upgrade" viewvc is likely to change anything.

Bob Proulx <rwp>
Site Administrator
Wed 09 Sep 2020 09:08:32 AM UTC, comment #3: 

Yep, I'm sorry. It is indeed right project :-)

Can I help anyhow with the issue? I guess I could fix the bug in vclib if it's part of savannah codebase, but most likely it's a separate package and it needs to be upgraded.

Anatoly A. Kazantsev <jimcrow>
Tue 08 Sep 2020 07:11:10 PM UTC, comment #2: 

I confirm that this is happening.  With all of the same speculation about timeouts as the others.  This ticket is filed against the correct project, Savannah Administration, so that it is seen for fixing.

Bob Proulx <rwp>
Site Administrator
Sun 06 Sep 2020 02:34:51 AM UTC, comment #1: 

Hello,

I might be wrong but I see three issues here:

  • We expose tracebacks
  • Missing import sys in /usr/lib/viewvc/lib/vclib/svn/svn_repos.py
  • Looks like the process was killed, probably (as Sebastian mentioned) it takes too much time.

I'm not sure how to start with problems with software/configuration in savannah. I guess it should go into separate admins project?

Anatoly A. Kazantsev <jimcrow>
  Spam posted by _203912
Sat 18 Jul 2020 02:48:07 PM UTC, original submission:  

I suppose this is not specific to the TeXmacs project. This bug may be related to #108810. Detailed description:

After clicking on 'trunk' at

  http://svn.savannah.gnu.org/viewvc/texmacs/

and after many seconds I get a page with the url

  http://svn.savannah.gnu.org/viewvc/texmacs/trunk/?view=log,

the title "ViewVC Exception", and the following contents:

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

Sebastian Miele <whxvd>

 

(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 rwp (Posted a comment)
  • -email is unavailable- added by jimcrow (Posted a comment)
  • -email is unavailable- added by _203912 (Posted a comment)
  • -email is unavailable- added by whxvd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-08 rwp StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.5