Closed theoryshaw closed 9 years ago
Unable to replicate on my local instance
Can replicate on remote instance, hrm
I'd suggest debugging by running etherdraw in console IE
sudo /etc/init.d/etherdraw stop
cd %etherdrawhome% (whatever that is for you)
bin/run.sh
Then when you upload an image it should give you the error.
Alternatively if you want I can jump on and take a look.
could you please have a look? thanks.
Error is this:
/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:4821
ctx.drawImage(element,
^
Error: Image given has not completed loading
at Raster.Item.extend._draw (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:4821:8)
at Raster.Base.extend.draw (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:3954:8)
at Layer.Item.extend._draw (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:4097:11)
at Layer.Base.extend.draw (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:3954:8)
at Project.PaperScopeItem.extend.draw (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:2542:14)
at CanvasView.View.extend.update (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:10552:11)
at CanvasView.Base.extend.draw (/home/ubuntu/draw/node_modules/paper/dist/paper-node.js:10468:8)
at progress_external_path (/home/ubuntu/draw/server.js:422:16)
at Socket.<anonymous> (/home/ubuntu/draw/server.js:180:5)
at Socket.emit [as $emit] (events.js:106:17)
Thanks @JohnMcLear
Dooo... it seems to be rearing its ugly head again. Same with you?
randomly happened upon this: http://stackoverflow.com/questions/544993/official-way-to-ask-jquery-wait-for-all-images-to-load-before-executing-somethin/545005#545005
could this be the issue?
Could be, haven't had any time to look at it further yet though ;\ Give it a go and see if it fixes it?
Hey John, any insight into this bug lately?
Afaik it's fixed, have you tested latest version?
yeah, pulled your latest branch changes over and restarted http://sketch.openingdesign.com
http://sketch.openingdesign.com/d/HPIUlyFDWl seems to be working okay?
I can't replicate on latest version. Can you?
On 20 May 2015 14:28, Ryan Schultz notifications@github.com wrote:
Hey John, any insight into this bug lately?
— Reply to this email directly or view it on GitHubhttps://github.com/JohnMcLear/draw/issues/179#issuecomment-103888838.
Hey, it's weird, it seems to be working now the 2nd time i tested after pulling your changes. :\
video demonstrates the issue: https://dl.dropboxusercontent.com/u/7117445/temp/image%20gone.mpg
Happens on all new instances, but this is the one i used for this video: http://sketch.openingdesign.com/d/1toeOwALfP
Image uploaded: https://dl.dropboxusercontent.com/u/7117445/temp/test.jpg