← Back to team overview

openlp-core team mailing list archive

[Bug 1407445] Re: Remote API for next/previous service doesn't work

 

Debug trace for next:

5-01-06 09:08:53,685 openlp.plugins.remotes.lib.httprouter                   DEBUG    Route "^/api/service/(.*)$" matched "/api/service/next?_=1420564133680"
2015-01-06 09:08:53,688 openlp.core.common.registry                             ERROR    OpenLP Error trace
   File /usr/lib/python3.4/threading.py at line 888 
         called self._bootstrap_inner()
   File /usr/lib/python3.4/threading.py at line 920 
         called self.run()
   File /usr/lib/python3.4/threading.py at line 868 
         called self._target(*self._args, **self._kwargs)
   File /usr/lib/python3.4/socketserver.py at line 609 
         called self.finish_request(request, client_address)
   File /usr/lib/python3.4/socketserver.py at line 344 
         called self.RequestHandlerClass(request, client_address, self)
   File /usr/lib/python3.4/socketserver.py at line 665 
         called self.handle()
   File /usr/lib/python3.4/http/server.py at line 398 
         called self.handle_one_request()
   File /usr/lib/python3.4/http/server.py at line 386 
         called method()
   File /home/ken/projects/openlp/bug-1407445/openlp/plugins/remotes/lib/httpserver.py at line 71 
         called self.do_post_processor()
   File /home/ken/projects/openlp/bug-1407445/openlp/plugins/remotes/lib/httprouter.py at line 206 
         called self.call_function(function, *args)
   File /home/ken/projects/openlp/bug-1407445/openlp/plugins/remotes/lib/httprouter.py at line 215 
         called response = function['function'](*args)
   File /home/ken/projects/openlp/bug-1407445/openlp/plugins/remotes/lib/httprouter.py at line 585 
         called Registry().execute(event)
   File /home/ken/projects/openlp/bug-1407445/openlp/core/common/registry.py at line 152 
         called trace_error_handler(log)
   File /home/ken/projects/openlp/bug-1407445/openlp/core/common/__init__.py at line 59 
         called for tb in traceback.extract_stack():
2015-01-06 09:08:53,688 openlp.core.common.registry                             ERROR    Event servicemanager_next_item called but not registered

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

Title:
  Remote API for next/previous service doesn't work

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Tested on Linux with current beta 2.1.1, 2.0 and current trunk.

  To reproduce:
  Add multiple items to the servicemanager.
  Go live with an item
  In the web-remote try to use the next/prev buttons, nothing happens. It should shift between service items.

  When calling the web API <IP>/api/service/{next,provious} it returns: 
  {"results": {"success": true}}

  The problem might be that we are missing a binding for the
  servicemanager_{next,provious}_item event.

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


References