[openlp-dev] Web Merge - It was Big
Laura Ekstrand
laura at jlekstrand.net
Wed Aug 23 17:31:56 EDT 2017
Hmm. I'm getting several errors, including
File "/home/laura/openlp/openlp/openlp/core/ui/mainwindow.py", line 723, in
is_display_blank
self.live_controller.main_display_set_background()
File "/home/laura/openlp/openlp/openlp/core/ui/slidecontroller.py", line
965, in main_display_set_background
self.on_hide_display_enable()
File "/home/laura/openlp/openlp/openlp/core/ui/slidecontroller.py", line
1053, in on_hide_display_enable
Registry().execute('live_display_hide', HideMode.Screen)
File "/home/laura/openlp/openlp/openlp/core/common/registry.py", line 137,
in execute
result = function(*args, **kwargs)
File "/home/laura/openlp/openlp/openlp/core/ui/maindisplay.py", line 517,
in hide_display
self.frame.evaluateJavaScript('show_blank("desktop");')
AttributeError: 'MainDisplay' object has no attribute 'frame'
It looks like you might be trying to call the display function
"hide_display" before the display itself is initialized.
On Wed, Aug 23, 2017 at 1:05 PM, Raoul Snyman <raoul at snyman.info> wrote:
> On 2017-08-23 12:47, Tim and Alison Bentley wrote:
>
>> I have just merged a few months work which has refactored the Web
>> interface.
>> The highlight of the change are:
>>
>> - The Html code has been removed and needs to be installed as an
>> additional action. The Remote Interface has an option to download and
>> install the existing code.
>> - The HTML code now runs from the remote data directory and can be
>> edited without the risk of the next openlp update wiping out any
>> changes.
>> - The API's have been refactored and there is the start to move to new
>> style but this needs to be done in conjunction with android and ios.
>> - The old POLL code has been replaced with WebSockets for better
>> performance.
>> -
>> - The next stage is to move the web html code into its own trunk.
>>
>
> This opens us up to using Angular to build our web remote. Simon
> (thelinuxguy) has started working on an Angular 2 (now Angular 4) remote,
> and I'd suggest that whoever is interested should help Simon work on making
> a fantastic web remote.
>
>
> --
> Raoul Snyman
> +1 (520) 490-9743
> raoul at snyman.info
> _______________________________________________
> openlp-dev mailing list
> openlp-dev at openlp.io
> https://lists.openlp.io/mailman/listinfo/openlp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openlp.io/pipermail/openlp-dev/attachments/20170823/eba549c9/attachment.html>
More information about the openlp-dev
mailing list