En effet, ça fait un which pour tester si on est sur une distro basée sur Debian et faciliter l'installation dans ce cas, sinon > ça indique clairement quel est le paquet à installer. Le problème est que Wx ne s'installe pas depuis Pypi, et la façon la plus simple pour l'installer et de demander de l'installer avant.
Ca fait l'install en quiet et yes, c'est pas tres propre de pas demander quand meme.
C'est dommage, la procédure d'install c'est le premier contact, or la ca rebute un peu.
Si je prends le readme :
** HOW TO USE IT ? **
For installation instructions, please read the file "INSTALL". Note that SàT is available in several GNU/Linux distributions
OK :
julien@misato ~/Downloads/sat-0.4.0 % cat INSTALL
You can install SàT automatically using easy_install or pip, and it is available in several GNU/Linux distributions. The full instructions are available on the wiki: http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi
OK...
julien@misato ~/Downloads/sat-0.4.0 % sudo pip2 install sat
[...]
Downloading/unpacking PIL (from sat)
Could not find any downloads that satisfy the requirement PIL (from sat)
Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
OK grrr :
julien@misato ~/Downloads/sat-0.4.0 % sudo pip2 install sat --allow-external PIL
[...]
Downloading/unpacking PIL (from sat)
Could not find any downloads that satisfy the requirement PIL (from sat)
Some insecure and unverifiable files were ignored (use --allow-unverified PIL to allow).
_imagingft.c:73:31: erreur fatale: freetype/fterrors.h : Aucun fichier ou dossier de ce type
#include
^
compilation terminée.
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/PIL/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-dJs0v7-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/PIL
Traceback (most recent call last):
File "/usr/bin/pip2", line 9, in
load_entry_point('pip==1.5.2', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 185, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 60: ordinal not in range(128)
----> pendaison :)
En fait, apres :
Install à partir du tbz et ajustements
Retour arriere, tentative a partir d'un paquet AUR (j'utilise archlinux)
Tentative avec pip
...
bah j'ai toujours pas pu lancer grand chose :
julien@misato ~/Downloads/sat-0.4.0 % primitivus
Traceback (most recent call last):
File "/usr/bin/primitivus", line 29, in
from sat_frontends.primitivus.contact_list import ContactList
File "/usr/lib/python2.7/site-packages/sat_frontends/primitivus/contact_list.py", line 26, in
from sat_frontends.primitivus.status import StatusBar
File "/usr/lib/python2.7/site-packages/sat_frontends/primitivus/status.py", line 24, in
from sat_frontends.primitivus.xmlui import XMLUI
File "/usr/lib/python2.7/site-packages/sat_frontends/primitivus/xmlui.py", line 135, in
class PrimitivusAdvancedListContainer(xmlui.AdvancedListContainer, sat_widgets.TableContainer, PrimitivusEvents):
AttributeError: 'module' object has no attribute 'TableContainer'
julien@misato ~/Downloads/sat-0.4.0 % wix
Initialisation de la liste de contacts
Traceback (most recent call last):
File "/usr/bin/wix", line 44, in
sat = SATApp()
File "/usr/bin/wix", line 35, in init
super(SATApp,self).__init__(redirect, filename, useBestVisual, clearSigInt)
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8631, in init
self._BootstrapApp()
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in BootstrapApp
return _core.PyApp__BootstrapApp(args, **kwargs)
File "/usr/bin/wix", line 38, in OnInit
self.main = MainWindow()
File "/usr/lib/python2.7/site-packages/sat_frontends/wix/main_window.py", line 87, in init
self.tray_icon.SetIcon(ticon, ("Wix jabber client"))
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/windows.py", line 2833, in SetIcon
return windows.TaskBarIcon_SetIcon(args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsOk()" failed at ./src/gtk/bitmap.cpp(1328) in GetPixbuf(): invalid bitmap
(en boite de dialogue : can't open file '/usr/share/sat/media/icons/crystal/32/tray_icon.xpm' (error 2: No such file or directory) )
[^] # Re: Ouch
Posté par Julien Gormotte . En réponse à la dépêche Salut à Toi 0.4.0: toujours en chemin.... Évalué à 5.
Ca fait l'install en quiet et yes, c'est pas tres propre de pas demander quand meme.
C'est dommage, la procédure d'install c'est le premier contact, or la ca rebute un peu.
Si je prends le readme :
** HOW TO USE IT ? **
For installation instructions, please read the file "INSTALL". Note that SàT is available in several GNU/Linux distributions
OK :
julien@misato ~/Downloads/sat-0.4.0 % cat INSTALL
You can install SàT automatically using easy_install or pip, and it is available in several GNU/Linux distributions. The full instructions are available on the wiki: http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi
OK...
julien@misato ~/Downloads/sat-0.4.0 % sudo pip2 install sat
[...]
Downloading/unpacking PIL (from sat)
Could not find any downloads that satisfy the requirement PIL (from sat)
Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
OK grrr :
julien@misato ~/Downloads/sat-0.4.0 % sudo pip2 install sat --allow-external PIL
[...]
Downloading/unpacking PIL (from sat)
Could not find any downloads that satisfy the requirement PIL (from sat)
Some insecure and unverifiable files were ignored (use --allow-unverified PIL to allow).
RAaaah :
julien@misato ~/Downloads/sat-0.4.0 % sudo pip2 install sat --allow-external PIL --allow-unverified PIL
[...]
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/usr/include/freetype2 -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c imagingft.c -o build/temp.linux-x8664-2.7/_imagingft.o
_imagingft.c:73:31: erreur fatale: freetype/fterrors.h : Aucun fichier ou dossier de ce type
#include
compilation terminée.
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/PIL/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-dJs0v7-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/PIL
Traceback (most recent call last):
File "/usr/bin/pip2", line 9, in
load_entry_point('pip==1.5.2', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 185, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 60: ordinal not in range(128)
----> pendaison :)
En fait, apres :
Install à partir du tbz et ajustements
Retour arriere, tentative a partir d'un paquet AUR (j'utilise archlinux)
Tentative avec pip
...
bah j'ai toujours pas pu lancer grand chose :
julien@misato ~/Downloads/sat-0.4.0 % primitivus
Traceback (most recent call last):
File "/usr/bin/primitivus", line 29, in
from sat_frontends.primitivus.contact_list import ContactList
File "/usr/lib/python2.7/site-packages/sat_frontends/primitivus/contact_list.py", line 26, in
from sat_frontends.primitivus.status import StatusBar
File "/usr/lib/python2.7/site-packages/sat_frontends/primitivus/status.py", line 24, in
from sat_frontends.primitivus.xmlui import XMLUI
File "/usr/lib/python2.7/site-packages/sat_frontends/primitivus/xmlui.py", line 135, in
class PrimitivusAdvancedListContainer(xmlui.AdvancedListContainer, sat_widgets.TableContainer, PrimitivusEvents):
AttributeError: 'module' object has no attribute 'TableContainer'
julien@misato ~/Downloads/sat-0.4.0 % wix
Initialisation de la liste de contacts
Traceback (most recent call last):
File "/usr/bin/wix", line 44, in
sat = SATApp()
File "/usr/bin/wix", line 35, in init
super(SATApp,self).__init__(redirect, filename, useBestVisual, clearSigInt)
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8631, in init
self._BootstrapApp()
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in BootstrapApp
return _core.PyApp__BootstrapApp(args, **kwargs)
File "/usr/bin/wix", line 38, in OnInit
self.main = MainWindow()
File "/usr/lib/python2.7/site-packages/sat_frontends/wix/main_window.py", line 87, in init
self.tray_icon.SetIcon(ticon, ("Wix jabber client"))
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/windows.py", line 2833, in SetIcon
return windows.TaskBarIcon_SetIcon(args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsOk()" failed at ./src/gtk/bitmap.cpp(1328) in GetPixbuf(): invalid bitmap
(en boite de dialogue : can't open file '/usr/share/sat/media/icons/crystal/32/tray_icon.xpm' (error 2: No such file or directory) )
Bref, ca pourrait etre cool, là ca marche pas :)