Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Cabel-0.8 Mac OS X

Date2006-02-03 21:49
FromVictor Lazzarini
SubjectRe: [Cs-dev] Cabel-0.8 Mac OS X
if you want to use csound in python, you
don't need CsoundVST, but the python module (_csnd.so &
csnd.py). From python, do 'import csnd'

[In fact, it's possible to build CsoundVST, but it will not
run.]

I had the impression you had been able to run Cabel
on OSX, didn't you say so when it was released?

Victor

>
> It runs but the modules don't show up - it is
> instanstiating Csound   however CsoundVST did not build as
> a dylib it did output the .py script   and the source code
> itself compiled without error. It was only in the
> linking of CsoundVST that things got hairy.
>
> In other words Cabel runs but I don't see the modules -
> just the   familiar background from Windows and Linux in
> Mac's wxPython. The   messages window in Cabel outputs
> this when creating a new module:
>
> Traceback (most recent call last):
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/controller.py",
> line   474, in onModulesMenu
>      module = self._model.addXmlModule(moduleName)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/model/workspace.py",
> line   142, in addXmlModule
>      self.addModule(module)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/model/workspace.py",
> line   120, in addModule
>      self.notifyObservers(arg)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/model/observer.py",
> line   96, in notifyObservers
>      o.update(self, arg)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/workspace.py",
> line   261, in update
>      self.addModule(newModule,
> self._controller._lastMousePt)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/workspace.py",
> line   322, in addModule
>      viewModule = Module(pt.x, pt.y, module,
> self._controller)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/module.py", line
> 92,   in __init__
>      self.height = self._getHeight()
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/module.py", line
> 388,   in _getHeight
>      return (self.numInputs + 1) * self._plugDistance
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/module.py", line
> 105,   in _getPlugDistance
>      return self._getCharHeight() + float(4 * self.scale)
>    File
> "/Users/daveakbari/Desktop/cabel-0.8/view/module.py", line
> 146,   in _getCharHeight
>      return float(dc.GetCharHeight() * self.scale)
>    File
> "//Library/Frameworks/Python.framework/Versions/2.4/lib/py
> thon2.4/site-  packages/wx-2.6-mac-unicode/wx/_gdi.py",
> line 3416, in GetCharHeight
>      return _gdi_.DC_GetCharHeight(*args, **kwargs)
> wx._core.PyAssertionError: C++ assertion "wxAssertFailure"
> failed in   ../src/mac/carbon/dc.cpp(1640): Invalid DC
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files for problems?  Stop!  Download the new
> AJAX search engine that makes searching your log files as
> easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net