NSSpeechSynthesizer phonemesFromText fails - macos

On my new mac studio with macOS 13 (Ventura), I cannot get phonemes from text. startSpeakingString is working well, but phonemesFromText always returns nil. From the console log:
NSSpeechSynthesizer: [NSSpeechSynthesizer phonemesFromText:] - Error
-50
[aqme] AQMEIO_HAL.cpp:736 kAudioDevicePropertyMute returned err
2003332927
I reinstalled the system, but the problem remains. Any ideas?

Related

Xcode shows error on Mac that doesn't show in VSCode for Flutter project in Different PC

This is the error:
lib/openNews.dart:134:28: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('../../Documents/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
Scaffold.of(context).showSnackBar(
^^^^^^^^^^^^
If I use my PC to run the exact same project file on VSCode, it runs on emulator just fine with no error messages, but if I run it in my mac, it makes this error.
Interestingly this wasn't an issue yesterday because it ran fine that day, but today is weird.

Ubuntu Firefox wont opened

On Ubuntu 22.04 when I click on the firefox's icon, the browser doesn't display.
There is the error shown
(firefox:6175): Gdk-WARNING **: 14:18:57.698: The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc'.
(Details: serial 463 error_code 11 request_code 146 (unknown) minor_code 7)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Throwing error while debug and run PO command in Xcode 12

When I am running application on simulator or device and try to use PO command during debug. Xcode is throwing error instead of printing value. It is happening after I have updated Xcode 12.
error: virtual filesystem overlay file
/all-product-headers.yaml' not found
error: couldn't IRGen expression. Please check the above error messages for possible root causes.
What is the solution for this ?
Any help would be appreciated.
Go to /Users/<YOUR_USER>/Library/Developer/Xcode/ and delete "DerivedData" folder.
If in the path of the missing file is the name of a framework e.g. Usabilla.build/Release-iphonesimulator/Usabilla.build/all-product-headers.yaml
Try using an older version, using version 6.4.7 of Usabilla fixed the issue for me.
If the above fixes don't work, here are some info that might help:
https://steipete.com/posts/couldnt-irgen-expression/

Unknown string when launching Doctrine command

When I launch the schema:update --force command in terminal, I got this strange output:
Mac OS X 2??ATTR???xThis resource fork intentionally left blank ?? Nothing to update - your database is already in sync with the current entity metadata.
Does anyone know from where the fist part of the message comes from?
Thanks!

ATSFontGetFileReference failed: error - Mac OS X and R

I recently installed R on a new Macbook Pro running Mountain Lion. When trying to plot data, I get a slew of ATSFontGetFileReference errors, and text doesn't render (though chart elements do):
> plot(study$outcome, study$predictor)
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
Jan 21 10:55:57 tatou.local R[35029] <Error>: ATSFontGetFileReference failed: error -50.
...
It seems like more of an OS X issue than R, since a little Googling has turned up similar errors for PDF renderers, etc. But I can't seem to find a solution...
All my fonts as well as R appear to be installed for use system-wide. Ideas?
I had the same error using RStudio on OSX 10.7.5. I saved my workspace and then quit RStudio. Upon opening it back up and loading my saved workspace, I ran the plot(x,y) command and there was no longer an error, with the text being displayed as expected.
I don't know your font situation exactly, but I just fixed this issue on mine. I have a mac, and helvetica is automatically installed as a .dfont file. I had downloaded a helvetica.ttf file and put it in 'mac_hd/libary/fonts'. Once I deleted this and restarted R I haven't had the problem. My error was verbatim ' ATSFontGetPostScriptName failed: error -984. ' (I included that to help with google results)

Resources