Installation problems | Problèmes à l'installation
Subscription date : 23 January 2013
Messages : 14
|
I figured out after a bit of messing around that I had to change the first line of
~/.config/cairo-dock/third-party/Lancelot/Lancelot
from
to
Since in Arch, /usr/bin/python is a link to /usr/bin/python3
The symptoms were the Lancelot icon doing nothing but bounce when being clicked upon and the error was coming because the "print" command is a syntax error in python3. |
matttbe, Friday 25 January 2013 à 23:14
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello and thank you for this bug report,
Yes, this is why you can find a package in AUR to easily install all our 'third party' applets and this message on webpages where you can download these third-party applets For ArchLinux users and all users who use Python 3 by default, you can download an archive on Launchpad (ended with _python2 and for the right version - download page) and extract the applet that you want to use on this directory: ~/.config/cairo-dock/third-party/
But we have to check if all these applets can be easily compatible with both python 2 and 3 |
Guest, Friday 25 January 2013 à 23:46
|
|
|
matttbe : Hello and thank you for this bug report,
Yes, this is why you can find a package in AUR to easily install all our 'third party' applets and this message on webpages where you can download these third-party applets For ArchLinux users and all users who use Python 3 by default, you can download an archive on Launchpad (ended with _python2 and for the right version - download page) and extract the applet that you want to use on this directory: ~/.config/cairo-dock/third-party/
But we have to check if all these applets can be easily compatible with both python 2 and 3
That would have saved me some trouble... |
fabounet, Saturday 26 January 2013 à 19:09
|
|
Subscription date : 30 November 2007
Messages : 17118
|
isn't it possible to make some cross-version code ?
it's not very user-friendly to have to know which version you have to use
why exactly does not work with python3 in the applet's code ? |
matttbe, Sunday 27 January 2013 à 01:11
|
|
Subscription date : 24 January 2009
Messages : 12573
|
fabounet : isn't it possible to make some cross-version code ?
it's not very user-friendly to have to know which version you have to use
why exactly does not work with python3 in the applet's code ? I guess it's not a problem to modify our code in order to work with both Python 2 and 3 but I'm not sure that all python modules that are used by these applets are compatible with both Python's versions |
fabounet, Tuesday 29 January 2013 à 00:31
|
|
Subscription date : 30 November 2007
Messages : 17118
|
I think that most python modules are present in both versions.
in most applets, we don't use a lot of modules, only basic ones.
if I compare /usr/lib/python3.2 and /usr/lib/python2.7 (on Ubuntu 12.10), there seems to be roughly the same modules.
so we need to know how can we write cross-versions code |
matttbe, Tuesday 29 January 2013 à 21:46
|
|
Subscription date : 24 January 2009
Messages : 12573
|
so we need to know how can we write cross-versions code I already modified all python files in 'cairo-dock-plug-ins' in order to be compatible with both versions and I can try to do that for all third-party applets. But I'm not sure that it will works with all applets (e.g. all menus) |
fabounet, Saturday 02 February 2013 à 14:14
|
|
Subscription date : 30 November 2007
Messages : 17118
|
cool, thank you |
Installation problems | Problèmes à l'installation
|