Comments (4)
You need to run sed -i '/<policy domain="path" rights="none" pattern="@*"/d' /etc/ImageMagick-6/policy.xml
on Linux to fix the magick problem. I just pushed another version.
from shortgpt.
Hi , I tried this solution but still it's not working, error is:
ERROR : MoviePy Error: creation of None failed because of the following error: convert-im6.q16: attempt to perform an operation not allowed by the security policy @/tmp/tmp17x1nomq.txt' @ error/property.c/InterpretImageProperties/3706. convert-im6.q16: no images defined
PNG32:/tmp/tmpc64bvt1o.png' @ error/convert.c/ConvertImageCommand/3229. . .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
Traceback Info : File "./ShortGPT/gui/short_automation_ui.py", line 157, in create_short for step_num, step_info in shortEngine.makeShort(): File "./ShortGPT/shortGPT/engine/abstract_content_engine.py", line 72, in makeShort self.stepDictcurrentStep File "./ShortGPT/shortGPT/engine/reddit_short_engine.py", line 59, in _prepareCustomAssets imageEditingEngine.renderImage( File "./ShortGPT/shortGPT/editing_framework/editing_engine.py", line 95, in renderImage engine.generate_image(self.schema, outputPath) File "./ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 34, in generate_image clip = self.process_text_asset(asset) File "./ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 193, in process_text_asset clip = TextClip(**clip_info) File "/home/ian/.local/lib/python3.10/site-packages/moviepy/video/VideoClip.py", line 1146, in init raise IOError(error)
from shortgpt.
The sed command should delete all lines containing '' in your /etc/ImageMagick-6/policy.xml file. From what I see in the screenshot, I still see it at the 10th line of your screenshot. Try to remove it manually, and make sure that line doesn't appear anymore. It should fix the issue
from shortgpt.
Yup the sed command appeared to have failed to remove it, removing it manually fixed the issue thanks!
from shortgpt.
Related Issues (20)
- π [Bug]: ValueError: tuple.index(x): x not in tuple HOT 1
- β¨ [Feature Request / Suggestion]: Generate comic videos by using jbilcke-hf/ai-comic-factory
- May I ask which version of Python are you using?β [Question]: HOT 4
- β [Question]: is there any way to use Open AI for free ?? HOT 8
- β [Question]: connection error
- π [Bug]: raise Exception(f"Parameter :{key} is null")
- π [Bug]: Error generating audio using edge_tts Cannot connect to host speech.platform.bing.com:443
- β [Question]: ERROR : Valueerror : tuple.index(x): x not in tuple
- ERROR: Could not find a version that satisfies the requirement torch (from shortgpt) (from versions: none) ERROR: No matching distribution found for torchβ [Question]:
- π [Bug]: Outdated OpenAI API HOT 1
- β¨ [Feature Request / Suggestion]:
- β [Question]: How can i hard-code a script? HOT 1
- β¨ [Feature Request / Suggestion]: Implement the api from text-generation-webui project
- β [Question]: How to change the font in the video ? HOT 1
- β [Question]: pillow==9.0.0 is not installed HOT 1
- β [Question]: HOT 1
- β [Question]: error HOT 4
- π [Bug]: HOT 1
- π [Bug]: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 845: character maps to <undefined>
- OpenAi Keyβ [Question]:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shortgpt.