Community
Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to read library config file

15 REPLIES 15
SOLVED
Reply
Message 1 of 16
psultanNTFVD
1704 Views, 15 Replies

Failed to read library config file

It seems like Bifrost cannot load the library config file off a unc network drive on windows.  

  Warning: Bifrost: Failed to read library config file \\Bluearc\..\windows\plugin_config.json  

  Error: Error: Failed to locate Json doc 'bifrost::\\Bluearc\...\windows\plugin_config.json'

 

Similarly, if I modify my MAYA_MODULE_PATH to use posix slashes I get the same result.

  Warning: Bifrost: Failed to read library config file //Bluearc/../windows/plugin_config.json

  Error: Error: Failed to locate Json doc 'bifrost:://Bluearc/.../windows/plugin_config.json'

 

Our equivalent linux network folder for Bifrost works fine on linux.

Tags (3)
15 REPLIES 15
Message 2 of 16
ryan.harvey
in reply to: psultanNTFVD

Hi there,

 

Since you're on windows, the network drive should be mapped as a drive letter using the 'Map Network Drive' feature. Then when you specify the network path via env var, you can use the drive-letter-path, i.e. P:\..\windows\etc

 

Cheers,

Ryan

Bifrost QA at Autodesk
Message 3 of 16
psultanNTFVD
in reply to: ryan.harvey

Hi Ryan,  Thanks for the suggestion.  Unfortunately mapping network drives is not an option at our studio.  We have dozens of other plugins/modules/renderers(including arnold) that work just fine on UNC paths.  This seems like it would be a very minor patch for the bifrost devs to make it more consistent with industry norms. 

Message 4 of 16
lucericr
in reply to: psultanNTFVD

\\Bluearc\..\windows

 

is this the actual path you enter?  what is that ".." doing there instead of the share name?  

Message 5 of 16

Ryan has confirmed that this indeed doesn't work in the current releases. I've opened BIFROST-3311 for the issue. I hope to get you an update about this soon. 

 

Thanks Paul. 

Jonah Friedman
Bifrost Product Manager
Message 6 of 16
psultanNTFVD
in reply to: lucericr

The ".." is not in the actual path.  I am suppressing our long/client-sensitive path.

Message 7 of 16

Thanks Jonah!  🙂

Message 8 of 16
Narann
in reply to: psultanNTFVD

Hi, I want to share a similar problem :

 

// Loading Bifrost version 2.0.2.0 //
// Warning: Bifrost: Failed to read library config file c:\app\autodesk\bifrost\2.0.2.0_maya2018\bifrost\resources\plugin_config.json. //
// Error: Error: Failed to locate Json doc 'bifrost:c:\app\autodesk\bifrost\2.0.2.0_maya2018\bifrost\resources\plugin_config.json'. // 

 

Here, 

c:\app\autodesk\bifrost

is the network mount point.

 

No problem on Linux.

 

Any workaround to share?

 

Thanks in advance!

Message 9 of 16
jonah.friedman
in reply to: Narann

Hi Dorian Fevrier,

 

This is actively being worked on and should be fixed in an update soon. 

Jonah Friedman
Bifrost Product Manager
Message 10 of 16
Narann
in reply to: jonah.friedman

Thanks Jonah! We will wait for it!

 

Have a good day!

Message 11 of 16

Hi Jonah,

 

I'm waiting for the fix as well....

Thanks!

Message 12 of 16
macintosh
in reply to: ken.mohamed

I hate to revisit such an old thread, but I'm having a similar issue.  We use Modules in Linux and Maya is installed in a non-standard location.  We have a variety of env variables set to make everything work...  except these:

 

Warning: Bifrost: Failed to read library config file /usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/resources/plugin_config.json.
Warning: Bifrost: Failed to read library config file /usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/packs/packs_plugin_config.json.

 

Nothing in Bifrost will render and I can't figure out where to override these paths.  The plugin loads fine, Looks great in the viewport even, just won't show in the render.

 

Here is a single frame of the burning barrel sample rendered at the CLI. 


// Bifrost: Pre-loaded mayaUsdPlugin to access proper Maya USD libraries.
Loading Bifrost version 2.7.1.0-202305031722-78e3c16
Warning: Bifrost: Failed to read library config file /usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/resources/plugin_config.json.
Warning: Bifrost: Failed to read library config file /usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/packs/packs_plugin_config.json.
Bifrost: Loading library: Amino, from: Autodesk.
Bifrost: Loading library: AminoMayaTranslation, from: Autodesk.
Bifrost: Loading library: bif, from: Autodesk.
Bifrost: Loading library: bifrostObjectMayaTranslations, from: Autodesk.
Bifrost: Loading library: geometries, from: Autodesk.
Bifrost: Loading library: fluids, from: Autodesk.
Bifrost: Loading library: particles, from: Autodesk.
Bifrost: Loading library: file, from: Autodesk.
Bifrost: Loading library: mpm, from: Autodesk.
Bifrost: Loading library: modeling, from: Autodesk.
Bifrost: Loading library: nucleus, from: Autodesk.
Bifrost: Loading library: simulation, from: Autodesk.
Bifrost: Loading library: riv_types, from: Autodesk.
Bifrost: Loading library: riv, from: Autodesk.
Bifrost: Loading library: scatter_pack, from: Autodesk.
Bifrost: Loading library: graphs, from: Autodesk.
Bifrost: Loading library: usd_pack, from: Autodesk.
Bifrost: Loading library: usdMayaTranslations, from: Autodesk.
Error: line 1: Error: Failed to locate Json doc 'bifrost:/usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/resources/plugin_config.json'.
Error: line 1: Error: Failed to locate Json doc 'bifrost:/usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/packs/packs_plugin_config.json'.
00:00:00 1254MB | log started Thu Jun 22 14:56:34 2023
00:00:00 1254MB | Arnold 7.2.2.0 [40c92ac1] linux x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/06/05 16:41:36
00:00:00 1254MB | running on crcfe02.crc.nd.edu, pid=629557
00:00:00 1254MB | 2 x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (24 cores, 24 logical) with 256719MB
00:00:00 1254MB | Red Hat Enterprise Linux 8.8 (Ootpa), Linux kernel 4.18.0-477.13.1.el8_8.x86_64
00:00:00 1254MB | soft limit for open files changed from 65536 to 65534
00:00:00 1254MB |
00:00:00 1254MB | Installing system handler with mask 255
00:00:00 1263MB | [metadata] loading metadata file: /opt/crc/m/maya/2024/usr/autodesk/arnold/maya2024/plug-ins/../bin/arnold.mtd
00:00:00 1265MB | [color_manager_ocio] default ocio.config found in /opt/crc/m/maya/2024/usr/autodesk/arnold/maya2024/plug-ins/../bin/../ocio/configs/arnold/config.ocio
00:00:00 1265MB | loading plugins from /opt/crc/m/maya/2024/usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/arnold-7.2.0.0 ...
00:00:00 1266MB | libarnold_bifrost.so: bifrost_graph uses Arnold 7.2.0.0
00:00:00 1267MB | libarnold_bifrost.so: bifrost_object uses Arnold 7.2.0.0
00:00:00 1267MB | libarnold_bifrost.so: bifrost_multires_volume uses Arnold 7.2.0.0
00:00:00 1267MB | libarnold_bifrost.so: bifrost_multires_implicit uses Arnold 7.2.0.0
00:00:00 1267MB | libarnold_bifrost.so: bifrost_volume uses Arnold 7.2.0.0
00:00:00 1267MB | libarnold_bifrost.so: bifrost_points uses Arnold 7.2.0.0
00:00:00 1267MB | libarnold_bifrost.so: bifrost_implicit uses Arnold 7.2.0.0
00:00:00 1268MB | libarnold_bifrost.so: bifrost_polymesh uses Arnold 7.2.0.0
00:00:00 1268MB | libarnold_bifrost.so: bifrost_blocks uses Arnold 7.2.0.0
00:00:00 1268MB | loaded 9 plugins from 1 lib(s) in 0:00.09
00:00:00 1268MB | loading plugins from /opt/crc/m/maya/2024/usr/autodesk/arnold/maya2024/plug-ins/../bin/../plugins ...
00:00:00 1268MB | alembic_proc.so: alembic uses Arnold 7.2.2.0
00:00:00 1276MB | usd_proc.so: usd uses Arnold 7.2.2.0
00:00:00 1277MB | cryptomatte.so: cryptomatte uses Arnold 7.2.2.0
00:00:00 1277MB | cryptomatte.so: cryptomatte_filter uses Arnold 7.2.2.0
00:00:00 1277MB | cryptomatte.so: cryptomatte_manifest_driver uses Arnold 7.2.2.0
00:00:00 1277MB | [metadata] loading metadata file: /opt/crc/m/maya/2024/usr/autodesk/arnold/maya2024/plug-ins/../bin/../plugins/cryptomatte.mtd
00:00:00 1277MB | loaded 5 plugins from 3 lib(s) in 0:00.01
Warning: line 1: About -ltVersion is deprecated
File read in 6.1 seconds.
Result: /afs/crc.nd.edu/user/j/jslaught/maya_test_scene/scenes/fire2.mb
Exporting Arnold Scene...
remark: <unknown>:0:0: loop not vectorized: call instruction cannot be vectorized
remark: <unknown>:0:0: loop not vectorized: call instruction cannot be vectorized
warning: <unknown>:0:0: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: <unknown>:0:0: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
Updating Arnold Scene...
00:00:04 1640MB | log started Thu Jun 22 14:56:39 2023
00:00:04 1640MB | Arnold 7.2.2.0 [40c92ac1] linux x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/06/05 16:41:36
00:00:04 1640MB | host application: MtoA 5.3.2 a59426fb (fix-5.3.2) Maya 2024
00:00:04 1640MB | running on #####################, pid=629557
00:00:04 1640MB | 2 x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (24 cores, 24 logical) with 256719MB
00:00:04 1640MB | Red Hat Enterprise Linux 8.8 (Ootpa), Linux kernel 4.18.0-477.13.1.el8_8.x86_64
00:00:04 1640MB | soft limit for open files is set at 65534
00:00:04 1640MB |
00:00:04 1640MB |
00:00:04 1640MB | authorizing with default license managers: rlm, network, user ...
00:00:04 1660MB | [network] authorized for "############_2024_0F" in 0:00.11
00:00:04 1660MB | [network] expiration date: ########, in use: 1/3000
00:00:04 1660MB |
00:00:04 1660MB | [color_manager] using color manager of type "color_manager_ocio"
00:00:04 1662MB | [color_manager_ocio] using config file /opt/crc/m/maya/2024/usr/autodesk/maya2024/resources/OCIO-configs/Maya2022-default/config.ocio
00:00:04 1663MB | [color_manager] rendering color space is "ACEScg"
00:00:04 1714MB |
00:00:04 1714MB | there are 0 lights and 2 objects:
00:00:04 1714MB | 1 persp_camera
00:00:04 1714MB | 2 utility
00:00:04 1714MB | 1 driver_png
00:00:04 1714MB | 2 box_filter
00:00:04 1714MB | 1 gaussian_filter
00:00:04 1714MB | 2 list_aggregate
00:00:04 1714MB | 3 color_manager_ocio
00:00:04 1714MB | 1 bifrost_graph
00:00:04 1714MB |
00:00:04 1714MB | rendering image at 960 x 540, 3 AA samples
00:00:04 1714MB | AA samples max <disabled>
00:00:04 1714MB | AA sample clamp <disabled>
00:00:04 1714MB | diffuse samples 2 / depth 1
00:00:04 1714MB | specular samples 2 / depth 1
00:00:04 1714MB | transmission samples 2 / depth 8
00:00:04 1714MB | volume indirect <disabled by depth>
00:00:04 1714MB | total depth 10
00:00:04 1714MB | bssrdf samples 2
00:00:04 1714MB | light <using per light samples>
00:00:04 1714MB | transparency depth 10
00:00:04 1714MB | initializing 10 nodes
00:00:04 1714MB | [bifrost] /burningBarrel/burningBarrelShape: no graph specified, translating inputs directly instead
00:00:04 1714MB | [proc] /burningBarrel/burningBarrelShape: loaded 0 nodes (0 objects, 0 shaders)
00:00:04 1714MB | creating root object list ...
00:00:04 1714MB | node initialization done in 0:00.00 (multithreaded)
00:00:04 1714MB | updating 11 nodes
00:00:04 1718MB | [color_manager_ocio] using config file /opt/crc/m/maya/2024/usr/autodesk/arnold/maya2024/plug-ins/../bin/../ocio/configs/arnold/config.ocio
00:00:04 1718MB | no objects
00:00:04 1719MB | node update done in 0:00.01 (multithreaded)
00:00:04 1719MB | [aov] parsing 1 output statements ...
00:00:04 1719MB | [aov] registered driver: "defaultArnoldDriver/driver_png.RGBA" (driver_png)
00:00:04 1719MB | [aov] * "RGBA" of type RGBA filtered by "defaultArnoldFilter/gaussian_filter" (gaussian_filter)
00:00:04 1719MB | [aov] done preparing 2 AOVs for 1 output to 1 driver (0 deep AOVs)
00:00:04 1730MB | starting 24 bucket workers of size 64x64 ...
00:00:04 1746MB | 0% done - 12 rays/pixel
00:00:04 1754MB | 5% done - 17 rays/pixel
00:00:04 1757MB | 10% done - 19 rays/pixel
00:00:04 1757MB | 15% done - 7 rays/pixel
00:00:04 1757MB | 20% done - 12 rays/pixel
00:00:04 1757MB | 25% done - 9 rays/pixel
00:00:04 1757MB | 30% done - 9 rays/pixel
00:00:04 1757MB | 35% done - 9 rays/pixel
00:00:04 1757MB | 40% done - 7 rays/pixel
00:00:04 1757MB | 45% done - 7 rays/pixel
00:00:04 1757MB | 50% done - 13 rays/pixel
00:00:04 1757MB | 55% done - 7 rays/pixel
00:00:04 1757MB | 60% done - 10 rays/pixel
00:00:04 1757MB | 65% done - 11 rays/pixel
00:00:04 1757MB | 70% done - 13 rays/pixel
00:00:04 1757MB | 75% done - 6 rays/pixel
00:00:04 1757MB | 80% done - 5 rays/pixel
00:00:04 1757MB | 85% done - 11 rays/pixel
00:00:04 1757MB | 90% done - 6 rays/pixel
00:00:04 1757MB | 95% done - 4 rays/pixel
00:00:04 1757MB | 100% done - 2 rays/pixel
00:00:04 1757MB | render done in 0:00.408
00:00:04 1757MB | [driver_png] writing file `/afs/crc.nd.edu/user/j/jslaught/maya_test_scene/images/fire2.0001.png'
00:00:05 1757MB | render done
00:00:05 1757MB |
00:00:05 1757MB | -----------------------------------------------------------------------------------
00:00:05 1757MB | scene creation time 0:04.37 machine utilization (0.00%)
00:00:05 1757MB | unaccounted 0:04.37
00:00:05 1757MB | -----------------------------------------------------------------------------------
00:00:05 1757MB | frame time 0:00.63 machine utilization (32.60%)
00:00:05 1757MB | node init 0:00.01
00:00:05 1757MB | driver init/close 0:00.04
00:00:05 1757MB | rendering 0:00.40
00:00:05 1757MB | output driver 0:00.01
00:00:05 1757MB | pixel rendering 0:00.39
00:00:05 1757MB | unaccounted 0:00.15
00:00:05 1757MB | -----------------------------------------------------------------------------------
00:00:05 1757MB | top session self-times by category
00:00:05 1758MB | -----------------------------------------------------------------------------------
00:00:05 1758MB | top session self-times by node
00:00:05 1758MB | -----------------------------------------------------------------------------------
00:00:05 1758MB | peak CPU memory used 1757.86MB
00:00:05 1758MB | at startup 1254.16MB
00:00:05 1758MB | AOV samples 15.36MB
00:00:05 1758MB | output buffers 2.99MB
00:00:05 1758MB | framebuffers 8.44MB
00:00:05 1758MB | node overhead 0.00MB
00:00:05 1758MB | message passing 0.05MB
00:00:05 1758MB | memory pools 12.94MB
00:00:05 1758MB | strings 24.50MB
00:00:05 1758MB | unaccounted 439.43MB
00:00:05 1758MB | -----------------------------------------------------------------------------------
00:00:05 1758MB | ray counts ( /pixel, /sample) (% total) (avg. hits) (max hits)
00:00:05 1758MB | camera 4799790 ( 9.26, 1.00) (100.00%) ( 0.00) ( 0)
00:00:05 1758MB | total 4799790 ( 9.26, 1.00) (100.00%) ( 0.00) ( 0)
00:00:05 1758MB | by ray depth: 0
00:00:05 1758MB | total 100.0%
00:00:05 1758MB | -----------------------------------------------------------------------------------
00:00:05 1758MB | geometry (% hit ) (instances) ( init mem, final mem)
00:00:05 1758MB | lists 1 ( 0.0%) ( 0) ( 0.00, 0.00)
00:00:05 1758MB | -----------------------------------------------------------------------------------
00:00:05 1758MB | performance warnings:
00:00:05 1758MB WARNING | Scene creation was a significant amount of total time (87%). Consider optimizing this process first.
00:00:05 1758MB | -----------------------------------------------------------------------------------

 

Message 13 of 16
macintosh
in reply to: macintosh

For the record, setting:

BIFROST_LIB_CONFIG_FILES /opt/crc/m/maya/2024/usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/resources/plugin_config.json:/opt/crc/m/maya/2024/usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/packs/packs_plugin_config.json

Doesn't work. Already tried that.
Message 14 of 16
syracoj
in reply to: macintosh

what's "the CLI"?

for this
Warning: Bifrost: Failed to read library config file /usr/autodesk/bifrost/maya2024/2.7.1.0/bifrost/resources/plugin_config.json.

you have checked that the plugin_config.json file is in that directory?

what happens if you set 

export MAYA_MODULE_PATH=/usr/autodesk/bifrost/maya2024/2.7.1.0
if that doesn't work you can 
unset MAYA_MODULE_PATH

This assumes Bifrost is installed in /usr/autodesk/ correct?

arnold is installed in usr as well?

you are trying the burning barrel example correct? If so, can you try and get just a create_mesh_sphere plugged into the output node to render with a directional light? In other words, take the burning barrel example out and see if something simpler will render.

Message 15 of 16
macintosh
in reply to: syracoj

CLI is Command Line Interface.  Our renderfarm is headless.

 

Nothing is installed in /usr.   They insist that they run as modules, and I lode the module and it (normally) works.  In this instance though, the Bifrost objects are not rendering.

 

I confirmed that the error only means that it can't find Bifrost at it's nortmal location. The Env variables are working and Bifriost is loading afterward.  I can enable -X X11 forwarding  and see the fire in the viewport. Bifrost *is* there.  It just doesn't render.

 

So we're going to reinstall Arnold in hopes that it solves the issue.   This has worked before, so I'm unsure what's not working in this instance.

 

 

Message 16 of 16
syracoj
in reply to: macintosh

Please let us know what happens.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report