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: 'FFMPEG_AudioReader' object has no attribute 'proc'

See original GitHub issue
Exception ignored in: <bound method FFMPEG_AudioReader.__del__ of <moviepy.audio.io.readers.FFMPEG_AudioReader object at 0x7fc339261cf8>>
Traceback (most recent call last):
  File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/moviepy/audio/io/readers.py", line 264, in __del__
    self.close()
  File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/moviepy/audio/io/readers.py", line 254, in close
    if self.proc:
AttributeError: 'FFMPEG_AudioReader' object has no attribute 'proc'

Commit a3787719bed2ca4834ae6dc2f04567e4c229e81a works, 2482d139dd5514463bc1985bbcb5203250957603 fails. Latest master fails similarly as well.

I see this error littered through our test logs for a variety of file types of audio & video. If you have trouble reproducing it then I will try to be more detailed.

Only difference with master is a slight change in line numbers:

Exception ignored in: <bound method FFMPEG_AudioReader.__del__ of <moviepy.audio.io.readers.FFMPEG_AudioReader object at 0x7fcbc5e229b0>>
Traceback (most recent call last):
  File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/moviepy/audio/io/readers.py", line 266, in __del__
    self.close()
  File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/moviepy/audio/io/readers.py", line 256, in close
    if self.proc:
AttributeError: 'FFMPEG_AudioReader' object has no attribute 'proc'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
mondejacommented, Feb 22, 2021

Thanks for the report @bralbral, it’s fixed in #1506.

1reaction
thenewguycommented, Jan 23, 2021

@mondeja Yes that seems to have fix the problem I was observing. I will submit to CI and report back if the issue persists anywhere else. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'FFmpegAudio' object has no attribute '_process' while ...
I can't find any solution online and I don't know what's wrong. My code is: (Not pasting the URL getting since that works...
Read more >
'Process' object has no attribute 'get_connections'
I'm new to python and to psiturk, and am stuck on what I assume is a python configuration issue. I'm trying to run...
Read more >
AttributeError: 'Server' object has no attribute 'services'
Solved: Greetings, I used the ESRI Python code to get a list of Services. URL: arcgis.gis.server module — arcgis 1.8.5 documentation Using ...
Read more >
AttributeError: 'NoneType' object has no attribute 'call' on ...
Hello, I'm at a loss to explain why this flow fails and succeeds at the same time… It only consists in triggering a...
Read more >
AttributeError: 'MultivariateSample' object has no attribute ' ...
Multivariate anomaly detector: AttributeError: 'MultivariateSample' object has no attribute 'train'. Hi,. While running the python code that is ...
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