google / spatial-media

Specifications and tools for 360º video and spatial audio.
Other
1.86k stars 429 forks source link

TCL failed to load Spatial Media Metadata Injector #165

Open GoofyOldGuyPlays opened 7 years ago

GoofyOldGuyPlays commented 7 years ago

When I double click the Spatial Media Metadata Injector program, I get a very quick DOS windows that pops up and nothing else. I recorded a video of it, just so I could read what it said. As it flicked by, I managed to read the above error before it closed the window. I see lots of people using this tool, and I've actually used it about a year ago on an older machine. Why do I not even get a program when I double click? (yes, extracted to a separate location and ran it from there, not within the actual zip file)

mykyta-nikiforov commented 7 years ago

I have the same problem. Windows 7, 64 bit

Jammer17 commented 7 years ago

I also have the same problem. Also on Win7, 64 bit. How else can I inset 360 metadata onto a video?

hellfi commented 7 years ago

how to fix this:

  1. open a cmd.exe window, execute Spatial Media Metadata Injector.exe, look at the paths it looks for, i.e.
  2. _tkinter.TclError: Can't find a usable init.tcl in the following directories: [...] F:/tcl8.5.15/library F:/tcl8.5.15/library
  3. download tcl8515-src.zip and tk8515-src.zip from https://sourceforge.net/projects/tcl/files/Tcl/8.5.15/
  4. extract tcl8515-src.zip to one of the directories from the error above, i.e. F:/tcl8.5.15/
  5. extract tk8515-src.zip,rename the library folder to tk8.5 and move it to F:/tcl8.5.15/library/
  6. run Spatial Media Metadata Injector.exe again, it should work now.

I guess those libraries didn't make it to compilation somehow..

GoofyOldGuyPlays commented 7 years ago

Tried all of that. Nope. Didn't work. I wish it would have. Once those manual changes are added to the actual download and has been tested, I will certainly download the new version and try again.

cswiatek commented 7 years ago

hellfi's fix worked perfectly for me, although I placed the tcl8.5.15 folder in C:/Users. Make sure to follow the instructions carefully though. Remember - all you are doing with the tk8515 folder is taking the library folder, renaming it to tk8.5, and placing it within your tcl8.5.15/library folder.