Skip to content

Ipyvuetify widgets not rendering with pre-heated kernels #1123

@sradomski

Description

@sradomski

Description

When using voila 0.3.4 with pre-heated kernels, ipywidgets will no longer render any output.

Reproduce

Just copy this snippet into a notebook being served by voila with pre-heating enabled.

import ipyvuetify as v
from IPython import display
import traitlets

from voila.utils import wait_for_request
wait_for_request();

class InlineTemplate(v.VuetifyTemplate):
    template = traitlets.Unicode("""
<template>
    <h1>Test</H1>
</template>
    """).tag(sync=True)

it = InlineTemplate()
display.display(it)

Expected behavior

I expect a heading "Test" to appear on the rendered html page. This is indeed the case when disabling pre-heating or when using the jupyter notebook extension. However, when served from voila with pre-heating enabled, no output is generated.

Context

  • voila version: 0.3.4
  • Operating System and version: Cent OS 7
  • Browser and version: tested Chrome and Safari (latest stable version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions