Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 22/08/2010, à 18:55

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

Pour l'erreur, tu devrais peut être installer le en_dict ....
Mais tu n'as pas que cette erreur, j'ai virer le en_dict, et je n'ai que l'erreur suivante affiché (par contre la dictions est pourris)

Can't read dictionary file: '/usr/share/espeak-data/en_dict'

Et ca n'empêche en rien le fonctionnement ....

...là, je sèche, je suis sur que c'est une bricole en plus !

Pourrais tu envoyer le retour console, complet, lorsque tu plantes le bousin à l'ouverture d'un fichier ?


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#27 Le 22/08/2010, à 19:06

Compte supprimé

Re : Explorateur de fichier/déficient visuel

le voilà... après avoir ouvert une image.

dossier deja present
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Bureau|/home/benoit/Bureau|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Desktop|/home/benoit/Desktop|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Images|/home/benoit/Images|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Librairie calibre|/home/benoit/Librairie calibre|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Modèles|/home/benoit/Modèles|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Musique|/home/benoit/Musique|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Public|/home/benoit/Public|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Téléchargements|/home/benoit/Téléchargements|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Ubuntu One|/home/benoit/Ubuntu One|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Vidéos|/home/benoit/Vidéos|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|amsn_received|/home/benoit/amsn_received|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|cxoffice|/home/benoit/cxoffice|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|google-earth|/home/benoit/google-earth|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|isus|/home/benoit/isus|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|au|/home/benoit/au|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|examples.desktop|/home/benoit/examples.desktop|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|untitled3_MAS.bak|/home/benoit/untitled3_MAS.bak|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|–|/home/benoit/–|sans bold 100
DEBUG=>: in thread py SET@_label_dossier.set_markup('<span size="80000"><b>home/benoit</b></span>')
DEBUG=>: in thread py COLOR@@_label_sep.modify_bg@@gtk.STATE_NORMAL@@black
DEBUG=>: in thread py SET@window1.fullscreen()
DEBUG=>: in thread py SET@window1.show()
DEBUG=>: in thread py SCREEN@@
DEBUG => FIFO write: GET@screen_height="800"
DEBUG => FIFO write: GET@screen_width="1280"
DEBUG => FIFO write: treeview1 None
DEBUG=>: in thread py in_GET screen_height "800"
DEBUG=>: in thread py in_GET screen_width "1280"
DEBUG=>: in thread py in_NOT_GET None
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 0 ['folder128', 'Bureau', '/home/benoit/Bureau', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@folder128|Bureau|/home/benoit/Bureau|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@folder128|Bureau|/home/benoit/Bureau|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 1 ['folder128', 'Desktop', '/home/benoit/Desktop', 'sans bold 100']
DEBUG => FIFO write: treeview1 1@folder128|Desktop|/home/benoit/Desktop|sans bold 100
DEBUG=>: in thread py in_NOT_GET 1@folder128|Desktop|/home/benoit/Desktop|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 2 ['folder128', 'Documents', '/home/benoit/Documents', 'sans bold 100']
DEBUG => FIFO write: treeview1 2@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG=>: in thread py in_NOT_GET 2@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 3 ['folder128', 'Images', '/home/benoit/Images', 'sans bold 100']
DEBUG => FIFO write: treeview1 3@folder128|Images|/home/benoit/Images|sans bold 100
DEBUG=>: in thread py in_NOT_GET 3@folder128|Images|/home/benoit/Images|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Return
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Return
DEBUG => FIFO write: treeview1 clicked
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG=>: in thread py TREE@@CLEAR@@treeview1
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Etretat 2009|/home/benoit/Images/Etretat 2009|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Etretat 2010|/home/benoit/Images/Etretat 2010|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Photos|/home/benoit/Images/Photos|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|portable|/home/benoit/Images/portable|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|profil facebook|/home/benoit/Images/profil facebook|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|tere|/home/benoit/Images/tere|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|ubuntu-wallpapers-0.31.3|/home/benoit/Images/ubuntu-wallpapers-0.31.3|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|41292_1595407209439_1363736412_1628503_2232103_n.jpg|/home/benoit/Images/41292_1595407209439_1363736412_1628503_2232103_n.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|45133_426870284874_654219874_4715593_1349483_n.jpg|/home/benoit/Images/45133_426870284874_654219874_4715593_1349483_n.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|45133_426870309874_654219874_4715598_5391723_n.jpg|/home/benoit/Images/45133_426870309874_654219874_4715598_5391723_n.jpg|sans bold 100
DEBUG=>: in thread py SET@_label_dossier.set_markup('<span size="80000"><b>benoit/Images</b></span>')
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 release@Return
DEBUG=>: in thread py in_NOT_GET release@Return
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Return'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG => FIFO write: treeview1 None
DEBUG=>: in thread py in_NOT_GET None
DEBUG=>: [retourne_selection] : 0 ['folder128', 'Etretat 2009', '/home/benoit/Images/Etretat 2009', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@folder128|Etretat 2009|/home/benoit/Images/Etretat 2009|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@folder128|Etretat 2009|/home/benoit/Images/Etretat 2009|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 1 ['folder128', 'Etretat 2010', '/home/benoit/Images/Etretat 2010', 'sans bold 100']
DEBUG => FIFO write: treeview1 1@folder128|Etretat 2010|/home/benoit/Images/Etretat 2010|sans bold 100
DEBUG=>: in thread py in_NOT_GET 1@folder128|Etretat 2010|/home/benoit/Images/Etretat 2010|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 2 ['folder128', 'Photos', '/home/benoit/Images/Photos', 'sans bold 100']
DEBUG => FIFO write: treeview1 2@folder128|Photos|/home/benoit/Images/Photos|sans bold 100
DEBUG=>: in thread py in_NOT_GET 2@folder128|Photos|/home/benoit/Images/Photos|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 3 ['folder128', 'portable', '/home/benoit/Images/portable', 'sans bold 100']
DEBUG => FIFO write: treeview1 3@folder128|portable|/home/benoit/Images/portable|sans bold 100
DEBUG=>: in thread py in_NOT_GET 3@folder128|portable|/home/benoit/Images/portable|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 4 ['folder128', 'profil facebook', '/home/benoit/Images/profil facebook', 'sans bold 100']
DEBUG => FIFO write: treeview1 4@folder128|profil facebook|/home/benoit/Images/profil facebook|sans bold 100
DEBUG=>: in thread py in_NOT_GET 4@folder128|profil facebook|/home/benoit/Images/profil facebook|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 5 ['folder128', 'tere', '/home/benoit/Images/tere', 'sans bold 100']
DEBUG => FIFO write: treeview1 5@folder128|tere|/home/benoit/Images/tere|sans bold 100
DEBUG=>: in thread py in_NOT_GET 5@folder128|tere|/home/benoit/Images/tere|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 6 ['folder128', 'ubuntu-wallpapers-0.31.3', '/home/benoit/Images/ubuntu-wallpapers-0.31.3', 'sans bold 100']
DEBUG => FIFO write: treeview1 6@folder128|ubuntu-wallpapers-0.31.3|/home/benoit/Images/ubuntu-wallpapers-0.31.3|sans bold 100
DEBUG=>: in thread py in_NOT_GET 6@folder128|ubuntu-wallpapers-0.31.3|/home/benoit/Images/ubuntu-wallpapers-0.31.3|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Return
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Return
DEBUG => FIFO write: treeview1 clicked
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG=>: in thread py TREE@@CLEAR@@treeview1
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|115657-1.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/115657-1.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|BosqueTK.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/BosqueTK.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|BusquedaNocturna.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/BusquedaNocturna.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Cornered.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Cornered.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|CurlsbyCandy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/CurlsbyCandy.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Daisy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Fall.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|FallDrops,AncientLight.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/FallDrops,AncientLight.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Fluffodome.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fluffodome.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Icystones2.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Icystones2.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|InthedarkRedux.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/InthedarkRedux.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Look_to_the_Horizon_by_AlexSilent.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Look_to_the_Horizon_by_AlexSilent.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Maraetaibeforesunrise.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Maraetaibeforesunrise.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|MaverickMeerkatWallFour (1)[4].png|/home/benoit/Images/ubuntu-wallpapers-0.31.3/MaverickMeerkatWallFour (1)[4].png|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Outoffocus.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Outoffocus.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Pointy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Pointy.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|SmoothMoment.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/SmoothMoment.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Warmlights.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Warmlights.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|Yellowflower.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Yellowflower.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|lynx_002.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/lynx_002.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|mekong02.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/mekong02.jpg|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|warty-final-ubuntu.png|/home/benoit/Images/ubuntu-wallpapers-0.31.3/warty-final-ubuntu.png|sans bold 100
DEBUG=>: in thread py SET@_label_dossier.set_markup('<span size="80000"><b>Images/ubuntu-wallpapers-0.31.3</b></span>')
DEBUG => FIFO write: window1 release@Return
DEBUG=>: in thread py in_NOT_GET release@Return
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Return'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG => FIFO write: treeview1 None
DEBUG=>: in thread py in_NOT_GET None
DEBUG=>: [retourne_selection] : 0 ['fichier128', '115657-1.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/115657-1.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@fichier128|115657-1.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/115657-1.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@fichier128|115657-1.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/115657-1.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 1 ['fichier128', 'BosqueTK.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/BosqueTK.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 1@fichier128|BosqueTK.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/BosqueTK.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 1@fichier128|BosqueTK.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/BosqueTK.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 2 ['fichier128', 'BusquedaNocturna.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/BusquedaNocturna.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 2@fichier128|BusquedaNocturna.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/BusquedaNocturna.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 2@fichier128|BusquedaNocturna.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/BusquedaNocturna.jpg|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 3 ['fichier128', 'Cornered.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/Cornered.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 3@fichier128|Cornered.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Cornered.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 3@fichier128|Cornered.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Cornered.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 4 ['fichier128', 'CurlsbyCandy.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/CurlsbyCandy.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 4@fichier128|CurlsbyCandy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/CurlsbyCandy.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 4@fichier128|CurlsbyCandy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/CurlsbyCandy.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 5 ['fichier128', 'Daisy.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 5@fichier128|Daisy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 5@fichier128|Daisy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 6 ['fichier128', 'Fall.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 6@fichier128|Fall.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 6@fichier128|Fall.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Up
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Up
DEBUG=>: [retourne_selection] : 5 ['fichier128', 'Daisy.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 5@fichier128|Daisy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 5@fichier128|Daisy.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Daisy.jpg|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 release@Up
DEBUG=>: in thread py in_NOT_GET release@Up
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Up'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 6 ['fichier128', 'Fall.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 6@fichier128|Fall.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg|sans bold 100
DEBUG=>: in thread py in_NOT_GET 6@fichier128|Fall.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Return
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Return
DEBUG => FIFO write: treeview1 clicked
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG => FIFO write: window1 release@Return
DEBUG=>: in thread py in_NOT_GET release@Return
DEBUG=>: in thread py 
DEBUG => FIFO write: window1 press@Down
DEBUG=>: [retourne_selection] : 7 ['fichier128', 'FallDrops,AncientLight.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/FallDrops,AncientLight.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 7@fichier128|FallDrops,AncientLight.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/FallDrops,AncientLight.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG => FIFO write: window1 press@Up
DEBUG=>: [retourne_selection] : 6 ['fichier128', 'Fall.jpg', '/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg', 'sans bold 100']
DEBUG => FIFO write: treeview1 6@fichier128|Fall.jpg|/home/benoit/Images/ubuntu-wallpapers-0.31.3/Fall.jpg|sans bold 100
DEBUG => FIFO write: window1 release@Up
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left

#28 Le 22/08/2010, à 19:24

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

C'est bon, j'ai vu où est le problème ....(avec le retour console complet, c'est plus simple smile)

Par contre, c'est étonnant que je ne l'ai pas chez moi ....

Pour l'histoire, ce bug, je l'avais déjà réglé (ca vient de glade2script), mais comme je bouge beaucoup, j'emporte des versions avec moi pour y travailler, et la correction est passé à la trappe ...C'est pour ça que maintenant je ne bosse plus sur mes scripts que depuis chez moi, même si les MAJ sont moins fréquentes, tant pis, au moins plus ce genre de soucis...

Encore je sais pas combien de temps de perdu, alors que ce bug, dans ma tête, il était fixé ....Dsl pour le contre-temps, mais on moins tu peux te rendre compte que le déboggage d'un programme est important, sans retour console, ben tu fais rien smile

J'uploaderais une version rectifié dans la soirée ...

Pour l'instant j'essaie de trouver une solution  pour utiliser les chiffres lors de la saisie de noms (pour renommer,creer), avec les user de portables sans pavé numérique, ca risque d'être chaud .... Faut que je fasse travailler ma cellule grise roll


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#29 Le 22/08/2010, à 19:30

Compte supprimé

Re : Explorateur de fichier/déficient visuel

Ok, bravo pour la localisation de cette erreur.
Dsl pour le temps perdu...

#30 Le 22/08/2010, à 19:42

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

benoitfra a écrit :

Dsl pour le temps perdu...

C'est de ma faute aussi, et entre nous, ca me dérange pas trop d'y passer du temps, c'est juste rageant, mais j'adore me prendre la tête, sinon je n'aurais jamais essayer d'apprendre la programmation !


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#31 Le 22/08/2010, à 21:38

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

Re,
Je pense que si tu supprimes la ligne 187 de Test.py, ca devrait fonctionner.

sys.stdout.flush()

Cela n'empêche que je modifierais qd même glade2script pour éviter un éventuel bug par d'autres user.

Je m'y recolle, j'étais pas dispo avant, la nouvelle version tardera peut être un peu (j'ai trouvé comment utiliser toutes les touches de clavier pour l'édition, le gros morceau est quasi-torché.


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#32 Le 22/08/2010, à 22:09

Compte supprimé

Re : Explorateur de fichier/déficient visuel

J'ai pas envie de te deranger à nouveau, je n'ai pas cela à la ligne 187 de test.py, j'ai fait une recherche cela apparait à la ligne :
176
179
202

Je ne supprime rien, voila...

#33 Le 22/08/2010, à 22:21

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

Ca doit être la ligne 179 (j'ai modifier le code depuis ..)
C'est le deuxième de la fonction treeview1
De tout façon, tu peux supprimer l'un ou l'autre, ca n'a pas grande importance
ca donnera un truc du genre:

	def treeview1(self, select, arg=None):
		#self.flag_left = False
		if select =='None': return
		if select == 'clicked': # si la touche Enter enfoncé
			if os.path.isdir(self.path_fichier): 
				print "TREE@@CLEAR@@treeview1"
				sys.stdout.flush()
				self.parle( 'go to %s' % os.path.basename(self.path_fichier) )
				self.charge_treeview(self.path_fichier)
				self.dossier_back = os.path.dirname(self.path_fichier)
				self.affich_pwd(self.path_fichier)
                ######ici se trouvait la ligne à supprimer######
			else: subprocess.call(['gnome-open', self.path_fichier])
		else: # navigation haut bas
			self.path_fichier = select.split('|')[2]
			self.dossier_back = os.path.dirname( os.path.dirname(self.path_fichier) )
			self.parle( os.path.basename(self.path_fichier) )

Dernière modification par AnsuzPeorth (Le 22/08/2010, à 22:22)


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#34 Le 22/08/2010, à 22:39

Compte supprimé

Re : Explorateur de fichier/déficient visuel

Merci, c'était ligne 141

#35 Le 23/08/2010, à 00:06

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

benoitfra a écrit :

Merci, c'était ligne 141

Et ca fonctionne correctement maintenant ?

Bon misa à jour:
http://gwebradio.googlecode.com/files/n … 0.2.tar.gz

F2 renommer
F3 nouveau fichier
F4 nouveau dossier
CTRL+T supprimer
CTRL+P basculer sur voie auto ou non (defaut oui)
Esc pour annuler et sortir de la boite créer/renommer

Le reste est inchangé.

Les commandes ne sont pas connectées, je préfére un retour avant (et pis c'est juste un détail d'ajouter la commande, faudra juste verifier avant si le fichier n'existe po ... )

Tous les signes spéciaux ne passent pas (de toute c'est à éviter dans les noms de fichiers), il y a certainement des oublies ...:rolleyes:

Il reste donc:
--connecter les commandes
--le copier/coller
--les signets
--les fichiers cachés
-- autres choses ????

Ensuite les détails, gros nettoyage et réduction de code, y a encore du taf smile

ps: j'espere qu'il n'y a pas de coquilles ce coup ci ...


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#36 Le 23/08/2010, à 09:38

Compte supprimé

Re : Explorateur de fichier/déficient visuel

Bon, je viens de tester...
Les commandes fonctionnent toutes le ctrl+p coupe bien la synthèse vocale...
Les fenêtre pour les autres actions apparaissent bien et l'on peut sortir de celles-ci grâce à esc.

Niveau bug, j'ai toujours le même souci, cela doit venir de chez moi.
Je crois ne pas en avoir constaté de nouveau, si ce n'est peut-être que  ctrl+p qui ne coupe, ni ne réactive la synthèse vocale.

.
Voilà...merci pour le travail effectué


edit: Après avoir testé plusieurs foi, j'ai remarqué que le retour au dossier parent marche quelques fois par exemple quand j'ouvre un ebook, néanmoins cela n'arrive pas à chaque ouverture d'eboook, c'est ponctuel.

Dernière modification par benoitfra (Le 23/08/2010, à 09:48)

#37 Le 23/08/2010, à 12:29

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

benoitfra a écrit :

Les commandes fonctionnent toutes le ctrl+p coupe bien la synthèse vocale...

Je crois ne pas en avoir constaté de nouveau, si ce n'est peut-être que  ctrl+p qui ne coupe, ni ne réactive la synthèse vocale.

Ben ca fonctionne ou pas smile

Les fenêtre pour les autres actions apparaissent bien et l'on peut sortir de celles-ci grâce à esc.

Et la saisie du nom, pas de soucis ?


Niveau bug, j'ai toujours le même souci, cela doit venir de chez moi.

!!!! Si tu peux envoyer le retour console complet lors du bug ... Parce que là, c'est pas normal !

.

Voilà...merci pour le travail effectué

Ben de rien, surtout que ca fonctionne pas chez toi.

benoitfra a écrit :

edit: Après avoir testé plusieurs foi, j'ai remarqué que le retour au dossier parent marche quelques fois par exemple quand j'ouvre un ebook, néanmoins cela n'arrive pas à chaque ouverture d'eboook, c'est ponctuel.

Peut importe le fichier, ce n'est pas ça qui joue.


En tout cas, temps que ce bug n'est pas trouvé, ca sert à rien de continuer à développer le truc, dommage que tu sois le seul à jouer les beta testeur wink


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#38 Le 23/08/2010, à 13:52

Compte supprimé

Re : Explorateur de fichier/déficient visuel

Pour le ctrl+p, il marche pas "très bien". dès fois il désactive correctement, pareil pour la réactivation.
Je poste le retour console complet....

dossier deja present
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Bureau|/home/benoit/Bureau|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Desktop|/home/benoit/Desktop|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Images|/home/benoit/Images|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Librairie calibre|/home/benoit/Librairie calibre|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Modèles|/home/benoit/Modèles|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Musique|/home/benoit/Musique|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Public|/home/benoit/Public|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Téléchargements|/home/benoit/Téléchargements|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Ubuntu One|/home/benoit/Ubuntu One|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Vidéos|/home/benoit/Vidéos|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|amsn_received|/home/benoit/amsn_received|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|cxoffice|/home/benoit/cxoffice|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|google-earth|/home/benoit/google-earth|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|isus|/home/benoit/isus|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|au|/home/benoit/au|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|debug-2010-08-22-21:23:58.out|/home/benoit/debug-2010-08-22-21:23:58.out|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|examples.desktop|/home/benoit/examples.desktop|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|untitled3_MAS.bak|/home/benoit/untitled3_MAS.bak|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|–|/home/benoit/–|sans bold 100
DEBUG=>: in thread py SET@_label_dossier.set_markup('<span size="80000"><b>home/benoit</b></span>')
DEBUG=>: in thread py COLOR@@_label_sep.modify_bg@@gtk.STATE_NORMAL@@black
DEBUG=>: in thread py SET@window1.fullscreen()
DEBUG=>: in thread py SET@window1.show()
DEBUG=>: in thread py SCREEN@@
DEBUG => FIFO write: GET@screen_height="800"
DEBUG => FIFO write: GET@screen_width="1280"
DEBUG => FIFO write: treeview1 None
DEBUG=>: in thread py in_GET screen_height "800"
DEBUG=>: in thread py in_GET screen_width "1280"
DEBUG=>: in thread py in_NOT_GET None
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 0 ['folder128', 'Bureau', '/home/benoit/Bureau', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@folder128|Bureau|/home/benoit/Bureau|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@folder128|Bureau|/home/benoit/Bureau|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 1 ['folder128', 'Desktop', '/home/benoit/Desktop', 'sans bold 100']
DEBUG => FIFO write: treeview1 1@folder128|Desktop|/home/benoit/Desktop|sans bold 100
DEBUG=>: in thread py in_NOT_GET 1@folder128|Desktop|/home/benoit/Desktop|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 2 ['folder128', 'Documents', '/home/benoit/Documents', 'sans bold 100']
DEBUG => FIFO write: treeview1 2@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG=>: in thread py in_NOT_GET 2@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 3 ['folder128', 'Images', '/home/benoit/Images', 'sans bold 100']
DEBUG => FIFO write: treeview1 3@folder128|Images|/home/benoit/Images|sans bold 100
DEBUG=>: in thread py in_NOT_GET 3@folder128|Images|/home/benoit/Images|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Up
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Up
DEBUG=>: [retourne_selection] : 2 ['folder128', 'Documents', '/home/benoit/Documents', 'sans bold 100']
DEBUG => FIFO write: treeview1 2@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG=>: in thread py in_NOT_GET 2@folder128|Documents|/home/benoit/Documents|sans bold 100
DEBUG => FIFO write: window1 release@Up
DEBUG=>: in thread py in_NOT_GET release@Up
DEBUG => FIFO write: window1 press@Return
DEBUG=>: in thread py 'Action' object has no attribute 'Up'
DEBUG=>: in thread py in_NOT_GET press@Return
DEBUG => FIFO write: treeview1 clicked
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG=>: in thread py TREE@@CLEAR@@treeview1
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|Le mal|/home/benoit/Documents/Le mal|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|My eBooks|/home/benoit/Documents/My eBooks|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|article ubuntu fr|/home/benoit/Documents/article ubuntu fr|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|ccp|/home/benoit/Documents/ccp|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|exercicies|/home/benoit/Documents/exercicies|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|fiche cours|/home/benoit/Documents/fiche cours|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|mouvement browien|/home/benoit/Documents/mouvement browien|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|radar doppler|/home/benoit/Documents/radar doppler|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|scripts|/home/benoit/Documents/scripts|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@folder128|tipe écrit|/home/benoit/Documents/tipe écrit|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|backblue.gif|/home/benoit/Documents/backblue.gif|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|fade.gif|/home/benoit/Documents/fade.gif|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|index.html|/home/benoit/Documents/index.html|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|sujet.txt|/home/benoit/Documents/sujet.txt|sans bold 100
DEBUG=>: in thread py SET@_label_dossier.set_markup('<span size="80000"><b>benoit/Documents</b></span>')
DEBUG => FIFO write: window1 release@Return
DEBUG=>: in thread py in_NOT_GET release@Return
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Return'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG => FIFO write: treeview1 None
DEBUG=>: in thread py in_NOT_GET None
DEBUG=>: [retourne_selection] : 0 ['folder128', 'Le mal', '/home/benoit/Documents/Le mal', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@folder128|Le mal|/home/benoit/Documents/Le mal|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@folder128|Le mal|/home/benoit/Documents/Le mal|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 1 ['folder128', 'My eBooks', '/home/benoit/Documents/My eBooks', 'sans bold 100']
DEBUG => FIFO write: treeview1 1@folder128|My eBooks|/home/benoit/Documents/My eBooks|sans bold 100
DEBUG=>: in thread py in_NOT_GET 1@folder128|My eBooks|/home/benoit/Documents/My eBooks|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Up
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Up
DEBUG=>: [retourne_selection] : 0 ['folder128', 'Le mal', '/home/benoit/Documents/Le mal', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@folder128|Le mal|/home/benoit/Documents/Le mal|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@folder128|Le mal|/home/benoit/Documents/Le mal|sans bold 100
DEBUG => FIFO write: window1 release@Up
DEBUG=>: in thread py in_NOT_GET release@Up
DEBUG => FIFO write: window1 press@Return
DEBUG=>: in thread py 'Action' object has no attribute 'Up'
DEBUG=>: in thread py in_NOT_GET press@Return
DEBUG => FIFO write: treeview1 clicked
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG=>: in thread py TREE@@CLEAR@@treeview1
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|JJRousseau (copie).wav|/home/benoit/Documents/Le mal/JJRousseau (copie).wav|sans bold 100
DEBUG=>: in thread py TREE@@END@@treeview1@@fichier128|JJRousseau.txt|/home/benoit/Documents/Le mal/JJRousseau.txt|sans bold 100
DEBUG=>: in thread py SET@_label_dossier.set_markup('<span size="80000"><b>Documents/Le mal</b></span>')
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG => FIFO write: window1 release@Return
DEBUG=>: in thread py in_NOT_GET release@Return
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Return'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG => FIFO write: treeview1 None
DEBUG=>: in thread py in_NOT_GET None
DEBUG=>: [retourne_selection] : 0 ['fichier128', 'JJRousseau (copie).wav', '/home/benoit/Documents/Le mal/JJRousseau (copie).wav', 'sans bold 100']
DEBUG => FIFO write: treeview1 0@fichier128|JJRousseau (copie).wav|/home/benoit/Documents/Le mal/JJRousseau (copie).wav|sans bold 100
DEBUG=>: in thread py in_NOT_GET 0@fichier128|JJRousseau (copie).wav|/home/benoit/Documents/Le mal/JJRousseau (copie).wav|sans bold 100
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Down
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Down
DEBUG=>: [retourne_selection] : 1 ['fichier128', 'JJRousseau.txt', '/home/benoit/Documents/Le mal/JJRousseau.txt', 'sans bold 100']
DEBUG => FIFO write: treeview1 1@fichier128|JJRousseau.txt|/home/benoit/Documents/Le mal/JJRousseau.txt|sans bold 100
DEBUG=>: in thread py in_NOT_GET 1@fichier128|JJRousseau.txt|/home/benoit/Documents/Le mal/JJRousseau.txt|sans bold 100
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py bt_audio_service_open: connect() failed: Connection refused (111)
DEBUG=>: in thread py Can't read dictionary file: '/usr/share/espeak-data/en_dict'
DEBUG => FIFO write: window1 release@Down
DEBUG=>: in thread py in_NOT_GET release@Down
DEBUG => FIFO write: window1 press@Return
DEBUG=>: in thread py 'Action' object has no attribute 'Down'
DEBUG=>: in thread py in_NOT_GET press@Return
DEBUG => FIFO write: treeview1 clicked
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG => FIFO write: window1 release@Return
DEBUG=>: in thread py in_NOT_GET release@Return
DEBUG=>: in thread py 
DEBUG=>: in thread py (gedit:1837): GLib-GObject-WARNING **: invalid (NULL) pointer instance
DEBUG=>: in thread py 
DEBUG=>: in thread py (gedit:1837): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
DEBUG=>: in thread py 
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left
DEBUG => FIFO write: window1 press@Alt_L
DEBUG => FIFO write: window1 release@Alt_L
DEBUG => FIFO write: window1 press@Alt_L

Concernant le développement, je suis d'accord....

#39 Le 23/08/2010, à 15:22

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

J'ai l'impression que ton système a pas mal de petit soucis smile

Bon, pour que tu comprennes de quoi on parle, je vais essayer d'expliquer un peu le mécanisme de ce script.

Il est écrit en python, avec pour gérer l'interface graphique, glade2script.
glade2script est un soft que j'ai écrit qui permet de communiquer avec l'interface graphique facilement depuis n'importe quel langage, il est écrit en pygtk (python et glade).

Comment ca fonctionne:
Le fichier Test.py est le script par lui même, il communique avec glade2script via le stdout (tous les print "TREE@@',etc,etc).
Glade2script, lui, envois les infos au script via un FIFO (dans la console on a le retour, DEBUG =>  FIFO write ...)

Dans glade2script, j'ai mis une protection, CAD que si le script (ici Test.py) envois sur le stdout une variable vide (donc un blanc), je ferme ce script (protection en cas de boucle mal foutu, ca evite l'emballement de la machine)

Suite au problème rencontré ici, j'ai modifié un peu glade2script en autorisant 3 blanc venant du script avant de quitter.

MAintenant, chez toi le problème est que l'ouverture d'un fichier envois des erreurs avec des blancs en plus (ce sont des sauts de ligne mais interprété par glade2script comme un blanc).

On comprends mieux le log maintenant:(jai un peu commenté)

# ici tu as appuyé sur return, donc la fonction treeview1 est appelée.
# on ouvre le fichier.
DEBUG => FIFO write: treeview1 clicked
# reponse du script
DEBUG=>: in thread py in_NOT_GET clicked
DEBUG => FIFO write: window1 release@Return #ici la touche return est relachée, l'info n'est pas traitée
DEBUG=>: in thread py in_NOT_GET release@Return
#premier blanc venant du script
DEBUG=>: in thread py 
#erreur gedit lors de l'ouverture
DEBUG=>: in thread py (gedit:1837): GLib-GObject-WARNING **: invalid (NULL) pointer instance
# 2 blanc
DEBUG=>: in thread py 
#erreur gedit 
DEBUG=>: in thread py (gedit:1837): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
# 3 blanc
DEBUG=>: in thread py 
#ici Test.py est fermé, en console on n'a plus que les instructions venant de glade2script, plus de réponse du script
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left
DEBUG => FIFO write: window1 press@Left
DEBUG => FIFO write: window1 release@Left
DEBUG => FIFO write: window1 press@Alt_L
DEBUG => FIFO write: window1 release@Alt_L
DEBUG => FIFO write: window1 press@Alt_L

Pour régler ce problème, 2 solutions possibles, soit modifier glade2script, soit modifier le script.

Si on veut modifier glade2script
(glade2script.py)  ligne 914 dans la fonction run()

if self.n_break==3 : break

On modifie le 3 en 10 par exemple (ce que je ferais par défaut), donc glade2script acceptera 10 blanc avant de fermer le script.



Ou si on veut modifier le script, il suffit de ne plus envoyer les erreurs sur la sortie standard.
(Test.py) ligne 199 dans la fonction treeview1, on remplace:

else: subprocess.call(['gnome-open', self.path_fichier])

par:

else: subprocess.call(['gnome-open', self.path_fichier], stderr=subprocess.PIPE)

On envois les messages d'erreur dans un PIPE, donc plus à l'affichage.

Tu peux modifier l'un ou l'autre (ou les 2 même), mais il serait mieux de modifier glade2script pour avoir qd même un retour en console en cas d'erreur lors de l'ouverture d'un fichier.


Voilà, le problème est cerné ... J'espère smile

Pour le ctrl+p, il marche pas "très bien". dès fois il désactive correctement, pareil pour la réactivation.

Arff, chez moi ca va nickel ... Tu prends bien le temps entre l'appui de chaque touche, CTRL puis P


Sinon, tu penses que ca vaut le coût de continuer le développement, tu te rends un peu mieux compte des possibilités.

En tout cas, ca n'aura pas été du temps de perdu, j'ai ajouter des commandes à glade2script et trouver qqles bugs en plus de celui-ci smile

PS: A partir de ce soir et pendant 1 voir 2 semaines, je n'aurais pas beaucoup de temps à consacrer au dev, un truc imprévu ...

Dernière modification par AnsuzPeorth (Le 23/08/2010, à 15:29)


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#40 Le 23/08/2010, à 15:28

Compte supprimé

Re : Explorateur de fichier/déficient visuel

Ok, pour le bug, je vais faire les modifs que tu m'as dite.
Merci encore pour tout les efforts et le temps utilisé à dev ce nav.
Moi, pareil c'est ma dernière semaine après retour aux études.

#41 Le 23/08/2010, à 15:31

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

benoitfra a écrit :

Moi, pareil c'est ma dernière semaine après retour aux études.

Plus que qqles jours pour apprendre le python, ensuite tu prendras le dev de ce navigateur à ton compte big_smile


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#42 Le 23/08/2010, à 15:40

Compte supprimé

Re : Explorateur de fichier/déficient visuel

J'ai téléchargé "dive in python" (déjà)...quand à reprendre le nav, on y est pas encore lol

Dernière modification par benoitfra (Le 23/08/2010, à 15:41)

#43 Le 23/08/2010, à 16:01

AnsuzPeorth

Re : Explorateur de fichier/déficient visuel

benoitfra a écrit :

J'ai téléchargé "dive in python" (déjà)..

Il y a une version fr, mais tu est peut être à l'aise avec l'anglais ? Ca facilite bien l'apprentissage ça, je sais de quoi je parle, je suis une quiche en anglais, ben c'est galère, je mets 2 fois plus de temps !

benoitfra a écrit :

quand à reprendre le nav, on y est pas encore lol

Tu serais étonné ... J'utilise aucun module exotique, aucune fonction venant de l'espace... Rien que du basique.
A part getattr, subprocess et le threading, que du ultra-conventionnel (et encore, ces choses là sont simples).


Interface graphique pour bash, python ou autre: glade2script
Support Tchat: http://chat.jabberfr.org/muckl_int/inde … ade2script  (Hors ligne)

Hors ligne

#44 Le 28/08/2010, à 22:15

Compte supprimé

Re : Explorateur de fichier/déficient visuel

Pardon, pour ce retour tardif....
J'ai oublié de dire si cela marchait ou pas.
C'est ton post sur l'autre forum qui m'y a fait penser.

BONNE NOUVELLE: ÇA MARCHE
Bravo

j'ouvre les fichiers et je peux continuer la navigation....
Bug résolu

Dernière modification par benoitfra (Le 28/08/2010, à 22:16)