Blender keymapping not working #60288

Closed
opened 2019-01-07 18:44:48 +01:00 by Matt · 13 comments

System Information
Operating system: Windows 10
Graphics card: NVidea GeForce GTX 1080ti

Blender Version
Broken: Blender 2.8 daily build 96f762500e
Worked: Blender 2.8 daily build de36a2f99b

Ever since de36a2f99b, all daily builds of blender have no keymap preference, it just displays a blank page. Mouse and keyboard input do not work at all, I can only click on the main menu and see the preferences for example. The last build that worked for me was de36a2f99b. Since then every daily build has the same issue. It's the same for my co-worker, nothing works for us here. We are on a secure network at Rode FX, and blender builds are simply on our desktops.

Open blender, middle click in the 3D viewport to orbit, nothing happens. Same with Shift S, scroll wheel to zoom in and out, basically no keyboard or mouse functions work at all.

**System Information** Operating system: Windows 10 Graphics card: NVidea GeForce GTX 1080ti **Blender Version** Broken: Blender 2.8 daily build 96f762500ef9 Worked: Blender 2.8 daily build de36a2f99b3 Ever since de36a2f99b3, all daily builds of blender have no keymap preference, it just displays a blank page. Mouse and keyboard input do not work at all, I can only click on the main menu and see the preferences for example. The last build that worked for me was de36a2f99b3. Since then every daily build has the same issue. It's the same for my co-worker, nothing works for us here. We are on a secure network at Rode FX, and blender builds are simply on our desktops. Open blender, middle click in the 3D viewport to orbit, nothing happens. Same with Shift S, scroll wheel to zoom in and out, basically no keyboard or mouse functions work at all.
Author

Added subscriber: @mattr

Added subscriber: @mattr
Author

Adding a screen shot of the preferences window.
blender_no_keymap.jpg

Adding a screen shot of the preferences window. ![blender_no_keymap.jpg](https://archive.blender.org/developer/F6211693/blender_no_keymap.jpg)

Added subscriber: @rboxman

Added subscriber: @rboxman

Try running blender with the --factory-startup command line option and see if that solves the problem. If it does, you should remove the 2.80 directory under "%APPDATA%\Blender Foundation\Blender"

Try running blender with the `--factory-startup` command line option and see if that solves the problem. If it does, you should remove the 2.80 directory under "%APPDATA%\Blender Foundation\Blender"
Author

First thing I tried a few weeks ago, and also tried deleting said directory... still the same issue. Strange that it's affecting multiple users here at Rodeo, I also though it might be my kvm switch, since I hop from a linux box to windows, but that's not it. Also tried deleting every blender folder on my box and starting a new blender build, but same problem.

Thanks for the help by the way!

First thing I tried a few weeks ago, and also tried deleting said directory... still the same issue. Strange that it's affecting multiple users here at Rodeo, I also though it might be my kvm switch, since I hop from a linux box to windows, but that's not it. Also tried deleting every blender folder on my box and starting a new blender build, but same problem. Thanks for the help by the way!
Author

I can also click on all UI icons and menus, that works, but any viewer manipulations, like selecting objects in the outliner, moving the timeline, orbiting and selecting objects in the viewers, moving nodes in the compositor or shading network, sculpting, moving my render view image plane, none of that works.

I can also click on all UI icons and menus, that works, but any viewer manipulations, like selecting objects in the outliner, moving the timeline, orbiting and selecting objects in the viewers, moving nodes in the compositor or shading network, sculpting, moving my render view image plane, none of that works.

Added subscriber: @brecht

Added subscriber: @brecht

Can you try running Blender from the command line, and pasting the output here (likely showing Python errors)?

Can you try [running Blender from the command ](https://docs.blender.org/manual/en/latest/render/workflows/command_line.html#ms-windows) line, and pasting the output here (likely showing Python errors)?
Author

C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64>blender
Read prefs: C:\Users\matthew\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python
Traceback (most recent call last):

File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 351, in enable
  mod = __import__(module_name)
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\addons\io_scene_gltf2\__init__.py", line 24, in <module>
  from .io.com.gltf2_io_debug import Log
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\addons\io_scene_gltf2\io\com\gltf2_io_debug.py", line 20, in <module>
  import logging
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\logging\__init__.py", line 26, in <module>
  import sys, os, time, io, traceback, warnings, weakref, collections.abc
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\traceback.py", line 5, in <module>
  import linecache
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\linecache.py", line 11, in <module>
  import tokenize
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\tokenize.py", line 33, in <module>
  import re
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\re.py", line 143, in <module>
  class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 81, in <module>
  main()
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 78, in main
  utils.load_scripts()
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 273, in load_scripts
  _initialize()
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 47, in _initialize
  enable(addon.module)
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 359, in enable
  handle_error(ex)
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 299, in handle_error
  import traceback
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\traceback.py", line 5, in <module>
  import linecache
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\linecache.py", line 11, in <module>
  import tokenize
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\tokenize.py", line 33, in <module>
  import re
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\re.py", line 143, in <module>
  class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'
Traceback (most recent call last):

File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 186, in register_module_call
  register()
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\startup\bl_operators\__init__.py", line 69, in register
  register_class(cls)

ValueError: register_class(...): already registered as a subclass

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 81, in <module>
  main()
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 78, in main
  utils.load_scripts()
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 261, in load_scripts
  test_register(mod)
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 228, in test_register
  register_module_call(mod)
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 188, in register_module_call
  import traceback
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\traceback.py", line 5, in <module>
  import linecache
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\linecache.py", line 11, in <module>
  import tokenize
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\tokenize.py", line 33, in <module>
  import re
File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\re.py", line 143, in <module>
  class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'

location: :-1

location: :-1
Keymap: '3D View Tool: Cursor' not found for tool 'Cursor'
Keymap: '3D View Tool: Cursor' not found for tool 'Cursor'
Keymap: '3D View Tool: Cursor' not found for tool 'Cursor'
Keymap: '3D View Tool: Cursor' not found for tool 'Cursor'
Keymap: '3D View Tool: Cursor' not found for tool 'Cursor'
...

etc. That's me trying to orbit in a fresh scene, to no avail.

C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64>blender Read prefs: C:\Users\matthew\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead found bundled python: C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python Traceback (most recent call last): ``` File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 351, in enable mod = __import__(module_name) File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\addons\io_scene_gltf2\__init__.py", line 24, in <module> from .io.com.gltf2_io_debug import Log File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\addons\io_scene_gltf2\io\com\gltf2_io_debug.py", line 20, in <module> import logging File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\logging\__init__.py", line 26, in <module> import sys, os, time, io, traceback, warnings, weakref, collections.abc File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\traceback.py", line 5, in <module> import linecache File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\linecache.py", line 11, in <module> import tokenize File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\tokenize.py", line 33, in <module> import re File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\re.py", line 143, in <module> class RegexFlag(enum.IntFlag): ``` AttributeError: module 'enum' has no attribute 'IntFlag' During handling of the above exception, another exception occurred: Traceback (most recent call last): ``` File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 81, in <module> main() File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 78, in main utils.load_scripts() File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 273, in load_scripts _initialize() File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 47, in _initialize enable(addon.module) File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 359, in enable handle_error(ex) File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\addon_utils.py", line 299, in handle_error import traceback File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\traceback.py", line 5, in <module> import linecache File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\linecache.py", line 11, in <module> import tokenize File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\tokenize.py", line 33, in <module> import re File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\re.py", line 143, in <module> class RegexFlag(enum.IntFlag): ``` AttributeError: module 'enum' has no attribute 'IntFlag' Traceback (most recent call last): ``` File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 186, in register_module_call register() File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\startup\bl_operators\__init__.py", line 69, in register register_class(cls) ``` ValueError: register_class(...): already registered as a subclass During handling of the above exception, another exception occurred: Traceback (most recent call last): ``` File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 81, in <module> main() File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\__init__.py", line 78, in main utils.load_scripts() File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 261, in load_scripts test_register(mod) File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 228, in test_register register_module_call(mod) File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\scripts\modules\bpy\utils\__init__.py", line 188, in register_module_call import traceback File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\traceback.py", line 5, in <module> import linecache File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\linecache.py", line 11, in <module> import tokenize File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\tokenize.py", line 33, in <module> import re File "C:\Users\matthew\Desktop\blender\blender-2.80.0-git.96f762500ef9-windows64\2.80\python\lib\re.py", line 143, in <module> class RegexFlag(enum.IntFlag): ``` AttributeError: module 'enum' has no attribute 'IntFlag' location: <unknown location>:-1 location: <unknown location>:-1 Keymap: '3D View Tool: Cursor' not found for tool 'Cursor' Keymap: '3D View Tool: Cursor' not found for tool 'Cursor' Keymap: '3D View Tool: Cursor' not found for tool 'Cursor' Keymap: '3D View Tool: Cursor' not found for tool 'Cursor' Keymap: '3D View Tool: Cursor' not found for tool 'Cursor' ... **etc. That's me trying to orbit in a fresh scene, to no avail.**

It seems like the kind of error that you might get with conflicting Python installations.

Do you have a PYTHONPATH environment variable set?
https://docs.blender.org/manual/en/dev/troubleshooting/python.html#pythonpath

It seems like the kind of error that you might get with conflicting Python installations. Do you have a `PYTHONPATH` environment variable set? https://docs.blender.org/manual/en/dev/troubleshooting/python.html#pythonpath
Author

Indeed Brecht, I had a custom python lib that was causing issues. When I force the pythonpath to grab a vanilla python install, it works... Apologies for this, totally user error more than a bug.

Cheers, sorry for the noise!

Indeed Brecht, I had a custom python lib that was causing issues. When I force the pythonpath to grab a vanilla python install, it works... Apologies for this, totally user error more than a bug. Cheers, sorry for the noise!

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-01-08 17:12:33 +01:00

Ok, thanks for testing.

Ok, thanks for testing.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#60288
No description provided.