3D Coat Applink Send not working in 2.90 #79407

Closed
opened 2020-07-31 03:43:48 +02:00 by Jason Miller · 15 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48

Blender Version
Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-07-30 17:19, hash: blender/blender@f45f8a7a89
Worked: 2.83.3 LTS

Addon Information
Name: 3D-Coat Applink (4, 9, 34)
Author: Kalle-Samuli Riihikoski (haikalle)

Short description of error
Sending meshes using 3D-Coat Applink in Blender 2.90 causes a script error.

Happens on default cube scene, with fresh config (deleted prefs).

Working fine for me in 2.83.

I made sure the applink folder is set correctly in the 3d coat settings.

Exact steps for others to reproduce the error

  1. Enable 3D-Coat Applink and run 3D Coat in the background.
  2. In Blender's 3D Coat tab try "Send as Voxel Mesh" and click "Send"

Script Error

Traceback (most recent call last):
  File "C:\Program Files\Blender\2.90\scripts\addons\io_coat3D\__init__.py", line 578, in invoke
    bpy.ops.export_applink.pilgway_3d_coat()
  File "C:\Program Files\Blender\2.90\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
  File "C:\Program Files\Blender\2.90\scripts\addons\io_coat3D\__init__.py", line 612, in execute
    coat3D.exchangedir = set_exchange_folder()
  File "C:\Program Files\Blender\2.90\scripts\addons\io_coat3D\__init__.py", line 136, in set_exchange_folder
    if(source != coat3D.exchangedir and coat3D.exchangedir != '' and coat3D.exchangedir.rfind('Exchange') >= 0):
UnboundLocalError: local variable 'source' referenced before assignment

location: C:\Program Files\Blender\2.90\scripts\modules\bpy\ops.py:201



location: <unknown location>:-1

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48 **Blender Version** Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-07-30 17:19, hash: `blender/blender@f45f8a7a89` Worked: 2.83.3 LTS **Addon Information** Name: 3D-Coat Applink (4, 9, 34) Author: Kalle-Samuli Riihikoski (haikalle) **Short description of error** Sending meshes using 3D-Coat Applink in Blender 2.90 causes a script error. Happens on default cube scene, with fresh config (deleted prefs). Working fine for me in 2.83. I made sure the applink folder is set correctly in the 3d coat settings. **Exact steps for others to reproduce the error** 1. Enable 3D-Coat Applink and run 3D Coat in the background. 2. In Blender's 3D Coat tab try "Send as Voxel Mesh" and click "Send" **Script Error** ``` Traceback (most recent call last): File "C:\Program Files\Blender\2.90\scripts\addons\io_coat3D\__init__.py", line 578, in invoke bpy.ops.export_applink.pilgway_3d_coat() File "C:\Program Files\Blender\2.90\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Error: Traceback (most recent call last): File "C:\Program Files\Blender\2.90\scripts\addons\io_coat3D\__init__.py", line 612, in execute coat3D.exchangedir = set_exchange_folder() File "C:\Program Files\Blender\2.90\scripts\addons\io_coat3D\__init__.py", line 136, in set_exchange_folder if(source != coat3D.exchangedir and coat3D.exchangedir != '' and coat3D.exchangedir.rfind('Exchange') >= 0): UnboundLocalError: local variable 'source' referenced before assignment location: C:\Program Files\Blender\2.90\scripts\modules\bpy\ops.py:201 location: <unknown location>:-1 ```
Author

Added subscriber: @tripclaw

Added subscriber: @tripclaw

#80633 was marked as duplicate of this issue

#80633 was marked as duplicate of this issue

#81415 was marked as duplicate of this issue

#81415 was marked as duplicate of this issue
Author

Been testing periodically with updates, but no luck.

  • Still happening in latest 2.90 beta build (August 25th)...
  • Still working entirely in latest 2.83.5 LTS release...

I believe it started at this commit which changes a lot in the area where the script is crashing (line 136)
bda1b8bc98

Hoping to find a fix for this, as I have to do 3d-coat exchanges the long way for now.

Been testing periodically with updates, but no luck. - Still happening in latest 2.90 beta build (August 25th)... - Still working entirely in latest 2.83.5 LTS release... I believe it started at this commit which changes a lot in the area where the script is crashing (line 136) https://github.com/blender/blender-addons/commit/bda1b8bc98bc0315f1090c131fab19a3b282e047 Hoping to find a fix for this, as I have to do 3d-coat exchanges the long way for now.
Author

Added subscriber: @Kalle-SamuliRiihikoski

Added subscriber: @Kalle-SamuliRiihikoski
Author

@Kalle-SamuliRiihikoski not sure if you have seen this, am I the only one experiencing this issue?

@Kalle-SamuliRiihikoski not sure if you have seen this, am I the only one experiencing this issue?

Oh I see. I will fix this soon. If you want to fix manually right now please delete \Documents\3DC2Blender\Exchange_folder.txt. Then open blender and before pressing send button, please set your custom exchange folder into applink settings. But I think I can provide quick fix for this.

Oh I see. I will fix this soon. If you want to fix manually right now please delete \Documents\3DC2Blender\Exchange_folder.txt. Then open blender and before pressing send button, please set your custom exchange folder into applink settings. But I think I can provide quick fix for this.
Author

@Kalle-Samuli Riihikoski (haikalle) Thank you! Deleting the Exchange_Folder.txt (which was empty) fixed the problem!

@Kalle-Samuli Riihikoski (haikalle) Thank you! Deleting the Exchange_Folder.txt (which was empty) fixed the problem!

Added subscriber: @rjg

Added subscriber: @rjg

This issue should be fixed since 42ff7d5e12 and subsequent commits that modified folder system. @tripclaw Could you please check if this is fixed for you in Blender 2.92?

This issue should be fixed since 42ff7d5e12 and subsequent commits that modified folder system. @tripclaw Could you please check if this is fixed for you in Blender 2.92?

Added subscriber: @sprawa

Added subscriber: @sprawa
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Member

Added subscriber: @hippo

Added subscriber: @hippo
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#79407
No description provided.