question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. Itย collects links to all the places you might be looking at while hunting down a tough bug.

And, if youโ€™re still stuck at the end, weโ€™re happy to hop on a call to see how we can help out.

brainrender-gui KeyError: 'notebookBackend'

See original GitHub issue

Hi, I just made a fresh install of brainrender with pip in a new conda environment (conda create --name brainrender2 python=3.7)( the only additional thing I installed was spyder), on Kubuntu20.04, and brainrender-gui gives following errors:

(brainrender2) kiosk@stitcher:/mnt/data/Friedrich/DRD003240222Malinda$ brainrender-gui โ•ญโ”€ file: /home/kiosk/anaconda3/envs/brainrender2/bin/brainrender-gui:8 line 8 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ Error line: โ”‚ โ”‚ 8 sys.exit(clilaunch()) โ”‚ โ”‚ โ”‚ โ”‚ Local variables โ”‚ โ”‚ โ”‚ โ”‚ object value type info โ”‚ โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ โ”‚ clilaunch = <Command clilaunch> click.core.Command โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ•ญโ”€ file: /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/_jupyter.py:12 line 12 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ Error line: โ”‚ โ”‚ 12 if vedo.settings.notebookBackend == โ€œk3dโ€: โ”‚ โ”‚ โ”‚ โ”‚ Local variables โ”‚ โ”‚ โ”‚ โ”‚ object value type info โ”‚ โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ โ”‚ self = <repr-error โ€œโ€˜Sceneโ€™ object has no attribute brainrender.scene.Scene โ”‚ โ”‚ โ€˜actorsโ€™โ€> โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ•ญโ”€ file: /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/vedo/utils.py:238 line 238 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ Error line: โ”‚ โ”‚ 238 return self[k] โ”‚ โ”‚ โ”‚ โ”‚ Local variables โ”‚ โ”‚ โ”‚ โ”‚ object value type info โ”‚ โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ โ”‚ k = notebookBackend builtins.str Length: 15 โ”‚ โ”‚ โ”‚ โ”‚ self = { vedo.utils.dotdict โ”‚ โ”‚ โ€˜warn_on_settingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜defaultFontโ€™: โ€˜strโ€™, โ”‚ โ”‚ โ€˜screeshotScaleโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜screenshotTransparentBackgroundโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜screeshotLargeImageโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜allowInteractionโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜hackCallScreenSizeโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜enableDefaultMouseCallbacksโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜enableDefaultKeyboardCallbacksโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜immediateRenderingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜rendererFrameColorโ€™: โ€˜NoneTypeโ€™, โ”‚ โ”‚ โ€˜rendererFrameAlphaโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜rendererFrameWidthโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜rendererFramePaddingโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜renderLinesAsTubesโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜hiddenLineRemovalโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜pointSmoothingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜lineSmoothingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜polygonSmoothingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜visibleGridEdgesโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜lightFollowsCameraโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜twoSidedLightingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜useDepthPeelingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜multiSamplesโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜alphaBitPlanesโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜maxNumberOfPeelsโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜occlusionRatioโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜useFXAAโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜preserveDepthBufferโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜useSSAOโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜SSAORadiusโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜SSAOBiasโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜SSAOKernelSizeโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜SSAOBlurโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜usePolygonOffsetโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜polygonOffsetFactorโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜polygonOffsetUnitsโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜interpolateScalarsBeforeMappingโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜useParallelProjectionโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜windowSplittingPositionโ€™: โ€˜NoneTypeโ€™, โ”‚ โ”‚ โ€˜tiffOrientationTypeโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜annotatedCubeColorโ€™: โ€˜tupleโ€™, โ”‚ โ”‚ โ€˜annotatedCubeTextColorโ€™: โ€˜NoneTypeโ€™, โ”‚ โ”‚ โ€˜annotatedCubeTextScaleโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜annotatedCubeTextsโ€™: โ€˜listโ€™, โ”‚ โ”‚ โ€˜enablePrintColorโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜k3dMenuVisibilityโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜k3dPlotHeightโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜k3dAntialiasโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜k3dLightingโ€™: โ€˜floatโ€™, โ”‚ โ”‚ โ€˜k3dCameraAutoFitโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜k3dGridAutoFitโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜k3dAxesHelperโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜k3dPointShaderโ€™: โ€˜strโ€™, โ”‚ โ”‚ โ€˜k3dLineShaderโ€™: โ€˜strโ€™, โ”‚ โ”‚ โ€˜flagDelayโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜flagFontโ€™: โ€˜strโ€™, โ”‚ โ”‚ โ€˜flagFontSizeโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜flagJustificationโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜flagAngleโ€™: โ€˜intโ€™, โ”‚ โ”‚ โ€˜flagBoldโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜flagItalicโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜flagShadowโ€™: โ€˜boolโ€™, โ”‚ โ”‚ โ€˜flagColorโ€™: โ€˜strโ€™, โ”‚ โ”‚ โ€˜flagBackgroundColorโ€™: โ€˜strโ€™, โ”‚ โ”‚ โ€˜font_parametersโ€™: โ€˜dictโ€™ โ”‚ โ”‚ } โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/bin/brainrender-gui:8 in <module> โ”‚ โ”‚ โ”‚ โ”‚ 5 from brainrender.gui.init import clilaunch โ”‚ โ”‚ 6 if name == โ€˜mainโ€™: โ”‚ โ”‚ 7 โ”‚ sys.argv[0] = re.sub(rโ€™(-script.pyw|.exe)?$โ€˜, โ€˜โ€™, sys.argv[0]) โ”‚ โ”‚ โฑ 8 โ”‚ sys.exit(clilaunch()) โ”‚ โ”‚ 9 โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/click/core.py:1128 in โ”‚ โ”‚ call โ”‚ โ”‚ โ”‚ โ”‚ 1125 โ”‚ โ”‚ โ”‚ 1126 โ”‚ def call(self, *args: t.Any, **kwargs: t.Any) -> t.Any: โ”‚ โ”‚ 1127 โ”‚ โ”‚ โ€œโ€โ€œAlias for :meth:main.โ€โ€œโ€ โ”‚ โ”‚ โฑ 1128 โ”‚ โ”‚ return self.main(*args, **kwargs) โ”‚ โ”‚ 1129 โ”‚ โ”‚ 1130 โ”‚ โ”‚ 1131 class Command(BaseCommand): โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/click/core.py:1053 in main โ”‚ โ”‚ โ”‚ โ”‚ 1050 โ”‚ โ”‚ try: โ”‚ โ”‚ 1051 โ”‚ โ”‚ โ”‚ try: โ”‚ โ”‚ 1052 โ”‚ โ”‚ โ”‚ โ”‚ with self.make_context(prog_name, args, **extra) as ctx: โ”‚ โ”‚ โฑ 1053 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ rv = self.invoke(ctx) โ”‚ โ”‚ 1054 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ if not standalone_mode: โ”‚ โ”‚ 1055 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ return rv โ”‚ โ”‚ 1056 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ # itโ€™s not safe to ctx.exit(rv) here! โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/click/core.py:1395 in invoke โ”‚ โ”‚ โ”‚ โ”‚ 1392 โ”‚ โ”‚ โ”‚ echo(style(message, fg=โ€œredโ€), err=True) โ”‚ โ”‚ 1393 โ”‚ โ”‚ โ”‚ โ”‚ 1394 โ”‚ โ”‚ if self.callback is not None: โ”‚ โ”‚ โฑ 1395 โ”‚ โ”‚ โ”‚ return ctx.invoke(self.callback, **ctx.params) โ”‚ โ”‚ 1396 โ”‚ โ”‚ โ”‚ 1397 โ”‚ def shell_complete(self, ctx: Context, incomplete: str) -> t.List[โ€œCompletionItemโ€]: โ”‚ โ”‚ 1398 โ”‚ โ”‚ โ€œโ€"Return a list of completions for the incomplete value. Looks โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/click/core.py:754 in invoke โ”‚ โ”‚ โ”‚ โ”‚ 751 โ”‚ โ”‚ โ”‚ โ”‚ 752 โ”‚ โ”‚ with augment_usage_errors(__self): โ”‚ โ”‚ 753 โ”‚ โ”‚ โ”‚ with ctx: โ”‚ โ”‚ โฑ 754 โ”‚ โ”‚ โ”‚ โ”‚ return __callback(*args, **kwargs) โ”‚ โ”‚ 755 โ”‚ โ”‚ โ”‚ 756 โ”‚ def forward( โ”‚ โ”‚ 757 โ”‚ โ”‚ __self, _cmd: โ€œCommandโ€, *args: t.Any, **kwargs: t.Any # noqa: B902 โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/gui/init.py: โ”‚ โ”‚ 34 in clilaunch โ”‚ โ”‚ โ”‚ โ”‚ 31 def clilaunch(atlas=None, axes=False, output=None): โ”‚ โ”‚ 32 โ”‚ app = QApplication(sys.argv) โ”‚ โ”‚ 33 โ”‚ app.setApplicationName(โ€œBrainrender GUIsโ€) โ”‚ โ”‚ โฑ 34 โ”‚ ex = App(atlas_name=atlas, axes=axes, screenshots_folder=output) โ”‚ โ”‚ 35 โ”‚ app.aboutToQuit.connect(ex.onClose) โ”‚ โ”‚ 36 โ”‚ ex.show() โ”‚ โ”‚ 37 โ”‚ sys.exit(app.exec()) โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/gui/app.py:48 in โ”‚ โ”‚ init โ”‚ โ”‚ โ”‚ โ”‚ 45 โ”‚ โ”‚ # Get vtkWidget plotter and creates a scene embedded in it โ”‚ โ”‚ 46 โ”‚ โ”‚ new_plotter = Plotter(qtWidget=self.vtkWidget) โ”‚ โ”‚ 47 โ”‚ โ”‚ self.scene = Scene( โ”‚ โ”‚ โฑ 48 โ”‚ โ”‚ โ”‚ *args, atlas_name=atlas_name, plotter=new_plotter, **kwargs โ”‚ โ”‚ 49 โ”‚ โ”‚ ) โ”‚ โ”‚ 50 โ”‚ โ”‚ โ”‚ โ”‚ 51 โ”‚ โ”‚ # Initialize parent classes โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/scene.py:50 in โ”‚ โ”‚ init โ”‚ โ”‚ โ”‚ โ”‚ 47 โ”‚ โ”‚ logger.debug( โ”‚ โ”‚ 48 โ”‚ โ”‚ โ”‚ f"Creating scene with parameters: root: {root}, atlas_name: โ€˜{atlas_name}โ€™โ€™, โ”‚ โ”‚ 49 โ”‚ โ”‚ ) โ”‚ โ”‚ โฑ 50 โ”‚ โ”‚ JupyterMixIn.init(self) โ”‚ โ”‚ 51 โ”‚ โ”‚ โ”‚ โ”‚ 52 โ”‚ โ”‚ self.actors = [] # stores all actors in the scene โ”‚ โ”‚ 53 โ”‚ โ”‚ self.labels = [] # stores all labels actors in scene โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/_jupyter.py:12 โ”‚ โ”‚ in init โ”‚ โ”‚ โ”‚ โ”‚ 9 class JupyterMixIn: # pragma: no cover โ”‚ โ”‚ 10 โ”‚ def init(self): # pragma: no cover โ”‚ โ”‚ 11 โ”‚ โ”‚ # keep track if we are in a jupyter notebook โ”‚ โ”‚ โฑ 12 โ”‚ โ”‚ if vedo.settings.notebookBackend == โ€œk3dโ€: โ”‚ โ”‚ 13 โ”‚ โ”‚ โ”‚ self.backend = โ€œk3dโ€ โ”‚ โ”‚ 14 โ”‚ โ”‚ elif vedo.settings.notebookBackend == โ€œitkwidgetsโ€: โ”‚ โ”‚ 15 โ”‚ โ”‚ โ”‚ self.backend = โ€œitkwidgetsโ€ โ”‚ โ”‚ โ”‚ โ”‚ /home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/vedo/utils.py:238 in โ”‚ โ”‚ getattr โ”‚ โ”‚ โ”‚ โ”‚ 235 โ”‚ โ”‚ โ”‚ โ”‚ self[k] = dotdict(v) โ”‚ โ”‚ 236 โ”‚ โ”‚ โ”‚ 237 โ”‚ def getattr(self, k): โ”‚ โ”‚ โฑ 238 โ”‚ โ”‚ return self[k] โ”‚ โ”‚ 239 โ”‚ โ”‚ โ”‚ 240 โ”‚ def setattr(self, k, v): โ”‚ โ”‚ 241 โ”‚ โ”‚ if self.warn_on_setting: โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ KeyError: โ€˜notebookBackendโ€™ Exception ignored in: <function Scene.del at 0x7fab395cb440> Traceback (most recent call last): File โ€œ/home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/scene.pyโ€, line 102, in del self.close() File โ€œ/home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/render.pyโ€, line 281, in close self.plotter.close() AttributeError: โ€˜NoneTypeโ€™ object has no attribute โ€˜closeโ€™ Exception ignored in: <function Scene.del at 0x7fab395cb440> Traceback (most recent call last): File โ€œ/home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/scene.pyโ€, line 102, in del self.close() File โ€œ/home/kiosk/anaconda3/envs/brainrender2/lib/python3.7/site-packages/brainrender/render.pyโ€, line 281, in close self.plotter.close() AttributeError: โ€˜NoneTypeโ€™ object has no attribute โ€˜closeโ€™

Any idea what could be going on? I got a similar notebookBackend error (in a separate conda env) when I ran brainrender from spyder, which could be solved by adding a line vedo.settings[โ€˜notebookBackendโ€™] = โ€˜Falseโ€™

cheers, John

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marcomusycommented, Mar 18, 2022

Have you tried: pip install vedo==2021.0.5

0reactions
marcomusycommented, Mar 21, 2022

Iโ€™ve seen it before: https://discourse.vtk.org/t/vtkproppicker-not-working-in-osx-and-qt/8057 but unfortunately iโ€™m not familiar with qt at all and Iโ€™m not sure what to do with it ๐Ÿ˜ฆ

Read more comments on GitHub >

github_iconTop Results From Across the Web

key error in jupyter notebook using brainrender #457 - GitHub
Hello, I am very new to these things thus sorry if I am not giving you enough informations about the issue ! to...
Read more >
key error in jupyter notebook using brainrender - Stack Overflow
I am using an anaconda environnement with the version 3.7.0 of python and the version of my anaconda navigator is 1.9.6. my scirpt...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found