Meshroom: Cannot launch the linux binary on linux mint 17.2

Created on 13 Aug 2018  路  12Comments  路  Source: alicevision/meshroom

Nothing happen after double clicking the executable, so I start it with terminal and the following error occurred

Traceback (most recent call last):
  File "/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/cx_Freeze/initscripts/__startup__.py", line 13, in run
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/opt/Meshroom/setupInitScriptUnix.py", line 27, in <module>
OSError: [Errno 7] Argument list too long

Just in case it is related to the locale I am using ,I am using Traditional Chinese.

stale

Most helpful comment

Use only english named directories,do not use locales.For example /home/user/袩褉芯谐褉邪屑屑褘 gives me an error message. /home/user/programms works fine.

All 12 comments

same problem with mint 13.8

Hello guys, did you solve the problem?

Same in linux mint 18
there is no /opt/rh in my system, guessing thats some Redhat specific package and absolute pathing, will try to build the source.

When starting from git i just get a black window and the below lines repeting:
QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:

Hmm. In my case all problem be in path. I just copy in /home/user/Meshroom.

Use only english named directories,do not use locales.For example /home/user/袩褉芯谐褉邪屑屑褘 gives me an error message. /home/user/programms works fine.

Same in linux mint 18
there is no /opt/rh in my system, guessing thats some Redhat specific package and absolute pathing, will try to build the source.

When starting from git i just get a black window and the below lines repeting:
QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:

I get exactly the same thing on Ubuntu 16.04, did you manage to build from source?

sorry, i had no luck on that either so
i gave it up.

OK, thanks. Might I suggest to the project maintainers that something like a Linux Snap package is provided instead? I appreciate that this is more work but it would at least make the software more easily available on Debian/Ubuntu/Mint systems.

I'm sorry, we don't have resources for making a Snap package, but we would be happy to support such an initiative.

For the ubuntu problem have you tried the following suggestion from the README?

On Ubuntu, you may have conflicts between native drivers and mesa drivers. In that case, you need to force usage of native drivers by adding them to the LD_LIBRARY_PATH: LD_LIBRARY_PATH=/usr/lib/nvidia-340 PYTHONPATH=$PWD python meshroom/ui You may need to adjust the folder /usr/lib/nvidia-340 with the correct driver version.

Hmm, I thought I was using those drivers but if I try:

LD_LIBRARY_PATH=/usr/lib/nvidia-384 ./Meshroom

then it loads and runs fine. Thanks for your help.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue is closed due to inactivity. Feel free to re-open if new information is available.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Goldname100 picture Goldname100  路  51Comments

SugoiShades picture SugoiShades  路  28Comments

LukeV1 picture LukeV1  路  36Comments

hlyman picture hlyman  路  30Comments

jjisnow picture jjisnow  路  30Comments