CATAPULT icon indicating copy to clipboard operation
CATAPULT copied to clipboard

Error encountered when launching Course in the CTS

Open L1ncx opened this issue 2 years ago • 3 comments

I'm encountering this error when trying to launch a course I uploaded (from course_package) in the AU > Launch

imageimage

Steps to reproduce:

  1. Launch the CTS client http://127.0.0.1:3399/client/#/ and login
  2. Click New Course and upload a course from the course_package directory
  3. Test the uploaded course, create an Actor
  4. In the Assignable Units Pane, click Launch

This is my cts/.env configuration

image

I've read in the other issues that it may need to install an actual LRS, is this also the case here?

L1ncx avatar May 25 '22 23:05 L1ncx

As far as I remmember I`ve faced the same problem, and yes the link to actual LRS solved this issue. You can install it locally or use the cloud. I used LRS.io in cloud but that approach produced another kind of problems for me

artstood avatar May 26 '22 07:05 artstood

Easiest local LRS to add locally, then link your other services by adding - lrs under their depends_on

  lrs:
    environment:
      - LRSQL_API_KEY_DEFAULT=basic_secret
      - LRSQL_API_SECRET_DEFAULT=basic_secret
      - LRSQL_ADMIN_USER_DEFAULT=basic_secret
      - LRSQL_ADMIN_PASS_DEFAULT=basic_secret
      - LRSQL_DB_NAME=lrsql.sqlite.db
    image: yetanalytics/lrsql
    ports:
      - "8080:8080"
    networks:
      - public

catmeme avatar May 27 '22 01:05 catmeme

Easiest local LRS to add locally, then link your other services by adding - lrs under their depends_on

  lrs:
    environment:
      - LRSQL_API_KEY_DEFAULT=basic_secret
      - LRSQL_API_SECRET_DEFAULT=basic_secret
      - LRSQL_ADMIN_USER_DEFAULT=basic_secret
      - LRSQL_ADMIN_PASS_DEFAULT=basic_secret
      - LRSQL_DB_NAME=lrsql.sqlite.db
    image: yetanalytics/lrsql
    ports:
      - "8080:8080"
    networks:
      - public

How did you get this working with lrsql in a docker container? I have the api key and secret key and everything, but somehow i'm unable to launch to courses like in the picture for this issue. Thank you @catmeme

servosdesign avatar May 24 '23 22:05 servosdesign