Open Aareon opened 3 years ago
I get somthing similar on the second run of my script (using objc python):
Traceback (most recent call last): File "Library/python38/threading.py", line 890, in _bootstrap self._bootstrap_inner() File "Library/python38/threading.py", line 932, in _bootstrap_inner self.run() File "Pyto.app/scripts_runner.py", line 51, in run super().run() File "Library/python38/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "Pyto.app/Lib/console.py", line 325, in run_script clear_mods() File "Pyto.app/Lib/console.py", line 264, in clear_mods delattr(_values, attr) File "Pyto.app/Lib/pyto_ui.py", line 2555, in del if self.__py_view.references == 1: File "Pyto.app/Lib/rubicon/objc/api.py", line 617, in getattr method = self.objc_class._cache_property_accessor(name) File "Pyto.app/Lib/rubicon/objc/api.py", line 516, in objc_class return ObjCClass(libobjc.object_getClass(self)) File "Pyto.app/Lib/rubicon/objc/api.py", line 817, in new__ ptr, name = cls._new_from_ptr(name_or_ptr) File "Pyto.app/Lib/rubicon/objc/api.py", line 718, in _new_from_ptr elif not object_isClass(ptr):
File "Pyto.app/Lib/rubicon/objc/api.py", line 275, in call
result = self.py_method(py_self, *args)
File "Pyto.app/scriptsrunner.py", line 87, in runCode
exec(str(code))
File "
Thanks for reporting this @elian. Perhaps the nice people over at rubicon can assist. I'll look into it a little more before I open an issue over there.
Report received from Discord user iPadOS 14.6 (18F72)