question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'NoneType' object has no attribute 'groups'

See original GitHub issue

unsilence 1.mp4 2.mp4

After trying to use it in cmd it returns: AttributeError: 'NoneType' object has no attribute 'groups'

FFmpeg in %PATH% and I’m using Windows 10 64 bit. I also tried using it with other videos but it returns the same error.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lagmoellertimcommented, Jun 11, 2020

Ah, the problem is that in order for ffmpeg to work with unsilence, it needs to be version >4.2 . It checks that with this regex: ffmpeg version (\d+\.\d+\.\d+), so it expects a valid version number in the form of number.number.number, which is not present with your version. Maybe try installing the official version of ffmpeg? (this seems to be a self build version?). Or if you have any Idea on how to check the version number of your ffmpeg, please let me now

0reactions
Tekameikitecommented, Jun 11, 2020

Yup, it works as intended! Thanks for help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regex: AttributeError: 'NoneType' object has no attribute 'groups'
You are getting AttributeError because you're calling groups on None , which hasn't any methods. regex.search returning None means the regex couldn't find ......
Read more >
[Solved] AttributeError: Nonetype Object Has No Attribute Group
“AttributeError Nonetype object has no attribute group” is the error raised by the python interpreter when it fails to fetch or access ...
Read more >
AttributeError: 'NoneType' object has no attribute 'group'
The Python "AttributeError: 'NoneType' object has no attribute" occurs when we try to call the group() method on a None value, e.g. after...
Read more >
How To Fix Error: 'NoneType' Object Has No Attribute 'Group'?
Summary: NoneType attribute error occurs when the type of object being referenced is ... AttributeError: 'tuple' object has no attribute 'insert'.
Read more >
AttributeError: 'NoneType' object has no ... - Python Forum
AttributeError : 'NoneType' object has no attribute 'group' ... Hi, I would like my code to return '(415)'. What am i doing wrong?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found