Comments (3)
Button also break it: pn.widgets.Button(name="Button").servable()
ValueError: ClassSelector parameter 'ReactiveHTMLMetaclass.object' value must be an instance of Viewable, not False.
Traceback (most recent call last):
File "/home/shh/miniconda3/envs/holoviz/lib/python3.12/site-packages/bokeh/application/handlers/code_runner.py", line 229, in run
exec(self._code, module.__dict__)
File "/home/shh/Development/holoviz/example_download_widgets.py", line 16, in <module>
pn.widgets.Button(name="Button").servable()
File "/home/shh/projects/holoviz/repos/panel/panel/viewable.py", line 399, in servable
self.server_doc(title=title, location=location) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shh/projects/holoviz/repos/panel/panel/viewable.py", line 1038, in server_doc
wrapper = self._design._wrapper(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shh/projects/holoviz/repos/panel/panel/theme/fast.py", line 261, in _wrapper
return FastWrapper(design=None, object=model, style=self.theme.style)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shh/projects/holoviz/repos/panel/panel/reactive.py", line 1610, in __init__
super().__init__(**params)
File "/home/shh/projects/holoviz/repos/panel/panel/reactive.py", line 555, in __init__
super().__init__(**params)
File "/home/shh/projects/holoviz/repos/panel/panel/reactive.py", line 117, in __init__
super().__init__(**params)
File "/home/shh/projects/holoviz/repos/panel/panel/viewable.py", line 704, in __init__
super().__init__(**params)
File "/home/shh/projects/holoviz/repos/panel/panel/viewable.py", line 543, in __init__
super().__init__(**params)
File "/home/shh/projects/holoviz/repos/panel/panel/viewable.py", line 304, in __init__
super().__init__(**params)
File "/home/shh/projects/holoviz/repos/param/param/parameterized.py", line 4177, in __init__
refs, deps = self.param._setup_params(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shh/projects/holoviz/repos/param/param/parameterized.py", line 1683, in override_initialization
ret = fn(self_, *args, **kw)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/shh/projects/holoviz/repos/param/param/parameterized.py", line 1972, in _setup_params
setattr(self, name, resolved)
File "/home/shh/projects/holoviz/repos/param/param/parameterized.py", line 528, in _f
return f(self, obj, val)
^^^^^^^^^^^^^^^^^
File "/home/shh/projects/holoviz/repos/param/param/parameterized.py", line 1495, in __set__
self._validate(val)
File "/home/shh/projects/holoviz/repos/param/param/parameters.py", line 2182, in _validate
self._validate_class_(val, self.class_, self.is_instance)
File "/home/shh/projects/holoviz/repos/param/param/parameters.py", line 2193, in _validate_class_
raise ValueError(
ValueError: ClassSelector parameter 'ReactiveHTMLMetaclass.object' value must be an instance of Viewable, not False.
from panel.
Did you also test the second case?
from panel.
No, but it works.
from panel.
Related Issues (20)
- Cannot sync Tabulator.value to url - DataFrame is not JSON serializable
- [Build] Minified PlotlyPlot can't be downloaded HOT 2
- Allow panel serve of notebook that starts with magics
- Pyodide Conversion: requirements.txt not able to deal with wheel-urls HOT 2
- Pyodide Conversion: add ability to include resources for the panel app HOT 1
- Pyodide Conversion: Bundle all the necessary ressources to load from a single webserver HOT 1
- MenuButton with custom Panel objects
- Apps on front page have 503 Service Temporarily Unavailable
- Multi-index columns all blank in Tabulator
- Select options not visible when using MaterialTemplate dark theme
- Plotly plots not displayed when Plotly extension loaded after Bokeh's on a website HOT 2
- reacton failed to load in docs
- Make Panel Chat Interface callback not require user and instance args
- Tabulator with frozen_rows scrolling/paging to top when updating content
- In the Reactive HTML doc page, 2 hyperlinks are missing.
- Improve experience for Multifile/Folder Upload
- Can't update message reaction icons after click
- Save layout yields blank html HOT 2
- Deprecation warning in doc page for Accordion layout
- Stream callback invoked twice in FastGridTemplate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panel.