Title: Version 4.0.2 - AttributeError: 'AudioSettings' object has no attribute 'items' · Issue #130 · speechmatics/speechmatics-python · GitHub
Open Graph Title: Version 4.0.2 - AttributeError: 'AudioSettings' object has no attribute 'items' · Issue #130 · speechmatics/speechmatics-python
X Title: Version 4.0.2 - AttributeError: 'AudioSettings' object has no attribute 'items' · Issue #130 · speechmatics/speechmatics-python
Description: Description In 4.0.2, when calling run() or run_synchronously() to transcribe, such as in examples in files transcribe_from_microphone.py or transcribe_youtube.py, the client raises an AttributeError: "'AudioSettings' object has no attri...
Open Graph Description: Description In 4.0.2, when calling run() or run_synchronously() to transcribe, such as in examples in files transcribe_from_microphone.py or transcribe_youtube.py, the client raises an AttributeErr...
X Description: Description In 4.0.2, when calling run() or run_synchronously() to transcribe, such as in examples in files transcribe_from_microphone.py or transcribe_youtube.py, the client raises an AttributeErr...
Opengraph URL: https://github.com/speechmatics/speechmatics-python/issues/130
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Version 4.0.2 - AttributeError: 'AudioSettings' object has no attribute 'items'","articleBody":"**Description**\nIn 4.0.2, when calling `run()` or `run_synchronously()` to transcribe, such as in examples in files `transcribe_from_microphone.py` or `transcribe_youtube.py`, the client raises an `AttributeError`: \"'AudioSettings' object has no attribute 'items'\"\n\nThis is because of the introduction of multichannel mode support. For 4.0.2, passing arguments such as transcription config, stream and audio settings positionally will result in this bug. This is because this multichannel support version introduces new flags that need to be keyword passed, which muddles up positional arguments.\n\n***[This has been patched in version 4.0.4](https://github.com/speechmatics/speechmatics-python/releases/tag/4.0.4)***\n\n**To Reproduce**\nRun any example or existing code that calls the above functions with positional arguments, e.g. \n\n```\nrun(\n transcription_config=conf,\n stream=RawInputStreamWrapper(stream),\n audio_settings=settings\n```\nThe error should appear in the output log.\n\n**Expected behavior**\nThis should be able to handle both positional and keyword arguments for transcribing.\n","author":{"url":"https://github.com/J-Jaywalker","@type":"Person","name":"J-Jaywalker"},"datePublished":"2025-06-10T15:36:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/130/speechmatics-python/issues/130"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0f736abd-1cb6-92df-236e-36ec934276eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85D8:327FB4:2EB7285:3EFC63E:69705CCB |
| html-safe-nonce | d53381bf9fd3aca715fe0222d614d4c7a7e3c5cf2430f3b92194434e7d470451 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUQ4OjMyN0ZCNDoyRUI3Mjg1OjNFRkM2M0U6Njk3MDVDQ0IiLCJ2aXNpdG9yX2lkIjoiNTY1MTAzMDEzNDAyMjQ5NTQzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 10a205baa477ad54ed6ae55d0b40146522beff8ccbfa4cb67930aa8820c08afd |
| hovercard-subject-tag | issue:3134068125 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/speechmatics/speechmatics-python/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f49ff52c922b70732af7182d2f05091c16aa5a90dedb9ade2970c5016d8fad7/speechmatics/speechmatics-python/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f49ff52c922b70732af7182d2f05091c16aa5a90dedb9ade2970c5016d8fad7/speechmatics/speechmatics-python/issues/130 |
| og:image:alt | Description In 4.0.2, when calling run() or run_synchronously() to transcribe, such as in examples in files transcribe_from_microphone.py or transcribe_youtube.py, the client raises an AttributeErr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | J-Jaywalker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/speechmatics/speechmatics-python git https://github.com/speechmatics/speechmatics-python.git |
| octolytics-dimension-user_id | 15156030 |
| octolytics-dimension-user_login | speechmatics |
| octolytics-dimension-repository_id | 224633111 |
| octolytics-dimension-repository_nwo | speechmatics/speechmatics-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 224633111 |
| octolytics-dimension-repository_network_root_nwo | speechmatics/speechmatics-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width