beetbox / beetbox/audioread

gstdec 'StructureWrapper' object has no attribute 'get_int'

Open
#149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
538
Forks
112
PR merge metrics
No merged PRs in 30d

Description

Hi, and thanks for your tools !

When trying to import a flac files via beets, i got
```
beet import -m ./Estradasphere/
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/audioread/gstdec.py", line 262, in _notify_caps
self.channels = info.get_int('channels')[1]
^^^^^^^^^^^^
AttributeError: 'StructureWrapper' object has no attribute 'get_int'
```

I can search for more information if needed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with audioread/gstdec.py, especially _notify_caps at the traceback line, and reproduce the beets FLAC import shown in the report. Check the StructureWrapper API available in the affected environment and verify that the import completes without this AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.