UnboundLocalError raised clicking in 3D view during text edit #58378

Closed
opened 2018-12-01 00:30:10 +01:00 by Mike Bradbury · 5 comments

System Information
Windows 10 i7-2600, NVIDIA GeForce GTX 550, see system-info.txt below.

Blender Version
2.80 Beta
version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-30 00:46, hash: 4c31bed6b4, type: Release
build date: 29/11/2018, 17:09

Short description of error
Left clicking on 3D view during edit mode for text yields pop-up error

Traceback (most recent call last):
File "D:\Program Files\blender-2.80.0-git.4c31bed6b46-windows64\2.80\scripts\startup\bl_operators\view3d.py", line 232, in invoke
    return select_all('INVOKE_DEFAULT', True, action='DESELECT')
UnboundLocalError: local variable 'select_all' referenced before assignment

Exact steps for others to reproduce the error
Delete 2.80 settings directory in AppData/Roaming
Launch Blender (Left click select, Save New Settings)
Delete default cube
Add a Text object
Enter Edit Mode
Left click in the 3D viewport - this gives the error on every left click.
Leaving Edit Mode, all fine.
Re-enter Edit Mode, problem comes back.
Save file, exit blender.
Re-open file and re-enter Edit Mode, problem comes back again.
I have repeated several times - same every time.

System Info FIle:
system-info.txt

Example .blend:
bug_report_280_beta_2.blend

**System Information** Windows 10 i7-2600, NVIDIA GeForce GTX 550, see system-info.txt below. **Blender Version** 2.80 Beta version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-30 00:46, hash: 4c31bed6b46, type: Release build date: 29/11/2018, 17:09 **Short description of error** Left clicking on 3D view during edit mode for text yields pop-up error ``` Traceback (most recent call last): File "D:\Program Files\blender-2.80.0-git.4c31bed6b46-windows64\2.80\scripts\startup\bl_operators\view3d.py", line 232, in invoke return select_all('INVOKE_DEFAULT', True, action='DESELECT') UnboundLocalError: local variable 'select_all' referenced before assignment ``` **Exact steps for others to reproduce the error** Delete 2.80 settings directory in AppData/Roaming Launch Blender (Left click select, Save New Settings) Delete default cube Add a Text object Enter Edit Mode Left click in the 3D viewport - this gives the error on every left click. Leaving Edit Mode, all fine. Re-enter Edit Mode, problem comes back. Save file, exit blender. Re-open file and re-enter Edit Mode, problem comes back again. I have repeated several times - same every time. System Info FIle: [system-info.txt](https://archive.blender.org/developer/F5773002/system-info.txt) Example .blend: [bug_report_280_beta_2.blend](https://archive.blender.org/developer/F5773008/bug_report_280_beta_2.blend)
Author

Added subscriber: @MikeB_TheatreLx

Added subscriber: @MikeB_TheatreLx

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I can not reproduce this on a build from today, could you retry with a recent build?

I can not reproduce this on a build from today, could you retry with a recent build?
Author

I've just reconfirmed that the 2018-11-30 daily build still complains as described (I've rebuild & re-installed Windows since I raised the original Task).

However, identical steps on the 2019-01-05 daily build works exactly as I'd expect it to.

Looks like a fix has crept in via some other Task in the past month.

Mike.

I've just reconfirmed that the 2018-11-30 daily build still complains as described (I've rebuild & re-installed Windows since I raised the original Task). However, identical steps on the 2019-01-05 daily build works exactly as I'd expect it to. Looks like a fix has crept in via some other Task in the past month. Mike.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sebastian Parborg self-assigned this 2019-01-05 21:02:38 +01:00
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
2 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#58378
No description provided.