Recurrent error

11 views
Skip to first unread message

Julien Gribonvald

unread,
Apr 24, 2020, 5:19:57 AM4/24/20
to Etherpad Developers
Hi folks,

I'm looking for help to trace a recurrent error on etherpad-lite 1.8.0:

[WARN] client - TypeError: $(...).val(...).niceSelect is not a function -- {
  errorId: '18M7O9h1BDb0K5f02oQn',
  msg: 'TypeError: $(...).val(...).niceSelect is not a function',
  url: 'https://xxx.xxxxx.fr/p/mon-pad-de-test-024qn3v?&auth_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpbiI6Imp1bGllbi5ncmlib252YWxkIiwia2V5IjoiY2s5ZHl3ajJlMDAwMWp4bG40N2oxcXVodiIsImlhdCI6MTU4NzcxOTAwN30.9mJPvbikHDQoehHBU4wXQLk-VwUaHwHyYk7VbMVLrD4&userName=xxxxx%20zzzzzzz',
  linenumber: 5,
  userAgent: 'Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0'
}


This error appear after each characters are wrote !

Do you have any idea ?

Thanks

Richard de Rozario

unread,
Apr 28, 2020, 4:52:39 PM4/28/20
to Etherpad Developers
Hi Julien,

out of curiosity, I searched through the source code for `niceSelect` but could not find it.  What plugins are you using?

cheers,

RdR


On Friday, 24 April 2020 19:19:57 UTC+10, Julien Gribonvald wrote:
Hi folks,

I'm looking for help to trace a recurrent error on etherpad-lite 1.8.0:

[WARN] client - TypeError: $(...).val(...).niceSelect is not a function -- {
  errorId: '18M7O9h1BDb0K5f02oQn',
  msg: 'TypeError: $(...).val(...).niceSelect is not a function',
  url: 'https://xxx.xxxxx.fr/p/mon-pad-de-test-024qn3v?&auth_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpbiI6Imp1bGllbi5ncmlib252YWxkIiwia2V5IjoiY2s5ZHl3ajJlMDAwMWp4bG40N2oxcXVodiIsImlhdCI6MTU4NzcxOTAwN30.9mJPvbikHDQoehHBU4wXQLk-VwUaHwHyYk7VbMVLrD4&userName=xxxxx%20zzzzzzz',
  linenumber: 5,
  userAgent: 'Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0'
}

...

Julien Gribonvald

unread,
Apr 29, 2020, 3:27:56 AM4/29/20
to etherpad...@googlegroups.com

Hi Richard,

On version 1.8.0 and 1.8.3 here is a grep providing me on the whole project:

node_modules/ep_etherpad-lite/static/js/vendors/nice-select.js:  $.fn.niceSelect = function(method) {
node_modules/ep_etherpad-lite/static/js/pad.js:      $('#viewfontmenu').val(padcookie.getPref("padFontFamily")).niceSelect('update');
node_modules/ep_etherpad-lite/static/js/pad_editbar.js:      $('select').niceSelect();
src/static/js/vendors/nice-select.js:  $.fn.niceSelect = function(method) {
src/static/js/pad.js:      $('#viewfontmenu').val(padcookie.getPref("padFontFamily")).niceSelect('update');
src/static/js/pad_editbar.js:      $('select').niceSelect();

I'm using ep_mypads mainly.

As information I can't see a problem on the UI, but each character entered inside a pad generate a such error.

I deployed on debian strech and I'm using nvm with node v12.16.2 (last LTS version).

Regards,

Julien

--
You received this message because you are subscribed to the Google Groups "Etherpad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etherpad-lite-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/etherpad-lite-dev/5f1d655a-663e-45aa-8047-83005a2b38d5%40googlegroups.com.
--
Julien Gribonvald

Julien Gribonvald

unread,
Apr 29, 2020, 3:34:13 AM4/29/20
to etherpad...@googlegroups.com

Sorry but there is something odd, I migrate from 1.8.0 to 1.8.3 yesterday evening, I get the error again at restart but now I can't get the error. Also the error didn't appeared with a manual start it seems (my dev env), but with the systemd start whereas the env is the same.

Sorry for the noise ! If it appears again I will let you know.

Julien

--
Julien Gribonvald
Reply all
Reply to author
Forward
0 new messages