Skip to content

Add missing param typing #14822

Add missing param typing

Add missing param typing #14822

Triggered via pull request April 20, 2026 12:49
Status Cancelled
Total duration 23m 41s
Artifacts 2

test.yaml

on: pull_request
Setup workflow
6s
Setup workflow
Pixi lock
6s
Pixi lock
Run pre-commit
30s
Run pre-commit
Matrix: core_test_suite
Matrix: type_test_suite
Matrix: ui_test_suite
Matrix: unit_test_suite
result:test
2s
result:test
Fit to window
Zoom out
Zoom in

Annotations

59 errors and 3 warnings
unit:test-314:macos-latest
Process completed with exit code 1.
unit:test-314:macos-latest: panel/tests/test_server.py#L388
test_server_cancel_task[fastapi] assert 3 == 2
unit:test-314:macos-latest: panel/tests/test_server.py#L388
test_server_cancel_task[fastapi] assert 3 == 2
unit:test-314:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gstack = GridStack(width=800, height=600) gstack[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gstack[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gstack[1:3, 1:3] = fig gstack[3:5, 0] = hv.Curve([1, 2, 3]) gstack[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gstack[3:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!') ) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/panel/layout/base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gstack = GridStack(width=800, height=600) gstack[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gstack[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gstack[1:3, 1:3] = fig gstack[3:5, 0] = hv.Curve([1, 2, 3]) gstack[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gstack[3:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!') ) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/panel/layout/base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gstack[0, 3:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/panel/layout/base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gstack[0, 3:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/panel/layout/base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gstack = GridStack(sizing_mode='stretch_both', min_height=600) gstack[ : , 0: 3] = pn.Spacer(styles=dict(background='red')) gstack[0:2, 3: 9] = pn.Spacer(styles=dict(background='green')) gstack[2:4, 6:12] = pn.Spacer(styles=dict(background='orange')) gstack[4:6, 3:12] = pn.Spacer(styles=dict(background='blue')) gstack[0:2, 9:12] = pn.Spacer(styles=dict(background='purple')) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/panel/layout/base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gstack = GridStack(sizing_mode='stretch_both', min_height=600) gstack[ : , 0: 3] = pn.Spacer(styles=dict(background='red')) gstack[0:2, 3: 9] = pn.Spacer(styles=dict(background='green')) gstack[2:4, 6:12] = pn.Spacer(styles=dict(background='orange')) gstack[4:6, 3:12] = pn.Spacer(styles=dict(background='blue')) gstack[0:2, 9:12] = pn.Spacer(styles=dict(background='purple')) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/panel/layout/base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-314:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-314:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 2 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) 5 ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 7 8 controls = speech_to_text.controls(jslink=False) File ~/work/panel/panel/panel/widgets/speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File ~/work/panel/panel/.pixi/envs/test-314/lib/python3.14/site-packages/param/depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File ~/work/panel/panel/panel/widgets/speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File ~/work/panel/panel/.pixi/envs/test-314/lib/python3.14/site-packages/param/parameterized.py:677, in instance_descriptor.<locals>._f(self, obj, val) 675 instance_param = _instantiated_parameter(obj, self) 676 if instance_param is not None and self is not instance_param: --> 677 instance_param.__set__(obj, val�
unit:test-314:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 2 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) 5 ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 7 8 controls = speech_to_text.controls(jslink=False) File ~/work/panel/panel/panel/widgets/speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File ~/work/panel/panel/.pixi/envs/test-314/lib/python3.14/site-packages/param/depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File ~/work/panel/panel/panel/widgets/speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File ~/work/panel/panel/.pixi/envs/test-314/lib/python3.14/site-packages/param/parameterized.py:677, in instance_descriptor.<locals>._f(self, obj, val) 675 instance_param = _instantiated_parameter(obj, self) 676 if instance_param is not None and self is not instance_param: --> 677 instance_param.__set__(obj, val�
unit:test-310:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gstack = GridStack(sizing_mode='stretch_both', min_height=600) gstack[ : , 0: 3] = pn.Spacer(styles=dict(background='red')) gstack[0:2, 3: 9] = pn.Spacer(styles=dict(background='green')) gstack[2:4, 6:12] = pn.Spacer(styles=dict(background='orange')) gstack[4:6, 3:12] = pn.Spacer(styles=dict(background='blue')) gstack[0:2, 9:12] = pn.Spacer(styles=dict(background='purple')) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['object
unit:test-310:ubuntu-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gstack = GridStack(sizing_mode='stretch_both', min_height=600) gstack[ : , 0: 3] = pn.Spacer(styles=dict(background='red')) gstack[0:2, 3: 9] = pn.Spacer(styles=dict(background='green')) gstack[2:4, 6:12] = pn.Spacer(styles=dict(background='orange')) gstack[4:6, 3:12] = pn.Spacer(styles=dict(background='blue')) gstack[0:2, 9:12] = pn.Spacer(styles=dict(background='purple')) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['object
unit:test-310:ubuntu-latest: examples/reference/layouts/GridSpec.ipynb#L1
examples/reference/layouts/GridSpec.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gspec[0, 1:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ 204 f'[{i}] {obj.__repr__(depth+1)}' 205�[0
unit:test-310:ubuntu-latest: examples/reference/layouts/GridSpec.ipynb#L1
examples/reference/layouts/GridSpec.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gspec[0, 1:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ 204 f'[{i}] {obj.__repr__(depth+1)}' 205�[0
unit:test-310:ubuntu-latest: examples/reference/layouts/GridSpec.ipynb#L1
examples/reference/layouts/GridSpec.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gspec = pn.GridSpec(width=800, height=600) gspec[:, 0 ] = pn.Spacer(styles=dict(background='red')) gspec[0, 1:3] = pn.Spacer(styles=dict(background='green')) gspec[1, 2:4] = pn.Spacer(styles=dict(background='orange')) gspec[2, 1:4] = pn.Spacer(styles=dict(background='blue')) gspec[0:1, 3:4] = pn.Spacer(styles=dict(background='purple')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) �[0;32
unit:test-310:ubuntu-latest: examples/reference/layouts/GridSpec.ipynb#L1
examples/reference/layouts/GridSpec.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gspec = pn.GridSpec(width=800, height=600) gspec[:, 0 ] = pn.Spacer(styles=dict(background='red')) gspec[0, 1:3] = pn.Spacer(styles=dict(background='green')) gspec[1, 2:4] = pn.Spacer(styles=dict(background='orange')) gspec[2, 1:4] = pn.Spacer(styles=dict(background='blue')) gspec[0:1, 3:4] = pn.Spacer(styles=dict(background='purple')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) �[0;32
unit:test-310:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-310:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-310:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 8 controls = speech_to_text.controls(jslink=False) File ~/work/panel/panel/panel/widgets/speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File ~/work/panel/panel/panel/widgets/speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/parameterized.py:677, in instance_descriptor.<locals>._f�
unit:test-310:ubuntu-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 8 controls = speech_to_text.controls(jslink=False) File ~/work/panel/panel/panel/widgets/speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File ~/work/panel/panel/panel/widgets/speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/parameterized.py:677, in instance_descriptor.<locals>._f�
unit:test-310:macos-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gstack = GridStack(width=800, height=600) gstack[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gstack[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gstack[1:3, 1:3] = fig gstack[3:5, 0] = hv.Curve([1, 2, 3]) gstack[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gstack[3:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!') ) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self
unit:test-310:macos-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gstack = GridStack(width=800, height=600) gstack[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gstack[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gstack[1:3, 1:3] = fig gstack[3:5, 0] = hv.Curve([1, 2, 3]) gstack[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gstack[3:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!') ) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self
unit:test-310:macos-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gstack[0, 3:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ 204 f'[{i}] {obj.__repr__(depth+1)}' 205�
unit:test-310:macos-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gstack[0, 3:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ 204 f'[{i}] {obj.__repr__(depth+1)}' 205�
unit:test-310:macos-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gstack = GridStack(sizing_mode='stretch_both', min_height=600) gstack[ : , 0: 3] = pn.Spacer(styles=dict(background='red')) gstack[0:2, 3: 9] = pn.Spacer(styles=dict(background='green')) gstack[2:4, 6:12] = pn.Spacer(styles=dict(background='orange')) gstack[4:6, 3:12] = pn.Spacer(styles=dict(background='blue')) gstack[0:2, 9:12] = pn.Spacer(styles=dict(background='purple')) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['object
unit:test-310:macos-latest: examples/reference/layouts/GridStack.ipynb#L1
examples/reference/layouts/GridStack.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gstack = GridStack(sizing_mode='stretch_both', min_height=600) gstack[ : , 0: 3] = pn.Spacer(styles=dict(background='red')) gstack[0:2, 3: 9] = pn.Spacer(styles=dict(background='green')) gstack[2:4, 6:12] = pn.Spacer(styles=dict(background='orange')) gstack[4:6, 3:12] = pn.Spacer(styles=dict(background='blue')) gstack[0:2, 9:12] = pn.Spacer(styles=dict(background='purple')) gstack Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/lib/pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File ~/work/panel/panel/panel/layout/base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['object
unit:test-310:macos-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-310:macos-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-310:macos-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 8 controls = speech_to_text.controls(jslink=False) File ~/work/panel/panel/panel/widgets/speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File ~/work/panel/panel/panel/widgets/speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/parameterized.py:677, in instance_descriptor.<locals>._f�
unit:test-310:macos-latest: examples/reference/widgets/SpeechToText.ipynb#L1
examples/reference/widgets/SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 8 controls = speech_to_text.controls(jslink=False) File ~/work/panel/panel/panel/widgets/speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File ~/work/panel/panel/panel/widgets/speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/parameterized.py:677, in instance_descriptor.<locals>._f�
unit:test-314:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gspec = pn.GridSpec(sizing_mode='stretch_both', max_height=800) gspec[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gspec[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gspec[1:3, 1:3] = fig gspec[3:5, 0] = hv.Curve([1, 2, 3]) gspec[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gspec[4:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\panel\layout\base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gspec = pn.GridSpec(sizing_mode='stretch_both', max_height=800) gspec[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gspec[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gspec[1:3, 1:3] = fig gspec[3:5, 0] = hv.Curve([1, 2, 3]) gspec[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gspec[4:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\panel\layout\base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gspec[0, 1:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\panel\layout\base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gspec[0, 1:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\panel\layout\base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gspec = pn.GridSpec(width=800, height=600) gspec[:, 0 ] = pn.Spacer(styles=dict(background='red')) gspec[0, 1:3] = pn.Spacer(styles=dict(background='green')) gspec[1, 2:4] = pn.Spacer(styles=dict(background='orange')) gspec[2, 1:4] = pn.Spacer(styles=dict(background='blue')) gspec[0:1, 3:4] = pn.Spacer(styles=dict(background='purple')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\panel\layout\base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gspec = pn.GridSpec(width=800, height=600) gspec[:, 0 ] = pn.Spacer(styles=dict(background='red')) gspec[0, 1:3] = pn.Spacer(styles=dict(background='green')) gspec[1, 2:4] = pn.Spacer(styles=dict(background='orange')) gspec[2, 1:4] = pn.Spacer(styles=dict(background='blue')) gspec[0:1, 3:4] = pn.Spacer(styles=dict(background='purple')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\panel\layout\base.py:204, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) 203 objs = [ --> 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj in enumerate(self.objects) 206 ] 207 if not params and not objs: 208 return super().__repr__(depth+1) TypeError: expected 0 arguments, got 1
unit:test-314:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-314:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-314:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 2 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) 5 ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 7 8 controls = speech_to_text.controls(jslink=False) File D:\a\panel\panel\panel\widgets\speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File D:\a\panel\panel\.pixi\envs\test-314\Lib\site-packages\param\depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File D:\a\panel\panel\panel\widgets\speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File D:\a\panel\panel\.pixi\envs\test-314\Lib\site-packages\param\parameterized.py:677, in instance_descriptor.<locals>._f(self, obj, val) 675 instance_param = _instantiated_parameter(obj, self) 676 if instance_param is not None and self is not instance_param: --> 677 instance_param.__set__(obj, val) 678
unit:test-314:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 2 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) 5 ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 7 8 controls = speech_to_text.controls(jslink=False) File D:\a\panel\panel\panel\widgets\speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File D:\a\panel\panel\.pixi\envs\test-314\Lib\site-packages\param\depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File D:\a\panel\panel\panel\widgets\speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File D:\a\panel\panel\.pixi\envs\test-314\Lib\site-packages\param\parameterized.py:677, in instance_descriptor.<locals>._f(self, obj, val) 675 instance_param = _instantiated_parameter(obj, self) 676 if instance_param is not None and self is not instance_param: --> 677 instance_param.__set__(obj, val) 678
unit:test-310:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gspec = pn.GridSpec(sizing_mode='stretch_both', max_height=800) gspec[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gspec[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gspec[1:3, 1:3] = fig gspec[3:5, 0] = hv.Curve([1, 2, 3]) gspec[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gspec[4:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\core\formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File D:\a\panel\panel\panel\layout\base.py:203, in Panel.__repr__(self, depth, max_depth) �[0;
unit:test-310:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 5 Notebook cell execution failed Cell 5: Cell execution caused an exception Input: import holoviews as hv import holoviews.plotting.bokeh from bokeh.plotting import figure fig = figure() fig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 2, 1, 0, -1, -2, -3]) gspec = pn.GridSpec(sizing_mode='stretch_both', max_height=800) gspec[0, :3] = pn.Spacer(styles=dict(background='#FF0000')) gspec[1:3, 0] = pn.Spacer(styles=dict(background='#0000FF')) gspec[1:3, 1:3] = fig gspec[3:5, 0] = hv.Curve([1, 2, 3]) gspec[3:5, 1] = 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png' gspec[4:5, 2] = pn.Column( pn.widgets.FloatSlider(), pn.widgets.ColorPicker(), pn.widgets.Toggle(name='Toggle Me!')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\core\formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File D:\a\panel\panel\panel\layout\base.py:203, in Panel.__repr__(self, depth, max_depth) �[0;
unit:test-310:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gspec[0, 1:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\core\formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File D:\a\panel\panel\panel\layout\base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj �[3
unit:test-310:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: gspec[0, 1:] Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\core\formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File D:\a\panel\panel\panel\layout\base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ 204 f'[{i}] {obj.__repr__(depth+1)}' 205 for i, obj �[3
unit:test-310:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gspec = pn.GridSpec(width=800, height=600) gspec[:, 0 ] = pn.Spacer(styles=dict(background='red')) gspec[0, 1:3] = pn.Spacer(styles=dict(background='green')) gspec[1, 2:4] = pn.Spacer(styles=dict(background='orange')) gspec[2, 1:4] = pn.Spacer(styles=dict(background='blue')) gspec[0:1, 3:4] = pn.Spacer(styles=dict(background='purple')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\core\formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File D:\a\panel\panel\panel\layout\base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ �[0
unit:test-310:windows-latest: examples\reference\layouts\GridSpec.ipynb#L1
examples\reference\layouts\GridSpec.ipynb::Cell 1 Notebook cell execution failed Cell 1: Cell execution caused an exception Input: gspec = pn.GridSpec(width=800, height=600) gspec[:, 0 ] = pn.Spacer(styles=dict(background='red')) gspec[0, 1:3] = pn.Spacer(styles=dict(background='green')) gspec[1, 2:4] = pn.Spacer(styles=dict(background='orange')) gspec[2, 1:4] = pn.Spacer(styles=dict(background='blue')) gspec[0:1, 3:4] = pn.Spacer(styles=dict(background='purple')) gspec Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\core\formatters.py:770, in PlainTextFormatter.__call__(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) 409 if ( 410 cls is not object 411 # check if cls defines __repr__ (...) 417 and callable(_safe_getattr(cls, "__repr__", None)) 418 ): --> 419 return _repr_pprint(obj, self, cycle) 421 return _default_pprint(obj, self, cycle) 422 finally: File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\IPython\lib\pretty.py:794, in _repr_pprint(obj, p, cycle) 792 """A pprint that just redirects to the normal repr function.""" 793 # Find newlines and replace them with p.break_() --> 794 output = repr(obj) 795 lines = output.splitlines() 796 with p.group(): File D:\a\panel\panel\panel\layout\base.py:203, in Panel.__repr__(self, depth, max_depth) 201 cls = type(self).__name__ 202 params = param_reprs(self, ['objects']) --> 203 objs = [ �[0
unit:test-310:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-310:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 6 Notebook cell execution failed Cell 6: Cell execution caused an exception Input: app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) app.servable() Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 app = pn.Row(controls, speech_to_text, pn.bind(results, speech_to_text)) 2 app.servable() NameError: name 'controls' is not defined
unit:test-310:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 8 controls = speech_to_text.controls(jslink=False) File D:\a\panel\panel\panel\widgets\speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\param\depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File D:\a\panel\panel\panel\widgets\speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\param\parameterized.py:677, in instance_descriptor.<locals>._f(self, obj, val) 675 instance_param = _instantiated_parameter(obj, �[
unit:test-310:windows-latest: examples\reference\widgets\SpeechToText.ipynb#L1
examples\reference\widgets\SpeechToText.ipynb::Cell 4 Notebook cell execution failed Cell 4: Cell execution caused an exception Input: grammar_list = GrammarList() src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" grammar_list.add_from_string(src, 1) speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) controls = speech_to_text.controls(jslink=False) Traceback: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 6 3 src = "#JSGF V1.0; grammar colors; public <color> = aqua | azure | beige | bisque | black | blue | brown | chocolate | coral | crimson | cyan | fuchsia | ghostwhite | gold | goldenrod | gray | green | indigo | ivory | khaki | lavender | lime | linen | magenta | maroon | moccasin | navy | olive | orange | orchid | peru | pink | plum | purple | red | salmon | sienna | silver | snow | tan | teal | thistle | tomato | turquoise | violet | white | yellow ;" 4 grammar_list.add_from_string(src, 1) ----> 6 speech_to_text = SpeechToText(button_type="light", grammars=grammar_list, height=50) 8 controls = speech_to_text.controls(jslink=False) File D:\a\panel\panel\panel\widgets\speech_to_text.py:409, in SpeechToText.__init__(self, **params) 407 super().__init__(**params) 408 if self.grammars: --> 409 self._update_grammars() File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\param\depends.py:125, in _depends_impl.<locals>._depends_sync(*args, **kw) 123 @wraps(func) 124 def _depends_sync(*args, **kw): --> 125 return func(*args, **kw) File D:\a\panel\panel\panel\widgets\speech_to_text.py:420, in SpeechToText._update_grammars(self) 418 with param.edit_constant(self): 419 if self.grammars: --> 420 self._grammars = self.grammars.serialize() # pylint: disable=no-member 421 else: 422 self._grammars = [] File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\param\parameterized.py:677, in instance_descriptor.<locals>._f(self, obj, val) 675 instance_param = _instantiated_parameter(obj, �[
ui:test-ui:windows-latest
Canceling since a higher priority waiting request for tests-8561 exists
ui:test-ui:windows-latest
The operation was canceled.
ui:test-ui:windows-latest: panel\tests\ui\io\test_jupyterlite.py#L62
test_jupyterlite_execution[chromium] playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator(".noUi-handle")
ui:test-ui:windows-latest: panel\tests\ui\io\test_jupyterlite.py#L62
test_jupyterlite_execution[chromium] playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator(".noUi-handle")
result:test
Process completed with exit code 1.
tests
Canceling since a higher priority waiting request for tests-8561 exists
ui:test-ui:macos-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, ifaxity/wait-on-action@v1.2.1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
ui:test-ui:ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, ifaxity/wait-on-action@v1.2.1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
ui:test-ui:windows-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: ifaxity/wait-on-action@v1.2.1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
pixi-lock
461 KB
sha256:fd06ca1b81d37cde1409572ba113ea59021a607c999cb1af1bead3b82fc97dac
ui_screenshots_Windows
76.5 MB
sha256:411b128e33ca2cb1a4eb3ccdd36dd7884f91e2b9d0e05311aed6a9deeec857fd