Options

Parameter 'repository entry' accesses a repository by name (//WesselDoc/data1).

wesselwessel Member Posts: 537 Maven
edited November 2018 in Help
Parameter 'repository entry' accesses a repository by name (//WesselDoc/data1). This may not be portable when sharing processes.

Dear All,

What does this warning mean?

How can I fix this warning?

Best regards,

Wessel

Answers

  • Options
    earmijoearmijo Member Posts: 270 Unicorn
    It means that if you move that directory with your data & programs to another computer, unless you name them exactly in the same way, you'll get an error message. This is because the program will look for the data in the repository //Wesel/Doc/data1. If you for instance renamed that repository Wessel2 you'll get the error.

    Bottom line: if you have no plans to work with a second computer or share your programs with somebody else you can safely ignore the warning.

    If the warning still bothers you, you can get rid of it by using relative addresses. Say your data is in //Wessel/Data and your programs in //Wessel/Programs, the right way to access your data from a program store in //Wessel/Programs is  

    ../Data/Data1

    That means "go up one directory and find the directory Data and the file Data1 inside that directory.

    If you add data to a program draggin it from the repository you will typically get that error. Instead, drag the operator Retrieve (in Repository Access ) to the workflow, click on it, and to your right on the parameters of the operator you can click on repository access. Find the dataset you want. Notice when you do this you get the option of "Resolve relative to..." the location of the program. Use it.
  • Options
    wesselwessel Member Posts: 537 Maven
    I used the retrieve operator.
    And I used the option: resolve relative to.

    I still have the warning.
  • Options
    earmijoearmijo Member Posts: 270 Unicorn
    I know what's happening. If you open a new process without saving it and you drag a dataset from a repository you will get that error. Rapidminer can't produce a relative address if it doesn't know where the program is going to be stored. If you save the process before you start doing anything you can drag datsets to the workflow and RM will figure out the correct relative address. Try it and let me know.
  • Options
    hidrowshidrows Member Posts: 1 Contributor I

    위에 막 전문적인 내용 하나도 이해 안되서 헤매다가  'save the process before you start' 이거 보고 밑져야 본전식으로 프로세스 저장하고 데이터 끌어봤는데 에러 안뜸!! 행벅

  • Options
    kypexinkypexin Moderator, RapidMiner Certified Analyst, Member Posts: 291 Unicorn
  • Options
    ThisIsVSThisIsVS Member Posts: 1 Contributor I
    My warning disappeared by doing the following.

    Add a new repository <your_new_repository_name>, add a subfolder in it named
    "Data".
    Add another subfolder named "Processes".

    Save your process in
    <your_new_repository_name> -> "Processes" subfolder.

    Import your data (e.g., xlsx or csv file), into "Data" repository.

    After doing the above tasks.
    Add Retrieve operator. 
    Go to repository entry.
    Select your dataset from the "Data" repository. 
    Tick the checkbox corresponding to "Resolve relative to".

    Click OK.



Sign In or Register to comment.