in License by

Hello, I'm trying to setup MGPicker for our studio, our animators are very excited to use it, but I'm running into trouble loading the floating license we purchased.

When I click `Floating License: Login` I get the following traceback:

# Error: 'exceptions.OSError' object has no attribute 'value'
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "<string>", line 13, in MGP_LoadProcess
# AttributeError: 'exceptions.OSError' object has no attribute 'value' #
# [MG-PickerStudio] [License State]: Invalid Floating License. Connection refused #


We have a central location for the tool in our filesystem, and on loading Maya, we define the following environment variables:

MGPICKER_PROGRAM_FILE_DIR='{root}/MG-PickerStudio/MGPicker_Program'
MGPICKER_FLOAT_LIC_CONNECTOR_DIR = '{root}/MG-PickerStudio/MGPicker_connector/programs'
PYTHONPATH.append('{root}/MG-PickerStudio/MGPicker_Program')
PYTHONPATH.append('{root}/MG-PickerStudio/MGPicker_Program/UI')
PYTHONPATH.append('{root}/MG-PickerStudio/MGPicker_Program/Python')
MAYA_PLUG_IN_PATH.append('{root}/MG-PickerStudio/MGPicker_Program/Plug-ins')


with {root} being our install directory.

It seems like the MG-LicenseConnector directory points to the proper location in the preferences by default. Have you encountered this error before?

Thanks for your help,

Logan

Specs:

MGPicker 1.99.0 - maya 2020.4 - CentOS 7.6.1810

1 Answer

0 votes
by
I think I encounter a similar issue before in Linux~

It is the Maya launcher env that does not allow launching a program, like the connector.

So what if you manually launch the connector executable first, and try to connect to floating license in MG-Picker Studio?

Categories

...