[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-03-21 Thread Tim Bentley
** Changed in: openlp
Milestone: None => 2.9.1

** Changed in: openlp
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Fix Committed

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-03-18 Thread Tim Bentley
** Branch linked: lp:~trb143/openlp/media2018a

** Changed in: openlp
 Assignee: (unassigned) => Tim Bentley (trb143)

** Changed in: openlp
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  In Progress

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-03-17 Thread Tim Bentley
The get_vlc method detects missing VLC then gets ignored!

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Confirmed

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-03-15 Thread Raoul Snyman
Right. I just reproduced this multiple times. VLC is not installed, nor
is libvlc.

>From the Python 3 console, I can import openlp.core.ui.media.vendor.vlc
without a problem, but try to do anything and it fails. So we need to
actually just try to do something (like get VLC's version) and use that
to determine if VLC is installed or not.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Confirmed

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-03-14 Thread Raoul Snyman
I just tried to reproduce this on Ubuntu 17.10, and I can't. I tried
installing just libvlc, and that only made things worse (the media
plugin is now disabled and cannot be enabled). Will fiddle some more.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Confirmed

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-02-25 Thread Tim Bentley
** Changed in: openlp
   Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Confirmed

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-02-24 Thread Tim Bentley
** Changed in: openlp
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Invalid

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-02-24 Thread Tomas Groth
This is a packaging issue IMO, so it can be fixed!

** Changed in: openlp
   Status: Won't Fix => Confirmed

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Confirmed

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2018-02-24 Thread Tim Bentley
** Changed in: openlp
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  Won't Fix

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp


[Openlp-core] [Bug 1589675] Re: OpenLP on Linux crashes on startup when VLC not installed

2016-07-04 Thread Tomas Groth
This seems to be related to how ubuntu packages VLC... Some parts of VLC
seems to be installed (by default?) that makes OpenLP think VLC is
installed, when it really isn't.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1589675

Title:
  OpenLP on Linux crashes on startup when VLC not installed

Status in OpenLP:
  New

Bug description:
  Similar to bug #966086

  **OpenLP Bug Report**
  Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}

  --- Details of the Exception. ---

  this occurred as OpenLP was opened

   --- Exception Traceback ---
  Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in 
  main()
File "/usr/share/openlp/openlp/core/__init__.py", line 391, in main
  sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
  Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in 
execute
  result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 60, in 
bootstrap_initialise
  self.hook_media_manager()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 122, in 
hook_media_manager
  plugin.create_media_manager_item()
File "/usr/share/openlp/openlp/core/lib/plugin.py", line 204, in 
create_media_manager_item
  self.media_item = 
self.media_item_class(self.main_window.media_dock_manager.media_dock, self)
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 58, in 
__init__
  super(MediaMediaItem, self).__init__(parent, plugin)
File "/usr/share/openlp/openlp/core/lib/mediamanageritem.py", line 82, in 
__init__
  self.setup_item()
File "/usr/share/openlp/openlp/plugins/media/lib/mediaitem.py", line 90, in 
setup_item
  
self.media_controller.setup_display(self.display_controller.preview_display, 
False)
File "/usr/share/openlp/openlp/core/ui/media/mediacontroller.py", line 322, 
in setup_display
  player.setup(display)
File "/usr/share/openlp/openlp/core/ui/media/vlcplayer.py", line 157, in 
setup
  display.vlc_instance = vlc.Instance(command_line_options)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 1411, in 
__new__
  return libvlc_new(len(args), args)
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 3630, in 
libvlc_new
  ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File "/usr/share/openlp/openlp/core/ui/media/vendor/vlc.py", line 246, in 
_Cfunction
  raise NameError('no function %r' % (name,))
  NameError: no function 'libvlc_new'

  --- System information ---
  Platform: Linux-4.2.0-36-generic-i686-with-Ubuntu-15.10-wily
  Desktop: GNOME

  --- Library Versions ---
  Python: 3.4.3+
  Qt5: 5.4.2
  PyQt5: 5.4.2
  QtWebkit: 538.1
  SQLAlchemy: 1.0.8
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.4.4
  Chardet: 2.3.0
  PyEnchant: 1.6.6
  Mako: 1.0.2
  pyICU: -
  pyUNO bridge: 5.0
  VLC: -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1589675/+subscriptions

___
Mailing list: https://launchpad.net/~openlp-core
Post to : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp