-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SoGui.init(sys.argv[0]) run error #100
Comments
#99 solve this. |
I update to the latest pivy (2022-08-25), recompile, and this error still exist. |
run #99,run below code,there is error TypeError: in method 'SoSensorManager_setChangedCallback', argument 2 of type 'void (*)(void *)' |
my python environment is "Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32" |
How are you recompiling? |
I recoimpile with cmake-gui configure setting Visual Studio 2017 X64,swig4.0.0,Qt5 items selected Anaconda install directory。I deleted all build files and folder before compile。recompiled,run Install project to make pivy package in Anaconda Lib/Site-package/pivy |
call code:myWindow = SoGui.init(sys.argv[0]),there throw error
Traceback (most recent call last):
File "D:\Temp\pivy\pivy-master\examples\Mentor\02.1.HelloCone.py", line 63, in
main()
File "D:\Temp\pivy\pivy-master\examples\Mentor\02.1.HelloCone.py", line 34, in main
myWindow = SoGui.init(sys.argv[0])
File "D:\Software\Software_Install\Anaconda3\lib\site-packages\pivy\sogui.py", line 123, in init
return pivy.quarter.QuarterWidget()
File "D:\Software\Software_Install\Anaconda3\lib\site-packages\pivy\quarter\QuarterWidget.py", line 204, in init
QuarterWidget._sensormanager = SensorManager()
File "D:\Software\Software_Install\Anaconda3\lib\site-packages\pivy\quarter\SensorManager.py", line 51, in init
SoDB.getSensorManager().setChangedCallback(self.sensorQueueChangedCB, self)
File "D:\Software\Software_Install\Anaconda3\lib\site-packages\pivy\coin.py", line 4068, in setChangedCallback
return _coin.SoSensorManager_setChangedCallback(self, sensorQueueChangedCB, data)
TypeError: in method 'SoSensorManager_setChangedCallback', argument 2 of type 'void (*)(void *)'
Exception ignored in: <function SensorManager.del at 0x000001D914F48280>
Traceback (most recent call last):
File "D:\Software\Software_Install\Anaconda3\lib\site-packages\pivy\quarter\SensorManager.py", line 58, in del
if self._signalthread.isRunning():
RuntimeError: Internal C++ object (SignalThread) already deleted.
The text was updated successfully, but these errors were encountered: