dreamworksanimation / openmoonray

MoonRay is DreamWorks’ open-source, award-winning, state-of-the-art production MCRT renderer.

Home Page:https://openmoonray.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fatal: Unable to checkout 'e90ad4cdc4086c9e952e211d1570e0416af467c6' in submodule path 'moonray/moonray_dcc_plugins'

disini opened this issue · comments

commented

Hi,
I'm trying to checkout the repository on ubuntu 22.04.2, using git bash:

$ proxy git clone --recurse-submodules https://github.com/dreamworksanimation/openmoonray.git

I tried several times, but it always give the errors :


Submodule path 'moonray/moonray_arras/mcrt_messages': checked out '41ec28cc7f0de6675fc57ab20ed65fec5457bfe5'
error: unable to create file houdini/otls/Vop::DW_MOONRAY::AttributeMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::AxisAngleMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BaseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BaseVolume::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BlendDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BlendMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CheckerboardMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ClampDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ClampMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectContrastMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectGainOffsetMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectGammaMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectHsvMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectHueShiftMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectLegacyMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectNukeMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectSaturationMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectTMIMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CombineDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CombineNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantColorMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantScalarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConvolutionDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CurvatureMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CutoutVolume::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DebugMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DeformationMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DirectionalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DiscretizeDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DistortNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DofDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaAdjustMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaBaseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaColorCorrectMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaEmissiveMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaFabricMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaLayerMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaMetalMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaMixMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaRefractiveMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSkinMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSolidDielectricMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaToonMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaTwoSidedMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaVelvetMaterial::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ExtraAovMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::FloatToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::GlitterFlakeMaterial::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::GradientMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColorCorrectMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColorPresetsMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColumnMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairDiffuseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairLayerMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairMaterial::3.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairToonMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HalftoneDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HsvToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::LODMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::LayerMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ListMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::MacroFlakeMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::MultiChannelToFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseWorleyMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseWorleyMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NormalDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NormalToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpenVdbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpenVdbMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OverDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCylindricalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectPlanarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectPlanarNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectSphericalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarNormalMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarUdimMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RampDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RampMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RandomMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RandomNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RaySwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RemapDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RemapMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToFloatDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToHsvDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToHsvMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToLabMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ShadowDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchColorMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TangentSpaceDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ToonDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ToonMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TransformNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TransformSpaceMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::UVTransformMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::VectorDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::WireframeMap::1.hda: Invalid argument



Submodule path 'moonray/moonray_gui': checked out '1f00f0bcdae8ca9b40d8923fdc3c17c1b787836e'
Submodule path 'moonray/moonshine': checked out '963c933892f8d1dbb6a794834c72de06df88dd7e'
Submodule path 'moonray/moonshine_usd': checked out '1d850a4cdd40220e7ccd62157f360f2c36977b75'
Submodule path 'moonray/render_profile_viewer': checked out '4c35f67ed99fbfb13f523de39278cb2e45d4bb61'
Submodule path 'moonray/scene_rdl2': checked out '69412c549b8d3c7d992a8471d7973b774e5cda89'
Submodule path 'moonray/moonray_arras/mcrt_computation': checked out 'b3190ce32008445b08b1e09a691a1b7540147ef5'
Submodule path 'moonray/scene_rdl2': checked out '69412c549b8d3c7d992a8471d7973b774e5cda89'


fatal: Unable to checkout 'e90ad4cdc4086c9e952e211d1570e0416af467c6' in submodule path 'moonray/moonray_dcc_plugins'

does anyone know how to fix that? Thanks so much!

Hi @disini !

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy
> man proxy
No manual entry for proxy
> apt list proxy
Listing... Done
> git clone --recurse-submodules https://github.com/dreamworksanimation/openmoonray.git
# ... Works!

I don't see the same problem you are, but I don't know what that proxy command is. It neither exists in my distribution nor in my apt list. Is it a proxy server configuration issue? Perhaps a firewall?

Hi @disini !

I have a clarifying question. Are you running GitBash on Ubunutu? I am finding conflicting information as to whether this is available on Linux. My commands were done strictly on a bash shell. If you are running GitBash, you may be encountering these issues:

#8

commented

Hi Mr. @kjeffery ,
Thank you for your reply,
I runs linux terminal directly on ubuntu, instead of gitbash, to checkout this repository, the proxy command you mentioned is a custom proxy I added to my system environment in /etc/bash.bashrc :

alias proxy='http_proxy=127.0.0.1:8890 https_proxy=127.0.0.1:8890'

and that proxy was running with a clash client, because I'm in China and there is a disgusting GFW on my network, if I don't add the proxy before the git clone command I will always fail to check it out.

But I don't think this issue has any relationship with the proxy, because I used it everyday and every command with network connection, it works perfectly.

I've read the #8
issue ,and the
MSYS2
Software Distribution and Building Platform for Windows
has only windows version, so I've no idea on how to fix this on ubuntu.

And btw I tried to clone the moonray_dcc_plugins repository individually,

https://github.com/dreamworksanimation/moonray_dcc_plugins.git

but it makes the same error.

And I downloaded a zip package of moonray_dcc_plugins with the url :

https://github.com/dreamworksanimation/moonray_dcc_plugins/archive/refs/heads/release.zip

when I open that zip file I can see all the files in /moonray_dcc_plugins-1.0.0.0/houdini/otls/ with the origin name includes the :: signs.

Screen Capture_select-area_20230808151642

But if I unzip the package to a folder, all the files named with :: signs was renamed to a __ patern, like this :

Screen Capture_select-area_20230808151727

then I tried several times to replace the __ back to :: , but all failed, it seems that the ubuntu system doesn't support the :: chatacters in a file name?
And neither windows does.

That's what the current situation as I know, waiting for your help, Thank you sir!

then I tried several times to replace the __ back to :: , but all failed, it seems that the ubuntu system doesn't support the :: chatacters in a file name?

As far as I know colons should be valid in filenames on all linux distros. You can check using something like:

touch foo::bar
ls -l foo\:\:bar

I am not sure why cloning would fail or why unzipping would replace the ::'s with __.

commented

Hi @jlanz
Thanks for your reply, I tried the cmd above on my PC, it showed this:

liusheng@ubuntu22:/media/liusheng/Backup/test$ touch foo::bar
touch: setting times of 'foo::bar': No such file or directory
liusheng@ubuntu22:/media/liusheng/Backup/test$ touch foo\:\:bar
touch: setting times of 'foo::bar': No such file or directory
liusheng@ubuntu22:/media/liusheng/Backup/test$ su
Password: 
root@ubuntu22:/media/liusheng/Backup/test# touch foo::bar
touch: setting times of 'foo::bar': No such file or directory
root@ubuntu22:/media/liusheng/Backup/test# touch foo\:\:bar
touch: setting times of 'foo::bar': No such file or directory
root@ubuntu22:/media/liusheng/Backup/test# 

Screenshot from 2023-08-16 17-35-39

so I'm still confused......

I have no issues.

/tmp$ touch foo::bar
/tmp$ echo $LANG
en_US.UTF-8

Perhaps it is your language/character encoding settings.

commented

Thanks @kjeffery ,
That's really weird....
Screenshot from 2023-08-20 18-52-50

That is strange. Touch doesn't want to create the file for some reason. What happens if you redirect into a file?

echo 'test' > foo::bar
commented

That is strange. Touch doesn't want to create the file for some reason. What happens if you redirect into a file?

echo 'test' > foo::bar

it saids "bash: foo::bar: Invalid argument"
@kjeffery

Screenshot from 2023-08-21 11-02-39

This is out of my depth. We need some Linux experts!

commented

It's OK.
Thank you anyway! ^_^