Clef USB pour ISN dans les lycées

Quel est le souci en cas de perte? J’utilise cette méthode pour mes étudiants par manque de salle de TP (je me trouve une salle avec des ordianteurs (physique, chime, SI, n’importe quoi en fait) et je fais travailler mes élèves avec ça. J’avais également fait pour un collègue une clef serveur avec des comptes automatiquement crées pour les élèves. Ils travaillaient sur machine XP avec l’énoncé sur la clef du prof, leur répertoire aussi, et à la fin le prof partait avec les fichiers pour corriger. Pas eu le temps de la remettre à jour mais il faudra que je le fasse…

Salut fran.b,

Je viens de tester ta clé ISN.
Beau boulot!
Quel chemin parcouru depuis la dernière cleoffi que j’ai utilisée!
rapide, facilement configurable avec les extensions *.sqh.

Bref un mot. Félicitations! :038

Je pense l’utiliser pour le club informatique de l’école et dans mes cours… :sunglasses:

Bon! j’ai rencontré tout de même quelques problèmes après l’installation de quelques extensions.

  • libreoffice ne se lance pas. voici le message obtenu dans le terminal:
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
  • vlc freeze. message dans le terminal (j’ai également installé l’extension réparant le bug):

VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e) [0x8e9f8f0] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface. QGtkStyle was unable to detect the current GTK+ theme. [0x91e1d20] xcb_xv vout display error: no available XVideo adaptor

  • gimp, Drpython semblent fonctionner

PS: pour info, je l’ai installé avec LinuxLive USB Creator sous Windows (ne pouvant pas faire autrement, aujourd’hui) avec succès.

[Hum, je croyais avoir répondu… bizarre j’ai du rater un truc, bon je recommence ma réponse]

  • Alors pour libreoffice, oui il y a un souci si on met l’extension en français, je ne comprends pas bien pourquoi, je pense à un souci de version. Il faut que je refasse les extensions, cela marche si tu enlèves l’extension libreofficefr

  • vlc a un bug curieux lui faisant chercher les fichiers dans /extension_vlc, par contre l’erreur que tu rencontres est vraiment curieuse? Essaye en virant le répertoire .config/vlc

Je suis en train de refaire une version en essayant de remédier à tous ces bugs. Notes que tu as une extension_vlc fait par un utilisateur à Grenoble
moodle.lp-andre-argouges.ac-gren … on_vlc.sqh
Tu peux l’essayer…

Je pense fusionner clefagreg et clefisn mais il me faudrait du temps… :frowning:

Merci fran.b,

je teste cela dès que possible.

[quote=“fran.b”][Hum, je croyais avoir répondu… bizarre j’ai du rater un truc, bon je recommence ma réponse]

  • Alors pour libreoffice, oui il y a un souci si on met l’extension en français, je ne comprends pas bien pourquoi, je pense à un souci de version. Il faut que je refasse les extensions, cela marche si tu enlèves l’extension libreofficefr
    [/quote]
    en effet Libreoffice marche sans l’extension libreofficefr

[quote=“fran.b”]

  • vlc a un bug curieux lui faisant chercher les fichiers dans /extension_vlc, par contre l’erreur que tu rencontres est vraiment curieuse? Essaye en virant le répertoire .config/vlc[/quote]
    toujours le même problème.

vlc freeze également

Iceweasel s’est planté aujourd’hui en parcourant le site:
xfce-look.org/index.php?xsortmod … 14&page=18
voici le message d’erreur affiché dans le terminal:

Cette clef est fondée sur la wheezy de Mai dernier. Il y a les bugs correspondants. Essaye en mettant isn.dnsalias.org/extension_flashplayer.sqh

cela semble mieux marcher…

En ce qui concerne les vidéos, j’ai créé deux extensions pour mplayer et gnome-mplayer (recommandés par xfce). J’ai pu enfin visionner des vidéos (Remarque: Pour pouvoir visionner les vidéos en plein écran, j’ai dû sélectionner X11 pour la sortie vidéo)

J’ai également créé une extension pour le logiciel geany.

Je vais mettre en ligne ces extensions pour que tu puisse les récupérer, si tu le souhaites.

Je vais une page où les gens pourront mettre un lien vers les extensions faites.

les extensions sont ici:
gerard.lerest.free.fr/Divers/

Je les ai mises en téléchargement sur tes liens. Je peaufinerai une page pour déposer des liens.

j’ai commencé avec python3 et pour la partie image je souhaite utiliser PIL (pillow) http://pypi.python.org/pypi/Pillow/1.7.8

Impossible de compiler pillow pour python3 si par hasard certain l’ont déjà fait?
Sur ma debian sid c’est ok mais pas sur ma cle isn. En dernier recourt je prendrai python2.

Voila l’erreur que j’obtiens avec

running build
running build_py
running build_ext
DEB_HOST_MULTIARCH n'est pas le nom d'une variable reconnue at /usr/bin/dpkg-architecture line 214.
building '_imaging' extension
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging -I/usr/include -I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include/python3.2mu -c _imaging.c -o build/temp.linux-i686-3.2/_imaging.o
_imaging.c:129:1: error: unknown type name ‘staticforward’
_imaging.c:129:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Imaging_Type’
_imaging.c:151:1: error: unknown type name ‘staticforward’
_imaging.c:151:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ImagingFont_Type’
_imaging.c:160:1: error: unknown type name ‘staticforward’
_imaging.c:160:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ImagingDraw_Type’
_imaging.c:170:1: error: unknown type name ‘staticforward’
_imaging.c:170:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PixelAccess_Type’
_imaging.c: In function ‘PyImagingNew’:
_imaging.c:180:14: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c:180:14: note: each undeclared identifier is reported only once for each function it appears in
_imaging.c: In function ‘PyImaging_AsImaging’:
_imaging.c:214:10: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘getlist’:
_imaging.c:394:17: warning: implicit declaration of function ‘PyInt_AsLong’ [-Wimplicit-function-declaration]
_imaging.c: In function ‘getpixel’:
_imaging.c:485:9: warning: implicit declaration of function ‘PyInt_FromLong’ [-Wimplicit-function-declaration]
_imaging.c:485:9: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c:495:7: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c:500:9: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘getink’:
_imaging.c:530:13: warning: implicit declaration of function ‘PyInt_Check’ [-Wimplicit-function-declaration]
_imaging.c:531:17: warning: implicit declaration of function ‘PyInt_AS_LONG’ [-Wimplicit-function-declaration]
_imaging.c: In function ‘_getcount’:
_imaging.c:661:5: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘_blend’:
_imaging.c:706:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_convert’:
_imaging.c:729:12: error: ‘ImagingObject’ has no member named ‘ob_type’
_imaging.c:729:12: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_convert2’:
_imaging.c:749:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_copy2’:
_imaging.c:792:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_getpalette’:
_imaging.c:903:5: warning: implicit declaration of function ‘PyString_FromStringAndSize’ [-Wimplicit-function-declaration]
_imaging.c:903:13: warning: assignment makes pointer from integer without a cast [enabled by default]
_imaging.c:907:5: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration]
_imaging.c: In function ‘_histogram’:
_imaging.c:998:53: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c:1039:7: warning: assignment makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘_paste’:
_imaging.c:1087:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_putdata’:
_imaging.c:1228:9: warning: implicit declaration of function ‘PyString_Check’ [-Wimplicit-function-declaration]
_imaging.c:1230:13: warning: implicit declaration of function ‘PyString_AS_STRING’ [-Wimplicit-function-declaration]
_imaging.c:1230:54: error: ‘PyStringObject’ undeclared (first use in this function)
_imaging.c:1230:69: error: expected expression before ‘)’ token
_imaging.c:1322:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
_imaging.c: In function ‘_transform2’:
_imaging.c:1632:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_isblock’:
_imaging.c:1768:5: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘_putband’:
_imaging.c:1907:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_lighter’:
_imaging.c:1933:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_darker’:
_imaging.c:1944:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_difference’:
_imaging.c:1955:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_multiply’:
_imaging.c:1966:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_screen’:

_imaging.c:1977:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_add’:
_imaging.c:1993:43: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_subtract’:
_imaging.c:2011:43: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_and’:
_imaging.c:2024:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_or’:
_imaging.c:2035:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_xor’:
_imaging.c:2046:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_add_modulo’:
_imaging.c:2057:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_chop_subtract_modulo’:
_imaging.c:2068:40: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_font_new’:
_imaging.c:2092:7: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c:2101:12: error: ‘ImagingFont_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_font_getattr’:
_imaging.c:2224:5: warning: implicit declaration of function ‘Py_FindMethod’ [-Wimplicit-function-declaration]
_imaging.c:2224:5: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘_draw_new’:
_imaging.c:2236:42: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c:2239:12: error: ‘ImagingDraw_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_draw_ink’:
_imaging.c:2275:5: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘_draw_bitmap’:
_imaging.c:2307:49: error: ‘Imaging_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_draw_getattr’:
_imaging.c:2662:5: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘pixel_access_new’:
_imaging.c:2677:12: error: ‘PixelAccess_Type’ undeclared (first use in this function)
_imaging.c: In function ‘_getcodecstatus’:
_imaging.c:2836:5: warning: implicit declaration of function ‘PyString_FromString’ [-Wimplicit-function-declaration]
_imaging.c:2836:5: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: In function ‘_getattr’:
_imaging.c:2972:9: warning: assignment makes pointer from integer without a cast [enabled by default]
_imaging.c:2977:2: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c:2981:2: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c:2983:2: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c:2985:9: warning: implicit declaration of function ‘PyCObject_FromVoidPtrAndDesc’ [-Wimplicit-function-declaration]
_imaging.c:2985:9: warning: return makes pointer from integer without a cast [enabled by default]
_imaging.c: At top level:
_imaging.c:3029:1: error: unknown type name ‘statichere’
_imaging.c:3029:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Imaging_Type’
_imaging.c:3050:1: error: unknown type name ‘statichere’
_imaging.c:3050:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ImagingFont_Type’
_imaging.c:3062:1: error: unknown type name ‘statichere’
_imaging.c:3062:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ImagingDraw_Type’
_imaging.c:3084:1: error: unknown type name ‘statichere’
_imaging.c:3084:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PixelAccess_Type’
_imaging.c:3249:1: warning: return type defaults to ‘int’ [-Wreturn-type]
_imaging.c: In function ‘DL_EXPORT’:
_imaging.c:3250:1: error: expected declaration specifiers before ‘init_imaging’
_imaging.c:3281:1: error: expected ‘{’ at end of input
_imaging.c: At top level:
_imaging.c:197:1: warning: ‘_dealloc’ defined but not used [-Wunused-function]
_imaging.c:2140:1: warning: ‘_font_dealloc’ defined but not used [-Wunused-function]
_imaging.c:2222:1: warning: ‘_font_getattr’ defined but not used [-Wunused-function]
_imaging.c:2255:1: warning: ‘_draw_dealloc’ defined but not used [-Wunused-function]
_imaging.c:2660:1: warning: ‘_draw_getattr’ defined but not used [-Wunused-function]
_imaging.c:2691:1: warning: ‘pixel_access_dealloc’ defined but not used [-Wunused-function]
_imaging.c:2968:1: warning: ‘_getattr’ defined but not used [-Wunused-function]
_imaging.c:3016:26: warning: ‘image_as_sequence’ defined but not used [-Wunused-variable]
_imaging.c:3076:25: warning: ‘pixel_access_as_mapping’ defined but not used [-Wunused-variable]
_imaging.c:3152:20: warning: ‘functions’ defined but not used [-Wunused-variable]
_imaging.c: In function ‘DL_EXPORT’:
_imaging.c:3281:1: warning: control reaches end of non-void function [-Wreturn-type]
error: command 'gcc' failed with exit status 1

Ça n’est pas python3 qui est en cause mais dpkg, c’est la version de squeeze qui ne connait pas le multiarchitecture de wheezy…

ok merci je vais creuser de ce coté. Ca me semble cependant pas simple sans tout casser.

Il te suffit peut être de rectifier le script de construction de pillow

finalement j’y suis arrivé il manquait le paquet dh-exec

apt-get install dh-exec libfreetype6-dev libjpeg8-dev liblcms1-dev python3-tk build-essential tk8.5-dev

il y avait encore une erreur et il faut la dernière version git et j’ai pris la branche master github.com/python-imaging/Pillow

J’ai encore un problème avec .show() sans doute un oublie de ma part avec un paquet tkinter, je regarderai demain.

je complete ma précédente réponse

sudo apt-get install libfreetype6-dev libjpeg62-dev liblcms1-dev liblcms-utils dh-exec tk8.5-dev
et on install Pillow
Pour l’utilisation de show j’ai installé imagemagick et ainsi avec im.show() on peut bien voir l’image. :038

J’ai par contre un truc étrange. :12
Il existe un dossier /home/user/Documents/ et bien au bout d’un moment ce dossier disparaît. :030
Quand je reboote je retrouve ce dossier avec le contenu jusqu’à sa disparition au bout de qcq minutes.

Je viens d’installer arduino sur la clé. Je rencontre un problème d’attribution de groupes
Pour transférer les programmes du PC vers la carte il faut ajouter l’utilisateur aux groupes dialout et tty
(installation-du-logiciel-arduino-t41737.html).
Voilà ce que j’ai tenté dans un terminal:
pour passer en root:

puis:

et:

J’ai ensuite redémarré, mais l’attribution aux groupes semble avoir disparue…

Pour infos, Arduino fonctionne en root. Mais, bon! cela n’est très propre de faire fonctionner un programme en root.

Oui, si tu l’ajoutes au groupe il te faut sauvegarder le fichier /etc/group par une extension ou bien le recrée par un script. C’est une des choses à laquelle je pensais, sauvegarder ce genre de choses.

Est-ce compliqué à faire?

Non je te fais ça dans la semaine…