Search Unity

Bug CopyPackageFile failed, unable to copy unityeditor-cloud-hub-0.0.1.tgz

Discussion in 'Linux' started by markmandel, Feb 1, 2016.

  1. markmandel

    markmandel

    Joined:
    Feb 1, 2016
    Posts:
    11
    Install:
    unity-editor-5.3.1f1+20160106_amd64.deb
    Ubuntu 15.04

    I get the following error when I first load up Unity3d after my initial install - I've not been able to run it once yet, all I get is some grey screens.

    Attempting to diagnose what the issue is. It feels like a permissions issue, but I'm not sure yet.

    There is no npm-debug, even though the log says there should be more information in there.

    Log:
    mono profile = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0'
    Initialize mono
    Mono path[0] = '/opt/Unity/Editor/Data/Managed'
    Mono path[1] = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0'
    Mono path[2] = '/opt/Unity/Editor/Data/UnityScript'
    Mono path[3] = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0'
    Mono config path = '/opt/Unity/Editor/Data/Mono/etc'
    Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56441
    Desktop is 3200 x 1800 @ 60 Hz

    Selecting FBConfig
    GLX_FBCONFIG_ID=239
    GLX_BUFFER_SIZE=24
    GLX_DOUBLEBUFFER=1
    GLX_RED_SIZE=8
    GLX_GREEN_SIZE=8
    GLX_BLUE_SIZE=8
    GLX_ALPHA_SIZE=0
    GLX_DEPTH_SIZE=24
    GLX_STENCIL_SIZE=8
    GLX_SAMPLES_ARB=0
    GLX_SAMPLE_BUFFERS_ARB=0
    GLX_STEREO=0
    GLX_CONFIG_CAVEAT=NONE

    CopyPackageFile failed, unable to copy /opt/Unity/Editor/Data/Resources/Packages/unityeditor-cloud-hub-0.0.1.tgz to /home/mark/.local/share/unity3d/Packages/unityeditor-cloud-hub-0.0.1.tgz
    CopyPackageFile failed, unable to copy /opt/Unity/Editor/Data/Resources/Packages/unity-editor-home-0.0.7.tgz to /home/mark/.local/share/unity3d/Packages/unity-editor-home-0.0.7.tgz
    npm ERR! Error: Attempt to unlock unityeditor-cloud-hub-0.0.1.tgz, which hasn't been locked
    npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
    npm ERR! at cb (/usr/share/npm/lib/cache/add-local.js:30:5)
    npm ERR! at /usr/share/npm/lib/cache/add-local.js:47:20
    npm ERR! at /usr/share/npm/lib/utils/locker.js:22:20
    npm ERR! at /usr/share/npm/node_modules/inflight/inflight.js:22:7
    npm ERR! at Array.forEach (native)
    npm ERR! at res (/usr/share/npm/node_modules/inflight/inflight.js:21:9)
    npm ERR! at /usr/lib/nodejs/once.js:17:15
    npm ERR! at afterMkdir (/usr/share/npm/lib/cache/get-stat.js:53:14)
    npm ERR! at /usr/lib/nodejs/mkdirp/index.js:46:53
    npm ERR! If you need help, you may report this *entire* log,
    npm ERR! including the npm and node versions, at:
    npm ERR! <http://github.com/npm/npm/issues>

    npm ERR! System Linux 3.19.0-47-generic
    npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "unityeditor-cloud-hub-0.0.1.tgz" "unity-editor-home-0.0.7.tgz" "--cache=./.npm" "--json"
    npm ERR! cwd /opt/Unity/Editor
    npm ERR! node -v v0.10.25
    npm ERR! npm -v 1.4.21
    npm ERR! Error: EACCES, open 'npm-debug.log'
    npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
    npm ERR!
    npm ERR! Please try running this command again as root/Administrator.

    npm ERR! System Linux 3.19.0-47-generic
    npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "unityeditor-cloud-hub-0.0.1.tgz" "unity-editor-home-0.0.7.tgz" "--cache=./.npm" "--json"
    npm ERR! cwd /opt/Unity/Editor
    npm ERR! node -v v0.10.25
    npm ERR! npm -v 1.4.21
    npm ERR! path npm-debug.log
    npm ERR! code EACCES
    npm ERR! errno 3
    npm ERR! stack Error: EACCES, open 'npm-debug.log'
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /opt/Unity/Editor/npm-debug.log
    npm ERR! not ok code 0
    InstallEditorPackages failed, output:
    installJavascriptPackages failed

    (Filename: /home/builduser/buildslave/unity/build/Runtime/Utilities/Argv.cpp Line: 168)

    CreateDirectory '/home/mark/.local/share/unity3d/Unity' failed:
    [0131/174653:ERROR:gpu_process_transport_factory.cc(402)] Failed to establish GPU channel.
    Error loading file:///%2Fhome%2Fmark%2F.local%2Fshare%2Funity3d%2FPackages%2Fnode_modules%2Funity-editor-home%2Fdist/index.html#/project/recent


    (Filename: /home/builduser/buildslave/unity/build/Editor/Platform/Interface/NativeWebViewWindow.cpp Line: 50)
     
  2. markmandel

    markmandel

    Joined:
    Feb 1, 2016
    Posts:
    11
    I did a `mkdir -p /home/mark/.local/share/unity3d/Packages/` and it seems to have solved the issue.