Troubleshooting ipydatagrid
Hi team! Does anyone can help in understanding how to troubleshoot ipydatagrid? I'm working in docker containers on a laptop with a 'prod' environment on a singleboard computer. No problem when running on a laptop, but on a singleboard I get javascript errors when adding a minimal ipydatagrid.
my code: dg = DataGrid.element( dataframe=pd.DataFrame(), base_column_size=180,The error:
)
Model class 'DataGridModel' from module 'ipydatagrid' is loaded but can not be instantiated TypeError: e is not iterable at Module.g (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:40702) at d._updatePrimaryKeyMap (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:933905) at d.updateDataset (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:933736) at new d (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:933031) at p.updateData (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:941550) at p.initialize (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:940441) at new Backbone.Model (http://192.168.1.162/_solara/cdn/@widgetti/[email protected]/dist/solara-vuetify-app8.js:158282:21) at new p (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:939472) at WidgetManager._make_model (http://192.168.1.162/_solara/cdn/@widgetti/[email protected]/dist/solara-vuetify-app8.js:79503:28)
1 Reply
sorry for bothering, I just needed to define the versions of all the libraries explicitly. Looks like the latest version of ipydatagrid doesn't work with the last version of pandas. Fixed