← Back to team overview

openlp-core team mailing list archive

[Bug 1734275] [NEW] Non-standard PJLink reply to LAMP command

 

Public bug reported:

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

** Affects: openlp
     Importance: High
     Assignee: Ken Roberts (alisonken1)
         Status: Confirmed


** Tags: projector

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

Title:
  Non-standard PJLink reply to LAMP command

Status in OpenLP:
  Confirmed

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

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


Follow ups