Mediainfo in Windows trunk results in traceback

Bug #1591749 reported by Azaziah on 2016-06-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raoul Snyman

Bug Description

If Mediainfo.exe is placed in OpenLP folder on Windows, the following traceback appears on startup:

Traceback (most recent call last):
  File "", line 44, in <module>
  File "E:\bzr\openlp\trunk\openlp\core\", line 392, in main
  File "E:\bzr\openlp\trunk\openlp\core\", line 142, in run
  File "E:\bzr\openlp\trunk\openlp\core\common\", line 137, in execute
    result = function(*args, **kwargs)
  File "E:\bzr\openlp\trunk\openlp\core\lib\", line 60, in bootstrap_initialise
  File "E:\bzr\openlp\trunk\openlp\core\lib\", line 124, in hook_media_manager
  File "E:\bzr\openlp\trunk\openlp\core\lib\", line 203, in create_media_manager_item
    self.media_item = self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
  File "E:\bzr\openlp\trunk\openlp\plugins\media\lib\", line 58, in __init__
    super(MediaMediaItem, self).__init__(parent, plugin)
  File "E:\bzr\openlp\trunk\openlp\core\lib\", line 82, in __init__
  File "E:\bzr\openlp\trunk\openlp\core\lib\", line 104, in _setup
  File "E:\bzr\openlp\trunk\openlp\core\lib\", line 153, in setupUi
  File "E:\bzr\openlp\trunk\openlp\plugins\media\lib\", line 153, in add_end_header_bar
AttributeError: 'MediaMediaItem' object has no attribute 'replace_action_context'

Trunk rev 2674, Win 8.1 64 bit.

Related branches

Phill (phill-ridout) on 2016-10-03
Changed in openlp:
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Phill (phill-ridout)
Phill (phill-ridout) wrote :

This bug has vanished for me! There's nothing I've done differently as far as I know. But after further investigation I found you need to run OpenLP from the foleder is in.

Changed in openlp:
status: In Progress → New
assignee: Phill (phill-ridout) → nobody
Raoul Snyman (raoul-snyman) wrote :

I get this exception on macOS ALL. THE. TIME. I don't know exactly what causes it, I don't think it's MediaInfo, I think it's a refactor that went wrong, but connected to some initialisation thing.

Changed in openlp:
status: New → Confirmed
Tim Bentley (trb143) on 2016-12-17
Changed in openlp:
status: Confirmed → Fix Committed
milestone: none → 2.5.1
assignee: nobody → Raoul Snyman (raoul-snyman)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers