Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kolacbb2022's avatar
kolacbb2022
Honored Guest
3 years ago

Unable to upload my application to Quest (App Lab)

Here's what I've tried and failed

1. The upload button in the app is grayed out, and the MQDH cannot be uploaded

2. Using the drag and drop upload function of the latest version of MQDH, it prompts that the CLI tool does not exist or has no permission

3. Using the ovr-platform-util command line upload method, it prompts "An unexpected error occurred"

Can I get some help here?

 

The log content of ‘oc_cli_8618231871550973_2022-12-13T07-26-42-217Z.log’ is as follows

Server log: {
"app_id": 8618231871550973,
"client": "COMMAND_LINE",
"log_level": "ERROR",
"event_name": "UNEXPECTED_ERROR",
"stack_trace": "RangeError [ERR_OUT_OF_RANGE]: The value of \"offset\" is out of range. It must be >= 0 and <= 1. Received 2\n at new NodeError (node:internal/errors:371:5)\n at boundsError (node:internal/buffer:86:9)\n at Buffer.readUInt16LE (node:internal/buffer:243:5)\n at /snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js\n at Object.set extra [as extra] (/snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js)\n at p (/snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js)\n at Object.get entries [as entries] (/snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js)\n at Object.getEntries (/snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js)\n at /snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js\n at /snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js",
"extra": "{\"caught\":true,\"os\":\"{\\\"platform\\\":\\\"darwin\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Darwin\\\"}\",\"cli_version\":\"1.81.0.000001\",\"compatibility_version\":2,\"session_id\":\"8618231871550973_2022-12-13T07:26:42.217Z\",\"command\":\"upload-quest-build\",\"app_id\":8618231871550973,\"platform\":\"ANDROID_6DOF\"}",
"platform": "ANDROID_6DOF",
"cli_version": "1.81.0.000001",
"session_id": "8618231871550973_2022-12-13T07:26:42.217Z",
"binary_id": ""
}
Server log: {
"app_id": 8618231871550973,
"client": "COMMAND_LINE",
"log_level": "DEBUG",
"event_name": "COMMAND_FAILED",
"stack_trace": "at Object._log (/snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js)\nat Object.debug (/snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js)\nat /snapshot/Users/facebook/.scratch/dataZsandcastleZboxesZeden-trunk-hg-full-fbsource/edenfsZredirectionsZarvrZjsZtemp/build-ovr-platform-util/lib/ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)",
"extra": "{\"code\":\"ERR_OUT_OF_RANGE\",\"os\":\"{\\\"platform\\\":\\\"darwin\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Darwin\\\"}\",\"cli_version\":\"1.81.0.000001\",\"compatibility_version\":2,\"session_id\":\"8618231871550973_2022-12-13T07:26:42.217Z\",\"command\":\"upload-quest-build\",\"app_id\":8618231871550973,\"platform\":\"ANDROID_6DOF\"}",
"platform": "ANDROID_6DOF",
"cli_version": "1.81.0.000001",
"session_id": "8618231871550973_2022-12-13T07:26:42.217Z",
"binary_id": ""
}

 

 

7 Replies

    • kolacbb2022's avatar
      kolacbb2022
      Honored Guest

      I got the same error with sudo, according to the logs it looks like an array out of bounds exception on the server side

  • I can't get that thing to work, the only way I can upload is via the Unity plugin that comes with the SDK.

    • kolacbb2022's avatar
      kolacbb2022
      Honored Guest

      My application is a 2d application, only apk, it seems that there is no way to use the Unity plugin.

      • SlashAndBurn's avatar
        SlashAndBurn
        Expert Protege

        Wait, so your uploading a non-oculus runtime app to APPLAB?

  • Let's try to issue permissions 755.  $sudo chmod -R 755 /ovr folder/ and $sudo chmod -R 755 /build folder/