xmikos/qhangups

Seems to hang on startup, nothing happens

Opened this issue · 8 comments

When I attempt to start this up, it does not open a window for OAUTH as it says it will. I'm not sure if that is because I have hangups setup already. Either way, nothing seems to happen

[2015.07.14]-[benito]-=(darkhouse)=-[pts/23]-[~/images] 
[15:09:46]$ qhangups -d
Language changed
^C[2015.07.14]-[benito]-=(darkhouse)=-[pts/23]-[~/images] 
[15:10:47]$ cat ~/.local/share/QHangups/hangups.log 
2015-07-14 15:09:49,066 - quamash.QEventLoop - DEBUG - Adding reader callback for file descriptor 9
2015-07-14 15:09:49,105 - quamash.QEventLoop - DEBUG - Starting Qt event loop
2015-07-14 15:10:47,206 - quamash.QEventLoop - DEBUG - Socket notifier for fd 9 is ready
2015-07-14 15:10:47,207 - quamash.QEventLoop - DEBUG - Registering callback <bound method QEventLoop.__notifier_cb_wrapper of <QEventLoop running=True closed=False debug=False>> to be invoked with arguments ({9: <PyQt4.QtCore.QSocketNotifier object at 0x7f6ed4a5b828>}, <PyQt4.QtCore.QSocketNotifier object at 0x7f6ed4a5b828>, 9, <bound method QEventLoop._read_from_self of <QEventLoop running=True closed=False debug=False>>, ()) after 0 second(s)
2015-07-14 15:10:47,207 - quamash.QEventLoop - DEBUG - Adding callback <Handle QEventLoop.__notifier_cb_wrapper({9: <PyQt4.QtCore...x7f6ed4a5b828>}, <PyQt4.QtCore...x7f6ed4a5b828>, 9, <bound method... debug=False>>, ())> with delay 0
2015-07-14 15:10:47,208 - quamash.QEventLoop - DEBUG - Callback timer fired, calling <Handle QEventLoop.__notifier_cb_wrapper({9: <PyQt4.QtCore...x7f6ed4a5b828>}, <PyQt4.QtCore...x7f6ed4a5b828>, 9, <bound method... debug=False>>, ())>
2015-07-14 15:10:47,209 - quamash.QEventLoop - DEBUG - Adding callback <Handle QHangupsMainWidget.__init__.<locals>.<lambda>() at /usr/lib/python3.4/site-packages/qhangups/__main__.py:74> with delay 0
2015-07-14 15:10:47,209 - quamash.QEventLoop - DEBUG - Callback timer fired, calling <Handle QHangupsMainWidget.__init__.<locals>.<lambda>() at /usr/lib/python3.4/site-packages/qhangups/__main__.py:74>
2015-07-14 15:10:47,210 - quamash.QEventLoop - DEBUG - Stopping event loop...
2015-07-14 15:10:47,210 - quamash.QEventLoop - DEBUG - Stopped event loop
2015-07-14 15:10:47,210 - quamash.QEventLoop - DEBUG - Qt event loop ended with result 0
2015-07-14 15:10:47,211 - quamash.QEventLoop - DEBUG - Already stopped
2015-07-14 15:10:47,211 - quamash.QEventLoop - DEBUG - Closing event loop...
2015-07-14 15:10:47,211 - quamash.QEventLoop - DEBUG - Removing reader callback for file descriptor 9
2015-07-14 15:10:47,212 - quamash._unix._Selector - DEBUG - Closing

Can you try latest version 1.7.0? You have to install PyQt 5 now.

I'm having a similar problem, with 1.7.1

@tonnydourado Which system are you using? I can't reproduce this bug on Arch Linux.

Ubuntu 14.04

Do you have latest versions of all dependencies? How did you installed it?

You can try to install only PyQt5 from your distribution repository and then install QHangups as local user by running pip3 install --user qhangups. Then try to start QHangups by running ~/.local/bin/qhangups. Make sure you don't have any older versions of dependencies (except of PyQt5) installed system-wide before running pip3 install --user.

I'm running it from a virtualenv, with just PyQt54 and SIP symlinked into the site-packages of the virtualenv, all other dependencies installed via pip. Still, I start it up, nothing happens, all I get is this log on the log file:

$ tail -n 100 -f hangups.log                                                                                       
2015-11-23 16:58:41,821 - quamash.QEventLoop - DEBUG - Adding reader callback for file descriptor 19
2015-11-23 16:58:41,884 - quamash.QEventLoop - DEBUG - Starting Qt event loop
2015-11-23 16:59:06,303 - quamash.QEventLoop - DEBUG - Socket notifier for fd 19 is ready
2015-11-23 16:59:06,303 - quamash.QEventLoop - DEBUG - Registering callback <bound method QEventLoop.__notifier_cb_wrapper of <QEventLoop running=True closed=False debug=False>> to be invoked with arguments ({19: <PyQt5.QtCore.QSocketNotifier object at 0x7fcf7958cee8>}, <PyQt5.QtCore.QSocketNotifier object at 0x7fcf7958cee8>, 19, <bound method QEventLoop._read_from_self of <QEventLoop running=True closed=False debug=False>>, ()) after 0 second(s)
2015-11-23 16:59:06,304 - quamash.QEventLoop - DEBUG - Adding callback <Handle QEventLoop.__notifier_cb_wrapper({19: <PyQt5.QtCore...x7fcf7958cee8>}, <PyQt5.QtCore...x7fcf7958cee8>, 19, <bound method... debug=False>>, ())> with delay 0
2015-11-23 16:59:06,304 - quamash.QEventLoop - DEBUG - Callback timer fired, calling <Handle QEventLoop.__notifier_cb_wrapper({19: <PyQt5.QtCore...x7fcf7958cee8>}, <PyQt5.QtCore...x7fcf7958cee8>, 19, <bound method... debug=False>>, ())>
2015-11-23 16:59:06,304 - quamash.QEventLoop - DEBUG - Adding callback <Handle QHangupsMainWidget.__init__.<locals>.<lambda>() at /home/adourado/.virtualenvs/qhangups/lib/python3.4/site-packages/qhangups/__main__.py:74> with delay 0
2015-11-23 16:59:06,305 - quamash.QEventLoop - DEBUG - Callback timer fired, calling <Handle QHangupsMainWidget.__init__.<locals>.<lambda>() at /home/adourado/.virtualenvs/qhangups/lib/python3.4/site-packages/qhangups/__main__.py:74>
2015-11-23 16:59:06,305 - quamash.QEventLoop - DEBUG - Stopping event loop...
2015-11-23 16:59:06,305 - quamash.QEventLoop - DEBUG - Stopped event loop
2015-11-23 16:59:06,305 - quamash.QEventLoop - DEBUG - Qt event loop ended with result 0
2015-11-23 16:59:06,305 - quamash.QEventLoop - DEBUG - Already stopped
2015-11-23 16:59:06,306 - quamash.QEventLoop - DEBUG - Closing event loop...
2015-11-23 16:59:06,306 - quamash.QEventLoop - DEBUG - Removing reader callback for file descriptor 19
2015-11-23 16:59:06,306 - quamash._unix._Selector - DEBUG - Closing

I have this issue as well. Nothing happens, similar debug log.

I'm using Ubuntu 15.10 with these packages:
requests (2.6.0) (local) [System uses 2.7.0 which is also installed]
QHangups (1.7.1)
Quamash (0.5.4)
PyQt5 (5.4.2)
hangups 0.3.5 (Works fine on its own)

Could anyone with this problem please try it again in latest QHangups version?

Btw. you need to install qt5-webkit (in Arch Linux) or python-pyqt5.qtwebkit in Ubuntu or Debian.