Discussions  >  CollabNet Subversion Admins  >  Re: ViewVC Annotation error SE 2.3.0

Back to topic list

Re: ViewVC Annotation error SE 2.3.0

Author cmpilato (OCN Member)
Full name C. Michael Pilato
Date 2012-03-19 09:37:40 PDT
Message On 03/16/2012 08:14 PM, XXXX@XXXX wrote:
>
> Here is the difference in what we see with SE 1.7 and the Svn 1.6.5 ( older
> ViewVC)

We need to figure out what kind of error you are seeing. How comfortable
are you with hacking on python code?

There's a section of code in lib/viewvc/viewvc.py that reads like so:

      try:
        blame_source, revision = request.repos.annotate(path, rev)
        annotation = 'annotated'
        if check_freshness(request, None, revision, weak=1):
          return
      except vclib.NonTextualFileContents:
        annotation = 'binary'
      except:
        annotation = 'error'

Let's replace squeeze a "raise" command above "annotation = 'error'":

      try:
        blame_source, revision = request.repos.annotate(path, rev)
        annotation = 'annotated'
        if check_freshness(request, None, revision, weak=1):
          return
      except vclib.NonTextualFileContents:
        annotation = 'binary'
      except:
        raise
        annotation = 'error'

You might need to restart your Edge server. Then revisit the problematic
URL and see if we get ViewVC to generate a stack trace with helpful information.
Attachments

« Previous message in topic | 5 of 12 | Next message in topic »

Messages

Show all messages in topic

ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-16 06:52:09 PDT
     Re: ViewVC Annotation error SE 2.3.0 cmpilato (OCN Member) C. Michael Pilato 2012-03-16 10:24:34 PDT
         RE: Re: ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-16 16:52:05 PDT
         Re: ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-16 17:14:34 PDT
             Re: ViewVC Annotation error SE 2.3.0 cmpilato (OCN Member) C. Michael Pilato 2012-03-19 09:37:40 PDT
                 Re: ViewVC Annotation error SE 2.3.0 markphip (OCN Member) Mark Phippard 2012-03-19 09:42:25 PDT
                 Re: ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-19 10:00:50 PDT
                 Re: ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-19 10:46:00 PDT
                     Re: ViewVC Annotation error SE 2.3.0 cmpilato (OCN Member) C. Michael Pilato 2012-03-19 10:55:04 PDT
                         RE: Re: ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-19 12:00:13 PDT
                             Re: ViewVC Annotation error SE 2.3.0 markphip (OCN Member) Mark Phippard 2012-03-19 12:04:07 PDT
                         Re: ViewVC Annotation error SE 2.3.0 phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-19 12:35:24 PDT
Messages per page: