terminalizer: Render is not exiting (not doing anything)
So, it’s not working. I just repeat waht is in the demo.
ArchLinux here. Node 10.7 … Quite strange, no errors or anything. Recording is seems okey. And of course i have base-devel
since 2015 😄
versions:
~/tunnckoCore/brom/foobar
❯ make -v
GNU Make 4.2.1
Built for x86_64-unknown-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
~/tunnckoCore/brom/foobar
❯ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 8.1.0 (GCC)
cat of demo.yml (from record command)
❯ cat demo.yml
# The configurations that used for the recording, feel free to edit them
config:
# 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: bash -l
# Specify the current working directory path
# the default is the current working directory path
cwd: /home/charlike/tunnckoCore/brom/foobar
# 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: 127
# Explicitly set the number of rows
# or use `auto` to take the current
# number of rows of your shell
rows: 52
# 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 prevnt 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
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"
# Records, feel free to edit them
records:
- delay: 527
content: "\e]0;charlike@arckos:~/tunnckoCore/brom/foobar\a\e]7;file://arckos/home/charlike/tunnckoCore/brom/foobar\a\e]0;charlike@arckos:~/tunnckoCore/brom/foobar\a"
- delay: 19
content: '[charlike@arckos foobar]$ '
- delay: 928
content: "logout\r\n"
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 43 (14 by maintainers)
I found the reason for this problem.
In the YML configuration file, a simple comment may lead to null values. for example (in config.yml):
render command is not working properly, If I set a null value for style. but as long as I assign it a value of Array, everything is working again.
and a simple solution (if you have a similar problem, you can check .yml file.):
Had the same issue, fixed it by installing
terminalizer
via NPM instead of Yarn@olstenlarck
Great, can you edit the code on
render/index.js
and changeshow: false
toshow: true
.And then execute
./node_modules/electron/dist/electron render/index.js
Open the devTools, you can find it in the menus
view > Toggle Developer Tools
. Check if there is any errors in theConsole
.Actually Im not sure if it’s about terminalizer or npm bc I’ve problem with other npm package too …
I think I’ve similar problem … Im on i3wm ubuntu 20.04LTS I when I run
record and play work fine but render:
Yes. 😆 Seems like others are flattened all. Hm.