I just installed Gitorious (cloned from master branch on mainline) and am getting two errors emailed to me whenever I push to any repo. If it matters, in a failed attempt to solve this problem, I re-cloned Gitorious just a few hours ago, but left the database and repos directory intact.
In short, the errors are:
NoMethodError: undefined method `gitdir' for nil:NilClass
Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
this appears to be a bug that was introduced way back in February, but for some reason hasn't show up anywhere else so far (that we know of!). Perhaps something specific to your config?
Anyway, I've pushed a fix to mainline now. Pull and let us know if it resolves your errors.
> I just installed Gitorious (cloned from master branch on mainline) and > am getting two errors emailed to me whenever I push to any repo. If it > matters, in a failed attempt to solve this problem, I re-cloned > Gitorious just a few hours ago, but left the database and repos > directory intact.
> In short, the errors are:
> NoMethodError: undefined method `gitdir' for nil:NilClass
> and
> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
> Full backtraces are here:
> http://pastebin.com/xmRCmUhm > http://pastebin.com/cZgwiVh4
> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
> Any ideas?
> Thank you!
> -- > To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscribe@googlegroups.com
On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson wrote:
> Hi there,
> this appears to be a bug that was introduced way back in February, but for > some reason hasn't show up anywhere else so far (that we know of!). Perhaps > something specific to your config?
> Anyway, I've pushed a fix to mainline now. Pull and let us know if it > resolves your errors.
> cheers, > Thomas
> On 08/09/2012 09:53 AM, esc201 wrote:
> Hi all,
> I just installed Gitorious (cloned from master branch on mainline) and > am getting two errors emailed to me whenever I push to any repo. If it > matters, in a failed attempt to solve this problem, I re-cloned Gitorious > just a few hours ago, but left the database and repos directory intact.
> In short, the errors are:
> NoMethodError: undefined method `gitdir' for nil:NilClass
> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
> Any ideas?
> Thank you!
> -- > To post to this group, send email to gito...@googlegroups.com<javascript:> > To unsubscribe from this group, send email to > gitorious+...@googlegroups.com <javascript:>
> I pulled your changes and rebooted my server, and while the "gitdir" > error is now gone, it seems to have been replaced with another error.
> NoMethodError: undefined method `wiki?' for nil:NilClass
> The other error still persists as well.
> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
> I'm still new to Gitorious, but I think everything in there is at > least relatively normal.
> Would it make any difference if I'm using Ruby Enterprise?
> Thanks again!
> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson > wrote:
> Hi there,
> this appears to be a bug that was introduced way back in February,
> but for some reason hasn't show up anywhere else so far (that we
> know of!). Perhaps something specific to your config?
> Anyway, I've pushed a fix to mainline now. Pull and let us know if
> it resolves your errors.
> cheers,
> Thomas
> On 08/09/2012 09:53 AM, esc201 wrote:
>> Hi all,
>> I just installed Gitorious (cloned from master branch on
>> mainline) and am getting two errors emailed to me whenever I push
>> to any repo. If it matters, in a failed attempt to solve this
>> problem, I re-cloned Gitorious just a few hours ago, but left the
>> database and repos directory intact.
>> In short, the errors are:
>> NoMethodError: undefined method `gitdir' for nil:NilClass
>> and
>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>> Full backtraces are here:
>> http://pastebin.com/xmRCmUhm >> http://pastebin.com/cZgwiVh4
>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>> Any ideas?
>> Thank you!
>> -- >> To post to this group, send email to gito...@googlegroups.com
>> <javascript:>
>> To unsubscribe from this group, send email to
>> gitorious+...@googlegroups.com <javascript:>
> I'm still new to Gitorious, but I think everything in there is at least > relatively normal.
> Would it make any difference if I'm using Ruby Enterprise?
> Thanks again!
> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson > wrote:
>> Hi there,
>> this appears to be a bug that was introduced way back in February, but >> for some reason hasn't show up anywhere else so far (that we know of!). >> Perhaps something specific to your config?
>> Anyway, I've pushed a fix to mainline now. Pull and let us know if it >> resolves your errors.
>> cheers, >> Thomas
>> On 08/09/2012 09:53 AM, esc201 wrote:
>> Hi all,
>> I just installed Gitorious (cloned from master branch on mainline) and >> am getting two errors emailed to me whenever I push to any repo. If it >> matters, in a failed attempt to solve this problem, I re-cloned Gitorious >> just a few hours ago, but left the database and repos directory intact.
>> In short, the errors are:
>> NoMethodError: undefined method `gitdir' for nil:NilClass
>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>> Any ideas?
>> Thank you!
>> -- >> To post to this group, send email to gito...@googlegroups.com >> To unsubscribe from this group, send email to >> gitorious+...@googlegroups.com
> Although, if I'm not mistaken Passenger should be using a Ruby > interpreter as well. I'm unsure how to figure out which one it's using.
> Thanks!
> On Friday, August 10, 2012 2:55:28 AM UTC-4, Thomas Kjeldahl Nilsson > wrote:
> Taking a look at this later today, haven't seen this on our end.
> BTW which specific Ruby version are you running the processes on?
> cheers,
> Thomas
> On 08/09/2012 07:58 PM, esc201 wrote:
>> Hi Thomas,
>> Thanks for the reply!
>> I pulled your changes and rebooted my server, and while the
>> "gitdir" error is now gone, it seems to have been replaced with
>> another error.
>> NoMethodError: undefined method `wiki?' for nil:NilClass
>> The other error still persists as well.
>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>> I'm still new to Gitorious, but I think everything in there is at
>> least relatively normal.
>> Would it make any difference if I'm using Ruby Enterprise?
>> Thanks again!
>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl
>> Nilsson wrote:
>> Hi there,
>> this appears to be a bug that was introduced way back in
>> February, but for some reason hasn't show up anywhere else so
>> far (that we know of!). Perhaps something specific to your
>> config?
>> Anyway, I've pushed a fix to mainline now. Pull and let us
>> know if it resolves your errors.
>> cheers,
>> Thomas
>> On 08/09/2012 09:53 AM, esc201 wrote:
>>> Hi all,
>>> I just installed Gitorious (cloned from master branch on
>>> mainline) and am getting two errors emailed to me whenever I
>>> push to any repo. If it matters, in a failed attempt to
>>> solve this problem, I re-cloned Gitorious just a few hours
>>> ago, but left the database and repos directory intact.
>>> In short, the errors are:
>>> NoMethodError: undefined method `gitdir' for nil:NilClass
>>> and
>>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>>> Full backtraces are here:
>>> http://pastebin.com/xmRCmUhm >>> http://pastebin.com/cZgwiVh4
>>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>>> Any ideas?
>>> Thank you!
>>> -- >>> To post to this group, send email to gito...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> gitorious+...@googlegroups.com
Earlier today I tried deleting the database, using the ruby package from yum, and re-cloning from mainline again. I also used the sample gitorious.yml config with only the necessary changes to get this running. None of this fixed the "NoMethodError: undefined method `wiki?' for nil:NilClass" error though.
2. Another problem I have is I have to run "git submodule init" and "git submodule update" in order to resolve an issue with spin.js not being present.
I don't know if either of these are relevant, but it can't hurt to mention them.
The only other thing I can think to do is a fresh install of RHEL on the server (gitorious is currently the only thing on it so it's not that big of a deal). Is there a possibility this could fix it? Or is it a waste of time?
Thanks again.
On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
> and paste/reply what you see. I wonder if your code is fully up to date.
> cheers,
> Thomas
> On 08/10/2012 09:14 AM, esc201 wrote:
>> Thomas,
>> My Ruby version is:
>> # ./ruby --version
>> ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) >> [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02
>> /proc info for the processes seems to confirm that version 1.8.7 is >> in fact being used (/opt/ruby is a symlink to my Ruby Enterprise >> directory).
>> Although, if I'm not mistaken Passenger should be using a Ruby >> interpreter as well. I'm unsure how to figure out which one it's using.
>> Thanks!
>> On Friday, August 10, 2012 2:55:28 AM UTC-4, Thomas Kjeldahl Nilsson >> wrote:
>> Taking a look at this later today, haven't seen this on our end.
>> BTW which specific Ruby version are you running the processes on?
>> cheers,
>> Thomas
>> On 08/09/2012 07:58 PM, esc201 wrote:
>>> Hi Thomas,
>>> Thanks for the reply!
>>> I pulled your changes and rebooted my server, and while the
>>> "gitdir" error is now gone, it seems to have been replaced with
>>> another error.
>>> NoMethodError: undefined method `wiki?' for nil:NilClass
>>> The other error still persists as well.
>>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>>> I'm still new to Gitorious, but I think everything in there is
>>> at least relatively normal.
>>> Would it make any difference if I'm using Ruby Enterprise?
>>> Thanks again!
>>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl
>>> Nilsson wrote:
>>> Hi there,
>>> this appears to be a bug that was introduced way back in
>>> February, but for some reason hasn't show up anywhere else
>>> so far (that we know of!). Perhaps something specific to
>>> your config?
>>> Anyway, I've pushed a fix to mainline now. Pull and let us
>>> know if it resolves your errors.
>>> cheers,
>>> Thomas
>>> On 08/09/2012 09:53 AM, esc201 wrote:
>>>> Hi all,
>>>> I just installed Gitorious (cloned from master branch on
>>>> mainline) and am getting two errors emailed to me whenever
>>>> I push to any repo. If it matters, in a failed attempt to
>>>> solve this problem, I re-cloned Gitorious just a few hours
>>>> ago, but left the database and repos directory intact.
>>>> In short, the errors are:
>>>> NoMethodError: undefined method `gitdir' for nil:NilClass
>>>> and
>>>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>>>> Full backtraces are here:
>>>> http://pastebin.com/xmRCmUhm >>>> http://pastebin.com/cZgwiVh4
>>>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>>>> Any ideas?
>>>> Thank you!
>>>> -- >>>> To post to this group, send email to gito...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> gitorious+...@googlegroups.com
On Tuesday, August 14, 2012 3:52:01 AM UTC-4, esc201 wrote:
> Hi Thomas,
> Thanks for sticking with this.
> Earlier today I tried deleting the database, using the ruby package from > yum, and re-cloning from mainline again. I also used the sample > gitorious.yml config with only the necessary changes to get this running. > None of this fixed the "NoMethodError: undefined method `wiki?' for > nil:NilClass" error though.
> 2. Another problem I have is I have to run "git submodule init" and "git > submodule update" in order to resolve an issue with spin.js not being > present.
> I don't know if either of these are relevant, but it can't hurt to mention > them.
> The only other thing I can think to do is a fresh install of RHEL on the > server (gitorious is currently the only thing on it so it's not that big of > a deal). Is there a possibility this could fix it? Or is it a waste of time?
> Thanks again.
> On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
> Hello again,
> I'm currently unable to recreate this. Could you do me a favor, though? > Run git log the app/models/repository.rb:
>> I'm still new to Gitorious, but I think everything in there is at least >> relatively normal.
>> Would it make any difference if I'm using Ruby Enterprise?
>> Thanks again!
>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson >> wrote:
>>> Hi there,
>>> this appears to be a bug that was introduced way back in February, but >>> for some reason hasn't show up anywhere else so far (that we know of!). >>> Perhaps something specific to your config?
>>> Anyway, I've pushed a fix to mainline now. Pull and let us know if it >>> resolves your errors.
>>> cheers, >>> Thomas
>>> On 08/09/2012 09:53 AM, esc201 wrote:
>>> Hi all,
>>> I just installed Gitorious (cloned from master branch on mainline) and >>> am getting two errors emailed to me whenever I push to any repo. If it >>> matters, in a failed attempt to solve this problem, I re-cloned Gitorious >>> just a few hours ago, but left the database and repos directory intact.
>>> In short, the errors are:
>>> NoMethodError: undefined method `gitdir' for nil:NilClass
>>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>>> Any ideas?
>>> Thank you!
>>> -- >>> To post to this group, send email to gito...@googlegroups.com >>> To unsubscribe from this group, send email to >>> gitorious+...@googlegroups.com
That's exactly what I was thinking, but I haven't come up with any good explanation - haven't seen these symptoms before.
To address your earlier thoughts on reinstalling etc. I don't think reinstalling the underlying OS or dependent services makes any difference here, and submodules, like you mentioned, are probably not the issue.
Seems like the process is simply missing stuff in its ruby load path for some reason. More specifially in the process which is picking up messages from the queue. Maybe have another look at how your queue is set up?
> It's like I'm missing some code, but I don't know what. Hmm.
> On Tuesday, August 14, 2012 3:52:01 AM UTC-4, esc201 wrote:
> Hi Thomas,
> Thanks for sticking with this.
> Earlier today I tried deleting the database, using the ruby
> package from yum, and re-cloning from mainline again. I also used
> the sample gitorious.yml config with only the necessary changes to
> get this running. None of this fixed the "NoMethodError: undefined
> method `wiki?' for nil:NilClass" error though.
> 2. Another problem I have is I have to run "git submodule init"
> and "git submodule update" in order to resolve an issue with
> spin.js not being present.
> I don't know if either of these are relevant, but it can't hurt to
> mention them.
> The only other thing I can think to do is a fresh install of RHEL
> on the server (gitorious is currently the only thing on it so it's
> not that big of a deal). Is there a possibility this could fix it?
> Or is it a waste of time?
> Thanks again.
> On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
>> Hello again,
>> I'm currently unable to recreate this. Could you do me a favor,
>> though? Run git log the app/models/repository.rb:
>> and paste/reply what you see. I wonder if your code is fully up
>> to date.
>> cheers,
>> Thomas
>> On 08/10/2012 09:14 AM, esc201 wrote:
>>> Thomas,
>>> My Ruby version is:
>>> # ./ruby --version
>>> ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358)
>>> [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02
>>> /proc info for the processes seems to confirm that version 1.8.7
>>> is in fact being used (/opt/ruby is a symlink to my Ruby
>>> Enterprise directory).
>>> Although, if I'm not mistaken Passenger should be using a Ruby
>>> interpreter as well. I'm unsure how to figure out which one it's
>>> using.
>>> Thanks!
>>> On Friday, August 10, 2012 2:55:28 AM UTC-4, Thomas Kjeldahl
>>> Nilsson wrote:
>>> Taking a look at this later today, haven't seen this on our
>>> end. BTW which specific Ruby version are you running the
>>> processes on?
>>> cheers,
>>> Thomas
>>> On 08/09/2012 07:58 PM, esc201 wrote:
>>>> Hi Thomas,
>>>> Thanks for the reply!
>>>> I pulled your changes and rebooted my server, and while the
>>>> "gitdir" error is now gone, it seems to have been replaced
>>>> with another error.
>>>> NoMethodError: undefined method `wiki?' for nil:NilClass
>>>> The other error still persists as well.
>>>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>>>> I'm still new to Gitorious, but I think everything in there
>>>> is at least relatively normal.
>>>> Would it make any difference if I'm using Ruby Enterprise?
>>>> Thanks again!
>>>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas
>>>> Kjeldahl Nilsson wrote:
>>>> Hi there,
>>>> this appears to be a bug that was introduced way back
>>>> in February, but for some reason hasn't show up
>>>> anywhere else so far (that we know of!). Perhaps
>>>> something specific to your config?
>>>> Anyway, I've pushed a fix to mainline now. Pull and let
>>>> us know if it resolves your errors.
>>>> cheers,
>>>> Thomas
>>>> On 08/09/2012 09:53 AM, esc201 wrote:
>>>>> Hi all,
>>>>> I just installed Gitorious (cloned from master branch
>>>>> on mainline) and am getting two errors emailed to me
>>>>> whenever I push to any repo. If it matters, in a
>>>>> failed attempt to solve this problem, I re-cloned
>>>>> Gitorious just a few hours ago, but left the database
>>>>> and repos directory intact.
>>>>> In short, the errors are:
>>>>> NoMethodError: undefined method `gitdir' for nil:NilClass
>>>>> and
>>>>> ActiveMessaging::AbortMessageException: ActiveMessaging::AbortMessageException
>>>>> Full backtraces are here:
>>>>> http://pastebin.com/xmRCmUhm >>>>> http://pastebin.com/cZgwiVh4
>>>>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>>>>> Any ideas?
>>>>> Thank you!
>>>>> -- >>>>> To post to this group, send email to
>>>>> gito...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> gitorious+...@googlegroups.com
Any resolution on this? I am seeing the same error on a newer server that we have configure to replace an older one. Older environment has no issue. They are running the exact same gitorious code base with the configuration as close as possible, with the only difference really being the patch level of pruby.
NoMethodError: undefined method `wiki?' for nil:NilClass
On Tuesday, August 14, 2012 3:53:33 PM UTC-5, Thomas Kjeldahl Nilsson wrote:
> That's exactly what I was thinking, but I haven't come up with any good > explanation - haven't seen these symptoms before.
> To address your earlier thoughts on reinstalling etc. I don't think > reinstalling the underlying OS or dependent services makes any difference > here, and submodules, like you mentioned, are probably not the issue.
> Seems like the process is simply missing stuff in its ruby load path for > some reason. More specifially in the process which is picking up messages > from the queue. Maybe have another look at how your queue is set up?
> cheers, > Thomas
> On 08/14/2012 10:17 PM, esc201 wrote:
> Just to see what would happen, I commented out lines 36, 37, and 38 in > push_processor.rb. I restarted everything, and got the error:
> NoMethodError: undefined method `project' for nil:NilClass
> It's like I'm missing some code, but I don't know what. Hmm.
> On Tuesday, August 14, 2012 3:52:01 AM UTC-4, esc201 wrote:
>> Hi Thomas,
>> Thanks for sticking with this.
>> Earlier today I tried deleting the database, using the ruby package from >> yum, and re-cloning from mainline again. I also used the sample >> gitorious.yml config with only the necessary changes to get this running. >> None of this fixed the "NoMethodError: undefined method `wiki?' for >> nil:NilClass" error though.
>> 2. Another problem I have is I have to run "git submodule init" and "git >> submodule update" in order to resolve an issue with spin.js not being >> present.
>> I don't know if either of these are relevant, but it can't hurt to >> mention them.
>> The only other thing I can think to do is a fresh install of RHEL on the >> server (gitorious is currently the only thing on it so it's not that big of >> a deal). Is there a possibility this could fix it? Or is it a waste of time?
>> Thanks again.
>> On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
>> Hello again,
>> I'm currently unable to recreate this. Could you do me a favor, though? >> Run git log the app/models/repository.rb:
>>> I'm still new to Gitorious, but I think everything in there is at >>> least relatively normal.
>>> Would it make any difference if I'm using Ruby Enterprise?
>>> Thanks again!
>>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson >>> wrote:
>>>> Hi there,
>>>> this appears to be a bug that was introduced way back in February, but >>>> for some reason hasn't show up anywhere else so far (that we know of!). >>>> Perhaps something specific to your config?
>>>> Anyway, I've pushed a fix to mainline now. Pull and let us know if it >>>> resolves your errors.
>>>> cheers, >>>> Thomas
>>>> On 08/09/2012 09:53 AM, esc201 wrote:
>>>> Hi all,
>>>> I just installed Gitorious (cloned from master branch on mainline) >>>> and am getting two errors emailed to me whenever I push to any repo. If it >>>> matters, in a failed attempt to solve this problem, I re-cloned Gitorious >>>> just a few hours ago, but left the database and repos directory intact.
>>>> In short, the errors are:
>>>> NoMethodError: undefined method `gitdir' for nil:NilClass
>>>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>>>> Any ideas?
>>>> Thank you!
>>>> -- >>>> To post to this group, send email to gito...@googlegroups.com >>>> To unsubscribe from this group, send email to >>>> gitorious+...@googlegroups.com
On Wednesday, October 3, 2012 4:27:15 PM UTC-4, Scott Allen wrote:
> Any resolution on this? I am seeing the same error on a newer server that > we have configure to replace an older one. Older environment has no > issue. They are running the exact same gitorious code base with the > configuration as close as possible, with the only difference really being > the patch level of pruby.
> NoMethodError: undefined method `wiki?' for nil:NilClass
> -scott
> On Tuesday, August 14, 2012 3:53:33 PM UTC-5, Thomas Kjeldahl Nilsson > wrote:
>> That's exactly what I was thinking, but I haven't come up with any good >> explanation - haven't seen these symptoms before.
>> To address your earlier thoughts on reinstalling etc. I don't think >> reinstalling the underlying OS or dependent services makes any difference >> here, and submodules, like you mentioned, are probably not the issue.
>> Seems like the process is simply missing stuff in its ruby load path for >> some reason. More specifially in the process which is picking up messages >> from the queue. Maybe have another look at how your queue is set up?
>> cheers, >> Thomas
>> On 08/14/2012 10:17 PM, esc201 wrote:
>> Just to see what would happen, I commented out lines 36, 37, and 38 in >> push_processor.rb. I restarted everything, and got the error:
>> NoMethodError: undefined method `project' for nil:NilClass
>> It's like I'm missing some code, but I don't know what. Hmm.
>> On Tuesday, August 14, 2012 3:52:01 AM UTC-4, esc201 wrote:
>>> Hi Thomas,
>>> Thanks for sticking with this.
>>> Earlier today I tried deleting the database, using the ruby package from >>> yum, and re-cloning from mainline again. I also used the sample >>> gitorious.yml config with only the necessary changes to get this running. >>> None of this fixed the "NoMethodError: undefined method `wiki?' for >>> nil:NilClass" error though.
>>> 2. Another problem I have is I have to run "git submodule init" and "git >>> submodule update" in order to resolve an issue with spin.js not being >>> present.
>>> I don't know if either of these are relevant, but it can't hurt to >>> mention them.
>>> The only other thing I can think to do is a fresh install of RHEL on the >>> server (gitorious is currently the only thing on it so it's not that big of >>> a deal). Is there a possibility this could fix it? Or is it a waste of time?
>>> Thanks again.
>>> On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
>>> Hello again,
>>> I'm currently unable to recreate this. Could you do me a favor, though? >>> Run git log the app/models/repository.rb:
>>> and paste/reply what you see. I wonder if your code is fully up to date.
>>> cheers, >>> Thomas
>>> On 08/10/2012 09:14 AM, esc201 wrote:
>>> Thomas,
>>> My Ruby version is: >>> # ./ruby --version >>> ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) [x86_64-linux], >>> MBARI 0x6770, Ruby Enterprise Edition 2012.02
>>> /proc info for the processes seems to confirm that version 1.8.7 is in >>> fact being used (/opt/ruby is a symlink to my Ruby Enterprise directory).
>>>> I'm still new to Gitorious, but I think everything in there is at >>>> least relatively normal.
>>>> Would it make any difference if I'm using Ruby Enterprise?
>>>> Thanks again!
>>>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson >>>> wrote:
>>>>> Hi there,
>>>>> this appears to be a bug that was introduced way back in February, but >>>>> for some reason hasn't show up anywhere else so far (that we know of!). >>>>> Perhaps something specific to your config?
>>>>> Anyway, I've pushed a fix to mainline now. Pull and let us know if it >>>>> resolves your errors.
>>>>> cheers, >>>>> Thomas
>>>>> On 08/09/2012 09:53 AM, esc201 wrote:
>>>>> Hi all,
>>>>> I just installed Gitorious (cloned from master branch on mainline) >>>>> and am getting two errors emailed to me whenever I push to any repo. If it >>>>> matters, in a failed attempt to solve this problem, I re-cloned Gitorious >>>>> just a few hours ago, but left the database and repos directory intact.
>>>>> In short, the errors are:
>>>>> NoMethodError: undefined method `gitdir' for nil:NilClass
Hi, I am getting this same error on a fresh install of "master" branch of gitorious. It is instaled on a Ubuntu 12.04 LTS server x86, gem version 1.5.3 and private projects/repositories enabled by default. What is the consequence of this error?
Em quarta-feira, 3 de outubro de 2012 17h27min15s UTC-3, Scott Allen escreveu:
> Any resolution on this? I am seeing the same error on a newer server that > we have configure to replace an older one. Older environment has no > issue. They are running the exact same gitorious code base with the > configuration as close as possible, with the only difference really being > the patch level of pruby.
> NoMethodError: undefined method `wiki?' for nil:NilClass
> -scott
> On Tuesday, August 14, 2012 3:53:33 PM UTC-5, Thomas Kjeldahl Nilsson > wrote:
>> That's exactly what I was thinking, but I haven't come up with any good >> explanation - haven't seen these symptoms before.
>> To address your earlier thoughts on reinstalling etc. I don't think >> reinstalling the underlying OS or dependent services makes any difference >> here, and submodules, like you mentioned, are probably not the issue.
>> Seems like the process is simply missing stuff in its ruby load path for >> some reason. More specifially in the process which is picking up messages >> from the queue. Maybe have another look at how your queue is set up?
>> cheers, >> Thomas
>> On 08/14/2012 10:17 PM, esc201 wrote:
>> Just to see what would happen, I commented out lines 36, 37, and 38 in >> push_processor.rb. I restarted everything, and got the error:
>> NoMethodError: undefined method `project' for nil:NilClass
>> It's like I'm missing some code, but I don't know what. Hmm.
>> On Tuesday, August 14, 2012 3:52:01 AM UTC-4, esc201 wrote:
>>> Hi Thomas,
>>> Thanks for sticking with this.
>>> Earlier today I tried deleting the database, using the ruby package from >>> yum, and re-cloning from mainline again. I also used the sample >>> gitorious.yml config with only the necessary changes to get this running. >>> None of this fixed the "NoMethodError: undefined method `wiki?' for >>> nil:NilClass" error though.
>>> 2. Another problem I have is I have to run "git submodule init" and "git >>> submodule update" in order to resolve an issue with spin.js not being >>> present.
>>> I don't know if either of these are relevant, but it can't hurt to >>> mention them.
>>> The only other thing I can think to do is a fresh install of RHEL on the >>> server (gitorious is currently the only thing on it so it's not that big of >>> a deal). Is there a possibility this could fix it? Or is it a waste of time?
>>> Thanks again.
>>> On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
>>> Hello again,
>>> I'm currently unable to recreate this. Could you do me a favor, though? >>> Run git log the app/models/repository.rb:
>>> and paste/reply what you see. I wonder if your code is fully up to date.
>>> cheers, >>> Thomas
>>> On 08/10/2012 09:14 AM, esc201 wrote:
>>> Thomas,
>>> My Ruby version is: >>> # ./ruby --version >>> ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) [x86_64-linux], >>> MBARI 0x6770, Ruby Enterprise Edition 2012.02
>>> /proc info for the processes seems to confirm that version 1.8.7 is in >>> fact being used (/opt/ruby is a symlink to my Ruby Enterprise directory).
>>>> I'm still new to Gitorious, but I think everything in there is at >>>> least relatively normal.
>>>> Would it make any difference if I'm using Ruby Enterprise?
>>>> Thanks again!
>>>> On Thursday, August 9, 2012 4:03:46 AM UTC-4, Thomas Kjeldahl Nilsson >>>> wrote:
>>>>> Hi there,
>>>>> this appears to be a bug that was introduced way back in February, but >>>>> for some reason hasn't show up anywhere else so far (that we know of!). >>>>> Perhaps something specific to your config?
>>>>> Anyway, I've pushed a fix to mainline now. Pull and let us know if it >>>>> resolves your errors.
>>>>> cheers, >>>>> Thomas
>>>>> On 08/09/2012 09:53 AM, esc201 wrote:
>>>>> Hi all,
>>>>> I just installed Gitorious (cloned from master branch on mainline) >>>>> and am getting two errors emailed to me whenever I push to any repo. If it >>>>> matters, in a failed attempt to solve this problem, I re-cloned Gitorious >>>>> just a few hours ago, but left the database and repos directory intact.
>>>>> In short, the errors are:
>>>>> NoMethodError: undefined method `gitdir' for nil:NilClass
>>>>> Strangely enough, pushing still seems to work fine. That is, the pushed code still shows up in a browser properly and git reports no errors client side.
>>>>> Any ideas?
>>>>> Thank you!
>>>>> -- >>>>> To post to this group, send email to gito...@googlegroups.com >>>>> To unsubscribe from this group, send email to >>>>> gitorious+...@googlegroups.com
I was wondering if the message is missing the project/repo data.. but it seems to be there.. Here is an example (if it helps) of a queued message when I use build in STOMP server, and not Apache ActiveMQ:
and is it most certainly not the problem with *lib/gitorious/ssh/client.rb .. *it properly splits the strainer into @project_name and @repository_name, besides, the changes are being applied to ORIGIN.. when I test pull the repo back in a different directory, the changes and git log shows everything is there..
> NoMethodError: undefined method `wiki?' for nil:NilClass
> Not sure id that makes any difference, but wiki is disabled for the > project..
> On Wednesday, October 3, 2012 4:27:15 PM UTC-4, Scott Allen wrote:
>> Any resolution on this? I am seeing the same error on a newer server that >> we have configure to replace an older one. Older environment has no >> issue. They are running the exact same gitorious code base with the >> configuration as close as possible, with the only difference really being >> the patch level of pruby.
>> NoMethodError: undefined method `wiki?' for nil:NilClass
>> -scott
>> On Tuesday, August 14, 2012 3:53:33 PM UTC-5, Thomas Kjeldahl Nilsson >> wrote:
>>> That's exactly what I was thinking, but I haven't come up with any >>> good explanation - haven't seen these symptoms before.
>>> To address your earlier thoughts on reinstalling etc. I don't think >>> reinstalling the underlying OS or dependent services makes any difference >>> here, and submodules, like you mentioned, are probably not the issue.
>>> Seems like the process is simply missing stuff in its ruby load path for >>> some reason. More specifially in the process which is picking up messages >>> from the queue. Maybe have another look at how your queue is set up?
>>> cheers,
>>> Thomas
>>> On 08/14/2012 10:17 PM, esc201 wrote:
>>> Just to see what would happen, I commented out lines 36, 37, and 38 in >>> push_processor.rb. I restarted everything, and got the error:
>>> NoMethodError: undefined method `project' for nil:NilClass
>>> It's like I'm missing some code, but I don't know what. Hmm.
>>> On Tuesday, August 14, 2012 3:52:01 AM UTC-4, esc201 wrote:
>>>> Hi Thomas,
>>>> Thanks for sticking with this.
>>>> Earlier today I tried deleting the database, using the ruby package >>>> from yum, and re-cloning from mainline again. I also used the sample >>>> gitorious.yml config with only the necessary changes to get this running. >>>> None of this fixed the "NoMethodError: undefined method `wiki?' for >>>> nil:NilClass" error though.
>>>> 2. Another problem I have is I have to run "git submodule init" and >>>> "git submodule update" in order to resolve an issue with spin.js not being >>>> present.
>>>> I don't know if either of these are relevant, but it can't hurt to >>>> mention them.
>>>> The only other thing I can think to do is a fresh install of RHEL on >>>> the server (gitorious is currently the only thing on it so it's not that >>>> big of a deal). Is there a possibility this could fix it? Or is it a waste >>>> of time?
>>>> Thanks again.
>>>> On 08/13/2012 06:14 AM, Thomas Kjeldahl Nilsson wrote:
>>>> Hello again,
>>>> I'm currently unable to recreate this. Could you do me a favor, though? >>>> Run git log the app/models/repository.rb:
>>>> and paste/reply what you see. I wonder if your code is fully up to date.
>>>> cheers,
>>>> Thomas
>>>> On 08/10/2012 09:14 AM, esc201 wrote:
>>>> Thomas,
>>>> My Ruby version is:
>>>> # ./ruby --version
>>>> ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) >>>> [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02
>>>> /proc info for the processes seems to confirm that version 1.8.7 is >>>> in fact being used (/opt/ruby is a symlink to my Ruby Enterprise directory).