首页 > 解决方案 > scrapy shell 无法在 Firefox 中打开响应

问题描述

我今天在使用 firefox 时遇到了一些问题,所以我删除了它然后重新安装它并且它工作正常,但是,我使用作为默认浏览器但我无法在其中打开任何 scrapy shell view(response),尽管创建了临时文件并且我可以打开它使用铬。

/snap/firefox/253/bin/desktop-launch: line 177: /home/madboy/snap/firefox/common/.config/user-dirs.dirs.md5sum: No such file or directory
/snap/firefox/253/bin/desktop-launch: line 177: /home/madboy/snap/firefox/common/.config/user-dirs.locale.md5sum: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module"

Gtk-Message: Failed to load module "canberra-gtk-module"

任何帮助深表感谢

标签: pythonfirefoxscrapy

解决方案


当安装需要 canberra-gtk-module 的 32 位软件时,由于与 64 位机器的兼容性问题,可能会出现此问题。你可以这样安装

sudo apt-get install libcanberra-gtk-module libcanberra-gtk3-module.


推荐阅读