← Back to team overview

openlp-core team mailing list archive

[Bug 1296574] Re: Missing arguments in some event handler functions

 

The problem seems to be that the signal QAction::triggered emits with
one argument (checked):

http://qt-project.org/doc/qt-4.8/qaction.html#triggered

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

Title:
  Missing arguments in some event handler functions

Status in OpenLP - Worship Presentation Software:
  Fix Committed

Bug description:
  I recently upgraded to Ubuntu 14.04 (Python 3.4, Qt 4.8, PyQt 4.10) and now get exceptions on certain actions.
  For example when sending a song to live, I get the following exception:

  Traceback (most recent call last):
    File "/home/samuel/programming/openlp/trunk/openlp/core/common/openlpmixin.py", line 67, in wrapped
      raise e
    File "/home/samuel/programming/openlp/trunk/openlp/core/common/openlpmixin.py", line 63, in wrapped
      return func(*args, **kwargs)
  TypeError: on_go_live() takes 1 positional argument but 2 were given

  The same happens with some other functions that are bound to Qt Events
  and don't expect any parameters.

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


References