Summary: | media-gfx/blender-2.71 - blender: OpenColorIO Error: Error: Loading the OCIO profile '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. yaml-cpp: error at line 0, column 0: bad conversion | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tman <cornicx> |
Component: | Current packages | Assignee: | Julian Ospald <hasufell> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | Bernd.Feige, graphics+disabled, lu_zero, O01eg |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /usr/share/blender/2.71/datafiles/colormanagement/config.ocio |
Description
tman
2014-06-28 15:10:30 UTC
Did you build blender with opencolorio? there is no USE opencolorio: [I] media-gfx/blender Available versions: (~)2.66-r1 (~)2.67b-r1 (~)2.68 (~)2.68a (~)2.69 (~)2.69-r1 (~)2.70 (~)2.70-r1 (~)2.70a-r3 (~)2.71 {+boost +bullet collada colorio cycles +dds debug doc +elbeem ffmpeg fftw +game-engine jack jpeg2k ndof nls openal +openexr openimageio openmp +opennl player redcode sdl sndfile sse sse2 tiff PYTHON_SINGLE_TARGET="python3_3 python3_4" PYTHON_TARGETS="python3_3 python3_4"} Installed versions: 2.71(17:32:31 28.06.2014)(boost bullet collada colorio cycles dds elbeem ffmpeg fftw game-engine jack jpeg2k nls openal openexr openimageio openmp opennl player sdl sndfile sse sse2 tiff -debug -doc -ndof -redcode PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4") Homepage: http://www.blender.org Description: 3D Creation/Animation/Publishing System seems to be there is soemthing broken. http://wiki.blender.org/index.php/Dev:Source/Image/OpenColorIO OpenColorIO is a must have for compiling blender. and its also installed on system: [I] media-libs/opencolorio Available versions: 1.0.8^t (~)1.0.9^t (~)1.0.9-r1^t {doc opengl pdf python sse2 test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"} Installed versions: 1.0.9-r1^t(17:26:59 28.06.2014)(opengl python sse2 -doc -pdf -test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7") Homepage: http://opencolorio.org/ Description: A color management framework for visual effects and animation but i still get this error: $ blender OpenColorIO Error: Error: Loading the OCIO profile '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. yaml-cpp: error at line 0, column 0: bad conversion Color management: using fallback mode for management Read new prefs: /home/test/.config/blender/2.71/config/userpref.blend ok i notice # quse -D openimageio local:openimageio:media-gfx/blender: Enable OpenImageIO Support t its anyways must be broken, else it would find the emerged openimagio packe. you are mixing something up: colorio? ( media-libs/opencolorio ) TuX ~ $ quse -D colorio local:colorio:media-gfx/blender: Enable OpenColorIO color management. local:colorio:media-libs/openimageio: Use media-gfx/opencolorio TuX ~ $ quse -D openimageio local:openimageio:media-gfx/blender: Enable OpenImageIO Support both use OpenImageIO. (In reply to tman from comment #6) > TuX ~ $ quse -D colorio > > local:colorio:media-gfx/blender: Enable OpenColorIO color management. > local:colorio:media-libs/openimageio: Use media-gfx/opencolorio > > TuX ~ $ quse -D openimageio > local:openimageio:media-gfx/blender: Enable OpenImageIO Support > > > both use OpenImageIO. I was referring to: > there is no USE opencolorio: we need to test: * does blender work with opencolorio[-opengl] * does blender work with openimageio[-colorio] * does blender work with openimageio[-opengl] (In reply to Julian Ospald (hasufell) from comment #8) > we need to test: > * does blender work with opencolorio[-opengl] > * does blender work with openimageio[-colorio] > * does blender work with openimageio[-opengl] i tried all and got same error: OpenColorIO Error: Error: Loading the OCIO profile '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. yaml-cpp: error at line 0, column 0: bad conversion Color management: using fallback mode for management Read new prefs: /home/cornix/.config/blender/2.71/config/userpref.blend (In reply to tman from comment #9) > (In reply to Julian Ospald (hasufell) from comment #8) > > we need to test: > > * does blender work with opencolorio[-opengl] > > * does blender work with openimageio[-colorio] > > * does blender work with openimageio[-opengl] > > i tried all and got same error: > > OpenColorIO Error: Error: Loading the OCIO profile > '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. > yaml-cpp: error at line 0, column 0: bad conversion > Color management: using fallback mode for management > Read new prefs: /home/cornix/.config/blender/2.71/config/userpref.blend That probably means we need * opencolorio[opengl] * openimageio[colorio,opengl] Can you confirm that? # eix opencolorio [I] media-libs/opencolorio Available versions: 1.0.8^t (~)1.0.9^t (~)1.0.9-r1^t {doc opengl pdf python sse2 test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"} Installed versions: 1.0.9-r1^t(02:23:18 30.06.2014)(opengl python sse2 -doc -pdf -test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7") Homepage: http://opencolorio.org/ Description: A color management framework for visual effects and animation [I] media-libs/openimageio Available versions: 1.1.1^t (~)1.1.7^t (~)1.3.5^t {colorio gif jpeg2k opencv opengl python qt4 ssl tbb +truetype PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"} Installed versions: 1.3.5^t(17:20:01 28.06.2014)(gif jpeg2k opengl python qt4 ssl truetype -colorio -opencv -tbb PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7") Homepage: http://sites.google.com/site/openimageio/ http://github.com/OpenImageIO Description: A library for reading and writing images That probably means we need * opencolorio[opengl] * openimageio[colorio,opengl] cause same error. Created attachment 380716 [details]
/usr/share/blender/2.71/datafiles/colormanagement/config.ocio
very streange, because the lins a comment
testing the official pre compiled blender it dont cause this error: ./blender connect failed: No such file or directory Read new prefs: /home/test/.config/blender/2.71/config/userpref.blend found bundled python: /home/test/Downloads/blender-2.71-linux-glibc211-x86_64/blender-2.71-linux-glibc211-x86_64/2.71/python so it must be something wrong in the ebuild, which cause this error. please fixe it. the USE"colorio" is definitvely the cuprit. with this USE i cause the error. workaround: downgrading dev-cpp/yaml-cpp to version 3. https://developer.blender.org/T41070 (In reply to tman from comment #15) > workaround: downgrading dev-cpp/yaml-cpp to version 3. > > https://developer.blender.org/T41070 Are you sure that's the solution? If so, I will set =dev-cpp/yaml-cpp-3.0.0 in the ebuild i got this advice from blender bugzilla. so i am 99% sure. i tried to mask the version =>0.5.1, but it seems to be more depencies there. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U #] dev-cpp/yaml-cpp-0.5.1 [0.3.0] 0 kB [ebuild N ] media-libs/opencolorio-1.0.9-r1 USE="opengl python sse2 -doc (-pdf) {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by media-libs/opencolorio-1.0.9-r1 # required by media-libs/opencolorio (argument) # /etc/portage/package.mask: =dev-cpp/yaml-cpp-0.5.1 so i have also open a new ticket on blender and hope the upstream of blender solve the problem in the future: https://developer.blender.org/T41083 here are some links to same problematic which show that its really yaml the problem: https://developer.blender.org/T38370 so we obviously need <=media-libs/opencolorio-1.0.9 +*blender-2.71-r1 (16 Jul 2014) + + 16 Jul 2014; Julian Ospald <hasufell@gentoo.org> +blender-2.71-r1.ebuild, + +files/08-blender-2.71-gflags.patch: + fix opencolorio dep wrt #515606, fix building with gflags-2.1.1 and adjust + dep wrt #517134, add epatch_user In opencolorio master it fixed. I've just checked it with opencolorio-9999 ebuild. (In reply to Oleg from comment #22) > In opencolorio master it fixed. I've just checked it with opencolorio-9999 > ebuild. I don't care about master, but about the versions which are in the tree. *** Bug 523992 has been marked as a duplicate of this bug. *** |