Rally1

Expand all | Collapse all

Connector - RallyDev to TFS connector initialize issue

Jump to Best Answer
  • 1.  Connector - RallyDev to TFS connector initialize issue

    Posted 07-10-2018 12:07 PM

    Hello,

     

    I am trying to migrate user stories, task and defects from RallyDev to TFS and we are using the Connector tool to migrate the items.  When, I run the connector from the command line (ca_agile_central2_tfs_connector.rb tfs_config.xml -1)...i am getting this error message  "undefined method `gsub' for true:TrueClass".  

     

    Also, we are following the guide line provide in the CA site...Work Item Connector for Microsoft TFS/VSTS Installation and User Guide | CA Agile Central Help 

     

     

    ca_agile_central2_tfs_connector  version: 4.8.0-11

             pid: 42104

             starting at: 2018-07-02 16:06:30 Z

             cwd: C:/Ruby22-x64/bin

             configs: tfs_config1.xml

             interval: -1

             Work Item Connector Hub    version: 1.3.0-40-origin/master

             RallyConnection      spoke version: 4.11.0 using rally_api gem version 1.2.1

             TFSConnection        spoke version: 4.8.0-11-origin/master

     

    ************************************************************************************************************

     

    [2018-07-02 16:06:30 Z]  INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log file size set to 5242880

    [2018-07-02 16:06:30 Z]  INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log files maximum count set to 10

    [2018-07-02 16:06:30 Z]   ANY : RallyEIF::WRK::ConnectorRunner.block in run - processing to commence using content from tfs_config1.xml

    [2018-07-02 16:06:34 Z]   ANY : RallyEIF::WRK::RallyConnection.initialize - Initializing Rally connection version 4.11.0

    [2018-07-02 16:06:34 Z]  INFO : RallyEIF::WRK::RallyConnection.initialize - Rally Web Services version v2.0

    [2018-07-02 16:06:34 Z]   ANY : RallyEIF::WRK::TFSConnection.initialize - Initializing  connection version 4.8.0

    [2018-07-02 16:06:34 Z]  INFO : RallyEIF::WRK::Connector.initialize - Ruby platform x64-mingw32

    [2018-07-02 16:06:34 Z]  INFO : RallyEIF::WRK::Connector.initialize - Ruby version 2.2.6

    [2018-07-02 16:06:34 Z]  INFO : RallyEIF::WRK::TFSConnection.connect - Connecting to ...

    [2018-07-02 16:06:34 Z] ERROR : RallyEIF::WRK::TFSConnection.initialize - undefined method `gsub' for true:TrueClass

    [2018-07-02 16:06:34 Z]  INFO : RallyEIF::WRK::TFSConnection.disconnect - Disconnected from TFS

    [2018-07-02 16:06:34 Z]   ANY : RallyEIF::WRK::ConnectorRunner.run_services - There was an error in processing so the Time File was not written

     

    Can some one please help us to move forward on this issue.

     

    Thanks,



  • 2.  Re: Connector - RallyDev to TFS connector initialize issue
    Best Answer

    Posted 07-25-2018 05:38 AM

    Raghu,

     

    I know there is a Support Case for this issue.

     

    The original issue seems to have been addressed by this KB article:

     

    Agile Central: TFS Connector - ERROR : RallyEIF::W - CA Knowledge 

     

    If further information becomes available via the support case we'll post it here.

     

    Michael



  • 3.  Re: Connector - RallyDev to TFS connector initialize issue

    Posted 07-25-2018 03:40 PM

    Hi Raghu,

     

    Indeed this article that Michael provided should help.

     

    You may want to change the Instance in your connector's config file to be as explained in the article. If that didn't resolve it, then please change the config to log level be 'debug', and get us the log file and config file.

     

    Thanks,

    Sagi



  • 4.  Re: Connector - RallyDev to TFS connector initialize issue

    Posted 07-26-2018 05:40 PM

    Thanks Sagi, and I am currently working with one our tech support.



  • 5.  Re: Connector - RallyDev to TFS connector initialize issue

    Posted 07-26-2018 05:41 PM

    Thank you Michael.



  • 6.  Re: Connector - RallyDev to TFS connector initialize issue

    Posted 07-26-2018 05:47 PM

    Cool. Sounds good Raghu.

     

    I think that your Ruby Gems may not be accurate. You may want to check by running a command "gem list" from a commandline prompt from where your connector is. 

     

    If you'd like you can send us the version list and it may be we'll need to send you a hot fix.

     

    Sagi