Hi,
I have a fresh etherpad install with a few plugins (the ones for Rich Editing inside a Docker container, with MariaDB. I'm using node.js 16.15.0 (installed with nvm ; 18.0 requires a version of glibc that is not yet packaged for Debian 9), and npm 8.5.5
I built a custom image to have ABIWORD installed, along with the plugins.
I installed ep_aa_file_menu_toolbar from the admin panel. The installation goes fine.
Once the plugin is installed, if I refresh an open Pad or launch a new one, the pad doesn't load correctly :
Then come what seem to be widgets of the pad (error messages (like all posible error messages), chat window, settings, import/export, etc.) with no CSS-styling and at the bottom of the page another error message :
TypeError: Cannot read property 'sheet' of null
at unknown at line -1
ErrorId: uMCn8Ds3OIlycrgeVZex
Unhandled Promise rejection
URL: http://localhost:17201/p/UGGhxjW2Pedrw9097EEL
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
There's a little more output in the container's log :
TypeError: Cannot read property 'sheet' of null -- {
| errorId: 'uMCn8Ds3OIlycrgeVZex',
| type: 'Unhandled Promise rejection',
| msg: "TypeError: Cannot read property 'sheet' of null",
| url: 'http://localhost:17201/p/UGGhxjW2Pedrw9097EEL',
| source: 'unknown',
| linenumber: -1,
| userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36',
| stack: "TypeError: Cannot read property 'sheet' of null\n" +
| ' at Ace2Editor.init (http://localhost:17201/javascripts/lib/ep_etherpad-lite/static/js/pad.js?=require.define&v=517b93c8:19:4922)\n' +
| ' at async Object.init (http://localhost:17201/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=517b93c8:14:413)'
I've tried installing other plugins and the error doesn't occur.
And the error is gone when I remove the plugin.
I haven't tried to install the plugin with docker build
Can you help ?
Thanks in advance.
Here is the troubleshooting information from the admin panel :
Hi, I have a fresh etherpad install with a few plugins (the ones for Rich Editing inside a Docker container, with MariaDB. I'm using node.js 16.15.0 (installed with nvm ; 18.0 requires a version of glibc that is not yet packaged for Debian 9), and npm 8.5.5 I built a custom image to have ABIWORD installed, along with the plugins. I installed ep_aa_file_menu_toolbar from the admin panel. The installation goes fine. Once the plugin is installed, if I refresh an open Pad or launch a new one, the pad doesn't load correctly :
Then come what seem to be widgets of the pad (error messages (like all posible error messages), chat window, settings, import/export, etc.) with no CSS-styling and at the bottom of the page another error message :
There's a little more output in the container's log :
I've tried installing other plugins and the error doesn't occur. And the error is gone when I remove the plugin. I haven't tried to install the plugin with
docker build
Can you help ?
Thanks in advance.
Here is the troubleshooting information from the admin panel :