python - 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"
任何帮助深表感谢
解决方案
当安装需要 canberra-gtk-module 的 32 位软件时,由于与 64 位机器的兼容性问题,可能会出现此问题。你可以这样安装
sudo apt-get install libcanberra-gtk-module libcanberra-gtk3-module
.
推荐阅读
- xaml - Xamarin.Forms 绑定到绑定属性或其他东西
- php - jQuery .load() 不发送 HTML 标签
- rxjs6 - 类型 'Observable<(T | R[])[]>' 不可分配给类型 'Observable<[T, R[]]>
- python - DRF ModelMultipleChoiceFilter - 许多参数之一中的无效值导致空列表
- neo4j - neo4j:“解析广义时间,格式无效”
- wordpress - Wordpress 页面错误
- javascript - 如何通过在 shopping-cart.tpl 中创建变量来修改 PaymentModule.php 中 $order->id_customer 的值?
- vue.js - 如何使用 vue 在 nativescript 中获取元素?
- javascript - 如何更改 jQuery UI 自动完成控件的建议框的大小和外观?
- ios - SWIFT 翻译应用程序