New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons and buttons not visible after installing Orange 3.3.7 on Ubuntu 16.04 with Anaconda 3.x #1418
Comments
Original issue was in wrong repository: biolab/orange2#46 |
This is probably the same problem as: https://stackoverflow.com/questions/34629635/orange-canvas-does-not-show-any-icon/ but manifested on Linux. Are you using Anaconda provided PyQt4? If so are you running anaconda python in the root or a newly created conda environment? Can you please run the following in bash shell with the correct python on $PATH python - <<EOF
import os
import PyQt4
from PyQt4.QtGui import QImageReader, QApplication
print("PyQt4 installed in", os.path.dirname(PyQt4.__file__))
print("Qt4 library paths", QApplication.libraryPaths())
print([bytes(f).decode("ascii") for f in QImageReader.supportedImageFormats()])
EOF |
>>> print("PyQt4 installed in", os.path.dirname(PyQt4.__file__))
PyQt4 installed in /home/brylie/anaconda3/lib/python3.5/site-packages/PyQt4
>>> print("Qt4 library paths", QApplication.libraryPaths())
Qt4 library paths []
>>> print([bytes(f).decode("ascii") for f in QImageReader.supportedImageFormats()])
['bmp', 'pbm', 'pgm', 'png', 'ppm', 'xbm', 'xpm'] |
I installed Anaconda as a normal user in my home directory. |
There is an upstream issue related to the missing SVG format: |
I added a note to the upstream issue. |
I had people reporting the same issue for OSX (with Anaconda). Works well on Windows. |
I looked under the anaconda folder in my home directory. I found the following:
|
It seems like the SVG libraries are included as imageformats and iconengines. Is there another folder I should check? |
Whan command do you use to run orange?
If so, please check that there is a qt.conf file in the folder with the python executable and that its entries point to the qt install. I am using anaconda 4.1.6 on OSX, which created a correct config file, but I had to move it a bit to see the icons (i had to move it from anaconda/bin to anaconda/python.app/contents/resources). |
I am using |
I have three files named
|
I tried running |
I'll try to reproduce it on a Ubuntu 16.04 virtual machine.Can you tell me which version of conda are you using ( |
conda 4.1.4 |
I have installed conda 4.1.6 into a fresh Unbuntu 16.04 virtual machine. It created ~/anaconda/bin/qt.conf with the following content:
If I run a slightly modified script ales posted above (I have added one import and the app = ... line):
it lists svg
|
Same here:
|
@astaric, do your icons render? |
They do. I did not follow the installation guide though, since all the requirements have already been installed by anaconda. What I did after installing anaconda was just
(I used conda to install all orange3 requirements, but then uninstall the outdated orange3 package, as I will install the latest version in the next step)
Then I ran
And got a proper canvas with icons. |
Ok, I have managed to reproduce the problem, and found a way to fix it :) Remove the orange3env folder that was created by the installation script. Then install orange3 with:
And you should have a working orange canvas with icons. I will update the installation instructions on the website to give specific instructions for anaconda users. |
Yay! thanks @astaric :-) This hopefully gets us closer to simply having a menu item to click when launching Orange ;-) |
For what it's worth, I was able to 'pin' Orange to my launcher menu after launching it the first time from terminal. However, the pinned icon does not work :-( |
I opened a feature request for an application launcher on GNU/Linux (#1426). |
The updated instructions should result in a working canvas, so I am closing this issue. |
It's still not working for me also following the updated instructions (ubuntu 14.04 though) conda install orange3
pip install -U orange3 python -m Orange.canvas >> results in a canvas with no icon displayed I'm missing the svg support though apparently... don't know how since conda fetched the correct qt4 for me (also asked to downgrade from qt5 to be compatible with orange when I ran conda install orange): PyQt4 installed in /home/enea/anaconda3/lib/python3.5/site-packages/PyQt4
Qt4 library paths ['/home/enea/anaconda3/plugins', '/home/enea/anaconda3/bin']
['bmp', 'pbm', 'pgm', 'png', 'ppm', 'xbm', 'xpm'] |
After installing Orange 3.3.7 on Ubuntu 16.04, the user interface icons and buttons fail to render correctly.
Orange version
Orange 3.3.7
Expected bahavior
Icons and buttons would render.
Actual behavior
Icons and buttons do not render
Steps to reproduce the behavior
On Ubuntu 16.04 with Anaconda distribution 3.x
Additional info (worksheets, data, screenshots, ...)
Environment
The text was updated successfully, but these errors were encountered: