TeamPyOgg / PyOgg

Simple OGG Vorbis, Opus and FLAC bindings for Python
The Unlicense
63 stars 27 forks source link

PyOggError: File 'test.ogg' couldn't be opened or doesn't exist. Error code: -132 #104

Open Wintreist opened 1 year ago

Wintreist commented 1 year ago

hi, I got such an unpleasant error. I don't know what the problem is, so I'll attach what I use: Jupyter Notebook Python 3.8 pyogg 0.7 Link to the file: tap (Google Drive) ogg = pyogg.OpusFile("test.ogg")

---------------------------------------------------------------------------
PyOggError                                Traceback (most recent call last)
<ipython-input-12-77f3863ad760> in <module>
----> 1 ogg = pyogg.OpusFile("test.ogg")

~\anaconda3\lib\site-packages\pyogg\opus_file.py in __init__(self, path)
     17         # Check for errors
     18         if error.value != 0:
---> 19             raise PyOggError(
     20                 ("File '{}' couldn't be opened or doesn't exist. "+
     21                  "Error code: {}").format(path, error.value)

PyOggError: File 'test.ogg' couldn't be opened or doesn't exist. Error code: -132
iamlanhsi commented 10 months ago

I got the same problem. VLC player plays my opus file perfectly, I don't know what to do.

djmaze commented 8 months ago

Exactly the same here.

Python 3.10.13
PyOGG 0.6.9a1
NixOS