
evoluspencil - issue #367
Can't paste due to a SYSTEM ERROR! * this.canvas.currentController is null error
Often when I select multiple object (either with the mouse or ctrl + click) and then I try to copy paste (to duplicate them) it doesn't work and the error I get is this:
SYSTEM ERROR! * this.canvas.currentController is null at: chrome://pencil/content/xferHel per/targetSetXferHelper.js:50
Seems to happen mostly when a Sketchy table is involved and when I click somewhere on the canvas prior to pasting (instead of just doing a ctrl+c and ctrl+v straight away with the current selection).
Comment #1
Posted on Nov 24, 2011 by Massive OxI would consider this a high priority bug. Also the fix is very easy.
on line 50, instead of passing in
Util.getMessage("action.create.shape", this.canvas.currentController.getName())
as the argument, if you replace the above with "", it works.
If you are a Windows user then you can find the targetSetXferHelper.js file in
C:\Program Files\Evolus\Pencil\app\content\pencil\xferHelper\
I am sure that the Linux directory structure is similar so you should be able to work out where the file is.
Comment #2
Posted on Dec 22, 2011 by Grumpy ElephantDo I need to replace this whole part of line 50, "Util.getMessage("action.create.shape", this.canvas.currentController.getName()" with just ""?
Or just the "action.create.shape" part?
I didn't get this to work.
Comment #3
Posted on Jan 9, 2012 by Swift Rhino(No comment was entered for this change.)
Comment #4
Posted on Jan 17, 2012 by Massive OxThanks to the fixer. Sorry richard for not replying. I have tried the newest version 1.3.3 from the download page and it is fixed.
Status: Fixed
Labels:
Type-Defect
Priority-Medium