Jump to: Board index » General » Fusion

unsuccessful open file [SOLVED]

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 97
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

unsuccessful open file [SOLVED]

PostSat Dec 20, 2014 4:31 pm

Hi, All
I run into a trouble with file I export from Syntheyes (I successfully export and open exported file in fusion with other shot, but not this one)

The error read
[string "Composion"]:2114: '}' expected (to close '{' at line 9) near '='


Here the few lines at the top of the error file
Code: Select all
-- Digital Fusion 5 Exporter: D:\F15_HD_Plate\hcw_f0015_hd_plate4.0001.sni
-- Exported Sun, Dec 14, 2014 06:56:49 PM

Composition {
   CurrentTime = 0,
   RenderRange = { 0, 307, },
   GlobalRange = { 0, 307, },
   Tools = {
      Camera01Shot = Loader {
         Clips = {
            Clip {
               Filename = "D:\\F15_HD_Plate\\hcw_f0015_hd_plate.0001.png",
               Length = 308,
               GlobalStart = 0,
               GlobalEnd = 307,
               AspectMode = 2,
            },
         },
         Inputs = {
            CustomPixelAspect = Input {
               Value = { 1.5, 1 },
            },
         },
         ViewInfo = OperatorInfo {
            Pos = { 100, 50, },
         },
      },


compare to the other file(the good one) I successfully open in Fusion without any error
the head of the file seem identical
Code: Select all
-- Digital Fusion 5 Exporter: C:\CG011_v1\plate\CG011.00000.sni
-- Exported Sun, Dec 14, 2014 06:55:43 PM

Composition {
   CurrentTime = 0,
   RenderRange = { 0, 59, },
   GlobalRange = { 0, 59, },
   Tools = {
      Camera01Shot = Loader {
         Clips = {
            Clip {
               Filename = "C:\\CG011_v1\\plate\\CG011.00000.tif",
               Length = 60,
               GlobalStart = 0,
               GlobalEnd = 59,
               AspectMode = 2,
            },
         },
         Inputs = {
            CustomPixelAspect = Input {
               Value = { 1, 1 },
            },
         },
         ViewInfo = OperatorInfo {
            Pos = { 100, 50, },
         },
      },

I don't understand the error here. Could anyone help me out?
Last edited by Tanawat Wattanachinda on Sun Jan 25, 2015 10:32 am, edited 1 time in total.
Offline
User avatar

Stefan Ihringer

  • Posts: 257
  • Joined: Mon Nov 10, 2014 10:40 pm

Re: unsuccessful open file

PostSat Dec 27, 2014 10:26 pm

You could give my updated export script a try:

http://www.comp-fu.com/2014/03/fusion-syntheyes-bridge/

I have rewritten parts of the old Fusion 5 exporter... although I can't remember ever encountering your particular bug.
blog and Fusion stuff: http://comp-fu.com/2012/06/fusion-script-macro-collection/
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 97
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

Re: unsuccessful open file

PostSun Dec 28, 2014 12:15 pm

Thank for the help Stefan
I currently using Syntheyes Pro 64-bit 1411 ver. with Fusion 7.5 free(belong to Blackmagic now)
so I struggle to find where to put the files after read the readme.
but I manage to guess the folder
from
C:\Users\Public\Documents\eyeon\Fusion\Scripts\Tool)
to my
C:\Users\user\Documents\Blackmagic Design\Fusion\Scripts\Tool

and
C:\ProgramData\eyeon\Fusion\Profiles\Default\

to
C:\ProgramData\Blackmagic Design\Fusion\Profiles\Default

and with this optional
Optional: To install the tool script in the context menu of every Loader in
Fusion, place this snippet into your Fusion.menus file. It can be found in
C:\ProgramData\eyeon\Fusion\Profiles\Default\

Loader = {
{ "Track This", [[@Scripts:Tool\Syntheyes - Track This!.py]] },
},


I don't have "Fusion.menus" inside the folder, so I create one. then edit the file
with this
Code: Select all
{
   Loader = {
      { "Track This", [[@Scripts:Tool\Syntheyes - Track This!.py]] },
   },
}


my default install path of both program are
C:\Program Files\Andersson Technologies LLC\SynthEyes

C:\Program Files\Blackmagic Design\Fusion

the Syntheyes script show up correctly( I saw it show up in export and script menu)
but not with Fusion, I don't see any change anywhere.

Is it my mistake or should I do anything differently?

Thank for the help
Offline
User avatar

Stefan Ihringer

  • Posts: 257
  • Joined: Mon Nov 10, 2014 10:40 pm

Re: unsuccessful open file

PostTue Dec 30, 2014 6:15 pm

Hi!
The Syntheyes export script is the one that you should try first. It's a rewritten exporter and might fix your problem. The Fusion script isn't that important. It's just a way to launch Syntheyes from Fusion and set up a tracking project.

If you have put that script into the Scripts\Tools directory, it should show up when you right-click a Loader in Fusion (Scripts submenu).

The Fusion.menus makes the script show up directly in the context menu when you right-click a Loader (at the very bottom).
blog and Fusion stuff: http://comp-fu.com/2012/06/fusion-script-macro-collection/
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 97
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

Re: unsuccessful open file

PostThu Jan 01, 2015 5:04 am

The syntheye export seem to correct the problematic shot. Thank you very much!!

The Fusion script didn't work with my set up
If I put the script file inside
C:\Users\user\Documents\Blackmagic Design\Fusion\Scripts\Tool

When I click "Track This" on the loader submenu the console print out
Code: Select all
Traceback (most recent call last):
  File "<nofile>", line 1, in <module>
IOError: [Errno 2] No such file or directory

but if I put it here
C:\Program Files\Blackmagic Design\Fusion\Scripts\Tool


the console print out
Code: Select all
Traceback (most recent call last):
  File "<nofile>", line 1, in <module>
  File "C:/Program Files/Blackmagic Design/Fusion/Scripts/Tool/Syntheyes - Track This!.py", line 47, in <module>
    import SyPy
ImportError: No module named SyPy
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 97
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

Re: unsuccessful open file

PostSun Jan 25, 2015 4:05 am

turn out the problem was I got an object name "base.obj" and the "." was not allow.
a simple rename before export did the trick
Offline
User avatar

Stefan Ihringer

  • Posts: 257
  • Joined: Mon Nov 10, 2014 10:40 pm

Re: unsuccessful open file [SOLVED]

PostSun Jan 25, 2015 1:00 pm

Sorry I overlooked your post from the beginning of the month.

The SyPy error is because you need to install the Python bindings for Syntheyes (SyPy). Also, this will only work with the pro version of Syntheyes.

Did you have a problem with the object name in my exporter or in the Fusion 5 exporter that ships with Syntheyes?
blog and Fusion stuff: http://comp-fu.com/2012/06/fusion-script-macro-collection/
Offline
User avatar

Tanawat Wattanachinda

  • Posts: 97
  • Joined: Sat Dec 20, 2014 3:47 pm
  • Location: Bangkok, Thailand

Re: unsuccessful open file [SOLVED]

PostMon Jan 26, 2015 4:20 pm

Hi, Stefan. not to worry.
Thank for the SyPy tip.

No I don't have the problem with your script, your export script work fine.
Russ (Syntheyes) contact me and help me out. with the "." error. His default Syntheyes export script work fine my simple shot.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 16 guests