ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

问题

今天修改了一下 hugo 的配置文件,然后使用 gitk 来查看改动,结果报错 "X Error of failed request: BadLength (poly request too large or internal Xlib length error)"

原因

经过搜索,发现是配置文件中,包含 utf-8 的表情符号导致的。

解决方法

ubuntu 使用 sudo apt install unifont, arch 使用 sudo pacman -S bdf-unifont

参考:

X Error of failed request: BadLength (poly request too large or internal Xlib length error)
https://blog.csdn.net/lyn631579741/article/details/124227334

posted on 2023-02-02 11:37  ramlife  阅读(79)  评论(0编辑  收藏  举报