Friday, May 24, 2019

Re: Blender - no gui menu displayed

+cc Pascal (maintainer of blender)

On Mon, May 20 2019, Mihai Popescu <mihscu@gmail.com> wrote:
> Hello,
>
> Maybe it is already known, but blender is not able to display gui
> menus. IT renders just a blank no menu and items window. I will send
> some terminal errors and dmesg. More info can be sent later.
>
> search for unknown operator 'WM_OT_context_set_enum', 'WM_OT_context_set_enum'
> RNA_string_set: OperatorProperties.data_path not found.
> RNA_string_set: OperatorProperties.value not found.

[...]

> uiItemStringO: 'WM_OT_url_open' unknown operator
> search for unknown menutype USERPREF_MT_splash_footer
>
> Blender quit
>
> OpenBSD 6.5-current (GENERIC.MP) #35: Sat May 18 11:40:36 MDT 2019
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

[...]

Rebuilding blender with

MODPY_VERSION = 3.6

fixes the UI issue here, I guess this could be used as a workaround.
(Is there any rush to get rid of 3.6?)

Updating the port to 2.79b didn't help.

This issue may be relevant:

"Blender UI failed to render using Python 3.7"
https://developer.blender.org/T56969


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/blender/Makefile,v
retrieving revision 1.91
diff -u -p -r1.91 Makefile
--- Makefile 28 Apr 2019 20:51:41 -0000 1.91
+++ Makefile 24 May 2019 14:47:52 -0000
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS = amd64 i386
COMMENT = 3D creation software

DISTNAME = blender-2.79
-REVISION = 5
+REVISION = 6

CATEGORIES = graphics

@@ -32,7 +32,7 @@ MODULES = devel/cmake \

COMPILER = base-clang ports-gcc

-MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
+MODPY_VERSION = 3.6

CONFIGURE_ARGS = -DPYTHON_INCLUDE_DIR="${MODPY_INCDIR}" \
-DPYTHON_VERSION=${MODPY_VERSION} \


--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

No comments:

Post a Comment