Python Script Error STDIN

   3028   0   1
User Avatar
Member
68 posts
Joined: May 2013
Offline
If you take a Mantra ROP in a basically blank file, and add a script in the Script tab for the Pre-Frame Script, by selecting a blank file.

You get an error when rendering?!

python error: SyntaxError: ('invalid syntax', ('<stdin>, 1, 2, ‘Path To File.py’))

I've certainly tried with proper script as far as I understand it but this was the simplest way to generate the error that shouldn't occur from a blank file.

Is this a major bug in 12.5?
Is there a missing Python doc-type or something?

#!/usr/bin/python

Windows?
  • Quick Links