Skip to content

TypeError when opening the S3 import page

Sentry Issue: ARKINDEX-FRONTEND-B9P

TypeError: this.listFarms is not a function
  at handler (/arkindex/1.5.2-rc6/arkindex-users-1.5.2-rc6.js:1:1593194)
  at i (/arkindex/1.5.2-rc6/arkindex-vendors-1.5.2-rc6.js:1:85017)
  at s (/arkindex/1.5.2-rc6/arkindex-vendors-1.5.2-rc6.js:1:85101)
  at v (/arkindex/1.5.2-rc6/arkindex-vendors-1.5.2-rc6.js:1:90686)
  at T (/arkindex/1.5.2-rc6/arkindex-vendors-1.5.2-rc6.js:1:86282)
...
(15 additional frame(s) were not displayed)
  1. Open a project or a folder.
  2. Open the console.
  3. Under Actions, click on Import files from S3.
  4. Admire the error.
  5. Open the Advanced settings dropdown.
  6. Marvel at another error.
  7. Be amazed by the farm <select> which lets you pick the default farm and nothing else.
  8. Cry.

On dev builds, the frontend crashes, not responding to any click on a router-link or the browser history buttons until you switch to a different page and press F5. The error occurs twice on page load and there are four Vue warnings. Opening the file import, training process configuration, workers/dataset process configuration, or ponos agents list pages before opening this page causes the frontend to crash a little less hard, letting you recover by going to another page.