Cecilia – how to make it work again?

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
thebutant
Established Member
Posts: 169
Joined: Sun Nov 18, 2012 12:59 pm
Has thanked: 50 times
Been thanked: 8 times

Cecilia – how to make it work again?

Post by thebutant »

I'm such a fan of Cecilia!
Yet, I've been unable to run it for the last 9 months.
Since upgrading from Pop! _OS 21.10 to Pop! _OS 22.04, it won't launch.
And now, as I've been without it for so long, I'm really starting to miss it.
I wish I could make it work.

On Pop!_OS' reddit this topic has been discussed a little, but so few people feel the need for Cecilia, so nothing came out of it.
My hope is that someone here has a solution.

When trying to launch Ceclia, this is what happens:

Code: Select all

ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Loading Cecilia Preferences...
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'

Pyo warning: Buffer size set to Jack engine buffer size: 1024.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/wx/core.py", line 2251, in Notify
    self.notify()
  File "/usr/lib/python3/dist-packages/wx/core.py", line 3407, in Notify
    self.result = self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/splash.py", line 102, in OnClose
    self.callback()
  File "/usr/bin/cecilia", line 59, in onStart
    ceciliaMainFrame.onOpen(CeciliaLib.getVar("lastCeciliaFile"),
  File "/usr/lib/python3/dist-packages/cecilia/Resources/CeciliaMainFrame.py", line 227, in onOpen
    CeciliaLib.openCeciliaFile(self, event, builtin)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/CeciliaLib.py", line 755, in openCeciliaFile
    if not getVar("audioServer").openCecFile(cecFilePath):
  File "/usr/lib/python3/dist-packages/cecilia/Resources/audio.py", line 1788, in openCecFile
    CeciliaLib.getVar("mainFrame").onUpdateInterface(None)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/CeciliaMainFrame.py", line 305, in onUpdateInterface
    ceciliaInterface = CeciliaInterface.CeciliaInterface(None, title='Interface - %s' % title, mainFrame=self)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/CeciliaInterface.py", line 56, in __init__
    self.grapher = getGrapher(self)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/Grapher.py", line 1646, in getGrapher
    return CECGrapher(parent)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/Grapher.py", line 1330, in __init__
    self.toolbar = ToolBar(self, tools=['save', 'load', 'reset', 'show'],
  File "/usr/lib/python3/dist-packages/cecilia/Resources/Grapher.py", line 1172, in __init__
    self.convertSlider = ConvertSlider(self, self.GetParent())
  File "/usr/lib/python3/dist-packages/cecilia/Resources/Grapher.py", line 1577, in __init__
    PlainSlider.__init__(self, parent, 50, 2500, 200, log=True, outFunction=self.onSlider1)
  File "/usr/lib/python3/dist-packages/cecilia/Resources/Widgets.py", line 2037, in __init__
    self.createKnobBitmap()
  File "/usr/lib/python3/dist-packages/cecilia/Resources/Widgets.py", line 2065, in createKnobBitmap
    rec = wx.Rect(0, h2, w, self.sliderHeight)
TypeError: Rect(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 4 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'int'
  overload 4: argument 1 has unexpected type 'int'
  overload 5: argument 1 has unexpected type 'int'
  overload 6: argument 1 has unexpected type 'int'

Is it obvious to anyone what the problem is here?
And even better: How to solve it?

slangbein
Established Member
Posts: 13
Joined: Wed Dec 01, 2021 7:46 pm
Been thanked: 2 times

Re: Cecilia – how to make it work again?

Post by slangbein »

just a guess. I downloaded Cecilia 5.4.1

in your log file cecilia uses for its GUI a package called WxPython. There it fails. It could be a version mismatch.

Here what they say about required packages and their versions:

  • Python 3.6 <https://www.python.org/downloads/release/python-368/>_ or
    Python 3.7 <https://www.python.org/downloads/release/python-379/>_ (preferred) or
    Python 3.8 <https://www.python.org/downloads/release/python-385/>_.
    The programming language used to code the application.

  • WxPython 4.1.0 (Phoenix) <https://wxpython.org/pages/downloads/>_
    The toolkit used to create the graphical interface. (install with pip install wxPython)

  • pyo 1.0.3 <http://ajaxsoundstudio.com/software/pyo/>_
    The audio engine which gives his power to Cecilia. (install with pip install pyo)

  • numpy <https://pypi.python.org/pypi/numpy>_
    Array processing module for numbers. Used to accelerate the grapher display.
    Install the last stable version.

thebutant
Established Member
Posts: 169
Joined: Sun Nov 18, 2012 12:59 pm
Has thanked: 50 times
Been thanked: 8 times

Re: Cecilia – how to make it work again?

Post by thebutant »

Thanks, that's a good answer!
I discovered that Pop!'s version of wxPython is 4.0.7, while Cecilia requires 4.1.0.
So I'll look more into that part.
The strange thing is that Cecilia has worked in every earlier Pop!_OS version I've had over the years.

By the way, slangbein sounds like the most Norwegian nick I've heard. :wink:
Coincidence?

slangbein
Established Member
Posts: 13
Joined: Wed Dec 01, 2021 7:46 pm
Been thanked: 2 times

Re: Cecilia – how to make it work again?

Post by slangbein »

coincidence, as i am a german

thebutant
Established Member
Posts: 169
Joined: Sun Nov 18, 2012 12:59 pm
Has thanked: 50 times
Been thanked: 8 times

Re: Cecilia – how to make it work again?

Post by thebutant »

Haha.
Now you know how well you'd fit in in Norway. :D

tseaver
Established Member
Posts: 408
Joined: Mon Mar 13, 2017 6:07 am
Has thanked: 12 times
Been thanked: 102 times

Re: Cecilia – how to make it work again?

Post by tseaver »

@thebutant

The strange thing is that Cecilia has worked in every earlier Pop!_OS version I've had over the years.

Perhaps with previous versions you performed the documented incantation to install WxPython?

Code: Select all

$ pip install wxPython

But now, your PopOS! is shipping a version of it, which is not making obvious that you need to install an up-to-date version?

Ubuntu, Mixbus32C; acoustic blues / country / jazz
Mira23
Posts: 2
Joined: Fri Apr 07, 2023 9:47 am

Re: Cecilia – how to make it work again?

Post by Mira23 »

slangbein wrote: Fri Feb 17, 2023 7:55 am

just a guess. I downloaded Cecilia 5.4.1

in your log file cecilia uses for its GUI a package called WxPython. There it fails. It could be a version mismatch.

Here what they say about required packages and their versions:

  • Python 3.6 <https://www.python.org/downloads/release/python-368/>_ or
    Python 3.7 <https://www.python.org/downloads/release/python-379/>_ (preferred) or
    Python 3.8 <https://www.python.org/downloads/release/python-385/>_.
    The programming language used to code the application. word hurdle

  • WxPython 4.1.0 (Phoenix) <https://wxpython.org/pages/downloads/>_
    The toolkit used to create the graphical interface. (install with pip install wxPython)

  • pyo 1.0.3 <http://ajaxsoundstudio.com/software/pyo/>_
    The audio engine which gives his power to Cecilia. (install with pip install pyo)

  • numpy <https://pypi.python.org/pypi/numpy>_
    Array processing module for numbers. Used to accelerate the grapher display.
    Install the last stable version.

Oh, thanks, I solved this problem

Last edited by Mira23 on Fri Apr 07, 2023 9:56 am, edited 1 time in total.
Post Reply