Title: Bonsai identifies Python version incorrectly on Gentoo Linux · Issue #5755 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai identifies Python version incorrectly on Gentoo Linux · Issue #5755 · IfcOpenShell/IfcOpenShell
X Title: Bonsai identifies Python version incorrectly on Gentoo Linux · Issue #5755 · IfcOpenShell/IfcOpenShell
Description: I have two separate Gentoo linux computers, both are throwing the following error after installing Bonsai: Full error message: os: Linux os_version: #1 SMP PREEMPT_DYNAMIC Fri Nov 8 10:16:09 EST 2024 python_version: 3.12.7 architecture: ...
Open Graph Description: I have two separate Gentoo linux computers, both are throwing the following error after installing Bonsai: Full error message: os: Linux os_version: #1 SMP PREEMPT_DYNAMIC Fri Nov 8 10:16:09 EST 20...
X Description: I have two separate Gentoo linux computers, both are throwing the following error after installing Bonsai: Full error message: os: Linux os_version: #1 SMP PREEMPT_DYNAMIC Fri Nov 8 10:16:09 EST 20...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5755
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai identifies Python version incorrectly on Gentoo Linux","articleBody":"I have two separate Gentoo linux computers, both are throwing the following error after installing Bonsai:\r\n\r\n\r\n\r\nFull error message: \r\n\r\n> os: Linux\r\n> os_version: #1 SMP PREEMPT_DYNAMIC Fri Nov 8 10:16:09 EST 2024\r\n> python_version: 3.12.7\r\n> architecture: ('64bit', 'ELF')\r\n> machine: x86_64\r\n> processor: AMD Ryzen 7 6800H with Radeon Graphics\r\n> blender_version: 4.2.1 LTS\r\n> bonsai_version: 0.8.0\r\n> bonsai_commit_hash: None\r\n> last_actions: \r\n> last_error: Traceback (most recent call last):\r\n> File \"/home/matthew/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/__init__.py\", line 81, in \u003cmodule>\r\n> from . import ifcopenshell_wrapper\r\n> File \"/home/matthew/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/ifcopenshell_wrapper.py\", line 13, in \u003cmodule>\r\n> from . import _ifcopenshell_wrapper\r\n> ImportError: cannot import name '_ifcopenshell_wrapper' from partially initialized module 'ifcopenshell' (most likely due to a circular import) (/home/matthew/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/__init__.py)\r\n> \r\n> During handling of the above exception, another exception occurred:\r\n> \r\n> Traceback (most recent call last):\r\n> File \"/home/matthew/.config/blender/4.2/extensions/blender_org/bonsai/__init__.py\", line 225, in \u003cmodule>\r\n> import ifcopenshell.api\r\n> File \"/home/matthew/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/__init__.py\", line 83, in \u003cmodule>\r\n> raise ImportError(\"IfcOpenShell not built for '%s'\" % python_distribution)\r\n> ImportError: IfcOpenShell not built for 'linux/64bit/python3.12'\r\n> \r\n> binary_file_name: _ifcopenshell_wrapper.cpython-311-x86_64-linux-gnu.so\r\n> binary_python_version: 3.11\r\n\r\nBoth computers have Python 3.12 installed and don't have Python 3.11 installed. Both computers have Blender compiled with the Python 3.12 targets and with Python 3.11 targets deselected.\r\n\r\n\r\n\r\nPython 3.12 is observable in Blender's internal python console:\r\n\r\n\r\nOutput of \"emerge --info\" (Gentoo system information):\r\n\r\n> \r\n\r\n> Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.40-r5, 6.11.6-gentoo x86_64)\r\n> =================================================================\r\n> System uname: Linux-6.11.6-gentoo-x86_64-AMD_Ryzen_7_6800H_with_Radeon_Graphics-with-glibc2.40\r\n> KiB Mem: 15589108 total, 3824524 free\r\n> KiB Swap: 20971516 total, 20886112 free\r\n> Timestamp of repository gentoo: Tue, 05 Nov 2024 15:00:00 +0000\r\n> Head commit of repository gentoo: 8e4c015ebf4a0b5e74cf1a1f866181af2d5b892c\r\n> Timestamp of repository guru: Tue, 05 Nov 2024 11:03:43 +0000\r\n> Head commit of repository guru: f2f5eaf00a7ab1c5e6d1d75b34d3b0279b116208\r\n> \r\n> Timestamp of repository riru: Mon, 14 Oct 2024 12:50:33 +0000\r\n> Head commit of repository riru: 38fdbe9e2f4f6be40cb546ca099ef4aba086ceeb\r\n> \r\n> Timestamp of repository steam-overlay: Tue, 08 Oct 2024 15:50:59 +0000\r\n> Head commit of repository steam-overlay: c802c22bb423cb84d975b3fc9cfe6bc9410d22cd\r\n> \r\n> Timestamp of repository waffle-builds: Mon, 14 Oct 2024 12:50:43 +0000\r\n> Head commit of repository waffle-builds: 92c103d7b22d99c54f34661ae2ec1d771270e8ed\r\n> \r\n> Timestamp of repository xarblu-overlay: Tue, 05 Nov 2024 11:03:45 +0000\r\n> Head commit of repository xarblu-overlay: 451710e28c67fe524e308d30c1db5693360d5ada\r\n> \r\n> sh bash 5.2_p37\r\n> ld GNU ld (Gentoo 2.42 p6) 2.42.0\r\n> app-misc/pax-utils: 1.3.7::gentoo\r\n> app-shells/bash: 5.2_p37::gentoo\r\n> dev-build/autoconf: 2.72-r1::gentoo\r\n> dev-build/automake: 1.16.5-r2::gentoo\r\n> dev-build/cmake: 3.30.5::gentoo\r\n> dev-build/libtool: 2.4.7-r4::gentoo\r\n> dev-build/make: 4.4.1-r1::gentoo\r\n> dev-build/meson: 1.5.2::gentoo\r\n> dev-lang/perl: 5.40.0::gentoo\r\n> dev-lang/python: 3.12.7_p1::gentoo, 3.13.0::gentoo\r\n> dev-lang/rust-bin: 1.81.0::gentoo\r\n> sys-apps/baselayout: 2.17::gentoo\r\n> sys-apps/sandbox: 2.39::gentoo\r\n> sys-apps/systemd: 256.7::gentoo\r\n> sys-devel/binutils: 2.42-r2::gentoo\r\n> sys-devel/binutils-config: 5.5.2::gentoo\r\n> sys-devel/clang: 18.1.8::gentoo\r\n> sys-devel/gcc: 13.3.1_p20241025::gentoo\r\n> sys-devel/gcc-config: 2.11::gentoo\r\n> sys-devel/llvm: 18.1.8-r1::gentoo\r\n> sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)\r\n> sys-libs/glibc: 2.40-r5::gentoo\r\n> Repositories:\r\n> \r\n> gentoo\r\n> location: /var/db/repos/gentoo\r\n> sync-type: rsync\r\n> sync-uri: rsync://rsync.gentoo.org/gentoo-portage\r\n> priority: -1000\r\n> volatile: False\r\n> sync-rsync-verify-max-age: 24\r\n> sync-rsync-verify-jobs: 1\r\n> sync-rsync-verify-metamanifest: yes\r\n> sync-rsync-extra-opts: \r\n> \r\n> guru\r\n> location: /var/db/repos/guru\r\n> sync-type: git\r\n> sync-uri: https://github.com/gentoo-mirror/guru.git\r\n> masters: gentoo\r\n> volatile: False\r\n> \r\n> riru\r\n> location: /var/db/repos/riru\r\n> sync-type: git\r\n> sync-uri: https://github.com/gentoo-mirror/riru.git\r\n> masters: gentoo\r\n> volatile: False\r\n> \r\n> steam-overlay\r\n> location: /var/db/repos/steam-overlay\r\n> sync-type: git\r\n> sync-uri: https://github.com/gentoo-mirror/steam-overlay.git\r\n> masters: gentoo\r\n> volatile: False\r\n> \r\n> waffle-builds\r\n> location: /var/db/repos/waffle-builds\r\n> sync-type: git\r\n> sync-uri: https://github.com/gentoo-mirror/waffle-builds.git\r\n> masters: gentoo\r\n> volatile: False\r\n> \r\n> xarblu-overlay\r\n> location: /var/db/repos/xarblu-overlay\r\n> sync-type: git\r\n> sync-uri: https://github.com/gentoo-mirror/xarblu-overlay.git\r\n> masters: gentoo\r\n> volatile: False\r\n> \r\n> Binary Repositories:\r\n> \r\n> gentoobinhost\r\n> priority: 1\r\n> sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64\r\n> \r\n> ACCEPT_KEYWORDS=\"amd64\"\r\n> ACCEPT_LICENSE=\"@FREE\"\r\n> CBUILD=\"x86_64-pc-linux-gnu\"\r\n> CFLAGS=\"-march=native -O2 -pipe\"\r\n> CHOST=\"x86_64-pc-linux-gnu\"\r\n> CONFIG_PROTECT=\"/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt\"\r\n> CONFIG_PROTECT_MASK=\"/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d\"\r\n> CXXFLAGS=\"-march=native -O2 -pipe\"\r\n> DISTDIR=\"/var/cache/distfiles\"\r\n> ENV_UNSET=\"CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME\"\r\n> FCFLAGS=\"-march=native -O2 -pipe\"\r\n> FEATURES=\"assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr\"\r\n> FFLAGS=\"-march=native -O2 -pipe\"\r\n> GENTOO_MIRRORS=\"https://mirrors.mit.edu/gentoo-distfiles/\"\r\n> LANG=\"en_US.utf8\"\r\n> LDFLAGS=\"-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs\"\r\n> LEX=\"flex\"\r\n> MAKEOPTS=\"-j8\"\r\n> PKGDIR=\"/var/cache/binpkgs\"\r\n> PORTAGE_CONFIGROOT=\"/\"\r\n> PORTAGE_RSYNC_OPTS=\"--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git\"\r\n> PORTAGE_TMPDIR=\"/var/tmp\"\r\n> SHELL=\"/bin/bash\"\r\n> USE=\"X a52 aac acl acpi activities alsa amd64 bluetooth branding btrfs bzip2 cairo cdda cet crypt cups dbus declarative dri dts dvdr encode exif ffmpeg flac gdbm gif gles2 gpm gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libinput libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ofono-headset ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib\" ABI_X86=\"64\" ADA_TARGET=\"gcc_12\" APACHE2_MODULES=\"authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias\" CALLIGRA_FEATURES=\"karbon sheets words\" COLLECTD_PLUGINS=\"df interface irq load memory rrdtool swap syslog\" CPU_FLAGS_X86=\"mmx mmxext sse sse2\" ELIBC=\"glibc\" GPSD_PROTOCOLS=\"ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox\" GUILE_SINGLE_TARGET=\"3-0\" GUILE_TARGETS=\"3-0\" INPUT_DEVICES=\"libinput evdev\" KERNEL=\"linux\" LCD_DEVICES=\"bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text\" LUA_SINGLE_TARGET=\"lua5-1\" LUA_TARGETS=\"lua5-1\" OFFICE_IMPLEMENTATION=\"libreoffice\" PHP_TARGETS=\"php8-2\" POSTGRES_TARGETS=\"postgres16\" PYTHON_SINGLE_TARGET=\"python3_12\" PYTHON_TARGETS=\"python3_12\" RUBY_TARGETS=\"ruby32\" VIDEO_CARDS=\"amdgpu radeonsi\" XTABLES_ADDONS=\"quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account\"\r\n> Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS\r\n> ","author":{"url":"https://github.com/aefxc","@type":"Person","name":"aefxc"},"datePublished":"2024-11-16T17:17:07Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5755"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3b14610c-7e43-25c7-ae35-e6503c42e25c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90D2:1E7453:622663:89D641:6B04775C |
| html-safe-nonce | 86d8b35cda1f99c1d8b5d42aeada42b8cbfccb95db969cc01084d006113e34b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEQyOjFFNzQ1Mzo2MjI2NjM6ODlENjQxOjZCMDQ3NzVDIiwidmlzaXRvcl9pZCI6IjUyNjMxNjQzOTc4OTUwNTUxOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 951b6eb4285a598b57c3e71541cd35ef64706df6030bb01c5e371118616f3c7b |
| hovercard-subject-tag | issue:2664660812 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/5755/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65cab6a4163f0afa5da07e4dde9d00bb8eff79b257913bbf0e959da7cac07f2c/IfcOpenShell/IfcOpenShell/issues/5755 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65cab6a4163f0afa5da07e4dde9d00bb8eff79b257913bbf0e959da7cac07f2c/IfcOpenShell/IfcOpenShell/issues/5755 |
| og:image:alt | I have two separate Gentoo linux computers, both are throwing the following error after installing Bonsai: Full error message: os: Linux os_version: #1 SMP PREEMPT_DYNAMIC Fri Nov 8 10:16:09 EST 20... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aefxc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width