[Sun position] Fix missing parameter (patch available) #117397

Closed
opened 2024-01-22 09:23:05 +01:00 by SL-1 · 4 comments

System Information
Operating system: Linux-6.5.0-5-amd64-x86_64-with-glibc2.37 64 Bits, X11 UI
Graphics card: Mesa Intel(R) Graphics (ADL-N) Intel 4.6 (Core Profile) Mesa 23.2.1-1

Blender Version
Broken: version: 4.0.2, branch: Unknown, commit date: Unknown Unknown, hash: Unknown
Worked: can't tell, but regression appeared in 7f5f13cbb0

Short description of error
A parameter was lost after an API update

Exact steps for others to reproduce the error
I was playing around with the Sun Position addon and noticed an error regarding a missing parameter. The fix is simple, so instead of a scenario, I am providing a patch.

**System Information** Operating system: Linux-6.5.0-5-amd64-x86_64-with-glibc2.37 64 Bits, X11 UI Graphics card: Mesa Intel(R) Graphics (ADL-N) Intel 4.6 (Core Profile) Mesa 23.2.1-1 **Blender Version** Broken: version: 4.0.2, branch: Unknown, commit date: Unknown Unknown, hash: `Unknown` Worked: can't tell, but regression appeared in 7f5f13cbb0 **Short description of error** A parameter was lost after an API update **Exact steps for others to reproduce the error** I was playing around with the Sun Position addon and noticed an error regarding a missing parameter. The fix is simple, so instead of a scenario, I am providing a patch.
SL-1 added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2024-01-22 09:23:06 +01:00

Hi @SL-1, thank you for the report. However, it has some issues:

  1. It should have been reported in the blender-addons repository instead of the blender repository. The addon authors monitor and fix the code there, so it's the appropriate place for addon-related issues.

  2. The description of the issue is not clear, and it's important to provide more information for us to understand and reproduce the problem. Without a clear understanding of the issue, we cannot blindly accept and apply patches.

  3. If you have a patch to fix the issue, it is recommended to create a Pull Request (PR) following our contribution guidelines. You can find the guidelines at: https://developer.blender.org/docs/handbook/contributing/

Please make the necessary adjustments and provide more information about the issue.

(cc @pioverfour)

Hi @SL-1, thank you for the report. However, it has some issues: 1. It should have been reported in the [blender-addons](https://projects.blender.org/blender/blender-addons) repository instead of the [blender](https://projects.blender.org/blender/blender) repository. The addon authors monitor and fix the code there, so it's the appropriate place for addon-related issues. 2. The description of the issue is not clear, and it's important to provide more information for us to understand and reproduce the problem. Without a clear understanding of the issue, we cannot blindly accept and apply patches. 3. If you have a patch to fix the issue, it is recommended to create a Pull Request (PR) following our contribution guidelines. You can find the guidelines at: https://developer.blender.org/docs/handbook/contributing/ Please make the necessary adjustments and provide more information about the issue. (cc @pioverfour)
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-01-22 18:02:06 +01:00
Member

@SL-1 Germano is right, but thanks for the report and patch. The issue will be fixed in 4.1 as well as the next 3.6 release.

@SL-1 Germano is right, but thanks for the report and patch. The issue will be fixed in 4.1 as well as the next 3.6 release.
Author

Hi @SL-1, thank you for the report. However, it has some issues:

  1. It should have been reported in the blender-addons repository instead of the blender repository. The addon authors monitor and fix the code there, so it's the appropriate place for addon-related issues.

Agreed, but I also followed some instructions which asked me to click in some menu to fill in automatically some setup info, and guess what, it opens the issue on blender rather than blender-addons.

  1. The description of the issue is not clear, and it's important to provide more information for us to understand
    and reproduce the problem. Without a clear understanding of the issue, we cannot blindly accept and apply patches.

Agreed, I should have tracked how I triggered it and provided a MWE. But you know how life is, it's 2AM, you fix a minor thing and move on, the patch is obviously fixing an issue.

  1. If you have a patch to fix the issue, it is recommended to create a Pull Request (PR) following our contribution guidelines.
    You can find the guidelines at: https://developer.blender.org/docs/handbook/contributing/

Too much fuss for a one-liner, sorry.

I find an issue that has been there for 9 months, I fix it, open a ticket, provide a patch, I think I have done my share of the work. I am quite sure in the past I created a patch through some github interface which transparently created a PR, maybe that would fill a gap for simple fixes like this one. You would be happier, I would save some time. Maybe I missed it, though.

Anyway, thanks for Blender, I started playing with it a few days ago for one specific need (shadow projections), it has done the job wonderfully.

> Hi @SL-1, thank you for the report. However, it has some issues: > > 1. It should have been reported in the [blender-addons](https://projects.blender.org/blender/blender-addons) repository instead of the [blender](https://projects.blender.org/blender/blender) repository. The addon authors monitor and fix the code there, so it's the appropriate place for addon-related issues. Agreed, but I also followed some instructions which asked me to click in some menu to fill in automatically some setup info, and guess what, it opens the issue on blender rather than blender-addons. > 2. The description of the issue is not clear, and it's important to provide more information for us to understand > and reproduce the problem. Without a clear understanding of the issue, we cannot blindly accept and apply patches. Agreed, I should have tracked how I triggered it and provided a MWE. But you know how life is, it's 2AM, you fix a minor thing and move on, the patch is obviously fixing an issue. > 3. If you have a patch to fix the issue, it is recommended to create a Pull Request (PR) following our contribution guidelines. > You can find the guidelines at: https://developer.blender.org/docs/handbook/contributing/ Too much fuss for a one-liner, sorry. I find an issue that has been there for 9 months, I fix it, open a ticket, provide a patch, I think I have done my share of the work. I am quite sure in the past I created a patch through some github interface which transparently created a PR, maybe that would fill a gap for simple fixes like this one. You would be happier, I would save some time. Maybe I missed it, though. Anyway, thanks for Blender, I started playing with it a few days ago for one specific need (shadow projections), it has done the job wonderfully.
Author

@SL-1 Germano is right, but thanks for the report and patch. The issue will be fixed in 4.1 as well as the next 3.6 release.

You are welcome, I'll see when this gets packaged for my distro.

> @SL-1 Germano is right, but thanks for the report and patch. The issue will be fixed in 4.1 as well as the next 3.6 release. You are welcome, I'll see when this gets packaged for my distro.
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#117397
No description provided.