Uploaded image for project: 'Opencast'
  1. MH-12245

Theodul - Debug logging should be more verbose

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: 3.3
    • Fix versions: None
    • Components: Player
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      In attempting to debug MH-11961, I have hit several situations where Theodul does not load properly, and throws me to the error page (An error occurred. Please reload the page.) I attempted to use the debug logging in Theodul to diagnose why I was getting this page, but the logging does not make what's going wrong clear. As an example, this logging was generated by a recording that sent me to the error page:

      Controls: selecting language en-GB
      core.js:626 Core: Position of the controls is bottom
      core.js:626 Core: Loading plugin 'EngagePluginCustomUsertracking' from '../../../plugin/10/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginCustomNotifications' from '../../../plugin/2/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginCustomMhConnection' from '../../../plugin/8/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginCustomPiwik' from '../../../plugin/9/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginDescription' from '../../../plugin/5/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginTabDescription' from '../../../plugin/6/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginTimelineStatistics' from '../../../plugin/1/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginVideoVideoJS' from '../../../plugin/3/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginTabSlidetext' from '../../../plugin/4/static/'...
      core.js:626 Core: Loading plugin 'EngagePluginTabShortcuts' from '../../../plugin/7/static/'...
      core.js:626 Piwik: tracking not configured
      core.js:626 MhConnection: Init
      core.js:626 Notifications: Init
      core.js:626 Tab:Shortcuts: Init
      core.js:626 Tab:Slidetext: Init
      core.js:626 Video: Init
      core.js:626 Tab:Description: Init
      core.js:626 MhConnection: InfoMeModel loaded
      core.js:626 MhConnection: MediaPackageModel loaded
      core.js:626 TabLogic: Sorting tabs alphabetically
      core.js:626 TabLogic: Restoring tab positions from cookie
      core.js:626 TabLogic: No tab content saved for tabs0
      core.js:626 TabLogic: No tab content saved for tabs1
      core.js:626 TabLogic: No tab content saved for tabs2
      core.js:626 TabLogic: Reactiving last selected tab from cookie
      core.js:626 TabLogic: Activating tab #1
      core.js:626 TabLogic: Adding click and enter behaviour to tabs
      core.js:626 TabLogic: Activating dragging of tabs
      core.js:626 Core: No controls plugin inserted. Removing the container.
      core.js:626 Core: No timeline plugin inserted. Removing the container.
      core.js:626 MhConnection: Plugin load done
      core.js:626 Notifications: Plugin load done
      core.js:626 Tab:Shortcuts: Plugin load done
      core.js:626 Tab:Slidetext: Plugin load done
      core.js:626 Video: Plugin load done
      core.js:626 Tab:Description: Plugin load done
      core.js:626 MhConnection: ViewsModel loaded
      core.js:626 Notifications: Utils class loaded
      core.js:626 Controls: selecting language en-GB
      core.js:626 Notifications: Lib alertify loaded
      core.js:626 Tab:Slidetext: Segment class loaded
      core.js:626 Tab:Slidetext: Utils class loaded
      core.js:626 Controls: selecting language en-GB
      core.js:626 Video: VideoData model loaded
      core.js:626 Video: Utils class loaded
      core.js:626 Controls: selecting language en-GB
      core.js:626 Video: Lib synchronize loaded
      core.js:626 Notifications: Successfully translated.
      core.js:626 MhConnection: FootprintCollection loaded
      core.js:626 Controls: selecting language en-GB
      core.js:626 MhConnection: Init InfoMe model
      core.js:626 MhConnection: Updating InfoMe model
      core.js:626 MhConnection: Init MediaPackage model
      core.js:626 MhConnection: Updating MediaPackage model
      core.js:626 Controls: selecting language en-GB
      core.js:626 Controls: selecting language en-GB
      core.js:626 MhConnection: Init Views model
      core.js:626 MhConnection: Adding user to viewers
      core.js:626 Controls: selecting language en-GB
      core.js:626 Tab:Slidetext: Successfully translated.
      core.js:626 Video: Successfully translated.
      core.js:626 Video: Lib video loaded
      core.js:626 Video: Init Plugin
      core.js:626 Video: Video Plugin inserted
      core.js:626 Video: SWF path: lib/video-js/video-js.swf
      core.js:626 Video: Mediapackage already available.
      core.js:626 Video: Setting up streams
      core.js:626 Video: Master video type is 'presenter/delivery'
      core.js:626 MhConnection: Username found: admin
      core.js:626 MhConnection: User has one or more roles.
      core.js:626 MhConnection: Updating views model
      core.js:626 Video: Setting up streams
      core.js:626 Video: Master video type is 'presenter/delivery'
      core.js:626 Video: Setting up streams
      core.js:626 Video: Master video type is 'presenter/delivery'
      core.js:626 Video: Extracted flavors: presenter/preview
      core.js:626 Video: Extracted mimetypes: video/mp4
      core.js:626 Video: Adding video source: https://octestallinone.virtuos.uos.de/static/mh_default_org/engage-player/b…0b6-bba1-6fd35315273d/2c1d7c4c-cf26-4dc6-93af-6745bb6dc490/ToS_4k_1920.mp4 (video/mp4)
      core.js:626 Video: Extracted video displays: videojs_videodisplay_presenter
      core.js:626 Video: The video data model changed, refreshing the view.
      core.js:626 Video: Rendering video displays
      core.js:626 Video: Calculating Aspect ratio
      core.js:626 Video: Calculated aspect ratio: 1920x800,1920,800
      core.js:626 Video: Rendering for desktop view
      core.js:626 Video: Preparing video.js video displays globally.
      core.js:626 Video: Initializing video.js-display videojs_videodisplay_presenter
      core.js:626 Video: Loaded flash component
      core.js:626 Video: Aspect ratio: 1920x800 == 240
      main.js:1240 b {player_: b, options_: Object, id_: "videojs_videodisplay_presenter", name_: null, children_: Array(9)…}
      core.js:626 Video: Loading Captions.
      core.js:626 MhConnection: Mediapackage Data change event thrown

      Note that there is no conclusive "This is what's broken" message. It would be extremely helpful if the logic that loads the error page also output at least some hint of what caused the issue :)
      Show
      In attempting to debug MH-11961 , I have hit several situations where Theodul does not load properly, and throws me to the error page (An error occurred. Please reload the page.) I attempted to use the debug logging in Theodul to diagnose why I was getting this page, but the logging does not make what's going wrong clear. As an example, this logging was generated by a recording that sent me to the error page: Controls: selecting language en-GB core.js:626 Core: Position of the controls is bottom core.js:626 Core: Loading plugin 'EngagePluginCustomUsertracking' from '../../../plugin/10/static/'... core.js:626 Core: Loading plugin 'EngagePluginCustomNotifications' from '../../../plugin/2/static/'... core.js:626 Core: Loading plugin 'EngagePluginCustomMhConnection' from '../../../plugin/8/static/'... core.js:626 Core: Loading plugin 'EngagePluginCustomPiwik' from '../../../plugin/9/static/'... core.js:626 Core: Loading plugin 'EngagePluginDescription' from '../../../plugin/5/static/'... core.js:626 Core: Loading plugin 'EngagePluginTabDescription' from '../../../plugin/6/static/'... core.js:626 Core: Loading plugin 'EngagePluginTimelineStatistics' from '../../../plugin/1/static/'... core.js:626 Core: Loading plugin 'EngagePluginVideoVideoJS' from '../../../plugin/3/static/'... core.js:626 Core: Loading plugin 'EngagePluginTabSlidetext' from '../../../plugin/4/static/'... core.js:626 Core: Loading plugin 'EngagePluginTabShortcuts' from '../../../plugin/7/static/'... core.js:626 Piwik: tracking not configured core.js:626 MhConnection: Init core.js:626 Notifications: Init core.js:626 Tab:Shortcuts: Init core.js:626 Tab:Slidetext: Init core.js:626 Video: Init core.js:626 Tab:Description: Init core.js:626 MhConnection: InfoMeModel loaded core.js:626 MhConnection: MediaPackageModel loaded core.js:626 TabLogic: Sorting tabs alphabetically core.js:626 TabLogic: Restoring tab positions from cookie core.js:626 TabLogic: No tab content saved for tabs0 core.js:626 TabLogic: No tab content saved for tabs1 core.js:626 TabLogic: No tab content saved for tabs2 core.js:626 TabLogic: Reactiving last selected tab from cookie core.js:626 TabLogic: Activating tab #1 core.js:626 TabLogic: Adding click and enter behaviour to tabs core.js:626 TabLogic: Activating dragging of tabs core.js:626 Core: No controls plugin inserted. Removing the container. core.js:626 Core: No timeline plugin inserted. Removing the container. core.js:626 MhConnection: Plugin load done core.js:626 Notifications: Plugin load done core.js:626 Tab:Shortcuts: Plugin load done core.js:626 Tab:Slidetext: Plugin load done core.js:626 Video: Plugin load done core.js:626 Tab:Description: Plugin load done core.js:626 MhConnection: ViewsModel loaded core.js:626 Notifications: Utils class loaded core.js:626 Controls: selecting language en-GB core.js:626 Notifications: Lib alertify loaded core.js:626 Tab:Slidetext: Segment class loaded core.js:626 Tab:Slidetext: Utils class loaded core.js:626 Controls: selecting language en-GB core.js:626 Video: VideoData model loaded core.js:626 Video: Utils class loaded core.js:626 Controls: selecting language en-GB core.js:626 Video: Lib synchronize loaded core.js:626 Notifications: Successfully translated. core.js:626 MhConnection: FootprintCollection loaded core.js:626 Controls: selecting language en-GB core.js:626 MhConnection: Init InfoMe model core.js:626 MhConnection: Updating InfoMe model core.js:626 MhConnection: Init MediaPackage model core.js:626 MhConnection: Updating MediaPackage model core.js:626 Controls: selecting language en-GB core.js:626 Controls: selecting language en-GB core.js:626 MhConnection: Init Views model core.js:626 MhConnection: Adding user to viewers core.js:626 Controls: selecting language en-GB core.js:626 Tab:Slidetext: Successfully translated. core.js:626 Video: Successfully translated. core.js:626 Video: Lib video loaded core.js:626 Video: Init Plugin core.js:626 Video: Video Plugin inserted core.js:626 Video: SWF path: lib/video-js/video-js.swf core.js:626 Video: Mediapackage already available. core.js:626 Video: Setting up streams core.js:626 Video: Master video type is 'presenter/delivery' core.js:626 MhConnection: Username found: admin core.js:626 MhConnection: User has one or more roles. core.js:626 MhConnection: Updating views model core.js:626 Video: Setting up streams core.js:626 Video: Master video type is 'presenter/delivery' core.js:626 Video: Setting up streams core.js:626 Video: Master video type is 'presenter/delivery' core.js:626 Video: Extracted flavors: presenter/preview core.js:626 Video: Extracted mimetypes: video/mp4 core.js:626 Video: Adding video source: https://octestallinone.virtuos.uos.de/static/mh_default_org/engage-player/b …0b6-bba1-6fd35315273d/2c1d7c4c-cf26-4dc6-93af-6745bb6dc490/ToS_4k_1920.mp4 (video/mp4) core.js:626 Video: Extracted video displays: videojs_videodisplay_presenter core.js:626 Video: The video data model changed, refreshing the view. core.js:626 Video: Rendering video displays core.js:626 Video: Calculating Aspect ratio core.js:626 Video: Calculated aspect ratio: 1920x800,1920,800 core.js:626 Video: Rendering for desktop view core.js:626 Video: Preparing video.js video displays globally. core.js:626 Video: Initializing video.js-display videojs_videodisplay_presenter core.js:626 Video: Loaded flash component core.js:626 Video: Aspect ratio: 1920x800 == 240 main.js:1240 b {player_: b, options_: Object, id_: "videojs_videodisplay_presenter", name_: null, children_: Array(9)…} core.js:626 Video: Loading Captions. core.js:626 MhConnection: Mediapackage Data change event thrown Note that there is no conclusive "This is what's broken" message. It would be extremely helpful if the logic that loads the error page also output at least some hint of what caused the issue :)

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              greg_logan Greg Logan
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                TestRail: Cases