semontesdeoca / MNPR

MNPR is an expressive non-photorealistic rendering framework for real-time, filter-based stylization pipelines within Maya.
http://mnpr.artineering.io
Other
248 stars 38 forks source link

Convert String to Float Error #19

Open ggaray360 opened 5 years ago

ggaray360 commented 5 years ago

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

semontesdeoca commented 5 years ago

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
bbentley81 commented 5 years ago

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 commented 5 years ago

I used the workaround on 2018.4 on windows 10