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'
}
...
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.
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