Page MenuHome

Assigning shortcut to editor properties gives errors
Closed, ResolvedPublicBUG


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: rBcc600de6695a
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\", 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\", line 75, in context_path_validate value = eval("context.%s" data_path) if data_path else Ellipsis
File "<string>", line 1
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

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

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 Van Lommel (brecht) renamed this task from Error shortcut to Assigning shortcut to editor properties gives errors.Jun 2 2019, 12:51 AM

@Brecht Van Lommel (brecht) as we discussed, this seems to be a bit more tricky that initially anticipated.

@Brecht Van Lommel (brecht) as we discussed, this seems to be a bit more tricky than initially anticipated.

How tricky is it?

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