US and Worldwide: +1 (866) 660-7555
Results 1 to 4 of 4

Thread: KETTLE Queries error

  1. #1
    Join Date
    Jun 2012
    Posts
    16

    Default KETTLE Queries error

    Hi, in the Data Sources Tab of CDE, I chose "kettle over kettleTransFromFile" under KETTLE Queries but when I choose a resource and select a .ktr file, it won't let me hit 'Ok'. I attached a screenshot. Any ideas why this doesn't work?

    cdekettle.jpg

  2. #2
    Join Date
    Jul 2007
    Posts
    2,177

    Default

    Open it in a new tab, open firebug and check if there's any errors
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  3. #3
    Join Date
    Jun 2012
    Posts
    16

    Default

    When I click 'Ok', the console gives me this:


    • Uncaught TypeError: Cannot call method 'split' of undefined scripts.js:349
      • ResourceFileRenderer.extend.formatSelection scripts.js:349
      • _fileExplorer.bind.openOrNew.browse.submit scripts.js:266
      • $.prompt.$jqib.css.top scripts.js:56
      • jQuery.event.dispatch scripts.js:241
      • jQuery.event.add.elemData.handle.eventHandle scripts.js:209


    And here's scripts.js:349-352
    varKtrPathRenderer=ResourceFileRenderer.extend({getFileExtensions:function(){return".ktr";},formatSelection:function(file){varcommon=true,splitFile=file.split("/"),splitPath=cdfdd.getDashboardData().filename.split("/"),finalPath="",i=0;while(common){if(splitFile[i]!==splitPath[i]){common=false;}
    i+=1;}
    $.each(splitPath.slice(i),function(i,j){finalPath+="../";})
    finalPath+=splitFile.slice(i-1).join('/');return finalPath.replace(/\/+/g,"/");}})
    Last edited by marielb; 06-19-2012 at 02:18 PM.

  4. #4

    Default

    Hi marielb,
    i have the same error!Have you fixed it?

    Yamas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •