You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by jozsefhabit <gi...@git.apache.org> on 2016/09/09 15:41:19 UTC

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

GitHub user jozsefhabit opened an issue:

    https://github.com/apache/incubator-predictionio/issues/293

    io.prediction#core_2.10;0.10.0-SNAPSHOT: not found

    Hi there, after running a pio build from the latest devel tree i got this error:
    ...
    [info] Resolving io.prediction#core_2.10;0.10.0-SNAPSHOT ...
    [INFO] [Console$] [warn] 	module not found: io.prediction#core_2.10;0.10.0-SNAPSHOT
    [INFO] [Console$] [warn] ==== local: tried
    [INFO] [Console$] [warn]   /home/predio/.ivy2/local/io.prediction/core_2.10/0.10.0-SNAPSHOT/ivys/ivy.xml
    [INFO] [Console$] [warn] ==== public: tried
    [INFO] [Console$] [warn]   https://repo1.maven.org/maven2/io/prediction/core_2.10/0.10.0-SNAPSHOT/core_2.10-0.10.0-SNAPSHOT.pom
    [INFO] [Console$] [warn] ==== Maven2 Local: tried
    [INFO] [Console$] [warn]   file:/home/predio/.m2/repository/io/prediction/core_2.10/0.10.0-SNAPSHOT/core_2.10-0.10.0-SNAPSHOT.pom
    ...
    [INFO] [Console$] [error] (*:update) sbt.ResolveException: unresolved dependency: io.prediction#core_2.10;0.10.0-SNAPSHOT: not found
    
    Thanks!

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by chanlee514 <gi...@git.apache.org>.
Github user chanlee514 commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    Hi, please redirect usage questions to user@predictionio.incubator.apache.org for more exposure to the rest of the community. Also, could you tell me which engine template you are using? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by arthare <gi...@git.apache.org>.
Github user arthare commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    @infoquestsolutions
    @jozsefhabit
    
    Managed to fix the SimilarProduct template.
    
    built.sbt needed to be modified to:
    ```
    import AssemblyKeys._
    
    assemblySettings
    
    name := "template-scala-parallel-similarproduct"
    
    organization := "io.prediction"
    
    parallelExecution in Test := false
    
    test in assembly := {}
    
    libraryDependencies ++= Seq(
      "org.apache.predictionio"    %% "apache-predictionio-core"          % pioVersion.value % "provided",
      "org.apache.spark" %% "spark-core"    % "1.3.0" % "provided",
      "org.apache.spark" %% "spark-mllib"   % "1.3.0" % "provided",
      "org.scalatest"    %% "scalatest"     % "2.2.1" % "test")
    ```
    
    And each .scala file needed to have its `import` statements modified:
    `io.prediction.controller.P2LAlgorithm` -> `org.apache.predictionio.controller.P2LAlgorithm`
    
    Then you should be able to `pio build` again.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by jozsefhabit <gi...@git.apache.org>.
Github user jozsefhabit commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    Hi Chan, thanks, i've forwarded the issue to the email address you mentioned. The template is the UR, release 0.2.3 (https://github.com/PredictionIO/template-scala-parallel-universal-recommendation)



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by akskap <gi...@git.apache.org>.
Github user akskap commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    I was able to get past this error:
    
    Made following changes in the template directory files:
    
    1) Deleted project/pio-build.sbt
    
    2) Modified template.json 
    ```
    -{"pio": {"version": { "min": "0.9.0" }}}
    +{"pio": {"version": { "min": "0.10.0-incubating" }}}
    ```
    3) Modified build.sbt
    ```
    -  "io.prediction"    %% "core"          % pioVersion.value % "provided",
    +  "org.apache.predictionio"    %% "apache-predictionio-core"   % "0.10.0-incubating" % "provided",
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by fones <gi...@git.apache.org>.
Github user fones commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    I think, the same fix can be applied here:
    https://github.com/apache/incubator-predictionio/issues/312
    https://github.com/apache/incubator-predictionio-template-recommender/issues/11
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by mohan-chinnappan-n <gi...@git.apache.org>.
Github user mohan-chinnappan-n commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    ### Here is the scripts to do this patch for: LeadScoringEngine template
    
    ```
    $ pwd
    ~/deep-learning/MyLeadScoring
    
    # make a backup of the build.sbt
    
    
    $ cp build.sbt build-bak.sbt
    
    # apply patch to build.sbt file
    $ cat build-bak.sbt |  sed s/"io.prediction"/"org.apache.predictionio"/g  | sed 's# "core"# "apache-predictionio-core"#' > build.sbt
    
    
    # go the scala folder
    $ cd src/main/scala/
    $ pwd
     ~/deep-learning/MyLeadScoring/src/main/scala
    
    # apply patch the scala source files
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g DataSource.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g Engine.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g Preparator.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g RFAlgorithm.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g Serving.scala
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by infoquestsolutions <gi...@git.apache.org>.
Github user infoquestsolutions commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    @jozsefhabit Have you found solution. As i am facing same problem.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by gongsy945 <gi...@git.apache.org>.
Github user gongsy945 commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    unresolved dependency: io.prediction#core_2.10;0.10.0-incubating: not found


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by akskap <gi...@git.apache.org>.
Github user akskap commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    @gongsy945 Facing the same error. Were you able to get this resolved ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by saurabh21289 <gi...@git.apache.org>.
Github user saurabh21289 commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    The fix suggested by @arthare worked for me \U0001f44d 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Posted by arthare <gi...@git.apache.org>.
Github user arthare commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    Looks like it has something to do with the renaming to the incubator.  In my ~/.ivy2/local directory, there's a `org.apache.predictionio` directory rather than the `io.prediction` directory it was expecting.  Don't have a solution yet, but that's a big hint.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---