gmt icon indicating copy to clipboard operation
gmt copied to clipboard

BUG with master frame in movie on Windows

Open Esteban82 opened this issue 4 years ago • 3 comments

I modified the example of the movie docs for windows to only show the master frame PD: I am using a batch scripts.

gmt begin
   gmt coast -Rg -JG%MOVIE_FRAME%/20/%MOVIE_WIDTH% -Gmaroon -Sturquoise -Bg -X0 -Y0
gmt end
gmt movie globe.bat -Nglobe2 -T360 -Fnone -V3 -C15cx15cx100 -Lf -P -M1,png

Error message:

Bug_movie

System information

  • Operating system: Win64
  • GMT version 6.2.0

Esteban82 avatar Jun 18 '21 13:06 Esteban82

Not reproducible in macOS. Looks like the plot was produced? Is there a permission issue with that directory? That call happens from the movie command and not via the script. Since it returns 32, this page says

ERROR_SHARING_VIOLATION
32 (0x20)
The process cannot access the file because it is being used by another process.

Might you have a terminal open in that dir, or have the dir open in the Finder?

PaulWessel avatar Jun 19 '21 22:06 PaulWessel

I think that the issue the directory is within the module movie. I try these commands in the movie script. The first work fine but the second failed.

gmt movie globe.bat -Nglobe3 -T360 -Fmp4  -V3 -C15cx15cx100 -Lf -P
gmt movie globe.bat -Nglobe4 -T360 -Fnone -V3 -C15cx15cx100 -Lf -P -M1,png

Esteban82 avatar Jun 19 '21 22:06 Esteban82

Don't close bug reports. Only old feature requests.

joa-quim avatar Mar 08 '24 16:03 joa-quim