Problems at use | Problèmes à l'utilisation
dockguy, Tuesday 22 April 2014 à 17:42
|
|
Subscription date : 22 April 2014
Messages : 8
|
Hi,
Version 3.2.1. Fedora 20 using opengl. Kwin/kde. Cairo-dock opens fine but I cannot load an applet. I check the xsession-error and I get a message about 'No module named CDApplet'. Checked on google and found oher persons with the same problem but no definite solution. It appears to be a problem the python configuration. Looking for some help here. Thanks in advance. |
matttbe, Thursday 01 May 2014 à 21:49
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello and sorry for the delay,
Yes, it seems a file is missing. Did you install this package? cairo-dock-python (and cairo-dock-python3).
These packages should be automatically installed. If it's not the case, please contact the maintainer of these packages |
dockguy, Friday 02 May 2014 à 12:11
|
|
Subscription date : 22 April 2014
Messages : 8
|
Hi Mattbe,
I fixed the problem by adding the following lines to the script
import sys
sys.path.append("/usr/lib/python3.3/site-packages")
I have cairo-dock-python3 installed but not cairo-dock-python. Are they mutually exclusive? I do not want to install the latter and create problems for my own apps. The former was installed automatically when I installed cairo-dock. Thanks for your help with this. |
matttbe, Friday 02 May 2014 à 18:15
|
|
Subscription date : 24 January 2009
Messages : 12573
|
I don't know why you need to add these lines, these python files should be installed in the right dir
Most applets should be compatible with python3 but some of them are still not ready: list |
dockguy, Saturday 03 May 2014 à 13:23
|
|
Subscription date : 22 April 2014
Messages : 8
|
Hi matttbe
Thanks for your help. Below is the apps installed via apper for cairo-dock. The last list is the files installed for cairo-dock-python3. The problem occurs for my own cairo-dock apps.
cairo-dock-core
cairo-dock-plug-ins
cairo-dock-plug-ins-kde
cairo-dock-python3
/usr/lib/python3.3/site-packages/CDApplet-1.0-py3.3.egg-info
/usr/lib/python3.3/site-packages/CDApplet.py
/usr/lib/python3.3/site-packages/CDBashApplet-1.0-py3.3.egg-info
/usr/lib/python3.3/site-packages/CDBashApplet.py
/usr/lib/python3.3/site-packages/CairoDock.py
/usr/lib/python3.3/site-packages/pycache
/usr/lib/python3.3/site-packages/pycache/CDApplet.cpython-33.pyc
/usr/lib/python3.3/site-packages/pycache/CDApplet.cpython-33.pyo
/usr/lib/python3.3/site-packages/pycache/CDBashApplet.cpython-33.pyc
/usr/lib/python3.3/site-packages/pycache/CDBashApplet.cpython-33.pyo
/usr/lib/python3.3/site-packages/pycache/CairoDock.cpython-33.pyc
/usr/lib/python3.3/site-packages/pycache/CairoDock.cpython-33.pyo
The first line in my apps is the following. Should I change this to something else?
- !/usr/bin/python
The whereis python command returns the following
python: /usr/bin/python2.7 /usr/bin/python3.3 /usr/bin/python3.3m /usr/bin/python /usr/lib/python2.7 /usr/lib/python3.3 /usr/include/python2.7 /usr/include/python3.3m /usr/share/man/man1/python.1.gz |
matttbe, Sunday 04 May 2014 à 13:15
|
|
Subscription date : 24 January 2009
Messages : 12573
|
What's your default version of python?
If it's python 2, you should install cairo-dock-python2 (and is it maybe possible to report this problem to the maintainer of these Cairo-Dock packages in Fedora? )
Note that it's not a problem to install both cairo-dock-python2 and cairo-dock-python3 packages |
dockguy, Sunday 04 May 2014 à 17:35
|
|
Subscription date : 22 April 2014
Messages : 8
|
Hi mattbe,
Things just got worse. Version is 2.7.5. I installed the cairo-dock-python. The list of files state that it is for python 2.7. When I rebooted I had problems with kwin. I never have problems with kwin. Cairo-dock starts but I have a black screen over it that takes up 30% of my screen and I do not know how to remove it. I uninstalled the cairo-dock-python but the problem still persists. It is very annoying. I took a screen shot but I do not know how to include an image. I am running Fedora 20 with kwin and the cairo-dock on the left. Thanks for the time you are taking. |
brianw, Sunday 04 May 2014 à 18:32
|
|
Subscription date : 25 April 2012
Messages : 270
|
I just wiped Ubuntu from my laptop and installed debian wheezy for a leaner system and noticed that the applets system monitor, wifi and one of my own to control my router did not work. I attempted to install from the repositories and got the error 'No module named CDApplet'.
I uninstalled everything using sudo apt-get purge cairo-dock-* then re-installed from the repository on this page (Debian steps at the bottom): http://www.glx-dock.org/ww_page.php?p=From%20the%20repository&lang=en and did not install anything from the official Debian repositories (they are at version 3.0.0) and all issues for me were resolved. |
SQP, Sunday 04 May 2014 à 19:47
|
|
Subscription date : 03 July 2010
Messages : 1081
|
dockguy : Cairo-dock starts but I have a black screen over it that takes up 30% of my screen
you have a problem with the composite manager. AFAIK kwin handles that, so you have to find the option and try to toggle it (you must turn it on). |
dockguy, Monday 05 May 2014 à 13:12
|
|
Subscription date : 22 April 2014
Messages : 8
|
looks like my desktop effects has crashed after latest fedora update. It must just be a coincidence. thanks. |
matttbe, Monday 05 May 2014 à 15:39
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Is this problem fixed? |
dockguy, Monday 05 May 2014 à 15:58
|
|
Subscription date : 22 April 2014
Messages : 8
|
hi mattbe,
I am working with the fedora forum people. The problem is with kwin. It must have been a recent update to some system files. I can only get desktop effects with xrender . The problem is with opengl. I have no real idea of how to fix the problem. I installed some programs that require opengl and they function well. The problem lies with the desktop effects and its interaction with kwin. |
matttbe, Monday 05 May 2014 à 20:47
|
|
Subscription date : 24 January 2009
Messages : 12573
|
And what about the first problem with Cairo-Dock and CDApplet? |
dockguy, Monday 05 May 2014 à 21:01
|
|
Subscription date : 22 April 2014
Messages : 8
|
installed the cairo-dock-python and that seemed to fix the problem. I do not know why it was not installed when I first installed cairo-dock. I marked it solved. |
matttbe, Monday 05 May 2014 à 21:34
|
|
Subscription date : 24 January 2009
Messages : 12573
|
I do not know why it was not installed when I first installed cairo-dock It's maybe a mistake. Is it possible to report this bug to the maintainer of these Cairo-Dock packages in Fedora? |
brianw, Tuesday 06 May 2014 à 00:21
|
|
Subscription date : 25 April 2012
Messages : 270
|
matttbe : I do not know why it was not installed when I first installed cairo-dock It's maybe a mistake. Is it possible to report this bug to the maintainer of these Cairo-Dock packages in Fedora? :-)
I know this is marked as resolved but I would like to add that the package manager, and how a package is created, for the particular distribution is what decides the dependencies.
For the Debian Wheezy install I did, aptitude shows 62 entries for cairo-dock. There is a seperate entry for every one of the plugins. When I followed the directions above to install from the tuxfamily.org repository I ended up with 8 items installed (cairo-dock, cairo-dock-core, cairo-dock-data, cairo-dock-plug-ins, cairo-dock-plug-ins-data, cairo-dock-plug-ins-dbus-interface-python, cairo-dock-plug-ins-integration, and libgldi3). I didn't install any of the official Debian ones. I am not sure why everything is itemized in Debian but it is probably the same for other distros.
I think, as matttbe stated, the issue is with how the distro packages them. All the plugins seem to work well for me and I have no problem with my personal applet without having the 54 plugin packages installed. If I wanted to use the official repository I would probably have to go through and install all the separate packages that I want to get my particular setup working. |
dockguy, Tuesday 06 May 2014 à 10:36
|
|
Subscription date : 22 April 2014
Messages : 8
|
matttbe : I do not know why it was not installed when I first installed cairo-dock It's maybe a mistake. Is it possible to report this bug to the maintainer of these Cairo-Dock packages in Fedora? :-)
I have no idea how to report this as a problem. I selected cairo-dock from apper and it was installed successfully. Looks like cairo-dock-python also needs to be installed. I do not understand why other people are not having this problem. Thanks for your assistance. |
matttbe, Tuesday 06 May 2014 à 11:09
|
|
Subscription date : 24 January 2009
Messages : 12573
|
dockguy : I have no idea how to report this as a problem. Each package has one or more maintainers. I guess you can see that with one of these commands: yum info cairo-dock
yum info-committers cairo-dock
yum info-packagers cairo-dock
yum info-vendors cairo-dock
But where do these packages come from? Maybe a bug reporting tool is available for all packages linked to this repository.
brianw : the package manager, and how a package is created, for the particular distribution is what decides the dependencies. Yes and some solutions can be safer than some other one...
Our current Debian packagers want to have one package for each plugin but for us it's really not a good solution because it's really not easy to maintain: name can change, some plugins are more important, some files are required by more than one plugin, some files are installed in python dirs, etc. But they don't want to change even if other Debian maintainers are agree with us. We should retry to change this situation but it takes time (even if our solution is available in our repositories...)
About the problem with Fedora packages, I can understand that it's better to have different packages for each version of Python but it's annoying if they are not installed by default: some plugins still don't support Python 3 (e.g. YoutubeDl plugin ) and it seems that the default version of Python in Fedora <22 versions is Python 2. |
Problems at use | Problèmes à l'utilisation
|