Your message dated Thu, 19 Jan 2017 13:07:08 +0100
with message-id <4268880.yfdgK8OWre@libor-nb>
and subject line Re: gitlab: page with diffs (commits) - error 500
has caused the Debian Bug report #826931,
regarding gitlab: page with diffs (commits) - error 500
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
826931: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826931
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gitlab
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,
thanks for packing 8.8.2 gitlab.

We have upgraded yesterday and have problem with commits pages
- -----
Started GET "/group/project/commit/xx53b0d3b0d0d87cf6f478b150ce689b8151a1b6" 
for 127.0.0.1 at 2016-06-10 08:25:33 +0200
Processing by Projects::CommitController#show as HTML
  Parameters: {"namespace_id"=>"group", "project_id"=>"project", 
"id"=>"xx53b0d3b0d0d87cf6f478b150ce689b8151a1b6"}
Completed 500 Internal Server Error in 343ms (ActiveRecord: 22.0ms)

ActionView::Template::Error (undefined method `diffable?' for 
#<Gitlab::Git::Repository:0x0000000badbb18>):
    42:     - return unless blob.respond_to?(:text?)
    43:     - if diff_file.too_large?
    44:       .nothing-here-block This diff could not be displayed because it 
is too large.
    45:     - elsif blob_text_viewable?(blob) && 
!project.repository.diffable?(blob)
    46:       .nothing-here-block This diff was suppressed by a .gitattributes 
entry.
    47:     - elsif blob_text_viewable?(blob)
    48:       - if diff_view == 'parallel'
  app/models/repository.rb:439:in `method_missing'
  app/views/projects/diffs/_file.html.haml:45:in 
`_app_views_projects_diffs__file_html_haml__2130845417718406234_70613300'
  app/views/projects/diffs/_diffs.html.haml:28:in `block in 
_app_views_projects_diffs__diffs_html_haml__1571110138484770322_71701000'
  app/views/projects/diffs/_diffs.html.haml:23:in `each_with_index'
  app/views/projects/diffs/_diffs.html.haml:23:in 
`_app_views_projects_diffs__diffs_html_haml__1571110138484770322_71701000'
  app/views/projects/commit/show.html.haml:12:in 
`_app_views_projects_commit_show_html_haml___791189859704013076_79050720'
  app/controllers/projects/commit_controller.rb:30:in `show'
  lib/gitlab/middleware/go.rb:16:in `call'
- ----

I seems, that it needs newer ruby-gitlab-git package.
This method is in master
https://gitlab.com/gitlab-org/gitlab_git/blob/master/lib/gitlab_git/repository.rb


Thanks,
Libor

- -- System Information:
Debian Release: stretch/sid
  APT prefers experimental
  APT policy: (700, 'experimental'), (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXWmDrAAoJEPDvjG7Cn0eO7xYP/1GHdZuT10JJ/P9Xj2XotkGk
3vFzchr+Iq7B5Co/ldSGU88+L484/MP4fg7ZhcBAbx/mEZT7MzTl7gBfHnUf6qrl
InxmFVlwCkiC/p/dsdoHxjqvrpm8kK6hpbFtGvG7kCpxeD11LU57avFaOEnKRm3x
7G9jdLDSJTwTC+8MkYr+U/iK0QYaS8bWqgnyjk3wwjjRSpXbLjVXZbvprOXdvlvP
pofKmks9ZY4tLg0qBUfyVvSAK81yhcbD7FaoZ6w7QFu6avhYxg+ZQRBnokSgMyXl
KIYx+mWckmghDRrXdFEReo9oyDa6q5C1fH+H4cjLe8tCFfeAvnhNSOTqeFpTQCTr
/i+1WmPbKAdjeEiXsUjgxUm80l4GErRB6UTSSeyFtSxwEpmf6ekO3ZpD7xovuD0i
jy4HIyYX/HcDnSRlfOq4FnEFfTpJjrut/m1Vup4JhMOtIWQsK9Jqp5mju0tNRUZC
4bqOl+ETNTXP8raxWDZT01I70BpHjCXdBO/iGoDQ2NStyvWPaz46094ro9Nl3mBz
Nd5H7ivJt76braHgnb6Is8n1sssf0r7TvfzP26GNe12yKkgqk4PttCdisay7sQV4
FTR3rVsnoh9+S+ArKjzyqsHPukHnCO5aVzkxReAwYdsMNlhZ0dEumzHM/m0OuIu1
nkFJn+6+Jnbckr1QKBIZ
=ksvf
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Package: gitlab
Version: 8.13.6+dfsg2-2


Works ok now

Libor

--- End Message ---

Reply via email to