Nautilus 崩潰並顯示“'G_IS_OBJECT(物件)'失敗”/“totem-video-thumbnailer 無法開啟檔案”

Nautilus 崩潰並顯示“'G_IS_OBJECT(物件)'失敗”/“totem-video-thumbnailer 無法開啟檔案”

每當我打開 nautilus 時,它都會崩潰,並且我在終端中收到此錯誤。我跑得很瀟灑。有人知道我可以安裝不同的檔案管理器嗎?

sys:1: Warning: g_object_set: assertion 'G_IS_OBJECT (object)' failed
totem-video-thumbnailer couldn't open file 'file:///home/bruce/New%20Project.ogv'

sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)

答案1

也可以從終端機刪除或重新命名錯誤提到的檔案。

IE

sys:1: Warning: g_object_set: assertion 'G_IS_OBJECT (object)' failed
totem-video-thumbnailer couldn't open file 'file:///home/bruce/New%20Project.ogv'

rm -rf "/home/bruce/New Project.ogv"

或者

mv "/home/bruce/New Project.ogv" "/home/bruce/NewName.ogv"

然後再次啟動 nautilus 或 gnome-shell 等,不會有錯誤

答案2

我通過將擴展移動到臨時資料夾中來修復它

sudo mv /usr/share/nautilus-python/extensions /tmp

之後嘗試重新啟動 Nautilus 並在擴展資料夾中一一替換擴展

相關內容