Post
Topic
Board Armory
Re: Armory 0.95.1 refuses to launch on macOS Sierra 10.12.2
by
j1pvt
on 12/01/2018, 16:26:21 UTC
Sorry for the nube question but Ive just upgraded to Sierra and seriously need my armory up and running, won't launch.
How do I add this code to my MacBook Pro 17" ?

Armory definitely works for me on 10.12.2. Just sent and received coins today, actually. Smiley That said, can you do me a favor? Go to /Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/armoryengine/ and edit ArmoryUtils.py at Line 1267. Once saved, start Armory and see if it finishes starting up.

Old:
Code:
LOGINFO('   Preferred Encoding    : ' + locale.getpreferredencoding())

New:
Code:
prefEnc = locale.getpreferredencoding()
if prefEnc == None:
   if os.environ.get('LC_ALL', '').upper() == 'UTF-8':
      prefEnc = 'utf-8'
   else:
      prefEnc = 'Unknown'
LOGINFO('   Preferred Encoding    : ' + prefEnc)

EDIT: Added a suggested fix.