Alice Vision error

   12960   19   2
User Avatar
Member
17 posts
Joined: July 2017
Offline
Hi
I receive error during cooking sop_av_photogrammetry node despite adding path to Alice Vision to environment variable or directly setting it in sop node.

Popup window title: Alice VIsion not installed\
Text: No material generated

My env path: ALICEVISION_PATH = D:\Dokumenty\houdini17.5\AliceVision-2.0.0
Any ideas what is wrong?
Edited by McKormick - March 28, 2019 10:40:55

Attachments:
av-error.jpg (372.7 KB)

User Avatar
Member
17 posts
Joined: July 2017
Offline
I include log files from AV_cache
Edited by McKormick - March 28, 2019 10:52:33

Attachments:
AV-log.7z (7.2 KB)

User Avatar
Member
197 posts
Joined: July 2015
Offline
Hi,

I checked your logs, and this is the error:
This program needs a CUDA-Enabled GPU (with at least compute capablility 2.0).

Does your machine have a CUDA-Enabled GPU as requested above?

Paul
Paul Ambrosiussen
Technical Artist, Freelance
twitter.com/ambrosiussen_p
User Avatar
Member
13 posts
Joined: June 2014
Offline
well, i will add my error to this thread, maybe it helps…

Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “opdefgamedev:op/sop_av_photogrammetry?PythonModule”, line 4, in ManualCook
File “opdefgamedev:op/sop_av_initialize?PythonModule”, line 59, in cookNode
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.222/houdini/python2.7libs\hou.py”, line 10459, in cook
return _hou.Node_cook(*args, **kwargs)
OperationFailed: The attempted operation failed.
Error while cooking.


this is what i get when i try to cook … newest houdini build , newest gamedev , alicevision 2.0.0 , no whitespaces in the alicevision path (but in the houdini path, due to german windows)

maybe someone can help me
User Avatar
Member
7 posts
Joined: July 2015
Offline
i have exactly the same error.
Running H17.5.173 on linux, updated gamdevtools and alicevision 2.1.0.


Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "opdef:/gamedev::Sop/sop_av_photogrammetry::2.0?PythonModule", line 4, in ManualCook
  File "opdef:/gamedev::Sop/sop_av_initialize::2.0?PythonModule", line 61, in cookNode
  File "/opt/hfs17.5/houdini/python2.7libs/hou.py", line 10448, in cook
    return _hou.Node_cook(*args, **kwargs)
OperationFailed: The attempted operation failed.
Error while cooking.
Edited by JoachimPaul - April 13, 2019 10:09:34
User Avatar
Member
197 posts
Joined: July 2015
Offline
Hi,

I will need the log files from both of you if I want to be able to figure out where it goes wrong
You can find these in your Cache directory.

Paul
Paul Ambrosiussen
Technical Artist, Freelance
twitter.com/ambrosiussen_p
User Avatar
Member
7 posts
Joined: July 2015
Offline
Hi,
the logs are empty.
But doesn't it looks like more an python issue ?
User Avatar
Member
197 posts
Joined: July 2015
Offline
JoachimPaul
Hi,
the logs are empty.
But doesn't it looks like more an python issue ?

Once you get that error, could you dive inside the node and tell me what the error on the python sop is there?
(Probably need to dive inside sop_av_photogrammetry first, and then sop_av_initialize next)
Paul Ambrosiussen
Technical Artist, Freelance
twitter.com/ambrosiussen_p
User Avatar
Member
7 posts
Joined: July 2015
Offline
SOLVED!!

always check and double check the naming if you're running linux.
If the variable is set to Alicevision-2.1.0 and not AliceVision-2.1.0 it can't work.
Edited by JoachimPaul - April 24, 2019 16:19:22
User Avatar
Member
197 posts
Joined: July 2015
Offline
JoachimPaul
SOLVED!!

always check and double check the naming if you're running linux.
If the variable is set to Alicevision-2.1.0 and not AliceVision-2.1.0 it can't work.

Hey!

Good catch, just to prevent future users from running into the same issue I'll add some more checks in my code to catch these issues.

Thanks!
Paul Ambrosiussen
Technical Artist, Freelance
twitter.com/ambrosiussen_p
User Avatar
Member
7 posts
Joined: Sept. 2016
Offline
I've an error too. But my env file is correct.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "opdef:/gamedev::Sop/sop_av_photogrammetry?PythonModule", line 6, in ManualCook
  File "opdef:/gamedev::Sop/sop_av_structure_from_motion?PythonModule", line 37, in cookNode
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/python2.7libs\hou.py", line 10477, in cook
    return _hou.Node_cook(*args, **kwargs)
OperationFailed: The attempted operation failed.
Error while cooking.

If i dive inside, the error happend on the sop_av_structure_from_motion1 node when doing camera connection maybe.
--------
05_Structure_from_Motion
05_Structure_from_Motion completed
--------
06_Prepare_Dense_Scene
06_Prepare_Dense_Scene completed
--------
07_Camera_Connection

Houdini 17.5.229
Windows 10
GPU : RTX 2080 + 2x GTX1080
AliceVision-2.1.0
Gametool 1.154 ( i've updated to a non production build since it's not worked too with 1.131 )

My env file is like this :
#
# Houdini Environment Settings
#
#
##########################################################
# Plugin PATH VARIABLES
##########################################################

## VRAY Path ##
VFH_ROOT="C:\Vray_Houdini\VrayHoudini17"
VRAY_APPSDK="${VFH_ROOT}/appsdk"
VRAY_OSL_PATH="${VRAY_APPSDK}/bin"
VRAY_UI_DS_PATH="${VFH_ROOT}/ui"
VFH_HOME="${VFH_ROOT}/vfh_home"
VRAY_FOR_HOUDINI_AURA_LOADERS="${VFH_HOME}/libs"
VFH_PATH="${VFH_HOME}/bin;${VRAY_APPSDK}/bin;${VRAY_FOR_HOUDINI_AURA_LOADERS}"

## MOP Path ##
MOPS = "C:\Program Files\Side Effects Software\MOPS-master\"

## Arnol Path ##
# HTOA = "C:/Users/ghiom/htoa/htoa-3.3.0_rf4b10e6_houdini-17.0.459/htoa-3.3.0_rf4b10e6_houdini-${HOUDINI_VERSION}/scripts/bin"
# HTOA_PATH = "C:/Users/ghiom/htoa/htoa-3.3.0_rf4b10e6_houdini-17.0.459/htoa-3.3.0_rf4b10e6_houdini-${HOUDINI_VERSION}

## Redshift Path ##
REDSHIFT = "C:/ProgramData/Redshift/bin"
REDSHIFT_PATH = "C:/ProgramData/Redshift/Plugins/Houdini/${HOUDINI_VERSION}"

## QUIXEL ##
HOUDINI_PATH = "$MOPS;$HOUDINI_PATH;D:\3DModel\Megascan\support\plugins\houdini\2.0\MSLiveLink;&"

## AliceVision ##
ALICEVISION_PATH = C:\AliceVision-2.1.0

##########################################################
# PATH Activation
##########################################################

PATH = "$PATH;${VFH_PATH};$REDSHIFT;$GDT"
HOUDINI_PATH = "${HOUDINI_PATH};$MOPS;${VFH_HOME};$REDSHIFT_PATH;$QUIXEL_PATH;GDT_PATH;$ALICEVISION_PATH;&"

#PATH = "$PATH;$HTOA;${VFH_PATH};$REDSHIFT;$GDT"
#HOUDINI_PATH = "$HTOA_PATH;${HOUDINI_PATH};$MOPS;${VFH_HOME};$REDSHIFT_PATH;$QUIXEL_PATH;GDT_PATH;&"

##########################################################
# Plugins Setups
##########################################################

# Vray setup
HOUDINI13_VOLUME_COMPATIBILITY=1
HDF5_DISABLE_VERSION_CHECK=1


# MOP setup
HOUDINI_OTLSCAN_PATH = @/otls
HOUDINI_TOOLBAR_PATH = @/toolbar
HOUDINI_SCRIPT_PATH = $MOPS/scripts;@/scripts

# OPTIX setup

# REDSHIFT setup
HOUDINI_DSO_ERROR = 2

# NVIDIA
# HOUDINI_OCL_VENDOR=�NVIDIA Corporation�
# HOUDINI_OCL_DEVICENUMBER = 0 











HOUDINI_EXTERNAL_HELP_BROWSER=1


HOUDINI_NVIDIA_OPTIX_DSO_PATH = C:/Users/ghiom/Documents/houdini17.5\optix

# GAMES DEVELOPMENT TOOLSET 
HOUDINI_PATH = $HOUDINI_PATH;$APPDATA\SideFX\GameDevToolset\17.5\1.154;&
PATH = $APPDATA\SideFX\GameDevToolset\17.5\1.154\bin;$PATH
Edited by ghiom - May 1, 2019 08:03:29
User Avatar
Member
7 posts
Joined: July 2015
Offline
should be
ALICEVISION_PATH = "C:\AliceVision-2.1.0"
User Avatar
Member
7 posts
Joined: Sept. 2016
Offline
JoachimPaul
should be
ALICEVISION_PATH = "C:\AliceVision-2.1.0"

Thanks you i will try it how can i didn't saw it ?!
User Avatar
Member
19 posts
Joined: Feb. 2013
Offline
I want to chime in and ive been trying to get alice vision working , it seems to cook everything just fine up to the “texturing” node, the error I keep running into is the “deleting nodes is not allowed during cooking” , seems to red warning sign on the load material python node

I've double checked my alice vision path and it currently this (as stated above)

## ALICE VISION ##
ALICEVISION_PATH="C:\Users\Adad\Documents\houdini_plugins\AliceVision-2.1.0"


Houdini 17.5.360
Game Dev Tools 1.196

Any ideas?

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "opdef:/gamedev::Sop/sop_av_texturing::2.0?PythonModule", line 54, in cookNode
  File "C:/PROGRA~1/SIDEEF~1/Houdini 17.5.360/houdini/python2.7libs\hou.py", line 10535, in cook
    return _hou.Node_cook(*args, **kwargs)
OperationFailed: The attempted operation failed.
Error while cooking.
Edited by moferad - Sept. 18, 2019 01:38:26

Attachments:
error.png (136.5 KB)

User Avatar
Member
11 posts
Joined: April 2018
Offline
I get this error on Houdini 18

Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “opdef:/labs:op/av_photogrammetry::3.0?PythonModule”, line 4, in ManualCook
File “opdef:/labs:op/av_initialize::3.0?PythonModule”, line 71, in cookNode
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.287/houdini/python2.7libs\hou.py”, line 11243, in cook
return _hou.Node_cook(*args, **kwargs)
OperationFailed: The attempted operation failed.
Error while cooking.

What is written into .env file

ALICEVISION_PATH = “C:\Tools\AliceVision-2.2.0”
User Avatar
Member
1 posts
Joined: Feb. 2018
Online
Hi, everyone

I got the exact same results as Ignash, and I also modified the .env file accordingly.

Is there any way to make it work in houdini 18 as of yet ?
User Avatar
Member
1 posts
Joined: Aug. 2019
Offline
Hello

I am having serious problems getting going with the alicevision plugin.

I have the latest version of the houdini labs shelf, both alicevision 2.3 and 2.4

Been doing everything "right" down to the letter, but I still get these errors. Starting with Camera will not initiate. Tried using the sample file on the site. Absolutely no gaps in my paths.

Meshroom (both versions) seem to be working fine. But the Houdini workflow is not working at all.

I would send you the log, but I really don't know where to find it!

Specs:

Graphic card: Quatro RTX 5000 with Max-Q Design

ASUS studio book

Device name CARCA-L1N0CV058017026
Processor Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.59 GHz
Installed RAM 48.0 GB (47.9 GB usable)
Device ID 9B244D06-4EAF-47EA-BBB3-F2DA7EBEF0E1
Product ID 00330-52348-40080-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Edition Windows 10 Pro
Version 20H2
Installed on ‎2021-‎03-‎29
OS build 19042.867
Experience Windows Feature Experience Pack 120.2212.551.0

Attachments:
houdini_temp.zip (942.3 KB)

User Avatar
Member
141 posts
Joined: Dec. 2015
Offline
I've got issues too. For me AV_Initialize fails, when I check the error it says:

Python error: Traceback (most recent call last):
File "<stdin>", line 41, in <module>
File "labs::Sop/av_initialize::4.0, PythonModule", line 41, in log
File "C:\PROGRA~1\SideFX\HOUDIN~1.562\python27\lib\subprocess.py", line 394, in __init__
errread, errwrite)
File "C:\PROGRA~1\SideFX\HOUDIN~1.562\python27\lib\subprocess.py", line 644, in _execute_child
startupinfo)
TypeError: environment can only contain strings
User Avatar
Member
197 posts
Joined: July 2015
Offline
szmatefy
I've got issues too. For me AV_Initialize fails, when I check the error it says:

Python error: Traceback (most recent call last):
File "<stdin>", line 41, in <module>
File "labs::Sop/av_initialize::4.0, PythonModule", line 41, in log
File "C:\PROGRA~1\SideFX\HOUDIN~1.562\python27\lib\subprocess.py", line 394, in __init__
errread, errwrite)
File "C:\PROGRA~1\SideFX\HOUDIN~1.562\python27\lib\subprocess.py", line 644, in _execute_child
startupinfo)
TypeError: environment can only contain strings


Unfortunately a known bug I have known about for some time The support tickets that have been opened about it don't reply to my questions, which has made it impossible to fix for me. If you could answer that question instead that'd be great!

Could you tell me what the value of the "Environment" parameter found under the advanced collapsible menu on the AV Photogrammetry says?
Is it returning something sensible, or is it erroring? If it looks sensible please copy the entire contents and save it in a txt and send it to me (Click on the string inside the parm, hit control+a, then copy) Please email that txt to support@sidefx.com!
Paul Ambrosiussen
Technical Artist, Freelance
twitter.com/ambrosiussen_p
User Avatar
Member
141 posts
Joined: Dec. 2015
Offline
It's a JSON key-value list, apparently. I've sent it via mail

Cheers

Szabolcs
Ambrosiussen
szmatefy
I've got issues too. For me AV_Initialize fails, when I check the error it says:

Python error: Traceback (most recent call last):
File "<stdin>", line 41, in <module>
File "labs::Sop/av_initialize::4.0, PythonModule", line 41, in log
File "C:\PROGRA~1\SideFX\HOUDIN~1.562\python27\lib\subprocess.py", line 394, in __init__
errread, errwrite)
File "C:\PROGRA~1\SideFX\HOUDIN~1.562\python27\lib\subprocess.py", line 644, in _execute_child
startupinfo)
TypeError: environment can only contain strings


Unfortunately a known bug I have known about for some time The support tickets that have been opened about it don't reply to my questions, which has made it impossible to fix for me. If you could answer that question instead that'd be great!

Could you tell me what the value of the "Environment" parameter found under the advanced collapsible menu on the AV Photogrammetry says?
Is it returning something sensible, or is it erroring? If it looks sensible please copy the entire contents and save it in a txt and send it to me (Click on the string inside the parm, hit control+a, then copy) Please email that txt to support@sidefx.com!
  • Quick Links