question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pad stuck on Loading status after paste some text

See original GitHub issue

I have suffered several times this annoying behaviour. From time to time, I cut and paste some text (even inside the pad itself) and the pad goes empty and shows Loading message forever.

Uncaught Error: mismatch error setting raw text in setDocAText

setDocAText  @VM367:778
setDocumentAttributedText @ VM367:199
(anonymous function) @ VM367:10325
(anonymous function) @ VM367:195
inCallStack @ VM367:472
inCallStackIfNecessary @ VM367:541
withCallbacks @ VM367:192
setBaseAttributedText @ VM367:10311
Ace2Inner.editorInfo.ace_setBaseAttributedText @ VM367:998
(anonymous function) @ VM42 pad.js?callback=require.define:2881
action @ VM42 pad.js?callback=require.define:2841
(anonymous function) @ VM42 pad.js?callback=require.define:2861
_.each._.forEach @ VM43 ace2_common.js?callback=require.define:11298
doActionsPendingInit @ VM42 pad.js?callback=require.define:2860
info.onEditorReady @ VM42 pad.js?callback=require.define:2985
readyFunc @ pad-testwrm?&auth_token=eyJ0eXAiOJ9.eyJsb2dpbi…:17
(anonymous function) @ VM367:5537

Taking a look into older issues I found #885 and #769. This should be addressed, but seems like it is happening again. At least on my deployment.

node version: v0.10.29 npm version: 1.4.21 etherpad-lite version: 1.6.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lpagliaricommented, Oct 21, 2016

My guess is that the paste itself caused the error, so existing pads will keep being stuck at “Loading”.

Looking at the list of plugins, the only one that looked suspicious of causing this issue was ep_linebreak. If you have some time, could you install this plugin on your new Etherpad instance and try to copy/paste some lines with manual line-breaks to see if you can reproduce the error?

Thanks, @pabelenda !

0reactions
pabelendacommented, Nov 21, 2016

Finally I decided to remove ep_linebreak on the production environment and, since then, no issues were reported.

Anyway, on the testing environment, with ep_linebreak installed, I am not able to reproduce the thing.

At this point I think we can close this issue. Many thanks for the help 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copy & Paste Acting Up on a Mac? Here's How to Fix It
Open the app where Command (⌘) + C and Command (⌘) + V weren't working and use these shortcuts. Do copying and pasting...
Read more >
Copy Paste Not Working on Mac? Here's How to Fix a Stuck ...
If the commands are not working, next try using the “Edit” menu approach of manually selecting Copy and Paste. If that approach works,...
Read more >
How to Work Around the Copy/Paste Bug on the Samsung ...
The problem most often occurs after around 20 or so copies to the clipboard. Most people reported the bug to be completely random,...
Read more >
Troubleshoot Sticky Notes - Microsoft Support
Here are some things to try when you're running into errors when using Sticky Notes ... The Sticky Notes button on OneNote for...
Read more >
How to add a progress bar to a shell script? - bash
You can implement this by overwriting a line. Use \r to go back to the beginning of the line without writing \n to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found