INSTALLATION ON MAC (again)

Can't get MOPs installed? Ask here.
Post Reply
MALO_MOPS
Posts: 4
Joined: Fri Jul 09, 2021 3:35 am

INSTALLATION ON MAC (again)

Post by MALO_MOPS »

Hi there,

I know - it has been asked a couple of times but non of the suggested solution will work on my end.

So - I have tried the simple way of adding the modified .json file to the package folder (which worked on the previous versions) but didn't work this time.
The second shot I tried was to modify the .env-file as described - which didn't work out either.
In both ways, I can't get the shelf tools nor the tab version (inside geo node) running. So no MOPS at all...

I updated Houdini and MOPS+ to the latest version - no success here, too.

The strange thing is that a couple of days before, I have seen the shelf tool but it was empty.

I'm currently on OSX 10.15.7, running Houdini 18.5.596 and the latest update from MOPS.
Any help would be highly appreciated.

Thanks and Cheers!

User avatar
toadstorm
Site Admin
Posts: 141
Joined: Sun Sep 22, 2019 1:28 pm

Re: INSTALLATION ON MAC (again)

Post by toadstorm »

Can you please provide me the following information:

* The contents of the package files you're using, for both MOPs and MOPs Plus
* The installation paths where both versions of MOPs are extracted to
* The locations of the package files on disk

Thanks!

MALO_MOPS
Posts: 4
Joined: Fri Jul 09, 2021 3:35 am

Re: INSTALLATION ON MAC (again)

Post by MALO_MOPS »

Hi there,

just figured it out!!

It's a bit annoying but the order of the script is very important. Didn't know that...

So everything was before Arnold line and therefore didn't work as supposed. As soon as I copied it after the Arnold line - it is fully working.

Nonetheless - here's what I have:
- MOPs 1.2.1e
- MOPs+ the latest version
/Users/MALO/Desktop/MALO_WORK/APPS/HOUDINI_3rd_PARTY/MOPS
/Users/MALO/Desktop/MALO_WORK/APPS/HOUDINI_3rd_PARTY/MOPS-1.2.1e
/Users/MALO/Library/Preferences/houdini/18.5/packages

Any additional tips are highly appreciated.

Cheers
Last edited by MALO_MOPS on Fri Jul 09, 2021 10:32 am, edited 1 time in total.

User avatar
toadstorm
Site Admin
Posts: 141
Joined: Sun Sep 22, 2019 1:28 pm

Re: INSTALLATION ON MAC (again)

Post by toadstorm »

Can you post your package file contents? That'd be the most important info.

The order of operations makes sense if you're using the .env method... then you have to start worrying about how your various HOUDINI_PATH entries are appended to each other. Packages sidestep that issue, which is why they tend to make things so much simpler. If you're using .env for Arnold, though, it can be tricky to mix that with package files. It's definitely possible to install Arnold via a package, though. Worth the effort.

MALO_MOPS
Posts: 4
Joined: Fri Jul 09, 2021 3:35 am

Re: INSTALLATION ON MAC (again)

Post by MALO_MOPS »

Sure.

Would the screenshot be enough?

As for Arnold - I just used the dmg-installer (from Autodesk). It never had been an issue so far.

Yesterday I tried to install the latest Renderman version and the hiccup started.
Last edited by MALO_MOPS on Fri Jul 09, 2021 11:19 am, edited 1 time in total.

User avatar
toadstorm
Site Admin
Posts: 141
Joined: Sun Sep 22, 2019 1:28 pm

Re: INSTALLATION ON MAC (again)

Post by toadstorm »

I meant the actual JSON text. You'd have one package for MOPs, and another for MOPs Plus, and another for Renderman, Arnold, etc.

Arnold will install correctly by itself, but it still writes to the houdini.env file. Once you start getting other plugins involved, that's where things can start to go awry, especially if you're trying to mix packages with a houdini.env file. The best way to go is to delete houdini.env entirely, and go with packages for everything. This does mean that in some cases you will need to build these package files yourself.

Here's an article I wrote about configuring packages... might help you debug this stuff. https://www.toadstorm.com/blog/?p=722

MALO_MOPS
Posts: 4
Joined: Fri Jul 09, 2021 3:35 am

Re: INSTALLATION ON MAC (again)

Post by MALO_MOPS »

This would be the one for MOPs:

{
"env": [
{
"MOPS": "/Users/MALO/Desktop/MALO_WORK/APPS/HOUDINI_3rd_PARTY/MOPS-1.2.1e"
},
],
"path": "$MOPS"

}

And this would be the one for MOPs+:

{
"env": [
{
"MOPS": "/Users/MALO/Desktop/MALO_WORK/APPS/HOUDINI_3rd_PARTY/MOPS"
},
],
"path": "$MOPS"

}


And the .env file as well (plus the usual explanation text):

# htoa config start
HOUDINI_PATH = "/Users/MALO/htoa/htoa-5.6.1.0_rf9edb5c_houdini-18.5.532/htoa-5.6.1.0_rf9edb5c_houdini-${HOUDINI_VERSION};&"
# htoa config end


# MOPS_PLUS
MOPS = "/Users/MALO/Desktop/MALO_WORK/APPS/HOUDINI_3rd_PARTY/MOPS"
HOUDINI_PATH = $HOUDINI_PATH:$MOPS:&


# RenderMan Path

RMANTREE=/Applications/Pixar/RenderManProServer-24.0
RFHTREE=/Applications/Pixar/RenderManForHoudini-24.0
RMAN_PROCEDURALPATH=$RFHTREE/18.5.596/openvdb;&
HOUDINI_PATH=$RFHTREE/18.5.596;&

Interestingly the ; also works on Mac

Those are the info you were asking for?

User avatar
toadstorm
Site Admin
Posts: 141
Joined: Sun Sep 22, 2019 1:28 pm

Re: INSTALLATION ON MAC (again)

Post by toadstorm »

MOPs and MOPs+ need different environment keys... you're going to effectively overwrite them here. The sample JSON file that comes with each should be using different keys: MOPs defines a variable called $MOPS, and MOPs Plus defines a variable called $MOPSPLUS. I'd recommend starting from the included templates again to reconfigure the package files.

Check out that article I linked for an explanation of how you could configure your own packages from scratch. It'd be pretty straightforward to translate your houdini.env into package files for Renderman, Arnold, MOPs and MOPs Plus. That'll make it much easier to add and remove new stuff later on as needed.

MALO_MOPS
Posts: 4
Joined: Fri Jul 09, 2021 3:35 am

Re: INSTALLATION ON MAC (again)

Post by MALO_MOPS »

Cheers!

That helped a lot and I'll read through the article in a sec.

Thanks again!

Post Reply