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

OSError: MoviePy Error: creation of None failed because of the following error: #928

Closed
richardjohnson23 opened this issue Mar 19, 2019 · 5 comments
Labels
lib-ImageMagick Issues pertaining to dependency ImageMagick. lib-misc Issues pertaining to misc. 3rd-party libraries.

Comments

@richardjohnson23
Copy link

convert: not authorized @/tmp/tmpv7ojzua0.txt' @ error/constitute.c/ReadImage/454. convert: no images defined PNG32:/tmp/tmpmw9aikq2.png' @ error/convert.c/ConvertImageCommand/3046.
.

.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect

I'm using Python 3.6.8, CentOS 6, Version: ImageMagick 6.7.8-9 2019-02-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

I tried removing the line from policy.xml. The tmp folder got 777 (permission)

@keikoro keikoro added the lib-misc Issues pertaining to misc. 3rd-party libraries. label May 4, 2019
@TFDeeplearner
Copy link

TFDeeplearner commented May 16, 2019

I met the same question. does it have a solution?

@tburrows13 tburrows13 added the lib-ImageMagick Issues pertaining to dependency ImageMagick. label Apr 27, 2020
@baiyuxiong
Copy link

baiyuxiong commented Sep 24, 2020

Check ImageMagick permissions on "/etc/ImageMagick-6/policy.xml" you should change the none to read,write, maybe run: cat /etc/ImageMagick-6/policy.xml | sed 's/none/read,write/g'> /etc/ImageMagick-6/policy.xml

or vi ImageMagick policy.xml and then : %s/none/read,write/g

@tburrows13
Copy link
Collaborator

See #1472 - TextClips are being re-implemented in v2.0 so this will no longer be an issue.

@trunkey2003
Copy link

This method work for me when I get to policy.xml and edit from "policy domain="path" rights="none" pattern="@"" to "policy domain="path" rights="read,write" pattern="@""

@dhrm1k
Copy link

dhrm1k commented Nov 14, 2024

Changing the policy.xml to <policy domain="path" rights="read|write" pattern="@*"/> worked for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib-ImageMagick Issues pertaining to dependency ImageMagick. lib-misc Issues pertaining to misc. 3rd-party libraries.
Projects
None yet
Development

No branches or pull requests

7 participants