Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14051

AI262-2.7 Feedback: [student@workstation ~]$ lab start projects-concept...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Major Major
    • None
    • AI262 - RHOAI2.7-en-2-20240319
    • AI262
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/ai262-2.7/pages/ch02s02
      Reporter RHNID: bspiva
      Section Title:   h2. Guided Exercise: Data Science Projects                                                                     

      Issue description

       Description:  [student@workstation ~]$ lab start projects-concept
      Could not find modules for course gl006
      CRITICAL:root:Traceback (most recent call last):
       File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/labload.py", line 26, in loadcache
       module = importlib.import_module(course)
       File "/usr/lib64/python3.9/importlib/_init_.py", line 127, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
       File "", line 1030, in _gcd_import
       File "", line 1007, in _find_and_load
       File "", line 984, in _find_and_load_unlocked
      ModuleNotFoundError: No module named 'gl006'

      Could not find modules for course gl006
      CRITICAL:root:Traceback (most recent call last):
       File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/labload.py", line 26, in loadcache
       module = importlib.import_module(course)
       File "/usr/lib64/python3.9/importlib/_init_.py", line 127, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
       File "", line 1030, in _gcd_import
       File "", line 1007, in _find_and_load
       File "", line 984, in _find_and_load_unlocked
      ModuleNotFoundError: No module named 'gl006'

      ERROR:root:Lab script has failed due to a LabError: Script projects-concept not in course library gl006
      Traceback (most recent call last):
       File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/lab.py", line 235, in start
       grading = labload.import_grading_library(config, script)
       File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/labload.py", line 130, in import_grading_library
       raise LabError("Script %s not in course library %s" % (name, course))
      labs.laberrors.LabError: Script projects-concept not in course library gl006

      An error has occurred. For more details, run: lab logs projects-concept 

      Steps to reproduce:

      Users are unable to start the "projects-concept" lab due to missing modules for the course 'gl006'. The system throws a ModuleNotFoundError indication that the module 'gl006' could not be found, followed by a LabError stating that the "projects-concept" script is not present in the course library 'gl006'. This issue needs to be addressed to ensure the lab script runs correctly.

      I am able to reproduce the issue.  Please review

      Workaround:

       

      Expected result:

            asernabo@redhat.com Alejandro Serna-Borja
            shasingh01 Shashi Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: