-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Milestone
Description
As reported by @Norlandz in #216:
Maybe you can look into this debug info?
itables's visualization is good.
But itables only occasionally works (for me, since i use it, idk why).
Every time i reopen the file tab, or restart the kernel, or rerun the code, it has a chance to fail to load the data (or css).It seem i just cannot use
init_notebook_mode(all_interactive=True, connected=False),
but have to useinit_notebook_mode(all_interactive=True, connected=True).Ignore error above
---------------------, focus on error below, which pops up when i open ipynb file with itables.
const {ITable, jQuery: $} = await import(window._datatables_src_for_itables_2_4_4); document.querySelectorAll("#itables_6765fcbc_d1b7_4cec_9d21_648eb0b3cd92:not(.dataTable)").forEach(table => { if (!(table instanceof HTMLTableElement)) return; let dt_args = { "layout": { "topStart": "pageLength", "topEnd": "search", "bottomStart": "info", "bottomEnd": "paging" }, "lengthMenu": [5, 15, 30, 100, 200], "style": { "width": "100%", "float": "left" }, "classes": ["display", "nowrap", "compact"], "text_in_header_can_be_selected": true, "order": [], "downsampling_warning": "<a href=\"https://mwouts.github.io/itables/downsampling.html\">downsampled</a> from 35,092x14 to 32x14 as maxBytes=10240", "filtered_row_count": 35060, "table_html": "<table><thead>\n <tr style=\"text-align: right;\">\n \n <th>ip</th>\n <th>user</th>\n <th>timestamp</th>\n <th>method</th>\n <th>uri</th>\n <th>protocol</th>\n <th>status</th>\n <th>size</th>\n <th>referer</th>\n <th>user_agent</th>\n <th>uri_cleaned</th>\n <th>size_mb</th>\n <th>date</th>\n <th>uri_short</th>\n </tr>\n </thead></table>", "data_json": "[[\"117. omitted ]]" }; new ITable(table,dt_args); } );PS: My trick doesnt work anymore.
(PS: I thought my last post was long ago. )
Norlandz
Metadata
Metadata
Assignees
Labels
No labels

