[DRE-maint] Bug#915053: gitlab: Err 500 when go to the project page(any project)

Dragos Jarca dragos.jarca at dynamicpuzzle.ro
Wed Dec 5 14:34:36 GMT 2018


I think there is a problem in
   lib/gitlab/i18n.rb:53:in `with_locale'
   lib/gitlab/i18n.rb:59:in `with_user_locale'

     def with_locale(locale_string)
       original_locale = locale

       self.locale = locale_string
       yield
     ensure
       self.locale = original_locale
     end

     def with_user_locale(user, &block)
*with_locale(user&.preferred_language, &block)*
     end


*with_locale(user&.preferred_language, &block) with 2 param, but *
*def with_locale(locale_string) has only one param.
*
*
*
On 04.12.2018 18:33, Dragos Jarca wrote:
>
> Yes, tried on different browsers, different os, different browsers on 
> moile phones, smart tb browser, etc.
>
>
> On 04.12.2018 18:19, Pirate Praveen wrote:
>
>>
>> On 2018, ഡിസംബർ 4 9:10:17 PM IST, Dragos Jarca 
>> <dragos.jarca at dynamicpuzzle.ro> wrote:
>>> I observed that on LabCoat app on android I can see project details and
>>>
>>> commits, etc.
>>>
>>> I can push and pull files from the repo with remote git client and see
>>> diffs, etc.
>>>
>>> I can use python-gitlab also.
>>>
>>> seems that only in web interface cannot see details of projects, commit
>>>
>>> details, etc. But I can see issues and other info related to one
>>> project
>>> if I acces direct link. Cannot see Repository related pages.
>>>
>>> I observed that in app/views/projects/commits/_commit.html.haml there
>>> is
>>> a warning...
>>>
>>> -#-----------------------------------------------------------------
>>>    WARNING: Please keep changes up-to-date with the following files:
>>>    - `assets/javascripts/diffs/components/commit_item.vue`
>>> -#-----------------------------------------------------------------
>>>
>>> but  assets/javascripts/diffs/components/commit_item.vue does not
>>> exists.
>>>
>>> I can give more info if u help me to clarify the problem.
>> Did you try on different browsers (or control + f5) ? It could be a 
>> local cache issue. Just thinking about possible scenarios. I was not 
>> able to reproduce it locally.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20181205/a9a0f272/attachment.html>


More information about the Pkg-ruby-extras-maintainers mailing list