1

I installed the CreaPrim addon and when I try to add a new primitive, I get the following error:

Traceback (most recent call last):
 File "/CreaPrim - create your own primitives", line 141, in invoke
 NameError: global name 'do_creaprim' is not defined
 location: <unknown location>:-1

Does anybody know how to fix this?

Thom Blair III
  • 16,535
  • 20
  • 75
  • 112
  • for what version of blender was this add on written for? – Vader Apr 03 '14 at 12:21
  • @Vader according to its bl_info for version 2.64 – stacker Apr 03 '14 at 12:44
  • @stacker I think the API has changed since, breaking the old code. – Vader Apr 03 '14 at 12:45
  • @Vader In line 141 there is a invocation of a function which is defined in line 208. Can't test this at the moment. – stacker Apr 03 '14 at 12:46
  • @stacker I can't test it either atm. But what you described is a problem. – Vader Apr 03 '14 at 12:49
  • @stacker Thanks for taking a look at the code...the original developers of the script don't seem to be around anymore. This script isn't such a big deal to me, so don't trouble yourself over fixing it, just if it's super easy to do. Not being a coder, I have no idea how easy or hard this would be to fix. – Thom Blair III Apr 04 '14 at 00:20
  • I posted this question in BlenderArists: http://blenderartists.org/forum/showthread.php?332531-CreaPrim-script-giving-errors-when-used-in-2-70&p=2616221#post2616221 – Thom Blair III Apr 04 '14 at 01:33

1 Answers1

1

Just so this is said... this is a bug, meant for the developer of the addon to fix... I would file a bug report.

ie: There most likely is no way to fix it without re coding the addon.

community answer on bug reports here:

Best place to put bug reports?

EDIT

If the addon was working in a older version, then one solution would be to roll back to a previous version. Its a bit drastic but if you want to use the addon badly enough it would probably fix it.

Konner Rasmussen
  • 1,091
  • 1
  • 8
  • 21