Page MenuHome

crash when exporting or importing hotkeys
Open, Needs Information from UserPublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.08

Blender Version
Broken: version: 2.82 (sub 2), branch: master, commit date: 2019-11-27 20:26, hash: rB4659fa547166
Worked: (optional)

Short description of error
I have my own hotkey presets, when I click to export them, or import others, the blender crashes. After opening the blender, imported presets are displayed, but when activated, an error appears
Traceback (most recent call last):
  File "C: \ Users \ alexe \ Desktop \ blender-2.82-4659fa547166-windows64 \ 2.82 \ scripts \ modules \ bpy \ utils \ __ init.py", line 649, in keyconfig_set
    execfile (filepath)
  File "C: \ Users \ alexe \ Desktop \ blender-2.82-4659fa547166-windows64 \ 2.82 \ scripts \ modules \ bpy \ utils \
init__.py", line 90, in execfile
    mod_spec.loader.exec_module (mod)
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 860, in get_code
  File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C: \ Users \ alexe \ AppData \ Roaming \ Blender Foundation \ Blender \ 2.82 \ scripts \ presets \ keyconfig \ asdasd.py", line 275
    
    ^
SyntaxError: unexpected EOF while parsing

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Details

Type
Bug

Event Timeline

Can you provide this file?
C:\Users\alexe\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\presets\keyconfig\asdasd.py

Can you provide this file?
C:\Users\alexe\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\presets\keyconfig\asdasd.py

Germano Cavalcante (mano-wii) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Mon, Dec 2, 7:56 PM

From what I can see, this file (asdasd.py) is obviously broken.
It is incomplete, as if it had been interrupted during the writing.
We don't have much information to know what happened, so there's not much we can do :\