``我正在运行 Ubuntu 22.04 并尝试从这里安装 Cecilia5 软件: http://ajaxsoundstudio.com/cecilia5doc/ 并从 apt 开始。我检查了所有依赖项,似乎都满足了。问题是:无论是从已安装的 apt 版本开始,还是按照网站上的 Cecilia 安装文档进行操作,我都会收到相同的错误消息。发现(抱歉,新手)是图形界面的问题,尝试更改 Widgets.py 文档中的参数:更改但没有成功。如果有人能帮忙,那就太好了,谢谢!
这是从终端启动 cecilia 时出现的错误消息:
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'
在终端中出现上述错误信息之前发生了什么事情(上面最后发布的错误信息):
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/wx/core.py", line 2346, in Notify
self.notify()
File "/usr/local/lib/python3.10/dist-packages/wx/core.py", line 3552, 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'