Script errors

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
nerak99
Posts: 0
Joined: Tue Dec 11, 2012 2:55 pm
Location: United Kingdom

Script errors

Post by nerak99 » Tue Dec 11, 2012 3:06 pm

I wanted to use python to plot a 3d surface, I added the add_mesh_3d_function_surface.py Add on.
It is cirrectly placed in my blender folder and yet I get errors when I run it. The error is long but is similar for two addons I tried (I put Mesh gears in as well).

Code: Select all

SyntaxError: EOF while scanning triple-wuoted string literal
It may be the way I got it the code, (saving it from a web page) or my version of blender (2.64)

I have tried on Linux (FC17) and Mac (OSX 10.8.2) and the error is the same.[/code]

IANAE

nerak99
Posts: 0
Joined: Tue Dec 11, 2012 2:55 pm
Location: United Kingdom

Re: Script errors

Post by nerak99 » Tue Dec 11, 2012 4:24 pm

Progress, well for some reason, the downloaded script has triple string literall ie. ''' above and below the bl_info block which broke the code. Goodness knows how they got there but the error has gone.

However, the menu entry decrsibed does not appear.

Awaiting in hope

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv » Tue Dec 11, 2012 4:50 pm

Saving scripts copied from a web page is error prone. Try finding a link and doing the Right Click/Save thing.

nerak99
Posts: 0
Joined: Tue Dec 11, 2012 2:55 pm
Location: United Kingdom

Re: Script errors

Post by nerak99 » Tue Dec 11, 2012 5:05 pm

I think that the 3D function plot has been absorbed into another addon. In fact, the ''' maybe an attempt to stop people loading it.

Post Reply