Add Curve: Sampling Tree Gen error #96764

Closed
opened 2022-03-24 19:00:57 +01:00 by Matija Barac · 2 comments

System Information
Operating system: Windows 10 Pro 21H2
Graphics card: ZOTAC rtx 2070

Blender Version
Broken:
3.2.0 Alpha

When I want to make a model of random tree with "Shift+A, Curve, Sampling Tree Gen" the error appears and the tree is not visible but the parameters for it are. But there is no use to edit a tree since it is not there.

Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\addons\add_curve_sapling\__init__.py", line 1097, in invoke
    bpy.ops.sapling.importdata(filename="callistemon.py")
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\modules\bpy\ops.py", line 116, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\addons\add_curve_sapling\__init__.py", line 188, in execute
    settings = ast.literal_eval(settings)
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\python\lib\ast.py", line 62, in literal_eval
    node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\python\lib\ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 1
    # SPDX-License-Identifier: GPL-2.0-or-later
SyntaxError: invalid syntax

location: C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\modules\bpy\ops.py:116

location: <unknown location>:-1
**System Information** Operating system: Windows 10 Pro 21H2 Graphics card: ZOTAC rtx 2070 **Blender Version** Broken: 3.2.0 Alpha When I want to make a model of random tree with "Shift+A, Curve, Sampling Tree Gen" the error appears and the tree is not visible but the parameters for it are. But there is no use to edit a tree since it is not there. ``` Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\addons\add_curve_sapling\__init__.py", line 1097, in invoke bpy.ops.sapling.importdata(filename="callistemon.py") File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\modules\bpy\ops.py", line 116, in __call__ ret = _op_call(self.idname_py(), None, kw) RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\addons\add_curve_sapling\__init__.py", line 188, in execute settings = ast.literal_eval(settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\python\lib\ast.py", line 62, in literal_eval node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval') File "C:\Program Files\Blender Foundation\Blender 3.0\3.2\python\lib\ast.py", line 50, in parse return compile(source, filename, mode, flags, File "<unknown>", line 1 # SPDX-License-Identifier: GPL-2.0-or-later SyntaxError: invalid syntax location: C:\Program Files\Blender Foundation\Blender 3.0\3.2\scripts\modules\bpy\ops.py:116 location: <unknown location>:-1 ```
Author

Added subscriber: @Dontlose2soon

Added subscriber: @Dontlose2soon
Member

Closed as duplicate of #95962

Closed as duplicate of #95962
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#96764
No description provided.