“instagraph” 的快速安装可以正常工作,但即使更改密码后也无法登录

“instagraph” 的快速安装可以正常工作,但即使更改密码后也无法登录

我想要一个可以在我的 Ubuntu 19.10 Gnome 桌面上运行的 Instagram 客户端;我发现应用程序“Instagraph”可以使用 snap 安装,所以我继续使用以下命令进行安装:


sudo snap install instagraph 

此后,我从命令行运行该应用程序,以便查看是否发生任何错误:


instagraph

我得到的是:


Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols 
specified are supported
OffscreenRenderer::OffscreenRenderer(QObject*)
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) 
propsReply "An AppArmor policy prevents this sender from sending this 
message to this recipient; type=\"method_call\", sender=\":1.663\" 
(uid=1000 pid=19917 
comm=\"/snap/instagraph/86/opt/Instagraph/bin/Instagraph \" 
label=\"snap.instagraph.instagraph (enforce)\") 
interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error 
name=\"(unset)\" requested_reply=\"0\" 
destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=846 
comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply 
"An AppArmor policy prevents this sender from sending this message to 
this recipient; type=\"method_call\", sender=\":1.663\" (uid=1000 
pid=19917 comm=\"/snap/instagraph/86/opt/Instagraph/bin/Instagraph \" 
label=\"snap.instagraph.instagraph (enforce)\") 
interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" 
error name=\"(unset)\" requested_reply=\"0\" 
destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=846 
comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
qrc:///Main.qml:104: TypeError: Cannot read property '__clarityFilter' 
of null
file:///snap/instagraph/86/usr/lib/x86_64-linux- 
gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:108:25: Unable to assign 
[undefined] to QFont
file:///snap/instagraph/86/usr/lib/x86_64-linux- 
gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:103:33: Unable to assign 
[undefined] to QQuickGradient*
file:///snap/instagraph/86/usr/lib/x86_64-linux- 
gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:92:27: Unable to assign 
[undefined] to QColor
APP_ID isn't set, the handler ignored
qml: challenge_required
qml: login failed
APP_ID isn't set, the handler ignored

通过电子邮件身份验证和 Instagram 网站重置了我的 Instagram 密码,关闭应用程序并从命令行重新运行了几次后,我还是收到同样的错误,无法登录。Instagram 提示我几个安全代码和消息,说一个未识别的设备正试图登录我的帐户,并要求我确认是我。我照做了。仍然无法登录。

作为一个尽可能避免使用 Snap 的人,以及可能/可能不完全理解所涉及的语法的人,我想知道是否有人有我可以运行的修复程序,或者是否有其他人之前遇到过同样的问题并解决了它。谢谢。

答案1

阅读您的错误消息!前几个:

Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols 
specified are supported
OffscreenRenderer::OffscreenRenderer(QObject*)
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) 
propsReply "An AppArmor policy prevents this sender from sending this 
message to this recipient; type=\"method_call\", sender=\":1.663\" (uid=1000 pid=19917 

应该告诉您缺少一些身份验证模块(gailatk-bridgecanberra-gtk-module),并且以后的身份验证尝试将会失败(“ Qt: Session management error: None of the authentication protocols specified are supported”)。

后续错误消息,例如:

QNetworkManagerInterface::QNetworkManagerInterface(QObject*) 
    propsReply "An AppArmor policy prevents this sender from sending this 
    message to this recipient; type=\"method_call\", sender=\":1.663\" (uid=1000 pid=19917 

只是身份验证失败的结果,通过instagraph启动传播。

这个问题之前已经出现过,并且有一个广受欢迎的答案这里

相关内容