Cleanup: Power Sequencer update links and none type attribute access errors #105085
No reviewers
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105085
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Dennis-Crenshaw/blender-addons:power-sequencer-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Updating the plugin's issue and wiki links as well as fixing a couple of errors I saw when I was using an unrelated addon in the 3d viewport.
@ -40,3 +40,3 @@
@classmethod
def poll(cls, context):
return context.scene.sequence_editor.active_strip.type in SequenceTypes.VIDEO
context.scene.sequence_editor.active_strip.type in SequenceTypes.VIDEO if context.scene.sequence_editor.active_strip is not None else None
return
is missing@ -32,2 +32,2 @@
"tracker_url": "https://github.com/GDquest/Blender-power-sequencer/issues",
"wiki_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
"tracker_url": "https://projects.blender.org/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml",
"wiki_url": "https://docs.blender.org/manual/en/latest/addons/sequencer/power_sequencer.html",
This should be
"doc_url"
if the addon should have a "Documentation" button that opens the URL.Also,
"{BLENDER_MANUAL_URL}/addons/sequencer/power_sequencer.html"
can be used to prepend the manual URL for the current Blender version rather than the latest Blender version.@ -31,3 +31,2 @@
"location": "Sequencer",
"tracker_url": "https://github.com/GDquest/Blender-power-sequencer/issues",
"wiki_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
"tracker_url": "https://projects.blender.org/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml",
Addons bundled with Blender automatically get a "Report a Bug" button that creates a new bug report in this
blender-addons
issue tracker, without needing to specify a"tracker_url"
(though possibly due to a bug, this only happens currently if"doc_url"
is defined).(The
"tracker_url"
used here was also creating a bug report in theblender
repository, but it should have beenblender-addons
.)This is (probably very obviously) my first foray into trying to contribute to Blender-- the way I got here was clicking the "report a bug" button on the plugin I saw an error for, which took me to the original gdquest github repo for the addon, and I tried to submit a PR there and was informed it now lived in the core blender addons repo... so here I am and thanks for being patient while I learn!
If I understand correctly I can replace both the
wiki_url
and thetracker_url
with just the templateddoc_url
you provided above and the make job should automate providing a propertracker_url
to this core repo for bug reports?Is this true for the rest of the core maintained addons and do all the addons in this core addons repo need to have their
tracking_url
point to their entry here instead of their original external repo? Eg. I just looked at add_camera_rigs addon and it has adoc_url
as well as atracking_url
defined to an external repository and currently the "report a bug" button takes you to the external repository defined by thetracking_url
it provided (telling me that thedoc_url
auto gen doesn't override thetracking_url
if one is defined)I don't know for sure, but I'm guessing it's up to the maintainer of the addon whether they want to handle any bug reports here or on a different site.
As for the 'automatic
tracker_url
', I knew thatio_scene_fbx
didn't have atracker_url
defined, but that it got a "Report a Bug" button that opened new issues in this repository somehow, so I looked up the UI source code for the buttons (right click ->Edit Source
from within Blender when Developer Extras are enabled in the Interface preferences):tracker_url
ordoc_url
are defined, then a button or two will be drawn under the addon in the Add-ons list. Then, if there's notracker_url
and the addon is not user-installed (so its one that is bundled with Blender), then a button using the'BUG_ADDON'
preset is drawn, which is what you'll see if you scroll to the FBX addon and expand its UI.I've represented the different possible cases with a table:
doc_url
tracker_url
user_addon
doc_url
and "Report a Bug" button that goes totracker_url
doc_url
doc_url
and "Report a Bug" button that uses the'BUG_ADDON'
presettracker_url
What I think could be a bug with this UI code is that no buttons are drawn when the addon is not a
user_addon
, because in that case, the '"Report a Bug" button that uses the'BUG_ADDON'
preset' could still be used.Checkout
From your project repository, check out a new branch and test the changes.