Addon: Archimesh+Archipack. No snap helper created bug #66496

Open
opened 2019-07-06 07:16:45 +02:00 by Vyacheslav Kobozev · 16 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-05 16:36, hash: blender/blender@699193713f

Description and reproducing
Create window-object with Archipack.
Tweak it a little and Archipack_snap_helper will appear.
Then delete Archipack_snap_helper object.
Try to create column with Archimesh.
Error appear.

Traceback (most recent call last):

File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 339, in execute
  create_column_mesh(self)
File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 359, in create_column_mesh
  if o.select_get() is True:

RuntimeError: Error: Object 'Archipack_snap_helper' not in View Layer 'View Layer'!
location: :-1

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-05 16:36, hash: `blender/blender@699193713f` **Description and reproducing** Create window-object with Archipack. Tweak it a little and Archipack_snap_helper will appear. Then delete Archipack_snap_helper object. Try to create column with Archimesh. Error appear. Traceback (most recent call last): ``` File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 339, in execute create_column_mesh(self) File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 359, in create_column_mesh if o.select_get() is True: ``` RuntimeError: Error: Object 'Archipack_snap_helper' not in View Layer 'View Layer'! location: <unknown location>:-1

Added subscriber: @Vyach

Added subscriber: @Vyach

Added subscriber: @antoniov

Added subscriber: @antoniov

I think you are talking of Archipacl Add-on, not Archimesh.

I think you are talking of Archipacl Add-on, not Archimesh.

@antoniov hmm, it is bonded problem. Here the reproduction way:
Create window with Archipack. tweak it a little and Archipack_snap_helper will appear.
Then delete Archipack_snap_helper and try to create column with Archimesh.
Voila, you got a bug!

@antoniov hmm, it is bonded problem. Here the reproduction way: Create window with Archipack. tweak it a little and Archipack_snap_helper will appear. Then delete Archipack_snap_helper and try to create column with Archimesh. Voila, you got a bug!
Vyacheslav Kobozev changed title from Addon: Archimesh. No snap helper created. to Addon: Archimesh+Archipack. No snap helper created bug 2019-07-06 11:56:32 +02:00
Member

Added subscriber: @StephenLeger

Added subscriber: @StephenLeger
Member

Looks like archipack still is in "manipulate mode" try to right click or press esc before creating the column / deleting the snap helper - or keep the snap helper as it ...

Looks like archipack still is in "manipulate mode" try to right click or press esc before creating the column / deleting the snap helper - or keep the snap helper as it ...

@StephenLeger
sadly no: escape from manipulating mode do not help.
Now Archipack do not work at all, sending me this:

Traceback (most recent call last):
  File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 339, in execute
    create_column_mesh(self)
  File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 359, in create_column_mesh
    if o.select_get() is True:
RuntimeError: Error: Object 'Cone' not in View Layer 'Моделирование'!


location: <unknown location>:-1


@StephenLeger sadly no: escape from manipulating mode do not help. Now Archipack do not work at all, sending me this: ``` Traceback (most recent call last): File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 339, in execute create_column_mesh(self) File "F:\Progs\Graphics\3d\blender 2.80\2.80\scripts\addons\archimesh\achm_column_maker.py", line 359, in create_column_mesh if o.select_get() is True: RuntimeError: Error: Object 'Cone' not in View Layer 'Моделирование'! location: <unknown location>:-1 ```
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

any resolve here?

any resolve here?
Member

This problem is related to last selected object not being on "View layer" when starting archimesh_colmn_maker.py

Don't know why the "o" var still point to a deleted object but as it occurs with random object it is definitely not an archipack issue.

Could also be o being on a hidden / disabled collection issue.
At some point .select_get() should return False instead of throwing such error as False is relevant in every case.

This problem is related to last selected object not being on "View layer" when starting archimesh_colmn_maker.py Don't know why the "o" var still point to a deleted object but as it occurs with random object it is definitely not an archipack issue. Could also be o being on a hidden / disabled collection issue. At some point .select_get() should return False instead of throwing such error as False is relevant in every case.

Removed subscriber: @Vyach

Removed subscriber: @Vyach

Added subscriber: @Vyach

Added subscriber: @Vyach

Removed subscriber: @Vyach

Removed subscriber: @Vyach

Added subscriber: @rjg

Added subscriber: @rjg

The triaging team is currently cleaning up tickets with incorrect status and subtypes. This ticket is currently marked as Bug but not confirmed.

@StephenLeger based on your comment it seems you can reproduce the issue and partly know what is causing this. However, this doesn't seem to be actively worked on. Should this ticket be confirmed and marked as Known Issue?

The triaging team is currently cleaning up tickets with incorrect status and subtypes. This ticket is currently marked as *Bug* but not confirmed. @StephenLeger based on your comment it seems you can reproduce the issue and partly know what is causing this. However, this doesn't seem to be actively worked on. Should this ticket be confirmed and marked as *Known Issue*?
Member

This issue is related to Archimesh, lacking to check if object is visible / not deleted before trying to get the select state.
Don't know if this error still occur.

This issue is related to Archimesh, lacking to check if object is visible / not deleted before trying to get the select state. Don't know if this error still occur.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#66496
No description provided.