terminalizer icon indicating copy to clipboard operation
terminalizer copied to clipboard

OSX - render hangs indefinitely

Open brettswift opened this issue 3 years ago • 0 comments

I saw issues #43 and #11, however this seems to be different.

  • terminalizer --version = 0.7.2
  • osx: 10.15.5
  • terminal: iterm2, & terminal
  • shells: bash, zsh

I can open Electron directly, and a window pops up. I ran: /Users/bswift/.nvm/versions/node/v12.18.1/lib/node_modules/terminalizer/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron

I've tried this on node 10 before as well.

I'm not sure how to resolve the electron error below. In security & privacy settings I gave iterm2 full disk access and retried and it didn't work.

Electron errors in the console:

default	11:57:59.397912-0600	Electron Helper (GPU)	MessageTracer: Falling back to default whitelist
default	11:57:59.397974-0600	Electron Helper (GPU)	XPC connection invalidated (daemon unloaded or disabled)
default	11:57:59.398009-0600	Electron Helper (GPU)	Can't open default search tree file: Operation not permitted
default	11:57:59.444407-0600	Electron Helper (GPU)	GVA info: preferred scaler idx 1
default	11:57:59.462343-0600	Electron Helper (GPU)	MessageTracer: Falling back to default whitelist
default	11:57:59.462402-0600	Electron Helper (GPU)	Can't open default search tree file: Operation not permitted
default	11:57:59.946778-0600	Electron	nw_path_evaluator_start [ACDCD990-D578-435A-BB98-81D69D1E73AD <NULL> generic, indefinite]
	path: satisfied (Path is satisfied), interface: utun2, ipv4, ipv6, dns
default	11:58:00.154761-0600	Electron Helper (GPU)	MessageTracer: Falling back to default whitelist
default	11:58:00.154814-0600	Electron Helper (GPU)	Can't open default search tree file: Operation not permitted
default	11:58:00.154932-0600	Electron Helper (GPU)	MessageTracer: Falling back to default whitelist
default	11:58:00.155034-0600	Electron Helper (GPU)	Can't open default search tree file: Operation not permitted
default	11:58:00.260301-0600	Electron Helper	nw_path_evaluator_start [2A9F8A87-F619-4A49-A2A6-0DC85D3CF3B8 <NULL> generic, indefinite]
	path: satisfied (Path is satisfied), interface: utun2, ipv4, ipv6, dns
default	11:58:08.786202-0600	Electron	LSExceptions shared instance invalidated for timeout.
default	11:58:09.172588-0600	Electron Helper (GPU)	LSExceptions shared instance invalidated for timeout.
default	11:58:09.625060-0600	Electron Helper (Renderer)	LSExceptions shared instance invalidated for timeout.
default	11:58:11.076884-0600	kernel	AGC:: [Electron Helper  pid 87180 mux-aware] exiting, non-mux-aware app count 0, runtime: 0:00:11.929

config.yml (also tested in zsh)

# Specify a command to be executed
# like `/bin/bash -l`, `ls`, or any other commands
# the default is bash for Linux
# or powershell.exe for Windows
command: null

# Specify the current working directory path
# the default is the current working directory path
cwd: null

# Export additional ENV variables
env:
  recording: true

# Explicitly set the number of columns
# or use `auto` to take the current
# number of columns of your shell
cols: auto

# Explicitly set the number of rows
# or use `auto` to take the current
# number of rows of your shell
rows: auto

# Amount of times to repeat GIF
# If value is -1, play once
# If value is 0, loop indefinitely
# If value is a positive number, loop n times
repeat: 0

# Quality
# 1 - 100
quality: 100

# Delay between frames in ms
# If the value is `auto` use the actual recording delays
frameDelay: auto

# Maximum delay between frames in ms
# Ignored if the `frameDelay` isn't set to `auto`
# Set to `auto` to prevent limiting the max idle time
maxIdleTime: 2000

# The surrounding frame box
# The `type` can be null, window, floating, or solid`
# To hide the title use the value null
# Don't forget to add a backgroundColor style with a null as type
frameBox:
  type: floating
  title: Terminalizer
  style:
    border: 0px black solid
    # boxShadow: none
    # margin: 0px

# Add a watermark image to the rendered gif
# You need to specify an absolute path for
# the image on your machine or a URL, and you can also
# add your own CSS styles

# NOTE:  i commented this out, otherwise the file is default. 
#watermark:
#  imagePath: null
#  style:
#    position: absolute
#    right: 15px
#    bottom: 15px
#    width: 100px
#    opacity: 0.9
#
# Cursor style can be one of
# `block`, `underline`, or `bar`
cursorStyle: block

# Font family
# You can use any font that is installed on your machine
# in CSS-like syntax
fontFamily: "Monaco, Lucida Console, Ubuntu Mono, Monospace"

# The size of the font
fontSize: 12

# The height of lines
lineHeight: 1

# The spacing between letters
letterSpacing: 0

# Theme
theme:
  background: "transparent"
  foreground: "#afafaf"
  cursor: "#c7c7c7"
  black: "#232628"
  red: "#fc4384"
  green: "#b3e33b"
  yellow: "#ffa727"
  blue: "#75dff2"
  magenta: "#ae89fe"
  cyan: "#708387"
  white: "#d5d5d0"
  brightBlack: "#626566"
  brightRed: "#ff7fac"
  brightGreen: "#c8ed71"
  brightYellow: "#ebdf86"
  brightBlue: "#75dff2"
  brightMagenta: "#ae89fe"
  brightCyan: "#b1c6ca"
  brightWhite: "#f9f9f4"

brettswift avatar Oct 13 '20 18:10 brettswift