Issue related to the lic folder

MantiumFlow CFD Software SupportCategory: Installation IssuesIssue related to the lic folder
MCAE Support asked 7 years ago

Got the following message:

Traceback (most recent call last):
File “MFlow_MVRC.py”, line 4662, in
File “MFlow_MVRC.py”, line 960, in readlicensefile
WindowsError: [Error 3] The system cannot find the path specified: ‘C:\\openfoam\\Ricardo\\lic/*.*’
Failed to execute script MFlow_MVRC

11 Answers
MCAE Support answered 4 years ago

So first to the bad news. I can replicate the issue. The good news are that I got an email about this and can already give a first response. This is better than last year. I have tested it on a Windows machine and it worked. However now I tried a different one and get your message. I do not think that it is a difficult thing to fix as it seems to be related with the license system which the MVRC edition does not use. I will try to fix it tomorrow morning.

MCAE Support answered 4 years ago

I understand the issue and know why it works on one pc and not on the other. A quick fix is to create a folder called lic where you have your MantiumFlow files. When starting the GUI you will get a warning but you can ignore it as far as I understand.

From MVRC Staff answered 4 years ago

It did work on the interactive mode. It still fails trying a command line direct build:
C:\openfoam\Ricardo>MFlow_MVRC_win 17MO000 mvrc 6
__ __ ______ ____ _ __
| \/ | _ _ _ _____ ___ _ _ __ __ / __/ / / __ \ | /| / /
| \ / | / \ | \ | |_ _|_ _| | | | \/ | / _// /__/ /_/ / |/ |/ /
| |\/| | / _ \ | \| | | | | || | | | |\/| |/_/ /____/\____/|__/|__/
| | | |/ ___ \| |\ | | | | || |_| | | | |
|_| |_/_/ \_\_| \_| |_| |___|\___/|_| |_| Version MVRC-2017.1
By MantiumCAE, for support please email to support@MantiumCAE.com
http://www.MantiumCAE.com
Please add a license file to the lic folder in your MantiumFlow installation.
For support please contact support@MantiumCAE.com
###################
Great to see it checking HX thickness.

MCAE Support answered 4 years ago

Does it help to put a file ending with .lic into the lic folder?

MCAE Support answered 4 years ago

Does it help to put a file ending with .lic into the lic folder?

From MVRC Staff answered 4 years ago

lil.lic file, ”aaa” as it’s only line of text:
C:\openfoam\Ricardo>MFlow_MVRC_win 17MO000 mvrc 6
__ __ ______ ____ _ __
| \/ | _ _ _ _____ ___ _ _ __ __ / __/ / / __ \ | /| / /
| \ / | / \ | \ | |_ _|_ _| | | | \/ | / _// /__/ /_/ / |/ |/ /
| |\/| | / _ \ | \| | | | | || | | | |\/| |/_/ /____/\____/|__/|__/
| | | |/ ___ \| |\ | | | | || |_| | | | |
|_| |_/_/ \_\_| \_| |_| |___|\___/|_| |_| Version MVRC-2017.1
By MantiumCAE, for support please email to support@MantiumCAE.com
http://www.MantiumCAE.com
Traceback (most recent call last):
File ”MFlow_MVRC.py”, line 4662, in
File ”MFlow_MVRC.py”, line 985, in readlicensefile
IndexError: list index out of range
Failed to execute script MFlow_MVRC

From MVRC Staff answered 4 years ago

In time, adding the .lic breaks the GUI again.

From MVRC Staff answered 4 years ago

just to confirm I also get the error message about the lic file.
the suggestion of just creating a lic folder solved the issue for me.

MCAE Support answered 4 years ago

OK, a new version is up. Please confirm if it works now.

From MVRC Staff answered 4 years ago

Yep, both interactive and command line work now. Thank you.