Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

AttributeError: 'NoneType' object has no attribute 'group' when using remote gif URL #18

@ghost

Description

I had the same issue detailed in issue 7 and on deleting the directory specified got the following regex exception instead:

$ gif-for-cli 10988977

Traceback (most recent call last):
File "/home/me/envs/terminal/bin/gif-for-cli", line 11, in
sys.exit(main())
File "/home/me/envs/terminal/lib/python3.6/site-packages/gif_for_cli/main.py", line 105, in main
execute(os.environ, sys.argv[1:], sys.stdout)
File "/home/me/envs/terminal/lib/python3.6/site-packages/gif_for_cli/main.py", line 72, in execute
cpu_pool_size=args.cpu_pool_size,
File "/home/me/envs/terminal/lib/python3.6/site-packages/gif_for_cli/generate/init.py", line 170, in generate
num_frames, seconds = _run_ffmpeg(*options)
File "/home/me/envs/terminal/lib/python3.6/site-packages/gif_for_cli/generate/init.py", line 73, in _run_ffmpeg
num_frames = int(re.search(r'frame=\s
(\d+)', err).group(1))
AttributeError: 'NoneType' object has no attribute 'group'

python3.6 on debian 8.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions