Playing media files fail

Bug #898876 reported by Wesley Stout
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Critical
Raoul Snyman

Bug Description

OpenLP 1809 on Arch Linux, I get the following traceback when attemtping to go live, or preview a video. Tried with multiple files and formats that did work with OpenLP:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openlp/core/lib/mediamanageritem.py", line 466, in onClickPressed
    self.onLiveClick()
  File "/usr/lib/python2.7/site-packages/openlp/core/lib/mediamanageritem.py", line 508, in onLiveClick
    self.goLive()
  File "/usr/lib/python2.7/site-packages/openlp/core/lib/mediamanageritem.py", line 519, in goLive
    self.plugin.liveController.addServiceItem(serviceItem)
  File "/usr/lib/python2.7/site-packages/openlp/core/ui/slidecontroller.py", line 762, in addServiceItem
    self._processItem(item, slideno)
  File "/usr/lib/python2.7/site-packages/openlp/core/ui/slidecontroller.py", line 885, in _processItem
    self.onMediaStart(serviceItem)
  File "/usr/lib/python2.7/site-packages/openlp/core/ui/slidecontroller.py", line 1327, in onMediaStart
    file = os.path.join(item.get_frame_path(), item.get_frame_title())
NameError: global name 'os' is not defined

Related branches

Revision history for this message
Wesley Stout (wesleystout) wrote :

On Ubuntu 11.10 I get:

Traceback (most recent call last):
  File "/home/wesley/openlp/trunk/openlp/core/ui/servicemanager.py", line 1227, in onMakeLive
    self.makeLive()
  File "/home/wesley/openlp/trunk/openlp/core/ui/servicemanager.py", line 1246, in makeLive
    self.serviceItems[item][u'service_item'], child)
  File "/home/wesley/openlp/trunk/openlp/core/ui/slidecontroller.py", line 788, in addServiceManagerItem
    self._processItem(item, slidenum)
  File "/home/wesley/openlp/trunk/openlp/core/ui/slidecontroller.py", line 885, in _processItem
    self.onMediaStart(serviceItem)
  File "/home/wesley/openlp/trunk/openlp/core/ui/slidecontroller.py", line 1327, in onMediaStart
    file = os.path.join(item.get_frame_path(), item.get_frame_title())
NameError: global name 'os' is not defined

Changed in openlp:
milestone: none → 1.9.8
assignee: nobody → Raoul Snyman (raoul-snyman)
importance: Undecided → Critical
status: New → Fix Committed
Changed in openlp:
status: Fix Committed → Fix Released
Revision history for this message
Wesley Stout (wesleystout) wrote :

Raoul, thanks to your fix, I now have video. I had to re-enable phonon and promote it to preferred in the media settings. I however am missing audio. This is just on Arch Linux, I will check with Ubuntu when I get in from work tonight.

Revision history for this message
Wesley Stout (wesleystout) wrote :

Another addendum to the audio, I tried a pre-media re-write build and OpenLP shows up in the volume control settings, but it does not now, in gnome and of course pulse audio.

Revision history for this message
Wesley Stout (wesleystout) wrote :

ok erased my settings and all works now

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.