#1972 500 Errors on code viewer [18739]

v1.0.0
closed
nobody
support (446)
General
nobody
2015-08-20
2011-04-19
Chris Tsai
No

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-04-19
    Module forgehg.model.hg:189 in open_blob
    <<      def open_blob(self, blob):
                   fctx = self._hg[blob.commit.object_id][h.really_unicode(blob.path()).encode('utf-8')[1:]]
                   return StringIO(fctx.data())
    >>  fctx = self._hg[blob.commit.object_id][h.really_unicode(blob.path()).encode('utf-8')[1:]]
    Module mercurial.context:84 in __getitem__
    <<      def __getitem__(self, key):
                   return self.filectx(key)
    
               def __iter__(self):
    >>  return self.filectx(key)
    Module mercurial.context:159 in filectx
    <<          """get a file context from this changeset"""
                   if fileid is None:
                       fileid = self.filenode(path)
                   return filectx(self._repo, path, fileid=fileid,
                                  changectx=self, filelog=filelog)
    >>  fileid = self.filenode(path)
    Module mercurial.context:148 in filenode
    <<      def filenode(self, path):
                   return self._fileinfo(path)[0]
    
               def flags(self, path):
    >>  return self._fileinfo(path)[0]
    Module mercurial.context:143 in _fileinfo
    <<          if not node:
                       raise error.LookupError(self._node, path,
                                               _('not found in manifest'))
    
                   return node, flag
    >>  _('not found in manifest'))
    LookupError: main.cpp@a9e180b6284d: not found in manifest
    
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-19
    • milestone: limbo --> backlog
     
  • Yaroslav Luzin

    Yaroslav Luzin - 2012-07-17

    this works now

    • status: open --> closed
    • milestone: forge-backlog --> forge-jul-27
     

Log in to post a comment.