-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Froze on Loading #620
Comments
The develop branch is freezing quite a bit for me on "Loading..." as well, thought it looks like a javascript problem. |
Okay but how can i fix it? |
Which Browser/OS are you using |
I use Win 7 Mozilla 11.0/ Chrome 18.0.xxx Server is Ubutnu 10.04 LTS with Apache |
Does your browser report any js errors? |
Yep [17:23:21.392] The module at "/pad" does not exist. @ http://88.198.116.77:9001/static/js/require-kernel.js:1 |
not at all Chrome isn´t ok @ me |
Firebug hangs and gets no response from Chromium says |
Deleting "document.domain = document.domain;" in pad.html helps. |
@0ip thank you! |
@0ip it doesn't seem to help in my case. Same errors as before. |
Chromium is dying at pad_userlist.js:713 |
Yes, that's definitely the problem. I defined a rather dull |
@jhollinger can you specify the commit where translate is beeing used? cant find it on develop or master |
I'm at the most recent checkout of develop. It's used about a dozen times. |
What the crap, git? Maybe my branch is screwed up. |
I like git but every now and then I have to delete everything and refork for no reason...grrr. That fixed |
I'm running 67d9f73. |
@0ip same problem at your link. (FF isn't actually throwing an error. It just hangs on "Loading" and Firebug shows that the request for ace2_inner.js never completes.) |
beta.etherpad.org doesn't work for me in FF either, looks like same issue. |
I now believe this to be a Minify issue. I disabled minify and now it works. Investigating. |
The problem seems to be triggered in pad.html. The fact that no errors are thrown makes it difficult to track down. But so far I've found two workarounds:
Or
Does this make sense to anyone more familiar with kernel.require or yajsml? It only seems to be a problem in FF, so I guess the problem could be there, too. |
@jhollinger, I’m looking into it. First thing I ought to do is adjust 22eaa6f, That conditional means that the packaging middleware is never exercised in development… so nobody will ever notice when integration with that breaks down. |
I don’t have a full understanding on exactly what is happening, but the end effect was that the following lines: --- a/src/templates/pad.html
+++ b/src/templates/pad.html
@@ -287,11 +287,14 @@
var plugins = require('ep_etherpad-lite/static/js/pluginfw/plugins');
plugins.update(function () {
+ console.log('interrupted');
require('ep_etherpad-lite/static/js/pad').init();
});
/* TODO: These globals shouldn't exist. */
+ console.log('- require');
pad = require('ep_etherpad-lite/static/js/pad').pad;
+ console.log('+ require');
chat = require('ep_etherpad-lite/static/js/chat').chat;
padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp; Executed in this order:
I’m not a fan of what this appears to imply (that |
Hey all,
some days ago i installed etherpad-lite. on installation all went fine but i think there is a problem with the database and i don´t know how to fix it.
I created an mysql user and a database and went on like the how to it say´s.
When i start etherpad-lite via script i can read this at log:
[32m[2012-04-10 13:56:43.875] [INFO] console - [39mYour Etherpad Lite git version is 309e3b0
[32m[2012-04-10 13:56:43.877] [INFO] console - [39mReport bugs at https://github.com/Pita/etherpad-lite/issues
[32m[2012-04-10 13:56:44.031] [INFO] console - [39mServer is listening at 88.198.116.77:9001
[32m[2012-04-10 13:56:44.032] [INFO] console - [39m �[36minfo -�[39m 'socket.io started'
and when i go on the site this apperas at log:
[32m[2012-04-10 13:57:06.482] [INFO] http -[39m200, GET /p/5CrUAwYnoW
[32m[2012-04-10 13:57:06.962] [INFO] http -[39m200, GET /minified/pad.js?callback=require.define
[32m[2012-04-10 13:57:07.012] [INFO] http -[39m200, GET /minified/pad/index.js?callback=require.define
on browser etherpad-lite freeze on "Loading..."
also the log stop until a new website request.
Anyone have an idee what i do wrong /where the problem is?
The text was updated successfully, but these errors were encountered: