mozregression-gui.tar.gz is supposed to work as a standalone but doesn't
Categories
(Testing :: mozregression, defect)
Tracking
(Not tracked)
People
(Reporter: clement.lefevre, Unassigned)
References
Details
(Keywords: nightly-community, Whiteboard: [mozfr-community])
https://mozilla.github.io/mozregression/install.html is advertising mozregression-gui.tar.gz as a standalone archive with everything's needed inside, just extract and run it, and it should work. It actually doesn't and fail on the following error: =========== [clement@arch-clement dist]$ ./mozregression-gui /tmp/dist/mozregression-gui/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.0.1) doesn't match a supported version! Traceback (most recent call last): File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module> File "mozregui/main.py", line 7, in <module> File "ExtensionLoader_PyQt4_QtGui.py", line 22, in <module> File "ExtensionLoader_PyQt4_QtGui.py", line 14, in __bootstrap__ ImportError: libQtGui.so.4: cannot open shared object file: No such file or directory ===========
Reporter | ||
Comment 1•6 years ago
|
||
By the way, the call to `/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py` is also quite strange: there's no such directories on my computer.
Comment 2•6 years ago
|
||
This *used* to work. I'm not sure what's involved in fixing it to be honest, maybe we should just take down the Linux GUI for now.
Last working release for me was gui-0.9.22.
gui-0.9.28 output:
> Traceback (most recent call last):
> File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/__startup__.py", line 14, in run
> File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 26, in run
> File "mozregui/main.py", line 3, in <module>
> File "./mozregui/patch_requests.py", line 17, in patch
> File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 43, in <module>
> from .__version__ import __title__, __description__, __url__, __version__
> File "/usr/local/lib/python2.7/dist-packages/urllib3/__init__.py", line 8, in <module>
> File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 35, in <module>
> File "/usr/local/lib/python2.7/dist-packages/urllib3/request.py", line 3, in <module>
> File "/usr/local/lib/python2.7/dist-packages/urllib3/filepost.py", line 12, in <module>
> LookupError: no codec search functions registered: can't find encoding
Comment 4•6 years ago
|
||
I have similar problem with 0.9.30. Traceback (most recent call last): File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/__startup__.py", line 14, in run File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 26, in run File "mozregui/main.py", line 3, in <module> File "./mozregui/patch_requests.py", line 17, in patch File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 43, in <module> File "/usr/local/lib/python2.7/dist-packages/urllib3/__init__.py", line 8, in <module> File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 35, in <module> File "/usr/local/lib/python2.7/dist-packages/urllib3/request.py", line 3, in <module> File "/usr/local/lib/python2.7/dist-packages/urllib3/filepost.py", line 12, in <module> LookupError: no codec search functions registered: can't find encoding
Comment 5•5 years ago
|
||
I am facing similar issue like comment 3 and comment 4 with 0.9.35 in Arch Linux. Apparently some other people are facing this as well.
(In reply to William Lachance (:wlach) (use needinfo!) from comment #2)
This used to work. I'm not sure what's involved in fixing it to be honest,
maybe we should just take down the Linux GUI for now.
Please check bug 1503358, comment 1. Copied from there:
I have exactly the same issue. Same versions and all. I think the problem is cx_Freeze (as reported here upstream[1]) and was introduced into mozregression-gui at 0.9.24 via this commit[2].
[1] https://github.com/anthony-tuininga/cx_Freeze/issues/325
[2] https://github.com/mozilla/mozregression/commit/2a5c4f7f2be485bb5471deff03deae90c918cf8b
Comment 6•5 years ago
|
||
I have just tried version 0.9.22 and I faced the issue mentioned in comment 0.
ImportError: libQtGui.so.4: cannot open shared object file: No such file or directory
Which I fixed by installing qt4.
Clément Lefèvre, does installing qt4 fix this issue for you?
Reporter | ||
Comment 7•5 years ago
|
||
(In reply to Sayed [:LiquidO2] from comment #6)
I have just tried version 0.9.22 and I faced the issue mentioned in comment 0.
ImportError: libQtGui.so.4: cannot open shared object file: No such file or directory
Which I fixed by installing qt4.
Clément Lefèvre, does installing qt4 fix this issue for you?
From another computer:
[clement@archlinux dist]$ ./mozregression-gui
Traceback (most recent call last):
File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/__startup__.py", line 14, in run
File "/home/travis/build/mozilla/mozregression/venv/local/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 26, in run
File "mozregui/main.py", line 3, in <module>
File "./mozregui/patch_requests.py", line 17, in patch
File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 43, in <module>
File "/usr/local/lib/python2.7/dist-packages/urllib3/__init__.py", line 8, in <module>
File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 35, in <module>
File "/usr/local/lib/python2.7/dist-packages/urllib3/request.py", line 3, in <module>
File "/usr/local/lib/python2.7/dist-packages/urllib3/filepost.py", line 12, in <module>
LookupError: no codec search functions registered: can't find encoding
With both qt4 installed or not. So sure I can start to tinker the system and manually install deps like here urllib3 seems to be missing, but from my understanding this version should contain everything it needs.
And by the way it also looks for files in /home/travis, which I obviously don't have.
Comment 10•4 years ago
|
||
Bug 1581643 covers making this work again (Linux builds are currently disabled).
Description
•