Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys,
i have a python script, that imports bare functions from another python file. The file looks like:
from vrKernelServices import *
[...]
def allToMR():
vrSessionService.sendPython("MRmode()")
This throws me an error:
File "[...]VRtools.py", line 173, in allToMR
vrSessionService.sendPython("MRmode()")
TypeError: descriptor 'sendPython' requires a 'vrKernelServices.vrSessionService' object but received a 'str'
Makes no sense to me, because the code is running fine if i do not import it from the file, but run it for example in a variant Set. Also the constructor of 'sendPython' accepts only a str...
Any ideas?
Solved! Go to Solution.