René's URL Explorer Experiment


Title: Sandboxed (MacOS) Batch transcription fails due to permission error accessing '/private/etc/apache2/mime.types' · Issue #81 · speechmatics/speechmatics-python · GitHub

Open Graph Title: Sandboxed (MacOS) Batch transcription fails due to permission error accessing '/private/etc/apache2/mime.types' · Issue #81 · speechmatics/speechmatics-python

X Title: Sandboxed (MacOS) Batch transcription fails due to permission error accessing '/private/etc/apache2/mime.types' · Issue #81 · speechmatics/speechmatics-python

Description: Batch transcription works using the same code tested in the python console. When sandboxed, the Batch transcription process fails, as some underlying library tries to access "/private/etc/apache2/mime.types". To prevent this permission e...

Open Graph Description: Batch transcription works using the same code tested in the python console. When sandboxed, the Batch transcription process fails, as some underlying library tries to access "/private/etc/apache2/m...

X Description: Batch transcription works using the same code tested in the python console. When sandboxed, the Batch transcription process fails, as some underlying library tries to access "/private/etc/apac...

Opengraph URL: https://github.com/speechmatics/speechmatics-python/issues/81

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sandboxed (MacOS) Batch transcription fails due to permission error accessing '/private/etc/apache2/mime.types'","articleBody":"Batch transcription works using the same code tested in the python console.\r\n\r\nWhen sandboxed, the Batch transcription process fails, as some underlying library tries to access \"/private/etc/apache2/mime.types\". \r\n\r\nTo prevent this permission error, the file needs to be accessed within the app environment (or an alternative option is needed to avoid the file, if possible).\r\n\r\n_Real-time transcription works in the sandboxed context._\r\n\r\nI first thought to store a local copy of the `mime.types` file and track down where Speechmatics is accessing it (to reroute the library to access the local version), but it is elusive and I suspect there is a better solution.\r\n\r\nIf there isn't a straightforward solution using the Speechmatics Python method, I'll plan to test with a lower-abstraction approach in python.\r\n\r\n**Batch transcription test:**\r\n\r\n```\r\nimport speechmatics\r\nfrom speechmatics.batch_client import BatchClient\r\n\r\nssl_context = ssl.create_default_context()\r\nssl_context.load_verify_locations(certifi.where())\r\n\r\nconf = speechmatics.models.BatchTranscriptionConfig(\r\n              language=LANGUAGE,\r\n              output_local=englishLocale if LANGUAGE == \"en\" else None,\r\n              operating_point=operatingPoint,\r\n            )\r\n\r\n          settings = speechmatics.models.ConnectionSettings(\r\n            url=\"https://asr.api.speechmatics.com/v2\",\r\n            auth_token=speechmaticsAPIkey,\r\n            ssl_context=ssl_context,\r\n          )\r\n\r\n          try:\r\n            with BatchClient(settings) as client:\r\n              job_id = client.submit_job(audio=audio_file, transcription_config=conf)\r\n              transcript = client.wait_for_completion(job_id, transcription_format='json-v2')\r\n```","author":{"url":"https://github.com/petiatil","@type":"Person","name":"petiatil"},"datePublished":"2023-12-13T01:17:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/81/speechmatics-python/issues/81"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ad1e8ba5-e4d4-db27-607c-b16ecdcbae1a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDF74:3CD5B7:59A040:7CFE63:6970ABE3
html-safe-nonce2fbdcccefdc7d5306b27136734c833a9a84c5f554f9e4fd2061bf3ec81b6484d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjc0OjNDRDVCNzo1OUEwNDA6N0NGRTYzOjY5NzBBQkUzIiwidmlzaXRvcl9pZCI6IjkwMzkyODQ4MDUzOTk3ODQ0MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacce099fa4d9815760c80a4874b16294f65d733558d5e6a99ea21bc978d3e7663b
hovercard-subject-tagissue:2038780599
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/speechmatics/speechmatics-python/81/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4610c1168f31419a0fdf4f224f7a0292b2a862a4da2741538519f68b0a4bb647/speechmatics/speechmatics-python/issues/81
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4610c1168f31419a0fdf4f224f7a0292b2a862a4da2741538519f68b0a4bb647/speechmatics/speechmatics-python/issues/81
og:image:altBatch transcription works using the same code tested in the python console. When sandboxed, the Batch transcription process fails, as some underlying library tries to access "/private/etc/apache2/m...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepetiatil
hostnamegithub.com
expected-hostnamegithub.com
None5246860f280a060af866c1c633f74a6720ad2dd5d576534e4c5e462496b693ae
turbo-cache-controlno-preview
go-importgithub.com/speechmatics/speechmatics-python git https://github.com/speechmatics/speechmatics-python.git
octolytics-dimension-user_id15156030
octolytics-dimension-user_loginspeechmatics
octolytics-dimension-repository_id224633111
octolytics-dimension-repository_nwospeechmatics/speechmatics-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id224633111
octolytics-dimension-repository_network_root_nwospeechmatics/speechmatics-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d29ab0ba8deb7bbecf06b664759d4e847623783
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues/81#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspeechmatics%2Fspeechmatics-python%2Fissues%2F81
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspeechmatics%2Fspeechmatics-python%2Fissues%2F81
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=speechmatics%2Fspeechmatics-python
Reloadhttps://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues/81
Reloadhttps://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues/81
Reloadhttps://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues/81
speechmatics https://patch-diff.githubusercontent.com/speechmatics
speechmatics-pythonhttps://patch-diff.githubusercontent.com/speechmatics/speechmatics-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fspeechmatics%2Fspeechmatics-python
Fork 22 https://patch-diff.githubusercontent.com/login?return_to=%2Fspeechmatics%2Fspeechmatics-python
Star 75 https://patch-diff.githubusercontent.com/login?return_to=%2Fspeechmatics%2Fspeechmatics-python
Code https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python
Issues 7 https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues
Pull requests 1 https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/pulls
Actions https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues/81
Insights https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/pulse
Code https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python
Issues https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues
Pull requests https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/pulls
Actions https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/actions
Security https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/security
Insights https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/speechmatics/speechmatics-python/issues/81
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/speechmatics/speechmatics-python/issues/81
Sandboxed (MacOS) Batch transcription fails due to permission error accessing '/private/etc/apache2/mime.types'https://patch-diff.githubusercontent.com/speechmatics/speechmatics-python/issues/81#top
bugSomething isn't workinghttps://github.com/speechmatics/speechmatics-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/petiatil
https://github.com/petiatil
petiatilhttps://github.com/petiatil
on Dec 13, 2023https://github.com/speechmatics/speechmatics-python/issues/81#issue-2038780599
bugSomething isn't workinghttps://github.com/speechmatics/speechmatics-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.