[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] more quarks woe




Its due to this breakage in string.replace / string.find

There is a fix waiting here but its not yet merged:

https://github.com/supercollider/supercollider/pull/1759

The 3.7 branch is already fixed. I suggest switching to that branch since it is the current release candidate.



On Wed, Dec 16, 2015 at 1:49 PM Dave Phillips <dlphillips@xxxxxxxxxx> wrote:
Greetings,

Yesterday I updated my SC3 git source tree and recompiled/reinstalled
with no troubles. I also built and installed the latest SC3 plugins.

However, when I run Quarks.gui in scide I receive the following error :

Fetching https://github.com/supercollider-quarks/quarks.git
ERROR: Primitive '_String_Find' failed.
Wrong type.
RECEIVER:
Instance of String {    (0x1f0ab80, gc=01, fmt=07, flg=11, set=00)
   indexed slots [0]
}
CALL STACK:
     MethodError:reportError   0x38743f8
         arg this = <instance of PrimitiveFailedError>
     Nil:handleError   0x35cbd18
         arg this = nil
         arg error = <instance of PrimitiveFailedError>
     Thread:handleError   0x35fa678
         arg this = <instance of Thread>
         arg error = <instance of PrimitiveFailedError>
     Object:throw   0x35cea58
         arg this = <instance of PrimitiveFailedError>
     Object:primitiveFailed   0x3876748
         arg this = ""
     ArrayedCollection:replace   0x384b388
         arg this = ""
         arg find = [*1]
         arg replace = " "
         var index = nil
         var out = [*0]
         var array = ""
     String:replace   0x32fa458
         arg this = ""
         arg find = $

         arg replace = " "
     QuarkRowView:update   0x2a71a18
         arg this = <instance of QuarkRowView>
         var isInstalled = false
     QuarkRowView:init   0x384e248
         arg this = <instance of QuarkRowView>
         arg parent = <instance of TreeView>
         arg aQuark = <instance of Quark>
         arg qg = <instance of QuarksGui>
     < FunctionDef in Method QuarksGui:update >   0x2b3c008
         arg quark = <instance of Quark>
         var qrv = nil
         var lp = "/home/dlphilp/.local/share/S..."
     ArrayedCollection:do   0x2b392a8
         arg this = [*204]
         arg function = <instance of Function>
         var i = 0
     List:do   0x2b39cf8
         arg this = <instance of List>
         arg function = <instance of Function>
     QuarksGui:update   0x33fdae8
         arg this = <instance of QuarksGui>
         var recompile = false
     QuarksGui:init   0x3675788
         arg this = <instance of QuarksGui>
         var bounds = <instance of Rect>
         var btnUpdateDirectory = <instance of Button>
         var btnQuarksHelp = <instance of Button>
         var btnInstallFolder = <instance of Button>
         var btnOpenFolder = nil
         var btnClear = <instance of Button>
         var btnLoad = <instance of Button>
         var btnSave = <instance of Button>
     Interpreter:interpretPrintCmdLine   0x3675de8
         arg this = <instance of Interpreter>
         var res = nil
         var func = <instance of Function>
         var code = "Quarks.gui"
         var doc = nil
         var ideClass = <instance of Meta_ScIDE>
     Process:interpretPrintCmdLine   0x294e708
         arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_String_Find' failed.
Wrong type.
RECEIVER:


I assumed this problem had already been met and resolved somewhere, but
a Google search got no joy. Any suggestions for a fix ?

Fedora 21 x86_64 with Planet CCRMA additions, GCC 4.9.2.

Best,

dp



_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/