ppautler
Posts: 12
Joined: Tue Sep 01, 2015 2:38 pm

Incorrect Error Reporting with Relative Processes [FIXED]

This is a bug that I've noticed when you use 'get_relative_process' to run a script from another process. If the original (source) process errors, the error indicator will still show up as green, not red. Essentially this is a false positive, and can be misleading.

Here's an example of code that uses 'get_relative_process.'


from vtool.maya_lib import util

def main():

script_name = 'create_test_rig'

rel_process = process.get_relative_process('../../chr_default_biped/body')
code_file_path = rel_process.get_code_file(script_name)

rel_process.run_script(code_file_path)
louisVottero
Site Admin
Posts: 202
Joined: Sat Aug 29, 2015 8:50 am

Re: Incorrect Error Reporting with Relative Processes

This is now fixed. Should get published tomorrow.

Return to “Bugs”