Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Hangs on Opening / Stuck at Motivational Quotes #594

Open
pfogel opened this issue Aug 24, 2017 · 159 comments
Open

Hangs on Opening / Stuck at Motivational Quotes #594

pfogel opened this issue Aug 24, 2017 · 159 comments

Comments

@pfogel
Copy link

pfogel commented Aug 24, 2017

ScudCloud Version

ScudCloud 1.57
Python 3.5.2
Qt 5.5.1
PyQt 5.5.1
SIP 4.17

Distro and Desktop info

Ubuntu 16.04 64-bit
Unity desktop
Kernel version: 4.4.0-92

Expected behavior

Actual behavior

When launched, Scudcloud hangs with the loading animation, but never loads any data. Cannot find anything relevant in logs: syslog, Xorg.0.log, etc. Not sure where Scudcloud logs activity.

Often, closing the window and restarting Scudcloud a few times fixes it. Today, restarted Scudcloud at least 10 times. Finally everything loaded after trying Edit/reload about 4 times.

Screenshot attached.

screenshot from 2017-08-24 09-04-56

The "self help test" succeeds; results pasted below:

IP Address: 128.xxxxxxxxx
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
JavaScript: Enabled
jQuery Loaded: Success
Asset CDN: Success (594ms)
Files Legacy: Success (767ms)
Files Edge: Success (395ms)
Files Location: Success (Slack files US West (Oregon) (location: A backend: imgproxy-04a2ca72f3a69c4e1))
Web Socket (Message Proxy A): Success
Web Socket (Message Proxy B): Success
Web Socket (Message Proxy C): Success
Web Socket (Message Proxy D): Success
Web Socket (Flannel): Success
Web Socket (Flannel [No Compression]): Success
Bandwidth: Success (167.3 Mbps, 67 ms ping)

Everything seems to have worked. If you're still experiencing problems, tell us about it.

Steps to reproduce

  1. Launch Scudcloud, either from the command line ("scudcloud &") or from the dock icon.
@raelgc
Copy link
Owner

raelgc commented Aug 24, 2017

Hi @pfogel and thanks for reporting this issue.

I didn't notice this... are you under a slow or intermittent connection?

Anyway, I'll keep an eye on my desktop too to check if I'll watch this behavior.

@pfogel
Copy link
Author

pfogel commented Aug 24, 2017

My connection is fast and steady; part of a University infrastructure and in a building that used to house a super computer center: >200 Mbps.

I reported this because it has been happening pretty consistently. Every morning when I launch Scudcloud I have to restart it multiple times. This morning it took more than 30 minutes of fussing with it to get it to load data.

Where does it log so that I can check what is going on? Or do I need to launch it in debug mode or something like that?

@raelgc
Copy link
Owner

raelgc commented Aug 24, 2017

You can check the JS console: start in the command line with scudcloud --debug=True &, then after it loads, right click in the message pane and select Inspect.

Maximize the Inspector window and click in the Console tab.

@mtb-xt
Copy link

mtb-xt commented Aug 25, 2017

I'm seeing the same issue on Archlinux (amd64 kernel 4.12.3):
Scudcloud 1.61, python 3.6.2, pyqt5 5.9.

When launched with debug, I can see some errors in the console, I've attached them in this gist: https://gist.github.com/mtb-xt/d4efe788cd4200fde0014ab0dfe983c7

I'm on 200 mbit\s symmetrical connection, and yes, restarting several times fixes the issue.
But it started only a few days ago for me.

@skarap
Copy link

skarap commented Aug 25, 2017

Seeing the same issue. The error are the same as reported by mtb-xt.
Btw I have 2 teams added.

@raelgc
Copy link
Owner

raelgc commented Aug 25, 2017

@mtb-xt I can see several Slack JS errors. Other platform users complained about them too: https://bugs.webkit.org/show_bug.cgi?id=149551

I have a different webkit version running here (I've installed KDE Neon PPA). I'll open the debug console and check if I can see the same JS errors.

@skelband
Copy link

I'm getting this with Linux Mint 18.3.

@raelgc
Copy link
Owner

raelgc commented Aug 25, 2017

Please, can you all post the output of scudcloud --version ?

@skarap
Copy link

skarap commented Aug 25, 2017

ScudCloud 1.50
Python 3.5.3
Qt 5.7.1
PyQt 5.7
SIP 4.18.1

for me it also started a couple of days ago, so I don't think the webkit issue has anything to do with this.
Also - sometimes scudcloud is able to properly load, if I load slack and login in the browser.

@mtb-xt
Copy link

mtb-xt commented Aug 27, 2017

ScudCloud 1.61
Python 3.6.2
Qt 5.9.1
PyQt 5.9
SIP 4.19.3

@pfogel
Copy link
Author

pfogel commented Aug 29, 2017

performance much better the last 2 days, but i'm not aware of any changes on my end. opens on the first try and loads reasonably quickly. possible something changed at slack?

@raelgc
Copy link
Owner

raelgc commented Aug 29, 2017

ScudCloud itself has not changed in the last 2 months. All Slack changes. They keep working and improving their JS. Sometimes they introduce a change that breaks our simple client and we need to change. But sometimes are just changes that they see are breaking some platforms, so they revert or fix.

I wish they had a proper API, but probably this will never happen.

@loonies
Copy link

loonies commented Aug 30, 2017

I'm also affected. So annoying.

@mtb-xt
Copy link

mtb-xt commented Aug 30, 2017

The issue seems to have disappeared for me, weird...

@CommodoreCrunch
Copy link

CommodoreCrunch commented Aug 31, 2017

I also get this on Arch, but only on the second of two teams. It doesn't matter if I restart, refresh, or sign out and back in. That second team never loads.

ScudCloud 1.61
Python 3.6.2
Qt 5.9.1
PyQt 5.9
SIP 4.19.3

@raelgc
Copy link
Owner

raelgc commented Sep 6, 2017

Someone still affected by this issue? Today I just pushed a webkit update for those on Ubuntu xenial and zesty.

@skarap
Copy link

skarap commented Sep 6, 2017

I've seen this yesterday and today. Exiting and starting scudcloud again got it working.

@raelgc
Copy link
Owner

raelgc commented Sep 12, 2017

@skarap, still an issue for you? There are 2 issues related to this:

@raelgc raelgc closed this as completed Sep 12, 2017
@skarap
Copy link

skarap commented Sep 12, 2017

Haven't seen it for a few days now. Will send an update if it stops working again.
Thanks

@raelgc
Copy link
Owner

raelgc commented Sep 12, 2017

Thank you!

@loonies
Copy link

loonies commented Sep 15, 2017

I'm unable to start Scudcloud anymore. Anyone else affected?

@ghostofkendo
Copy link

Today, it started happening again to me too.
I'm running Arch Linux.

$ scudcloud --version
ScudCloud 1.63
Python 3.6.2
Qt 5.9.1
WebKit 602.1
PyQt 5.9
SIP 4.19.3

@loonies
Copy link

loonies commented Sep 15, 2017

Same here. Turned off Scudcloud the last night, unable to start it since this AM :(

@raelgc
Copy link
Owner

raelgc commented Sep 15, 2017

This is back :(

@raelgc raelgc reopened this Sep 15, 2017
@skelband
Copy link

Doing the JS debug console thing, I see a load of errors at the bottom.
Trying to upload a screenshot but I get an error from github :(

@raelgc
Copy link
Owner

raelgc commented Sep 15, 2017

image

@annulen
Copy link

annulen commented Nov 16, 2017

@raelgc Note that you can use official binaries of Qt 5.9 and QtWebKit 5.212-alpha2 - they should work fine in Ubuntu 16.04, and you'll just need to build only pyqt5 and scudcloud.

@hanzei
Copy link

hanzei commented Nov 16, 2017

@raelgc

$ sudo apt show libqt5webkit5
Package: libqt5webkit5
Version: 1:0.0.0+tp5-3

@maciex
Copy link
Contributor

maciex commented Nov 17, 2017

Is there a patched package for Fedora 26? If anyone finds something let me know.

@jsbillings
Copy link

Is there a patched package for Fedora 26? If anyone finds something let me know.

@maciex I've built new versions of qt5-qtwebkit in my scudcloud COPR (which I've only ever used personally to track newer versions of scudcloud than what was built by Fedora, I am in no way an official maintainer). The 'scudcloud' package actually doesn't need to be patched, and I only add one patch to qt5-qtwebkit. I've filed a bug on bugzilla asking the maintainer to include the patch, but I haven't heard anything back yet.

@nonspecialist
Copy link

I've built new versions of qt5-qtwebkit in my scudcloud COPR (which I've only ever used personally to track newer versions of scudcloud than what was built by Fedora, I am in no way an official maintainer)

With the understanding that your build is absolutely not supported, I've installed it on Fedora 26 and can confirm that it works -- I have scudcloud again! 🕺

@lainglo
Copy link

lainglo commented Nov 22, 2017

@jsbillings @nonspecialist I'm not familiar with COPR (I just had a look at it now) - would it be possible to use it to build a docker image? I'll have a closer look at it a bit later

@HalisCz
Copy link

HalisCz commented Nov 22, 2017

COPR is for community RPM's. Also I wouldn't recommend docker for desktop applications. Flatpak is more suited for this use-case, and you can use flathub repository

@raelgc
Copy link
Owner

raelgc commented Nov 22, 2017

If we got able to create 2 flatpaks: 1 for webkit (as dependency) and other for scudcloud, we'll face these issues less often. Now we're facing this problem of several distros using different webkits. I know there is a kde-platform package (for flatpak), but it's 3GB.

@jadenPete
Copy link

I'm on Arch Linux, any idea of how I can solve this issue?

@HalisCz
Copy link

HalisCz commented Nov 28, 2017

@raelgc

I know there is a kde-platform package (for flatpak), but it's 3GB.

It doesn't matter, currently I am using Telegram and some other flatpaks, and they are all sharing one kde-platform runtime

@vbelloir
Copy link

vbelloir commented Jan 2, 2018

Hi all,
I've used Scudcloub when I was running Opensuse. Since September I' m back to Ubuntu and use the official desktop app, but I want to use scudcloud again.

I'm running Ubuntu 17.10.
Here is the result off scudcloud -- version

ScudCloud 1.63   
Python 3.6.3  
Qt 5.9.1  
WebKit 538.1  
PyQt 5.7  
SIP 4.18.1

I'm using your ppa : http://ppa.launchpad.net/rael-gc/scudcloud/ubuntu.

libqt5webkit5 is not updated with a update & dist-upgrade, and still in

sudo apt show libqt5webkit5  
Package: libqt5webkit5  
Version: 1:0.0.0+tp5-3

Any help please?

@raelgc
Copy link
Owner

raelgc commented Jan 2, 2018

@vbelloir I've tried to publish the same updated webkit in 17.10, but 17.10 appears to have some dependencies problems/changes related to Qt/webkit and the package refused to built in the PPA.

If someone in 17.10 can help, I'll appreciate it. I'm still in 16.04.

@vbelloir
Copy link

vbelloir commented Jan 2, 2018

@raelgc thanks for your quivk answer.
If I can test something, let me know, but I am not a dev, can't help more.

Thanks for your help!

@Alveel
Copy link

Alveel commented Jan 22, 2018

I'm now running scudcloud in docker using @jessfraz's docker image. Dockerfile + instructions here.

Found a minor issue in the run command, for me the config dir is ~/.config/scudcloud, not ~/.scudcloud.

I also had to install xorg-xhost and run xhost local:docker (my user is in the docker group).

This might also entice you to run other applications in docker as well.

@HalisCz you mentioned docker isn't well suited for this use-case, what are your arguments for that? If it runs fine 😄

@HalisCz
Copy link

HalisCz commented Jan 23, 2018

@HalisCz you mentioned docker isn't well suited for this use-case, what are your arguments for that? If it runs fine 😄

@Alveel I don'ŧ have any "hard data", but I assumed that Flatpak is more suitable for desktop GUI apps then Docker, based on:

@vectorsigma
Copy link

I too am experiencing this bug in Fedora 27 (my own RPM of your latest release).

$ scudcloud --version
ScudCloud 1.65
Python 3.6.4
Qt 5.9.2
WebKit 602.1
PyQt 5.9.1
SIP 4.19.5

The --debug=True output is in this gist.

There's a lot of OAUTH related data in the URLs that I had to scrub, so if see something in all caps where you expected a big blob of base64 data, that's what happened, as well as anonymizing my employer since we use Google Auth to federate Slack.

LMK if I can help further.

@raelgc
Copy link
Owner

raelgc commented Feb 15, 2018

@vectorsigma You need to find a way to upgrade the system webkit package.

@jsbillings
Copy link

I too am experiencing this bug in Fedora 27 (my own RPM of your latest release).

@vectorsigma: I also needed a qt5-qtwebkit package with this patch to let the latest scudcloud work on Fedora 27. The patched package is also in my scudcloud copr repository. I've filed a bug against the Fedora qt5-qtwebkit to have the patch included, but so far it's been ignored.

@jsbillings
Copy link

@vectorsigma It looks like an updated qt5-qtwebkit is currently being rolled out that addresses this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1513091

I just tested it in Fedora 27 with the fedora updates-testing repo enabled, and scudcloud launches without needing my custom qt5-qtwebkit package.

@realsuiciniv
Copy link

realsuiciniv commented Mar 2, 2018

I'm on Arch Linux, any idea of how I can solve this issue?

ScudCloud 1.65
Python 3.6.4
Qt 5.10.1
WebKit 602.1
PyQt 5.10
SIP 4.19.7

Same thing here.
I'm stuck at loading page after login.

In the console i have the following errors:
screenshot from 2018-03-02 12-45-56

@quorth0n
Copy link

quorth0n commented Mar 4, 2018

I'm on Void GNU/Linux and am also experiencing this issue. I installed via the official Void repos.

[lain@cyberia_void ~]$ scudcloud --version
ScudCloud 1.65
Python 3.6.4
Qt 5.10.1
WebKit 538.1
PyQt 5.8.2
SIP 4.19.7

@p621877
Copy link

p621877 commented Mar 16, 2018

Hi there Liam

@io7m
Copy link

io7m commented Mar 16, 2018

@viniciusrdacosta Seconded, I'm seeing the same on Arch.

$ scudcloud --version
ScudCloud 1.64
Python 3.6.4
Qt 5.10.1
WebKit 602.1
PyQt 5.10.1
SIP 4.19.8

@brodavi
Copy link

brodavi commented May 8, 2018

Seeing same thing on NixOS 18.03

nixos~ scudcloud --version
ScudCloud 1.63
Python 3.6.4
Qt 5.10.0
WebKit 538.1
PyQt 5.9.2
SIP 4.19.6

@raelgc
Copy link
Owner

raelgc commented Jun 6, 2018

Just to share a bit of investigation: Slack uses react, which relies in use of ProxyObjects. Webkit doesn't work that well with ProxyObjects. React says webkit is not a supported environment:

facebook/react#10582

@m0n5t3r
Copy link

m0n5t3r commented Jun 6, 2018

I log in to 2 teams, and always get this on the topmost one; a ctrl-r fixes it

@jideogunmekan
Copy link

Hi installed scudcloud last week and getting the same error

ScudCloud 1.65
Python 3.6.5
Qt 5.9.4
WebKit 602.1
PyQt 5.10.1
SIP 4.19.7

opensuse 15

my log file is as attached
scudcloud error

@raelgc
Copy link
Owner

raelgc commented Oct 26, 2018

All these changes are caused by Slack improving/changing their product. I'm stopping ScudCloud development, please see #628

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests