Oracle Analytics

Get Involved. Join the Conversation.

Topic

    Roberto Espinosa
    MacOS DVD Configure Python
    Topic posted June 11, 2019 by Roberto Espinosa, last edited September 11, 2019, tagged Analysis, Machine Learning 
    111 Views, 3 Comments
    Title:
    MacOS DVD Configure Python
    Summary:
    Error when executing DVD Configure Python on Mac
    Content:

    Hi Team,

     

    I'm getting this error after installing DVD latest version (12.2.5.3.0) on my Mac:

     

    echo Downloading Installer for Python Framework;
        /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/jdk/jre/bin/java -Doracle.bi.rinstall.timedilation=1 -Doracle.bi.product.dir=/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1 -Doracle.bi.proxy.log.dir=$TMPDIR -jar /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.dvdesktop.installer/rinstall.jar -download=true -url=https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg -filePath=$TMPDIR/BiPython_Framework.pkg;open -W $TMPDIR/BiPython_Framework.pkg; /usr/bin/osascript -l JavaScript '/Applications/Oracle Data Visualization Desktop Configure Python.app/Contents/Resources/Scripts/DVDesktop_JSON_Writer.scpt';rm $TMPDIR/BiPython_Framework.pkg
    McBkPr-RES:~ robertoespinosa$ echo Downloading Installer for Python Framework;
    Downloading Installer for Python Framework
    McBkPr-RES:~ robertoespinosa$ /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/jdk/jre/bin/java -Doracle.bi.rinstall.timedilation=1 -Doracle.bi.product.dir=/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1 -Doracle.bi.proxy.log.dir=$TMPDIR -jar /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.dvdesktop.installer/rinstall.jar -download=true -url=https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg -filePath=$TMPDIR/BiPython_Framework.pkg;open -W $TMPDIR/BiPython_Framework.pkg; /usr/bin/osascript -l JavaScript '/Applications/Oracle Data Visualization Desktop Configure Python.app/Contents/Resources/Scripts/DVDesktop_JSON_Writer.scpt';rm $TMPDIR/BiPython_Framework.pkg
    Jun 11, 2019 5:00:06 PM oracle.bi.exec.ExecScript executeScript
    INFO: Executing: [/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.configutils/internetproxylookup.exe, https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg]
    Jun 11, 2019 5:00:06 PM oracle.bi.exec.ExecScript executeScript
    INFO: Logging script stderr to /var/folders/qk/7dknhwdx52vbv9ypnf2pt8q00000gn/T/proxyProvider.log

    Jun 11, 2019 5:00:06 PM oracle.bi.dvdesktop.birinstall.RInstall mainNoExitDownload
    SEVERE: Download failed: Unable to get proxy for https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg
    java.lang.RuntimeException: Unable to get proxy for https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg
        at oracle.bi.dvdesktop.birinstall.Download.copyURLtoFileWithProxy(Download.java:46)
        at oracle.bi.dvdesktop.birinstall.RInstall.mainNoExitDownload(RInstall.java:121)
        at oracle.bi.dvdesktop.birinstall.RInstall.mainExitDownload(RInstall.java:81)
        at oracle.bi.dvdesktop.birinstall.RInstall.main(RInstall.java:59)
    Caused by: oracle.bi.install.environment.ProxyException: Execution of proxy lookup command failed
        at oracle.bi.install.environment.MacProxyProvider.getProxy(MacProxyProvider.java:84)
        at oracle.bi.dvdesktop.birinstall.Download.copyURLtoFileWithProxy(Download.java:42)
        ... 3 more
    Caused by: oracle.bi.exec.ExecutionStatusException: Execution of [/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.configutils/internetproxylookup.exe, https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg] failed with exit value 139
        at oracle.bi.exec.StdinProcess.runProcess(StdinProcess.java:106)
        at oracle.bi.exec.ExecScript.executeScript(ExecScript.java:191)
        at oracle.bi.exec.ExecScript.executeQueryScript(ExecScript.java:106)
        at oracle.bi.install.environment.MacProxyProvider.getProxy(MacProxyProvider.java:82)
        ... 4 more

    Runtime exception caught mainNoExitDownload java.lang.RuntimeException: Unable to get proxy for https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg
    The file /var/folders/qk/7dknhwdx52vbv9ypnf2pt8q00000gn/T//BiPython_Framework.pkg does not exist.
    rm: /var/folders/qk/7dknhwdx52vbv9ypnf2pt8q00000gn/T//BiPython_Framework.pkg: No such file or directory

    It seems it is trying to execute a ".exe" file!

    Any ideas how to get Advanced Analytics running on Mac?

     

    Thanks

    Roberto

     

    Version:
    12.2.5.3.0

    Comment

     

    • Steve Fitzgerald

      Not sure if you still have an issue with this, but it installs fine on my Mac OS Mojave.

       

      "SEVERE: Download failed: Unable to get proxy for https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg" <=============

       

      Make sure your Proxy is correct (if needed) or disabled if not needed.

       

      Last login: Tue Jun 25 20:18:18 on ttys000
      echo Downloading Installer for Python Framework;
          /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/jdk/jre/bin/java -Doracle.bi.rinstall.timedilation=1 -Doracle.bi.product.dir=/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1 -Doracle.bi.proxy.log.dir=$TMPDIR -jar /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.dvdesktop.installer/rinstall.jar -download=true -url=https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg -filePath=$TMPDIR/BiPython_Framework.pkg;open -W $TMPDIR/BiPython_Framework.pkg; /usr/bin/osascript -l JavaScript '/Applications/Oracle Data Visualization Desktop Configure Python.app/Contents/Resources/Scripts/DVDesktop_JSON_Writer.scpt';rm $TMPDIR/BiPython_Framework.pkg
      Steves-MBP:~ steve$ echo Downloading Installer for Python Framework;
      Downloading Installer for Python Framework
      Steves-MBP:~ steve$ /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/jdk/jre/bin/java -Doracle.bi.rinstall.timedilation=1 -Doracle.bi.product.dir=/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1 -Doracle.bi.proxy.log.dir=$TMPDIR -jar /Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.dvdesktop.installer/rinstall.jar -download=true -url=https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg -filePath=$TMPDIR/BiPython_Framework.pkg;open -W $TMPDIR/BiPython_Framework.pkg; /usr/bin/osascript -l JavaScript '/Applications/Oracle Data Visualization Desktop Configure Python.app/Contents/Resources/Scripts/DVDesktop_JSON_Writer.scpt';rm $TMPDIR/BiPython_Framework.pkg
      Jun 25, 2019 8:18:34 PM oracle.bi.exec.ExecScript executeScript
      =======> INFO: Executing: [/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.configutils/internetproxylookup.exe, <====== https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg]
      Jun 25, 2019 8:18:34 PM oracle.bi.exec.ExecScript executeScript
      INFO: Logging script stderr to /var/folders/_5/zlnrkjln1jv5677wkxmr64200000gn/T/proxyProvider.log
      Jun 25, 2019 8:18:34 PM oracle.bi.install.environment.MacProxyProvider getProxy
      INFO: Proxy lookup result for URL https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg


      Proxy lookup from http://myproxyserver/wpad.dat

      Jun 25, 2019 8:18:34 PM oracle.bi.exec.ExecScript executeScript
      INFO: Executing: [/Applications/dvdesktop.app/Contents/Resources/app.nw/OracleBI1/modules/oracle.bi.configutils/internetproxylookup.exe, https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg]
      Jun 25, 2019 8:18:34 PM oracle.bi.exec.ExecScript executeScript
      INFO: Logging script stderr to /var/folders/_5/zlnrkjln1jv5677wkxmr64200000gn/T/proxyProvider.log
      Jun 25, 2019 8:18:34 PM oracle.bi.install.environment.MacProxyProvider getProxy
      INFO: Proxy lookup result for URL https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg


      Proxy lookup from http://myproxyserver/wpad.dat

      Jun 25, 2019 8:18:34 PM oracle.bi.install.validate.network.ConnectValidator validate
      INFO: Attempting to connect to https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg with timeout 30000MS, proxy DIRECT
      Jun 25, 2019 8:18:36 PM oracle.bi.install.validate.network.ConnectValidator validate
      INFO: Connected to https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg
      Downloading from https://oss.oracle.com/DVML/DVML-1.0.1-macos.pkg
      #########

       

      I hope that helps you out.

    • Vivian Liu

      I got the same error on my Mac (10.14.5 Mojave). Why should I disable proxy ? How can I disable if I like to just try ... ?

    • Alex Coker

      I am on macOS Mojave 10.14.5 and it ran successfully for me as well. I did not change any proxy to get this to work.