Open disini opened 1 year ago
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:
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 https://github.com/dreamworksanimation/openmoonray/issues/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.
But if I unzip the package to a folder, all the files named with :: signs was renamed to a __ patern, like this :
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 __
.
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#
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.
Thanks @kjeffery ,
That's really weird....
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
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
This is out of my depth. We need some Linux experts!
It's OK. Thank you anyway! ^_^
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 :
does anyone know how to fix that? Thanks so much!