dasGoogle / ep_workspaces

A plugin for etherpad that allows to create workspaces with multiple files
GNU General Public License v3.0
0 stars 0 forks source link

Error JS #2

Open bonnebulle opened 4 hours ago

bonnebulle commented 4 hours ago
An error occurred

Please press and hold Ctrl and press F5 to reload this page

If the problem persists, please send this error message to your webmaster:
TypeError: parent.parent.$ is not a function
at https://hostname/padbootstrap-vhXOb2UXh4Q.min.js at line 50
ErrorId: JyMH9XGjGP5LjOfsldSk
Unhandled Promise rejection
URL: https://hostname/p/workspace_8tdpaf8uvdo09hmqu28v.home.Intro_VB
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0

Console (firefox)

Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data undefined
Array(3) [ "", "w", "8TDpAf8UVDO09HMqU28V" ]
​0: ""
​1: "w"
​2: "8TDpAf8UVDO09HMqU28V"
​length: 3
​<prototype>: Array []
[script.js:24:13](https://hostname/workspace_res/local/script.js)
Array(3) [ "", "w", "8TDpAf8UVDO09HMqU28V" ]
[script.js:24:13](https://hostname/workspace_res/local/script.js)
opening file:  C1

Docker log error

[2024-09-21T10:29:53.885] [INFO] settings - someone joined the workspace with id: 8tdpaf8uvdo09hmqu28v
[2024-09-21T10:33:23.320] [INFO] access - [CREATE] pad:workspace_8tdpaf8uvdo09hmqu28v.home socket:J3rZITOJhzaMn2cAAABy IP:172.16.160.1 authorID:a.MURi0lvrQAMykr8U username:admin
[2024-09-21T10:33:23.785] [WARN] client - TypeError: parent.parent.$ is not a function -- {
  errorId: 'YvlFelA4KGhqvLtRqbPt',
  type: 'Unhandled Promise rejection',
  msg: 'TypeError: parent.parent.$ is not a function',
  url: 'https://hostname/p/workspace_8tdpaf8uvdo09hmqu28v.home',
  source: 'https://hostname/padbootstrap-vhXOb2UXh4Q.min.js',
  linenumber: 50,
  userAgent: 'Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0',
  stack: 'Ws@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:50:1516\n' +
    'Rr@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:50:1667\n' +
    'zs@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:50:1204\n' +
    'nr@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:40:6594\n' +
    'lt@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:40:2391\n' +
    'Se@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:40:4\n' +
    'Mt@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:40:509\n' +
    'p0</Th/ei/<@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:39:45\n' +
    'Sn@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:33:8986\n' +
    'It@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:33:9397\n' +
    'ei@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:39:4\n' +
    'y0</Nh/this[c]<@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:54:2271\n' +
    'p@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:54:1844\n' +
    's@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:54:1907\n' +
    'y0</Nh/this.init@https://hostname/padbootstrap-vhXOb2UXh4Q.min.js:56:494\n'
}

How can I fix it ? Am doing a first Workspace /w/ in a "subdirectory" etherpad Thanks this is a very good plugin, very useful when not working in solo... Have a nice day

bonnebulle commented 4 hours ago

same here... https://github.com/ether/etherpad-lite/issues/6618 ( am using etherpad/etherpad:latest docker image )