Extensions: tag list is only updating when manually "Check for Updates" #122645

Closed
opened 2024-06-03 09:34:58 +02:00 by Dalai Felinto · 0 comments

Blender Version
Broken: version: 4.2.0 Alpha, branch: main, commit date: 2024-06-03 02:41, hash: 5bc71c870435
Worked: -

Short description of error
I believe the extensions tag list is only updating when I manually "Check for Updates".

Exact steps for others to reproduce the error

  • Delete ~/.config/blender/4.2
  • Launch Blender, go to Settings > Extensions
  • Allow online access
  • Go to tags ... nothing.
  • Restart Blender .. go to tags. .. nothing

If I touch -d "25 hours ago" ~/.config/blender/4.2/extensions/blender_org/.blender_ext/index.json, and launch Blender and go to extensions, still the same problem.
If I manually "Check for Updates" it fixes the problem.

Console warning:

AttributeError: 'NoneType' object has no attribute 'values'
Traceback (most recent call last):
  File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/modules/bpy_types.py", line 1034, in draw_ls
    func(self, context)
  File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/addons_core/bl_pkg/bl_extension_ui.py", line 1030, in tags_panel_draw
    tags_idprop, tags_sorted = tags_refresh(wm)
                               ^^^^^^^^^^^^^^^^
  File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/addons_core/bl_pkg/bl_extension_ui.py", line 1013, in tags_refresh
    tags_next = tags_current(wm)
                ^^^^^^^^^^^^^^^^
  File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/addons_core/bl_pkg/bl_extension_ui.py", line 979, in tags_current
    for item_remote in pkg_manifest_remote.values():
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'values'

PS: I first ran into this from my pre-setup Blender. But manage to reproduce from scratch with the steps above.

**Blender Version** Broken: version: 4.2.0 Alpha, branch: main, commit date: 2024-06-03 02:41, hash: `5bc71c870435` Worked: - **Short description of error** I believe the extensions tag list is only updating when I manually "Check for Updates". **Exact steps for others to reproduce the error** * Delete ~/.config/blender/4.2 * Launch Blender, go to Settings > Extensions * Allow online access * Go to tags ... nothing. * Restart Blender .. go to tags. .. nothing If I `touch -d "25 hours ago" ~/.config/blender/4.2/extensions/blender_org/.blender_ext/index.json`, and launch Blender and go to extensions, still the same problem. If I manually "Check for Updates" it fixes the problem. Console warning: ``` AttributeError: 'NoneType' object has no attribute 'values' Traceback (most recent call last): File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/modules/bpy_types.py", line 1034, in draw_ls func(self, context) File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/addons_core/bl_pkg/bl_extension_ui.py", line 1030, in tags_panel_draw tags_idprop, tags_sorted = tags_refresh(wm) ^^^^^^^^^^^^^^^^ File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/addons_core/bl_pkg/bl_extension_ui.py", line 1013, in tags_refresh tags_next = tags_current(wm) ^^^^^^^^^^^^^^^^ File "/media/data/blender_dfelinto/main_release/bin/4.2/scripts/addons_core/bl_pkg/bl_extension_ui.py", line 979, in tags_current for item_remote in pkg_manifest_remote.values(): ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'values' ``` PS: I first ran into this from my pre-setup Blender. But manage to reproduce from scratch with the steps above.
Dalai Felinto added the
Type
Bug
Priority
High
Status
Confirmed
Module
Python API
labels 2024-06-03 09:34:59 +02:00
Dalai Felinto added this to the Python API project 2024-06-03 09:34:59 +02:00
Campbell Barton was assigned by Dalai Felinto 2024-06-03 10:51:51 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-06-03 13:02:59 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
Asset Browser Project
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
1 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#122645
No description provided.