redhog / ep_sketchspace

The Etherpad drawing plugin
http://redhog.org/ep_sketchspace
9 stars 4 forks source link

Broken in etherpad-lite 1.1.5 #5

Open randyho-kk opened 11 years ago

randyho-kk commented 11 years ago

During install i get the following warning:

npm http GET https://registry.npmjs.org/ep_sketchspace npm http 304 https://registry.npmjs.org/ep_sketchspace npm WARN engine ep_sketchspace@0.0.8: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"v0.8.4","npm":"1.1.65"}) [2012-10-31 13:24:05.968] [INFO] console - ep_sketchspace@0.0.8 node_modules\ep_sketchspace CreateProcessW: %1 is not a valid Win32 application. [2012-10-31 13:24:06.151] [INFO] console - Restarting express server [2012-10-31 13:24:06.154] [INFO] console - info - 'socket.io started'

Then when i try to access a pad i get the following error in the pad (the server also crashes):

An error occured The error was reported with the following id: 'pkY4nOKj8npp5wg9BpC6'

Please send this error message to us: 'ErrorId: pkY4nOKj8npp5wg9BpC6 UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729) pad.collabClient is null in http://localhost:7000/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define at line 3'

After restarting the ep-lite server and reloading the browser with the pad, the pad didsplays and the server doesnt crash. But if i click the sketchspace icon, nothing happens. The ep-lite console window logs the following:

[2012-10-31 13:28:32.961] [ERROR] console - CLIENT SIDE JAVASCRIPT ERROR: {"errorId":"DkUcQeh61lSA2Ny01u5g","msg":"sketchSpace is undefined","url":"http://localhost:7000/p/dSHpt7htQe","linenumber":1,"userAgent":"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)"} [2012-10-31 13:28:32.968] [INFO] http - 200, POST /jserror

disy-mk commented 11 years ago

cannot reproduce your issue, but actually the plugin does not work for me:

I am using nginx reverse proxying to have ssl access enabled; plugin installed fine via admin/plugins but after having added it to the pad (having the icon there), i can click on it but nothing happens; i also have a small silver shield in the address bar (using google chrome) stating that there are insecure contents; allowing to load them, the let half of the site gets the sketchspace area, but without content (will append screenshots soon); also i cant see any errors in epl-log; when accessing the pad directly via ip (without using ssl) it behaves the same as having allowed the usade of insecure content (i also will have a look for what exactly the "insecure" content is) So far; using stable epl release 1.1.5 (rev. 394451) with node.js 0.8.14 (updated to it after experiencing the same with v.0.8.12)