Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

movie_from_images #107

Open
NicolasRiel opened this issue Mar 22, 2024 · 0 comments
Open

movie_from_images #107

NicolasRiel opened this issue Mar 22, 2024 · 0 comments

Comments

@NicolasRiel
Copy link
Contributor

There is crash when using the function

movie_from_images(; dir=pwd(), file="test", outfile="test2_mp4", framerate=10, copy_to_current_dir=true, type=:mp4_default)

when copy_to_current_dir=false the crash does no occur. the default for the parameter is true

Note that in both cases the video is however properly saved.

ERROR: ArgumentError: 'src' and 'dst' refer to the same file/dir. This is not supported.
src refers to: /home/seph42/CHEESE2_GeodynamicsWorkshop/Geodynamic_model_with_LaMEM/Basic_setups/01_falling_block_isoviscous/gifs/test2_mp4.mp4
dst refers to: /home/seph42/CHEESE2_GeodynamicsWorkshop/Geodynamic_model_with_LaMEM/Basic_setups/01_falling_block_isoviscous/gifs/test2_mp4.mp4
Stacktrace:
[1] checkfor_mv_cp_cptree(src::String, dst::String, txt::String; force::Bool)
@ Base.Filesystem ./file.jl:327
[2] checkfor_mv_cp_cptree
@ Base.Filesystem ./file.jl:318 [inlined]
[3] cp(src::String, dst::String; force::Bool, follow_symlinks::Bool)
@ Base.Filesystem ./file.jl:380
[4] cp
@ ./file.jl:378 [inlined]
[5] movie_from_images(; dir::String, file::String, outfile::String, framerate::Int64, copy_to_current_dir::Bool, type::Symbol)
@ GeophysicalModelGenerator ~/.julia/packages/GeophysicalModelGenerator/yKWqX/src/movies_from_pics.jl:69
[6] top-level scope
@ REPL[7]:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant