BlenderKit creates files as soon as it is enabled #70890

Closed
opened 2019-10-17 09:22:27 +02:00 by Jeroen Bakker · 20 comments
Member

I have created this issue, but am still finding out the details of what actually happens.

I have noticed the last year that occasionally I have to remove blenderkit files from my home folder. To my knowledge I haven't enabled (I veryfied) blender kit add on at all. Inside the folder a json file is stored. Sometimes it happens often, the other times it does not.

I find it also strange that it want to store files in the user folder. In linux storing it in the cache folder would make more sense just like cycles does it.

I have created this issue, but am still finding out the details of what actually happens. I have noticed the last year that occasionally I have to remove blenderkit files from my home folder. To my knowledge I haven't enabled (I veryfied) blender kit add on at all. Inside the folder a json file is stored. Sometimes it happens often, the other times it does not. I find it also strange that it want to store files in the user folder. In linux storing it in the cache folder would make more sense just like cycles does it.
Author
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Jeroen Bakker changed title from BlenderKit downloads and creates files even when not enabled to BlenderKit creates files even when not enabled 2019-10-17 09:47:14 +02:00

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

I can confirm the creation of $HOME/blenderkit_data.

I can confirm the creation of `$HOME/blenderkit_data`.
Vilem Duha was assigned by Brendon Murphy 2019-10-17 13:13:35 +02:00

Added subscriber: @dfelinto

Added subscriber: @dfelinto

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.
(in this case the report was never complete, @VilemDuha we can always reopen this or you can report a new issue if you have a more clear picture of the issue).

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided. (in this case the report was never complete, @VilemDuha we can always reopen this or you can report a new issue if you have a more clear picture of the issue).

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author
Member

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Author
Member

Seems this was triaged incorrectly. reopening as this is still the case

Seems this was triaged incorrectly. reopening as this is still the case
Member

If I understand this right, Blender doesn't touch or run/register add-on files until enabled. I don't understand how there could possibly be a way for BlenderKit to execute any code at all. Is there some kind of 'preregistration' happening when blender checks for installed(not enabled) addons?

If I understand this right, Blender doesn't touch or run/register add-on files until enabled. I don't understand how there could possibly be a way for BlenderKit to execute any code at all. Is there some kind of 'preregistration' happening when blender checks for installed(not enabled) addons?
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Added subscriber: @ideasman42

Added subscriber: @ideasman42

@ideasman42 any insight on this?

@ideasman42 any insight on this?

This happens in the unit test bl_load_addons.py, which enables all (except blacklisted) add-ons one by one.
In my opinion this shouldn't create new directories in my home directory, or download files from the internet.

This happens in the unit test `bl_load_addons.py`, which enables all (except blacklisted) add-ons one by one. In my opinion this shouldn't create new directories in my home directory, or download files from the internet.
Member

I think the original bug report can be corrected - BlenderKit really only creates the directory upon registration, when enabled.

I think the original bug report can be corrected - BlenderKit really only creates the directory upon registration, when enabled.

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

@Jeroen-Bakker can you rename this task to correct it? Not sure if I should edit it myself or not -
BlenderKit really never created files when not enabled, it happens after registration, mostly through tests suite.

@Jeroen-Bakker can you rename this task to correct it? Not sure if I should edit it myself or not - BlenderKit really never created files when not enabled, it happens after registration, mostly through tests suite.
Author
Member

Perhaps we should close this as it has been validated to be incorrect.

Perhaps we should close this as it has been validated to be incorrect.
Member

Well some developers (@dr.sybren ) don't like that after activation (through tests suite) the addon creates directories, and I am actually just working on some fixes for it - that's why I only wanted to rename the task. I can also create a new one.

Well some developers (@dr.sybren ) don't like that after activation (through tests suite) the addon creates directories, and I am actually just working on some fixes for it - that's why I only wanted to rename the task. I can also create a new one.
Sybren A. Stüvel changed title from BlenderKit creates files even when not enabled to BlenderKit creates files as soon as it is enabled 2020-07-07 14:45:09 +02:00

This issue was referenced by 6f7c4230af

This issue was referenced by 6f7c4230af8e404d9fa9687b80ee8e7f3f8eac1d

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 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-addons#70890
No description provided.