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

create_test_video fails if pillow version is greater 4.1 #8

Open
mprobst-irt opened this issue Aug 9, 2017 · 1 comment
Open

create_test_video fails if pillow version is greater 4.1 #8

mprobst-irt opened this issue Aug 9, 2017 · 1 comment

Comments

@mprobst-irt
Copy link

I tried to set up the tool on Ubuntu 16.04

When generating the test content, without changing the script, it fails Generating the video.

Problem is the version of pillow, which was 4.2, downgrading to 4.1 is a workaround.

See also here
python-pillow/Pillow#2614

The stacktrace of the error is:

Generating video images... Traceback (most recent call last): File "./src/generate.py", line 424, in <module> for frame in frames: File "/home/dvbcss/sync_accurcy_test/dvbcss-synctiming/test_sequence_gen/src/video.py", line 321, in genFrameImages w,h = font.getsize(text) File "/usr/local/lib/python2.7/dist-packages/PIL/ImageFont.py", line 156, in getsize size, offset = self.font.getsize(text, direction, features) SystemError: error return without exception set Error during creation of wav/png/metadata. Aborting

@hugovk
Copy link

hugovk commented Oct 4, 2017

Good news, python-pillow/Pillow#2614 has been fixed in this week's Pillow 4.3.0 release.

pip install -U pillow should sort it for you.

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

2 participants