← Back to team overview

openlp-core team mailing list archive

[Bug 693694] Re: Web interface does not always send all necessary data

 

** Description changed:

  Hello!
  
  1) Add a few bible verses to the service.
  2) Open the web interface (OpenLP Controller) in your browser.
  3) Send the item live (via web interface).
  
  Now you should see the verses in the slide controller in the web
  interface. Everything is fine and works as supposed.
  
- 4) Click attempt to send another verse/slide live by clicking the "verse
+ 4) Attempt to send another verse/slide live by clicking the "verse
  number" (see "verse_number.png").
  
  This causes a traceback [1]. However, that is not a bug in OpenLP
  itself, rather in the Web Controller. See "requests.png". It shows both,
  clicking on the verse text (which works fine) and clicking on the "verse
  number". You see that the "GET" does not send a parameter (=slide
  number). Which explains the traceback [1]. The JS function is called
  "sendLiveSet" in openlp.js.
  
  Cheers
  
  [1]
  Traceback (most recent call last):
-   File "/home/andreas/Projekte/openlp/remotes/openlp/core/ui/slidecontroller.py", line 674, in onSlideSelectedIndex
-     index = int(message[0])
+   File "/home/andreas/Projekte/openlp/remotes/openlp/core/ui/slidecontroller.py", line 674, in onSlideSelectedIndex
+     index = int(message[0])
  TypeError: 'NoneType' object is unsubscriptable

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

Title:
  Web interface does not always send all necessary data

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Hello!

1) Add a few bible verses to the service.
2) Open the web interface (OpenLP Controller) in your browser.
3) Send the item live (via web interface).

Now you should see the verses in the slide controller in the web interface. Everything is fine and works as supposed.

4) Attempt to send another verse/slide live by clicking the "verse number" (see "verse_number.png").

This causes a traceback [1]. However, that is not a bug in OpenLP itself, rather in the Web Controller. See "requests.png". It shows both, clicking on the verse text (which works fine) and clicking on the "verse number". You see that the "GET" does not send a parameter (=slide number). Which explains the traceback [1]. The JS function is called "sendLiveSet" in openlp.js.

Cheers

[1]
Traceback (most recent call last):
  File "/home/andreas/Projekte/openlp/remotes/openlp/core/ui/slidecontroller.py", line 674, in onSlideSelectedIndex
    index = int(message[0])
TypeError: 'NoneType' object is unsubscriptable







References