Non-standard PJLink reply to LAMP command

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

Bug Description

PJLink standard: "%1LAMP=HHHHH P"
where: H = lamp hours : P = Lamp power on/off status
(NOTE: "HHHHH P" may be repeated with a space separator for multiple lamps in equipment)

example:
"%1LAMP=38 0"
where: 38 = lamp1 hours of use : 0 = lamp currently OFF

ViewSonic Pro8500:
"%1LAMP=38"
where: 38 = lamp1 hours of use : Missing lamp1 power on/off status

==========================================
2017-11-23 16:14:19,840 openlp.core.lib.projector.pjlink1 DEBUG
(192.168.2.2) get_data(): Checking new data "%1LAMP=38"

2017-11-23 16:14:19,840 openlp.core.lib.projector.pjlink1 DEBUG
(192.168.2.2) Processing command "LAMP"

2017-11-23 16:14:19,840 openlp.core.OpenLP DEBUG
Entering hook_exception

2017-11-23 16:14:19,841 root CRITICAL
Traceback (most recent call last):
  File "openlp\core\lib\projector\pjlink1.py", line 436, in get_data
  File "openlp\core\lib\projector\pjlink1.py", line 593, in process_command
  File "openlp\core\lib\projector\pjlink1.py", line 611, in process_lamp
IndexError: list index out of range

Tags: projector

Related branches

Phill (phill-ridout)
Changed in openlp:
status: Confirmed → In Progress
milestone: 3.0 → 2.9.1
milestone: 2.9.1 → none
Phill (phill-ridout)
Changed in openlp:
milestone: none → 2.9.1
status: In Progress → Fix Committed
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.