Assigning shortcut to editor properties gives errors #65397

Closed
opened 4 years ago by gtmax99 · 58 comments

System Information
Operating system: Windows-8.1-6.3.9600 64 Bits
Graphics card: AMD Radeon R5 M230 Series ATI Technologies Inc. 4.5.13464 Core Profile Context 21.19.407.0

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-05-31 22:45, hash: cc600de669
Worked: (optional)

Short description of error
Everytime I open blender and click anything in the object mode, the program reports to me an error and it's very annoying.
I'll write the entire report:

 File "D:\Blender\blender-2.80.0-git.cc600de6695a-windows64\2.80\scripts\startup\bl_operators\wm.py", line 332, in execute if context_path_validate(context, data_path) is Ellipsis:
 File "D:\Blender\blender-2.80.0-git.cc600de6695a-windows64\2.80\scripts\startup\bl_operators\wm.py", line 75, in context_path_validate value = eval("context.%s" data_path) if data_path else Ellipsis
 File "<string>", line 1
 context.(null).shading.show_xray
         ^
 SintaxError: invalid syntax
 location: <unkown location>:-1

Exact steps for others to reproduce the error
Right click on "Show whole scene transparent" -> "Assign Shortcut" -> I clicked "Dash" key

help.blend

**System Information** Operating system: Windows-8.1-6.3.9600 64 Bits Graphics card: AMD Radeon R5 M230 Series ATI Technologies Inc. 4.5.13464 Core Profile Context 21.19.407.0 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-05-31 22:45, hash: `cc600de669` Worked: (optional) **Short description of error** Everytime I open blender and click anything in the object mode, the program reports to me an error and it's very annoying. I'll write the entire report: ``` File "D:\Blender\blender-2.80.0-git.cc600de6695a-windows64\2.80\scripts\startup\bl_operators\wm.py", line 332, in execute if context_path_validate(context, data_path) is Ellipsis: File "D:\Blender\blender-2.80.0-git.cc600de6695a-windows64\2.80\scripts\startup\bl_operators\wm.py", line 75, in context_path_validate value = eval("context.%s" data_path) if data_path else Ellipsis File "<string>", line 1 context.(null).shading.show_xray ^ SintaxError: invalid syntax ``` ``` location: <unkown location>:-1 ``` **Exact steps for others to reproduce the error** Right click on "Show whole scene transparent" -> "Assign Shortcut" -> I clicked "Dash" key [help.blend](https://archive.blender.org/developer/F7082053/help.blend)
Poster

Added subscriber: @gtmax99

Added subscriber: @gtmax99
Collaborator

#76501 was marked as duplicate of this issue

#76501 was marked as duplicate of this issue
Collaborator

#76466 was marked as duplicate of this issue

#76466 was marked as duplicate of this issue
Collaborator

#70650 was marked as duplicate of this issue

#70650 was marked as duplicate of this issue
Collaborator

#70619 was marked as duplicate of this issue

#70619 was marked as duplicate of this issue
Collaborator

#70396 was marked as duplicate of this issue

#70396 was marked as duplicate of this issue
Collaborator

#69617 was marked as duplicate of this issue

#69617 was marked as duplicate of this issue
Collaborator

#69293 was marked as duplicate of this issue

#69293 was marked as duplicate of this issue
Collaborator

#69152 was marked as duplicate of this issue

#69152 was marked as duplicate of this issue
Collaborator

#69016 was marked as duplicate of this issue

#69016 was marked as duplicate of this issue
Collaborator

#68606 was marked as duplicate of this issue

#68606 was marked as duplicate of this issue
Collaborator

#68329 was marked as duplicate of this issue

#68329 was marked as duplicate of this issue
Collaborator

#68510 was marked as duplicate of this issue

#68510 was marked as duplicate of this issue
Collaborator

#68560 was marked as duplicate of this issue

#68560 was marked as duplicate of this issue
Collaborator

#68231 was marked as duplicate of this issue

#68231 was marked as duplicate of this issue
Collaborator

#68251 was marked as duplicate of this issue

#68251 was marked as duplicate of this issue
Collaborator

#68153 was marked as duplicate of this issue

#68153 was marked as duplicate of this issue
Collaborator

#68192 was marked as duplicate of this issue

#68192 was marked as duplicate of this issue
Collaborator

#67352 was marked as duplicate of this issue

#67352 was marked as duplicate of this issue
Collaborator

#67136 was marked as duplicate of this issue

#67136 was marked as duplicate of this issue
Collaborator

#67163 was marked as duplicate of this issue

#67163 was marked as duplicate of this issue
Collaborator

blender/blender-addons#67011 was marked as duplicate of this issue

blender/blender-addons#67011 was marked as duplicate of this issue
Collaborator

#66885 was marked as duplicate of this issue

#66885 was marked as duplicate of this issue
Poster

Removed subscriber: @gtmax99

Removed subscriber: @gtmax99
Poster

Added subscriber: @gtmax99

Added subscriber: @gtmax99
ZedDB was assigned by brecht 4 years ago
brecht commented 4 years ago
Owner

Added subscriber: @brecht

Added subscriber: @brecht
brecht commented 4 years ago
Owner

It should not allow creating shortcuts for such incomplete paths. Additionally it would be good to add support for context.space_data, that's a pretty common case for binding shortcuts.

It should not allow creating shortcuts for such incomplete paths. Additionally it would be good to add support for `context.space_data`, that's a pretty common case for binding shortcuts.
brecht changed title from Error shortcut to Assigning shortcut to editor properties gives errors 4 years ago
ZedDB removed their assignment 4 years ago
brecht was assigned by ZedDB 4 years ago
ZedDB commented 4 years ago
Collaborator

Added subscriber: @ZedDB

Added subscriber: @ZedDB
ZedDB commented 4 years ago
Collaborator

@brecht as we discussed, this seems to be a bit more tricky that initially anticipated.

@brecht as we discussed, this seems to be a bit more tricky that initially anticipated.
brecht commented 4 years ago
Owner

Added subscribers: @xaviergmail, @GavinScott

Added subscribers: @xaviergmail, @GavinScott
brecht commented 4 years ago
Owner

Added subscriber: @prettymatcha

Added subscriber: @prettymatcha

Removed subscriber: @xaviergmail

Removed subscriber: @xaviergmail
brecht commented 4 years ago
Owner

Added subscribers: @hidcifci, @CMC

Added subscribers: @hidcifci, @CMC
brecht commented 4 years ago
Owner

Added subscribers: @carolinaromano, @dark999

Added subscribers: @carolinaromano, @dark999
brecht commented 4 years ago
Owner

Added subscriber: @Ghostil

Added subscriber: @Ghostil
brecht commented 4 years ago
Owner

Added subscribers: @ajlanaltug, @(Deleted), @MartinKoehler

Added subscribers: @ajlanaltug, @(Deleted), @MartinKoehler
brecht commented 4 years ago
Owner

Added subscribers: @gorek3d, @Filip688, @StephenSwaney

Added subscribers: @gorek3d, @Filip688, @StephenSwaney
brecht commented 4 years ago
Owner

Added subscribers: @MaxSereda, @lichtwerk

Added subscribers: @MaxSereda, @lichtwerk
brecht commented 4 years ago
Owner

Added subscribers: @voidsource, @dr.sybren, @RodDavis

Added subscribers: @voidsource, @dr.sybren, @RodDavis

Added subscriber: @BrentLiu

Added subscriber: @BrentLiu

In #65397#706141, @ZedDB wrote:
@brecht as we discussed, this seems to be a bit more tricky than initially anticipated.

How tricky is it?

> In #65397#706141, @ZedDB wrote: > @brecht as we discussed, this seems to be a bit more tricky than initially anticipated. How tricky is it?
Collaborator

Added subscriber: @spinyice

Added subscriber: @spinyice
brecht commented 4 years ago
Owner

Added subscribers: @Natron25, @nepo2

Added subscribers: @Natron25, @nepo2
brecht commented 4 years ago
Owner

Added subscribers: @Andrey_B999, @Mets

Added subscribers: @Andrey_B999, @Mets
Collaborator

Added subscriber: @sangeron

Added subscriber: @sangeron
Collaborator

Added subscriber: @Nightkeeper

Added subscriber: @Nightkeeper
Collaborator

Added subscriber: @Yura-4

Added subscriber: @Yura-4
Collaborator

Added subscriber: @kuzey

Added subscriber: @kuzey
Collaborator

@brecht : I have added this to 2.81 milestone (since it was set to "High"), mind checking again?

@brecht : I have added this to 2.81 milestone (since it was set to "High"), mind checking again?
brecht commented 3 years ago
Owner

Added subscriber: @Adrian-K

Added subscriber: @Adrian-K
brecht commented 3 years ago
Owner

Added subscriber: @cgigolfer

Added subscriber: @cgigolfer
brecht commented 3 years ago
Owner

Added subscriber: @RyD

Added subscriber: @RyD
brecht commented 3 years ago
Owner

Added subscriber: @maxortega2002

Added subscriber: @maxortega2002
Owner

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Collaborator

This issue was referenced by acd98599ff

This issue was referenced by acd98599ffe4197e32586d6beb807638395d3e31
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
ideasman42 closed this issue 3 years ago
Collaborator

Added subscriber: @Hyperr

Added subscriber: @Hyperr
Collaborator

Added subscriber: @zetta

Added subscriber: @zetta
ThomasDinges added this to the 2.81 milestone 2 days ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
9 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#65397
Loading…
There is no content yet.