#2930 500 error when accessing SVN source files [22013]

unreleased
wont-fix
nobody
support (446)
SCM
nobody
2015-02-22
2011-10-05
Chris Tsai
No

https://sourceforge.net/apps/trac/sourceforge/ticket/22013

Several of the files in my project are inaccessible from the web SVN interface. When you attempt to access them, you get a 500 error. For example: https://sourceforge.net/p/voxelfortress/code-0/1/tree/src/main/java/state/ClientState.java

Module /var/local/allura/Allura/allura/templates/repo/file.html:49 in block "content"
<<      <div class="clip grid-19">
             <h3><span class="ico-l"><b data-icon="{{g.icons['table'].char}}" class="ico {{g.icons['table'].css}}"></b> {{h.really_unicode(blob.name)}}</span></h3>
             {{g.highlight(blob.text, filename=blob.name)}}
           </div>
         {% endif %}
>>  {{g.highlight(blob.text, filename=blob.name)}}
Module jinja2.environment:372 in getattr
<<          """
               try:
                   return getattr(obj, attribute)
               except AttributeError:
                   pass
>>  return getattr(obj, attribute)
Module ming.utils:18 in __get__
<<      def __get__(self, obj, klass=None):
               if obj is None: return None
               result = obj.__dict__[self.__name__] = self._func(obj)
               return result
>>  result = obj.__dict__[self.__name__] = self._func(obj)
Module allura.model.repository:1053 in text
<<      @LazyProperty
           def text(self):
               return self.open().read()

           @classmethod
>>  return self.open().read()
Module allura.model.repository:1046 in open
<<      def open(self):
               return self.repo.open_blob(self)

           def __iter__(self):
>>  return self.repo.open_blob(self)
Module allura.model.repository:173 in open_blob
<<          return self._impl.commit_context(commit)
           def open_blob(self, blob):
               return self._impl.open_blob(blob)
           def shorthand_for_commit(self, commit):
               return self._impl.shorthand_for_commit(commit)
>>  return self._impl.open_blob(blob)
Module forgesvn.model.svn:299 in open_blob
<<          data = self._svn.cat(
                   self._url + blob.path(),
                   revision=self._revision(blob.commit.object_id))
               return StringIO(data)
>>  revision=self._revision(blob.commit.object_id))
ClientError: Decompression of svndiff data failed

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-10-05
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -1,3 +1,54 @@
     https://sourceforge.net/apps/trac/sourceforge/ticket/22013
    
     >Several of the files in my project are inaccessible from the web SVN interface. When you attempt to access them, you get a 500 error. For example: https://sourceforge.net/p/voxelfortress/code-0/1/tree/src/main/java/state/ClientState.java
    +
    +~~~~
    +Module /var/local/allura/Allura/allura/templates/repo/file.html:49 in block "content"
    +<<      <div class="clip grid-19">
    +             <h3><span class="ico-l"><b data-icon="{{g.icons['table'].char}}" class="ico {{g.icons['table'].css}}"></b> {{h.really_unicode(blob.name)}}</span></h3>
    +             {{g.highlight(blob.text, filename=blob.name)}}
    +           </div>
    +         {% endif %}
    +>>  {{g.highlight(blob.text, filename=blob.name)}}
    +Module jinja2.environment:372 in getattr
    +<<          """
    +               try:
    +                   return getattr(obj, attribute)
    +               except AttributeError:
    +                   pass
    +>>  return getattr(obj, attribute)
    +Module ming.utils:18 in __get__
    +<<      def __get__(self, obj, klass=None):
    +               if obj is None: return None
    +               result = obj.__dict__[self.__name__] = self._func(obj)
    +               return result
    +>>  result = obj.__dict__[self.__name__] = self._func(obj)
    +Module allura.model.repository:1053 in text
    +<<      @LazyProperty
    +           def text(self):
    +               return self.open().read()
    +       
    +           @classmethod
    +>>  return self.open().read()
    +Module allura.model.repository:1046 in open
    +<<      def open(self):
    +               return self.repo.open_blob(self)
    +       
    +           def __iter__(self):
    +>>  return self.repo.open_blob(self)
    +Module allura.model.repository:173 in open_blob
    +<<          return self._impl.commit_context(commit)
    +           def open_blob(self, blob):
    +               return self._impl.open_blob(blob)
    +           def shorthand_for_commit(self, commit):
    +               return self._impl.shorthand_for_commit(commit)
    +>>  return self._impl.open_blob(blob)
    +Module forgesvn.model.svn:299 in open_blob
    +<<          data = self._svn.cat(
    +                   self._url + blob.path(),
    +                   revision=self._revision(blob.commit.object_id))
    +               return StringIO(data)
    +>>  revision=self._revision(blob.commit.object_id))
    +ClientError: Decompression of svndiff data failed
    +
    +~~~~
    
    • component: General --> SCM
    • milestone: limbo --> forge-backlog
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-05

    This is a corrupt underlying repo, so the repo needs to be fixed. Instructions will be provided on the support ticket.

     
  • Dave Brondsema

    Dave Brondsema - 2012-09-05
    • status: open --> wont-fix
    • milestone: forge-backlog --> forge-sep-07
     

Log in to post a comment.