MNPR icon indicating copy to clipboard operation
MNPR copied to clipboard

Convert String to Float Error

Open ggaray360 opened this issue 6 years ago • 3 comments

Convert String to Float Error: source "C:/Program Files/MNPR/install.mel"; Error: file: C:/Program Files/MNPR/install.mel line 27: ValueError: file C:/Program Files/MNPR/scripts/coopLib.py line 80: could not convert string to float: Autodesk

ggaray360 avatar Jan 29 '19 18:01 ggaray360

Hi @ggaray360,

I'm going to need more information than this to troubleshoot this problem.

  1. Version of Maya (with update)
  2. Platform (Mac, Linux, Windows?)
  3. Language of Maya

semontesdeoca avatar Apr 08 '19 13:04 semontesdeoca

I encountered this as well. It seems that Maya 2018.1+ somehow reports its version differently

as a quick fix I changed line 75 in coopLib.py from; if parent.basename() == "maya":

To; if parent.basename() == "MAYA":

after that the install worked and the test scenes seem to load.

I hope this helps

Cheers

bbentley81 avatar Apr 16 '19 14:04 bbentley81

I used the workaround on 2018.4 on windows 10

bbentley81 avatar Apr 16 '19 14:04 bbentley81