-
Notifications
You must be signed in to change notification settings - Fork 99
PyGIWarning: Notify was imported without specifying a version first. #288
Comments
I'm getting this error message too. I'm on Arch Linux using an aur package (current version 1.1.1-1). I got here because of the message when starting from console but currently my client is stuck loading. It has been like this for some days, I'm now using the web interface. |
This is just a warning, the failing to start is due some improvements on Slack side, now fixed in ScudCloud, as we can see in #294. Please upgrade to latest version. |
@raelgc but as I've stated, I'm running 1.1.1-1. Do you mean master's tip? |
To stop this warning, maybe we can try a fix like this: import gi
gi.require_version('Notify', '0.7') |
@raelgc is it the reason for the "always loading" behavior too? |
@oblitum Unfortunately, no. Can you double check if your # Enabling Local Storage (now required by Slack)
QWebSettings.globalSettings().setAttribute(QWebSettings.LocalStorageEnabled, True)
# We need browsing history (required to not limit LocalStorage)
QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False) |
This is what I have there: def webSettings(self):
self.cookiesjar = PersistentCookieJar(self)
self.zoom = self.readZoom()
# Required by Youtube videos (HTML5 video support only on Qt5)
QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, self.plugins)
# We don't want Java
QWebSettings.globalSettings().setAttribute(QWebSettings.JavaEnabled, False)
# We don't need History
QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False)
# Enabling Local Storage (now required by Slack)
QWebSettings.globalSettings().setAttribute(QWebSettings.LocalStorageEnabled, True)
# Enabling Cache
self.diskCache = QNetworkDiskCache(self)
self.diskCache.setCacheDirectory(self.settings_path)
# Required for copy and paste clipboard integration
QWebSettings.globalSettings().setAttribute(QWebSettings.JavascriptCanAccessClipboard, True)
# Enabling Inspeclet only when --debug=True (requires more CPU usage)
QWebSettings.globalSettings().setAttribute(QWebSettings.DeveloperExtrasEnabled, self.debug) |
I've checked sources on GitHub at the 1.1.1 tag and it's the same as the one I've pasted. |
Yeap, the values are correct. |
@raelgc It has been fixed, I needed to reboot though. |
@raelgc I mean, the always loading behavior. I didn't check the message in the terminal yet after reboot. |
@raelgc yes, the warning still remains. |
@oblitum, nice to hear you're now able to connect! |
@raelgc thanks! |
These warnings are always displayed in Ubuntu 16.04. While not an issue, they as easily fixable. |
Are we supposed to have those packages installed too on terminal? |
@zeeshanrealist These warnings will be always displayed in 16.04. Only in the 16.10 version we fixed this. |
Scudcloud is failing to start on my Fedora 23. Here is the message seen on the command line:
Relevant Code
Package info
python3-gobject-base package info:
The text was updated successfully, but these errors were encountered: