figma-linux-font-helper
figma-linux-font-helper copied to clipboard
Service failed to start (code=exited, status=101)
Hi, I've installed font helper but it can't run. I don't know what causes this error.
This is the result when I checked the status
● fonthelper.service - Font Helper for Figma
Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-05-19 13:54:12 WIB; 7min ago
Process: 10393 ExecStop=/bin/bash -c `which killall` fonthelper (code=exited, status=0/SUCCESS)
Process: 10644 ExecStart=/opt/FontHelper/fonthelper (code=exited, status=101)
Main PID: 10644 (code=exited, status=101)
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Main process exited, code=exited, status=101/n/a
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Failed with result 'exit-code'.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Service hold-off time over, scheduling restart.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Scheduled restart job, restart counter is at 5.
Mei 19 13:54:12 studio systemd[1]: Stopped Font Helper for Figma.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Start request repeated too quickly.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Failed with result 'exit-code'.
Mei 19 13:54:12 studio systemd[1]: Failed to start Font Helper for Figma.
thanks
Hi, what info in the log file?
Hi, thanks for your quick reply!
The last four log files doesn't contain anything, and this is the 5th log file fonthelper_2020-05-19_06-33-26.log
it looks like this, the remaining is same as the last line all the way down
[2020-05-19 06:33:26.515299 +07:00] INFO [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/simple-server-0.4.0/src/lib.rs:214] Server started at http://127.0.0.1:18412
[2020-05-19 12:05:51.342620 +07:00] INFO [src/server.rs:34] Request received. GET /figma/font-files
[2020-05-19 12:05:51.342875 +07:00] INFO [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/libfonthelper-0.2.4/src/lib.rs:26] Freetype2 library initialized successful
[2020-05-19 12:05:51.342980 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] No such file or directory (os error 2)
[2020-05-19 12:05:51.371781 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
[2020-05-19 12:05:51.382800 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
[2020-05-19 12:05:51.392496 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
[2020-05-19 12:05:51.402227 +07:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
again, thanks!
In my case the problem was due to a missed comma in the config file
I'm also getting this error now! I made the latest update to 0.1.8
This is my output on start / status check
mitch@MackerelCommand ~ [3]> systemctl --user start figma-fonthelper.service (base)
mitch@MackerelCommand ~> systemctl --user status figma-fonthelper.service (base)
× figma-fonthelper.service - Font Helper for Figma
Loaded: loaded (/home/mitch/.config/systemd/user/figma-fonthelper.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-03-07 09:52:47 CST; 3s ago
Process: 9880 ExecStart=/usr/bin/env bash -c ${XDG_DATA_HOME:-/home/mitch/.local/share}/figma-fonthelper/fonthelper (code=exit>
Main PID: 9880 (code=exited, status=101)
CPU: 11ms
Mar 07 09:52:47 MackerelCommand systemd[2392]: figma-fonthelper.service: Scheduled restart job, restart counter is at 5.
Mar 07 09:52:47 MackerelCommand systemd[2392]: Stopped Font Helper for Figma.
Mar 07 09:52:47 MackerelCommand systemd[2392]: figma-fonthelper.service: Start request repeated too quickly.
Mar 07 09:52:47 MackerelCommand systemd[2392]: figma-fonthelper.service: Failed with result 'exit-code'.
Mar 07 09:52:47 MackerelCommand systemd[2392]: Failed to start Font Helper for Figma.
mitch@MackerelCommand ~ [SIGINT]>
in the logs I see this error info:
A start job for unit UNIT has finished with a failure. The job identifier is 1264 and the job result is failed.
I had a similar issue - my solution was a clean uninstall then reinstall - since there is no uninstall script it's a bit tricky but I uninstalled using the commands suggested in this comment - https://github.com/Figma-Linux/figma-linux-font-helper/issues/11#issuecomment-1670917457
I reinstalled again from curl and now it works!