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

Pythonanywhere Moviepy #324

Closed
pirali opened this issue Oct 7, 2016 · 4 comments
Closed

Pythonanywhere Moviepy #324

pirali opened this issue Oct 7, 2016 · 4 comments

Comments

@pirali
Copy link

pirali commented Oct 7, 2016

What is problem?
I'm running on Pythonanywhere.com.

[MoviePy] This command returned an error !Traceback (most recent call last):
  File "deneme.py", line 6, in <module>
    txt_clip = TextClip("My Holidays 2013",fontsize=70,color='white')
  File "/home/pirali/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 1145, in __init__
    raise IOError(error)
IOError: MoviePy Error: creation of None failed because of the following error:
Youtube Foto Galeri: not authorized `@/tmp/tmpxjn5vu.txt' @ error/property.c/InterpretImageProperties/2959.
Youtube Foto Galeri: no images defined `PNG32:/tmp/tmp3lNxp8.png' @ error/convert.c/ConvertImageCommand/3044.
.
.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 th
e ImageMagick binary in file conf.py, or.that the path you specified is incorrect
@flothesof
Copy link
Contributor

Hi @pirali,
Do you have access to the command line from pythonanywhere? If so, you could test whether ImageMagick is installed by typing:
convert
If it outputs something, ImageMagick is installed, else it's not.
It would make sense that this is the problem, as ImageMagick is used behind the scenes to generate the text backgrounds.
Best,
Florian

@pirali
Copy link
Author

pirali commented Oct 7, 2016

convert

Version: ImageMagick 6.7.7-10 2016-06-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC

@flothesof
Copy link
Contributor

Okay, another thought: your command line message says moviepy is (temporarily) writing a file to /tmp, which doesn't seem to be authorized (you don't have rights to write there).

That's a tough one. Maybe contact pythonanywhere to find out if there is a way to write to /tmp?

Best,
Florian

@keikoro
Copy link
Collaborator

keikoro commented Feb 18, 2017

Closing this for now due to lack of follow-up comments regarding the issue. Please consider updating with solutions you found.

@keikoro keikoro closed this as completed Feb 18, 2017
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

3 participants