Reloading Scripts causes SyntaxError (error only in 2.90.1, fix ready) #81112

Closed
opened 2020-09-24 00:24:09 +02:00 by Luai Malek · 15 comments

System Information
Operating system: KDE Neon 5.19
Graphics card: Nvidia GeForce GTX 970

Blender Version
Broken: v2.90.1, Linux 2020-09-23, (Both the binary from the website and the Snapcraft package)
Worked: v2.83.6 2020-09-09, Linux

Short description of error:
When using the "Reload Scripts" function the console outputs the following error:

  File "<string>", line 1
    def fn():
      ^
SyntaxError: invalid syntax

location: <unknown location>:-1

location: <unknown location>:-1

This happens regardless of user settings. The Scripts are not reloaded.

Exact steps for others to reproduce the error:

  1. Open Blender 2.90.1 (on Linux).
  2. Execute the command "Reload Scripts".
  3. Observe the console output.
**System Information** Operating system: KDE Neon 5.19 Graphics card: Nvidia GeForce GTX 970 **Blender Version** Broken: v2.90.1, Linux 2020-09-23, (Both the binary from the website and the Snapcraft package) Worked: v2.83.6 2020-09-09, Linux **Short description of error:** When using the "Reload Scripts" function the console outputs the following error: ``` File "<string>", line 1 def fn(): ^ SyntaxError: invalid syntax location: <unknown location>:-1 location: <unknown location>:-1 ``` This happens regardless of user settings. The Scripts are not reloaded. **Exact steps for others to reproduce the error:** 1. Open Blender 2.90.1 (on Linux). 2. Execute the command "Reload Scripts". 3. Observe the console output.
Author

Added subscriber: @TheBeautifulOrc

Added subscriber: @TheBeautifulOrc

#82527 was marked as duplicate of this issue

#82527 was marked as duplicate of this issue

#82085 was marked as duplicate of this issue

#82085 was marked as duplicate of this issue

#81138 was marked as duplicate of this issue

#81138 was marked as duplicate of this issue

Added subscriber: @rjg

Added subscriber: @rjg

I can't reproduce this error on Windows. The fn() function was introduced in commit 27ea086242 as part of a workaround to avoid a crash when the operator is called from the Python console.

I can't reproduce this error on Windows. The `fn()` function was introduced in commit 27ea086242 as part of a workaround to avoid a crash when the operator is called from the Python console.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

This is an issue from the merge, P1652 fixes it.

Note, these functions were renamed in master, to avoid exactly this confusion, but it wasn't applied to 2.90.

This is an issue from the merge, [P1652](https://archive.blender.org/developer/P1652.txt) fixes it. Note, these functions were renamed in `master`, to avoid exactly this confusion, but it wasn't applied to 2.90.
Campbell Barton changed title from Reloading Scripts causes SyntaxError to Reloading Scripts causes SyntaxError (error only in 2.90.1, fix ready) 2020-09-24 10:36:06 +02:00

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @Lendo

Added subscriber: @Lendo

Added subscriber: @muhuk

Added subscriber: @muhuk

Added subscriber: @randum

Added subscriber: @randum

Added subscribers: @paul-20, @dr.sybren

Added subscribers: @paul-20, @dr.sybren

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

Closing this as 2.91 is out and we're not planning to release a 2.90 bugfix.

Closing this as 2.91 is out and we're not planning to release a 2.90 bugfix.
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
5 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#81112
No description provided.