no compatible signature for decorated function in projector test

Bug #1603702 reported by Ken Roberts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Committed
Medium
Ken Roberts

Bug Description

Trunk on superfly machine

======================================================================
ERROR: test_source_select_edit_button (tests.interfaces.openlp_core_ui.test_projectorsourceform.ProjectorSourceFormTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
    return func(*args, **keywargs)
  File "/home/raoul/Projects/OpenLP/OpenLP/permission-error/tests/interfaces/openlp_core_ui/test_projectorsourceform.py", line 132, in test_source_select_edit_button
    select_form.exec(projector=self.projector)
  File "/home/raoul/Projects/OpenLP/OpenLP/permission-error/openlp/core/ui/projector/sourceselectform.py", line 448, in exec
    self.button_box.clicked.connect(self.button_clicked)
TypeError: decorated slot has no signature compatible with clicked(QAbstractButton*)

======================================================================
ERROR: test_source_select_noedit_button (tests.interfaces.openlp_core_ui.test_projectorsourceform.ProjectorSourceFormTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
    return func(*args, **keywargs)
  File "/home/raoul/Projects/OpenLP/OpenLP/permission-error/tests/interfaces/openlp_core_ui/test_projectorsourceform.py", line 152, in test_source_select_noedit_button
    select_form.exec(projector=self.projector)
  File "/home/raoul/Projects/OpenLP/OpenLP/permission-error/openlp/core/ui/projector/sourceselectform.py", line 448, in exec
    self.button_box.clicked.connect(self.button_clicked)
TypeError: decorated slot has no signature compatible with clicked(QAbstractButton*)

Revision history for this message
Ken Roberts (alisonken1) wrote :

Tested with:
  Python >= 3.0 ... 3.4.3.final.0
  PyQt5 >= 5.0 ... 5.5.1
  Qt5 >= 5.0 ... 5.6.1

Problem not reproducible on my machine

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :
Revision history for this message
Ken Roberts (alisonken1) wrote :

Not sure which update fixed, but problem resolved and in trunk

Changed in openlp:
importance: Undecided → Medium
status: New → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.9.1
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.