system reload scripts doesn't work for addons stored in an alternative file path as set in preferences/file paths/scripts #81088

Closed
opened 2020-09-23 14:31:49 +02:00 by michael campbell · 11 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 452.06

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 05:59, hash: f470a02afa

system reload scripts doesn't work for addons stored in an alternative file path as set in preferences/file paths/scripts

reproduce:

  1. set a custom scripts folder
  2. restart blender and enable one of the addon from that folder
  3. make and ammendment to the addon (add a print statement or something simple)
  4. click reload scripts in blenders blender icon menu (no idea what it's actually called...the one left of the file menu)
  5. run the portion of the addon that will make the print statement, check console, it's not there.
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 452.06 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 05:59, hash: `f470a02afa` system reload scripts doesn't work for addons stored in an alternative file path as set in preferences/file paths/scripts reproduce: 1. set a custom scripts folder 2. restart blender and enable one of the addon from that folder 3. make and ammendment to the addon (add a print statement or something simple) 4. click reload scripts in blenders blender icon menu (no idea what it's actually called...the one left of the file menu) 5. run the portion of the addon that will make the print statement, check console, it's not there.

Added subscriber: @3di

Added subscriber: @3di

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

What do you mean by:

restart blender and enable one of the addon from that folder

I haven't found any place to set a new location for addons.
Preferences -> Fle Patch -> Scripts just set up a new directory for python to import modules that can be used in any addon.

Please give us more clear instructions on how to reproduce it from scratch.

What do you mean by: > restart blender and enable one of the addon from that folder I haven't found any place to set a new location for addons. `Preferences -> Fle Patch -> Scripts` just set up a new directory for python to import modules that can be used in any addon. Please give us more clear instructions on how to reproduce it from scratch.

Put an addon in a folder, add that folder to custom scripts in blender’s preferences. Reload blender so it picks up the addon from the folder you just set, enable that addon, change the addon code slightly, run the reload script command, test the addon has actually updated.

Put an addon in a folder, add that folder to custom scripts in blender’s preferences. Reload blender so it picks up the addon from the folder you just set, enable that addon, change the addon code slightly, run the reload script command, test the addon has actually updated.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot redo on b9207fb43d I copied PLY importer and changed it to

self.layout.operator(ImportPLY.bl_idname, text="Stanford 2 (.ply)")

It was reflected in the file menu -> import after Blender app menu -> system -> "reload scripts"

See if the outdated behavior due to stale pycache.

Cannot redo on b9207fb43d6fb55b83ee25263a3963c8c736f876 I copied PLY importer and changed it to ``` self.layout.operator(ImportPLY.bl_idname, text="Stanford 2 (.ply)") ``` It was reflected in the file menu -> import after Blender app menu -> system -> "reload scripts" See if the outdated behavior due to stale pycache.

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks for the report. If the problem persists please open a new report with the required information.
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
3 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#81088
No description provided.