Hi! I just began using RoR and CC.rb. I tried to configure CC. The project was properly checked out, but when I''m trying to force the build, the following message appears: svn: Synthax error on revision argument ''HEAD:'' [error] undefined method `number'' for nil:NilClass [error] undefined method `number'' for nil:NilClass [error] wrong number of arguments (1 for 0) Build loop failed RuntimeError: Errors in plugins: MinimalConsoleLogger: undefined method `number'' for nil:NilClass ProjectLogger: undefined method `number'' for nil:NilClass ./script/../config/../app/models/project.rb:270:in `notify'' ./script/../config/../app/models/project.rb:157:in `build_if_necessary'' ./script/../config/../app/models/polling_scheduler.rb:13:in `run'' ./script/builder:78 ./script/builder:77:in `catch'' ./script/builder:77 cruise:13:in `load'' cruise:13:in `builder'' cruise:65:in `send'' cruise:65 could you help me please ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070326/97c13b94/attachment.html
I don''t know what that specific error is. Does CC.rb run on a different machine? Some things that I had to do to get everything going were: * Setup the database for that machine * Make sure all gems were install * Make sure all plugins were properly checked out Any of those ring a bell? Sean On 3/26/07, Frederic Pernias <frederic.pernias at gmail.com> wrote:> Hi! > I just began using RoR and CC.rb. I tried to configure CC. The project was > properly checked out, but when I''m trying to force the build, the following > message appears: > > svn: Synthax error on revision argument ''HEAD:'' > [error] undefined method `number'' for nil:NilClass > [error] undefined method `number'' for nil:NilClass > [error] wrong number of arguments (1 for 0) > Build loop failed > RuntimeError: Errors in plugins: > MinimalConsoleLogger: undefined method `number'' for nil:NilClass > ProjectLogger: undefined method `number'' for nil:NilClass > ./script/../config/../app/models/project.rb:270:in > `notify'' > ./script/../config/../app/models/project.rb:157:in > `build_if_necessary'' > > ./script/../config/../app/models/polling_scheduler.rb:13:in > `run'' > ./script/builder:78 > ./script/builder:77:in `catch'' > ./script/builder:77 > cruise:13:in `load'' > cruise:13:in `builder'' > cruise:65:in `send'' > cruise:65 > > could you help me please ? > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >
Sean, CC.rb runs on my dev machine. I successfully launch and browse my project using ruby script/server: C:\cruisecontrolrb-1.0.0\projects\testproject\work\ruby script\server. the testproject_builder.log contains those traces: [error] undefined method `number'' for nil:NilClass [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected'' [error] ./script/../config/../app/models/project.rb:245:in `send'' [error] ./script/../config/../app/models/project.rb:245:in `notify'' [error] ./script/../config/../app/models/project.rb:243:in `collect'' [error] ./script/../config/../app/models/project.rb:243:in `notify'' [error] ./script/../config/../app/models/project.rb:157:in `build_if_necessary'' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run'' [error] ./script/builder:78 [error] ./script/builder:77:in `catch'' [error] ./script/builder:77 [error] cruise:13:in `load'' [error] cruise:13:in `builder'' [error] cruise:65:in `send'' [error] cruise:65 [error] wrong number of arguments (1 for 0) [error] ./script/../config/../app/models/project.rb:245:in `build_loop_failed'' [error] ./script/../config/../app/models/project.rb:245:in `send'' [error] ./script/../config/../app/models/project.rb:245:in `notify'' [error] ./script/../config/../app/models/project.rb:243:in `collect'' [error] ./script/../config/../app/models/project.rb:243:in `notify'' [error] ./script/../config/../app/models/project.rb:161:in `build_if_necessary'' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run'' [error] ./script/builder:78 [error] ./script/builder:77:in `catch'' [error] ./script/builder:77 [error] cruise:13:in `load'' [error] cruise:13:in `builder'' [error] cruise:65:in `send'' [error] cruise:65 [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected'' => def new_revisions_detected(new_revisions) CruiseControl::Log.event("New revision #{new_revisions.last.number} detected") end new_revisions.last seems to be nil :( On 3/26/07, Sean Hussey <seanhussey at gmail.com> wrote:> > I don''t know what that specific error is. Does CC.rb run on a > different machine? Some things that I had to do to get everything > going were: > > * Setup the database for that machine > * Make sure all gems were install > * Make sure all plugins were properly checked out > > Any of those ring a bell? > > Sean > > On 3/26/07, Frederic Pernias <frederic.pernias at gmail.com> wrote: > > Hi! > > I just began using RoR and CC.rb. I tried to configure CC. The project > was > > properly checked out, but when I''m trying to force the build, the > following > > message appears: > > > > svn: Synthax error on revision argument ''HEAD:'' > > [error] undefined method `number'' for nil:NilClass > > [error] undefined method `number'' for nil:NilClass > > [error] wrong number of arguments (1 for 0) > > Build loop failed > > RuntimeError: Errors in plugins: > > MinimalConsoleLogger: undefined method `number'' for nil:NilClass > > ProjectLogger: undefined method `number'' for nil:NilClass > > ./script/../config/../app/models/project.rb:270:in > > `notify'' > > ./script/../config/../app/models/project.rb:157:in > > `build_if_necessary'' > > > > ./script/../config/../app/models/polling_scheduler.rb:13:in > > `run'' > > ./script/builder:78 > > ./script/builder:77:in `catch'' > > ./script/builder:77 > > cruise:13:in `load'' > > cruise:13:in `builder'' > > cruise:65:in `send'' > > cruise:65 > > > > could you help me please ? > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070326/831cfb13/attachment.html
Do you have a non-English locale? If you do, it''s a known bug that will be fixed in the next release, before the end of this week. So, please just wait a couple of days. Or get the CC.rb trunk and see if it fixes the problem. If the next release or trunk doesn''t fix your problem, we''ll figure it out. Alex "Frederic Pernias" <frederic.pernias at gmail.com> Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/26/2007 02:36 PM To "Sean Hussey" <seanhussey at gmail.com> cc cruisecontrolrb-users at rubyforge.org Subject Re: [Cruisecontrolrb-users] svn error Sean, CC.rb runs on my dev machine. I successfully launch and browse my project using ruby script/server: C:\cruisecontrolrb-1.0.0\projects\testproject\work\ruby script\server. the testproject_builder.log contains those traces: [error] undefined method `number'' for nil:NilClass [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected'' [error] ./script/../config/../app/models/project.rb:245:in `send'' [error] ./script/../config/../app/models/project.rb:245:in `notify'' [error] ./script/../config/../app/models/project.rb:243:in `collect'' [error] ./script/../config/../app/models/project.rb:243:in `notify'' [error] ./script/../config/../app/models/project.rb:157:in `build_if_necessary'' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run'' [error] ./script/builder:78 [error] ./script/builder:77:in `catch'' [error] ./script/builder:77 [error] cruise:13:in `load'' [error] cruise:13:in `builder'' [error] cruise:65:in `send'' [error] cruise:65 [error] wrong number of arguments (1 for 0) [error] ./script/../config/../app/models/project.rb:245:in `build_loop_failed'' [error] ./script/../config/../app/models/project.rb:245:in `send'' [error] ./script/../config/../app/models/project.rb:245:in `notify'' [error] ./script/../config/../app/models/project.rb:243:in `collect'' [error] ./script/../config/../app/models/project.rb:243:in `notify'' [error] ./script/../config/../app/models/project.rb:161:in `build_if_necessary'' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run'' [error] ./script/builder:78 [error] ./script/builder:77:in `catch'' [error] ./script/builder:77 [error] cruise:13:in `load'' [error] cruise:13:in `builder'' [error] cruise:65:in `send'' [error] cruise:65 [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected'' => def new_revisions_detected(new_revisions) CruiseControl::Log.event("New revision #{new_revisions.last.number} detected") end new_revisions.last seems to be nil :( On 3/26/07, Sean Hussey <seanhussey at gmail.com> wrote: I don''t know what that specific error is. Does CC.rb run on a different machine? Some things that I had to do to get everything going were: * Setup the database for that machine * Make sure all gems were install * Make sure all plugins were properly checked out Any of those ring a bell? Sean On 3/26/07, Frederic Pernias < frederic.pernias at gmail.com> wrote:> Hi! > I just began using RoR and CC.rb. I tried to configure CC. The projectwas> properly checked out, but when I''m trying to force the build, thefollowing> message appears: > > svn: Synthax error on revision argument ''HEAD:'' > [error] undefined method `number'' for nil:NilClass > [error] undefined method `number'' for nil:NilClass > [error] wrong number of arguments (1 for 0) > Build loop failed > RuntimeError: Errors in plugins: > MinimalConsoleLogger: undefined method `number'' for nil:NilClass > ProjectLogger: undefined method `number'' for nil:NilClass > ./script/../config/../app/models/project.rb:270:in > `notify'' > ./script/../config/../app/models/project.rb:157:in > `build_if_necessary'' > > ./script/../config/../app/models/polling_scheduler.rb:13:in > `run'' > ./script/builder:78 > ./script/builder:77:in `catch'' > ./script/builder:77 > cruise:13:in `load'' > cruise:13:in `builder'' > cruise:65:in `send'' > cruise:65 > > could you help me please ? > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070326/f7f9922c/attachment-0001.html
Yep, my local is french. I''ll wait! Thank you! Fred On 3/27/07, Alexey Verkhovsky <averkhov at thoughtworks.com> wrote:> > > Do you have a non-English locale? If you do, it''s a known bug that will be > fixed in the next release, before the end of this week. So, please just wait > a couple of days. > Or get the CC.rb trunk and see if it fixes the problem. > > If the next release or trunk doesn''t fix your problem, we''ll figure it > out. > > Alex > > > > > *"Frederic Pernias" <frederic.pernias at gmail.com>* > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > > 03/26/2007 02:36 PM > To > "Sean Hussey" <seanhussey at gmail.com> cc > cruisecontrolrb-users at rubyforge.org Subject > Re: [Cruisecontrolrb-users] svn error > > > > > Sean, > CC.rb runs on my dev machine. I successfully launch and browse my project > using ruby script/server: > C:\cruisecontrolrb-1.0.0\projects\testproject\work\ruby script\server. > > the testproject_builder.log contains those traces: > > [error] undefined method `number'' for nil:NilClass > [error] > ./script/../config/../builder_plugins/installed/project_logger.rb:33:in > `new_revisions_detected'' > [error] ./script/../config/../app/models/project.rb:245:in `send'' > [error] ./script/../config/../app/models/project.rb:245:in `notify'' > [error] ./script/../config/../app/models/project.rb:243:in `collect'' > [error] ./script/../config/../app/models/project.rb:243:in `notify'' > [error] ./script/../config/../app/models/project.rb:157:in > `build_if_necessary'' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run'' > [error] ./script/builder:78 > [error] ./script/builder:77:in `catch'' > [error] ./script/builder:77 > [error] cruise:13:in `load'' > [error] cruise:13:in `builder'' > [error] cruise:65:in `send'' > [error] cruise:65 > [error] wrong number of arguments (1 for 0) > [error] ./script/../config/../app/models/project.rb:245:in > `build_loop_failed'' > [error] ./script/../config/../app/models/project.rb:245:in `send'' > [error] ./script/../config/../app/models/project.rb:245:in `notify'' > [error] ./script/../config/../app/models/project.rb:243:in `collect'' > [error] ./script/../config/../app/models/project.rb:243:in `notify'' > [error] ./script/../config/../app/models/project.rb:161:in > `build_if_necessary'' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run'' > [error] ./script/builder:78 > [error] ./script/builder:77:in `catch'' > [error] ./script/builder:77 > [error] cruise:13:in `load'' > [error] cruise:13:in `builder'' > [error] cruise:65:in `send'' > [error] cruise:65 > > > [error] > ./script/../config/../builder_plugins/installed/project_logger.rb:33:in > `new_revisions_detected'' > => > def new_revisions_detected(new_revisions) > CruiseControl::Log.event("New revision #{new_revisions.last.number} > detected") > end > > new_revisions.last seems to be nil :( > > > > On 3/26/07, *Sean Hussey* <*seanhussey at gmail.com* <seanhussey at gmail.com>> > wrote: > I don''t know what that specific error is. Does CC.rb run on a > different machine? Some things that I had to do to get everything > going were: > > * Setup the database for that machine > * Make sure all gems were install > * Make sure all plugins were properly checked out > > Any of those ring a bell? > > Sean > > On 3/26/07, Frederic Pernias < *frederic.pernias at gmail.com*<frederic.pernias at gmail.com>> > wrote: > > Hi! > > I just began using RoR and CC.rb. I tried to configure CC. The project > was > > properly checked out, but when I''m trying to force the build, the > following > > message appears: > > > > svn: Synthax error on revision argument ''HEAD:'' > > [error] undefined method `number'' for nil:NilClass > > [error] undefined method `number'' for nil:NilClass > > [error] wrong number of arguments (1 for 0) > > Build loop failed > > RuntimeError: Errors in plugins: > > MinimalConsoleLogger: undefined method `number'' for nil:NilClass > > ProjectLogger: undefined method `number'' for nil:NilClass > > ./script/../config/../app/models/project.rb:270:in > > `notify'' > > ./script/../config/../app/models/project.rb:157:in > > `build_if_necessary'' > > > > ./script/../config/../app/models/polling_scheduler.rb:13:in > > `run'' > > ./script/builder:78 > > ./script/builder:77:in `catch'' > > ./script/builder:77 > > cruise:13:in `load'' > > cruise:13:in `builder'' > > cruise:65:in `send'' > > cruise:65 > > > > could you help me please ? > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > *Cruisecontrolrb-users at rubyforge.org*<Cruisecontrolrb-users at rubyforge.org> > > *http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users*<http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users> > > > > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070327/0cd24c88/attachment.html