JoseConseco / GoB

Fork of original GoB script (I just added some fixes)
GNU General Public License v3.0
637 stars 77 forks source link

Export does not seem to work in 4.0 #452

Closed KungFuCactus closed 9 months ago

KungFuCactus commented 10 months ago

Tried using the export option in 4.0 for the first time and got the following error:

image

Using the latest version of addon (3_6_3), and the previous version; both have the same error. Using the both versions of the addons works fine in 3.6 still.

SerujiShard commented 10 months ago

image

Similar error here

kromar commented 10 months ago

Please use the latest release 4.0.2 https://github.com/JoseConseco/GoB/releases/tag/v4_0_2

KungFuCactus commented 10 months ago

@kromar Thanks, that fixed it. I didn't find this version because I hit the update button on the addon itself in preferences, and this actually located v3_6_3, not the latest release 4.0.2. 4.0.2 is also not shown as the latest version in the main page of the repo, it's still v3_6_3. In order to find 4.0.2, I had to check the "Experimental Versions" checkbox under the addon preferences.

image

Anyway, thanks again. This addon is a huge help in the workflow.

SbstnDC commented 9 months ago

same here

Python: Traceback (most recent call last): File "C:\Users\sebas_pe87e9k\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\GoB-3_6_3\GoB.py", line 1448, in invoke bpy.ops.scene.gob_export(as_tool=as_tool) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 109, in call ret = _op_call(self.idname_py(), kw) RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Users\sebas_pe87e9k\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\GoB-3_6_3\GoB.py", line 1360, in execute remove_internal_faces(obj) File "C:\Users\sebas_pe87e9k\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\GoB-3_6_3\GoB.py", line 2026, in remove_internal_faces bpy.ops.object.mode_set(bpy.context.copy(), mode='EDIT') File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 106, in call C_exec, C_undo = _BPyOpsSubModOp._parse_args(args) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 60, in _parse_args raise ValueError("1-2 args execution context is supported") ValueError: 1-2 args execution context is supported Location: C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py:109

kromar commented 9 months ago

@kromar Thanks, that fixed it. I didn't find this version because I hit the update button on the addon itself in preferences, and this actually located v3_6_3, not the latest release 4.0.2. 4.0.2 is also not shown as the latest version in the main page of the repo, it's still v3_6_3. In order to find 4.0.2, I had to check the "Experimental Versions" checkbox under the addon preferences.

image

Anyway, thanks again. This addon is a huge help in the workflow.

thanks for sharing the issue with the updater. I only released the version as a pre release at the point where you run into the error which caused the update not to show properly on your side. Its nice to see that the updater is used.