Re: [Swingosc-devel] [sc-dev] Plot : error
Brought to you by:
sciss
From: nescivi <ne...@gm...> - 2010-03-06 16:39:29
|
On Saturday 06 March 2010 10:09:19 Dan Stowell wrote: > a.plotMode = \levels; a.refresh; > > ERROR: Message 'smoothing_' not understood. > RECEIVER: > class SCPen (08207D00) { > > setSmoothing/smoothing_, is that a known difference between swing and > cocoa, or an accident? setSmooting gives a deprecation error in swing. I don't know why that is. sincerely, Marije > > Dan > > 2010/3/6 nescivi <ne...@gm...>: > > Issues are fixed in this diff.. > > > > please test on OSX. > > > > sincerely, > > Marije > > > > On Saturday 06 March 2010 01:16:26 nescivi wrote: > >> On Friday 05 March 2010 20:36:07 nescivi wrote: > >> > On Friday 05 March 2010 19:20:23 nescivi wrote: > >> > > Hiho, > >> > > > >> > > this is caused by the initClass of Plot. > >> > > > >> > > GUI calls can only be made in StartUp, not in initClass directly, as > >> > > on systems other than OSX/scide, the GUI redirect is not set yet at > >> > > initialisation. > >> > > >> > I just commited a fix (although there should also be a check in case > >> > GUI.skin is nil, in case the GUI.scheme is nil, for people without > >> > any graphical client). > >> > > >> > I am however getting this error when trying to execute the first > >> > example in the Plotter helpfile. > >> > > >> > Has anyone else been testing the Plotter addition on SwingOSC? > >> > >> The error is probably related to this Note in the Drawing Support > >> section in the String helpfile: > >> > >> Note: for cross-platform GUIs, use Pen.stringAtPoint, Pen.stringInRect, > >> Pen.stringCenteredIn, Pen.stringLeftJustIn, Pen.stringRightJustIn > >> instead. > >> > >> sincerely, > >> Marije > >> > >> > Sincerely, > >> > Marije > >> > > >> > ERROR: Method 'setSmoothing' of class Meta_JPen is deprecated and will > >> > be removed. Use 'Meta_JPen:smoothing_' instead. > >> > ERROR: A primitive was not bound. 0 547 > >> > Instance of Method { (03431390, gc=01, fmt=00, flg=11, set=04) > >> > instance variables [15] > >> > raw1 : Float 0.000000 00000400 04030004 > >> > raw2 : Float 0.000000 00000000 00000000 > >> > code : instance of Int8Array (0x3431570, size=4, set=0) > >> > selectors : nil > >> > constants : nil > >> > prototypeFrame : instance of Array (0x34314e0, size=4, set=2) > >> > context : nil > >> > argNames : instance of SymbolArray (0x3431230, size=4, set=1) > >> > varNames : nil > >> > sourceCode : nil > >> > ownerClass : class String (0x7ffce0fa3370) > >> > name : Symbol 'drawAtPoint' > >> > primitiveName : Symbol '_String_DrawAtPoint' > >> > filenameSymbol : Symbol > >> > '/usr/local/share/SuperCollider/SCClassLibrary/Common/GUI/PlusGUI/Coll > >> >ect io ns/StringPlusGUI.sc' charPos : Integer 683 > >> > } > >> > ERROR: Primitive 'none' failed. > >> > Failed. > >> > RECEIVER: > >> > nil > >> > CALL STACK: > >> > MethodError:reportError 036A8FE8 > >> > arg this = <instance of PrimitiveFailedError> > >> > Nil:handleError 036A5078 > >> > arg this = nil > >> > arg error = <instance of PrimitiveFailedError> > >> > Thread:handleError 03CEE958 > >> > arg this = <instance of Thread> > >> > arg error = <instance of PrimitiveFailedError> > >> > Object:throw 036A20C8 > >> > arg this = <instance of PrimitiveFailedError> > >> > Object:primitiveFailed 03CEF628 > >> > arg this = nil > >> > ArrayedCollection:do 0111DDD8 > >> > arg this = [*3] > >> > arg function = <instance of Function> > >> > var i = 0 > >> > Plot:drawOnGridX 038A8FA8 > >> > arg this = <instance of Plot> > >> > arg func = <instance of Function> > >> > var width = 338.25 > >> > var left = 25.875 > >> > var n = 7 > >> > var gridValues = [*3] > >> > var xspec = <instance of ControlSpec> > >> > Plot:drawNumbersX 014EAC98 > >> > arg this = <instance of Plot> > >> > var top = 24.875 > >> > var base = 275.125 > >> > Plot:draw 036F37C8 > >> > arg this = <instance of Plot> > >> > ArrayedCollection:do 036F1F98 > >> > arg this = [*1] > >> > arg function = <instance of Function> > >> > var i = 0 > >> > Meta_JPen:use 036F3268 > >> > arg this = class JPen > >> > arg function = <instance of Function> > >> > var res = nil > >> > Plotter:draw 036F3468 > >> > arg this = <instance of Plotter> > >> > Meta_JPen:protRefresh 037B9798 > >> > arg this = class JPen > >> > arg func = <instance of Function> > >> > arg view = <instance of JSCWindow> > >> > arg server = <instance of SwingOSC> > >> > arg penID = 1004 > >> > arg cmpID = 1000 > >> > var bndl = nil > >> > var off = nil > >> > var stop = nil > >> > var len = nil > >> > var numCmd = nil > >> > var nextLen = nil > >> > var maxBndlSize = nil > >> > var floatSize = nil > >> > JSCWindow:refresh 036F3518 > >> > arg this = <instance of JSCWindow> > >> > Plotter:refresh 036F28A8 > >> > arg this = <instance of Plotter> > >> > ArrayedCollection:plot2 038232B8 > >> > arg this = [*5] > >> > arg name = nil > >> > arg bounds = nil > >> > arg discrete = false > >> > arg numChannels = nil > >> > arg minval = nil > >> > arg maxval = nil > >> > var array = [*5] > >> > var plotter = <instance of Plotter> > >> > ... > >> > > >> > > >> > _______________________________________________ > >> > sc-dev mailing list > >> > > >> > info (subscription, etc.): > >> > http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: > >> > http://www.listarc.bham.ac.uk/marchives/sc-dev/ > >> > search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ > >> > >> _______________________________________________ > >> sc-dev mailing list > >> > >> info (subscription, etc.): > >> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: > >> http://www.listarc.bham.ac.uk/marchives/sc-dev/ > >> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/ > |