Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > Non-English Discussions > Forum Français > Software

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2020, 03:08 AM   #16
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
j'ai oublié de préciser que je suis su MAC OSX version Catalina et calibre 4.9...
kiki34420 is offline   Reply With Quote
Old 01-30-2020, 03:32 AM   #17
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
re-bonjour,
pour plus de précision, lorsque je télécharge les extensions Babelio notes ou Babelio, mon mac décompresse automatiquement les zip. Donc je les décompresse. en recherchant dans le contenu du fichier zip, j'ai pourtant bien un top level _init_py...
kiki34420 is offline   Reply With Quote
Old 01-30-2020, 03:35 AM   #18
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
je voulais dire je les recompresse....
kiki34420 is offline   Reply With Quote
Old 01-30-2020, 06:39 AM   #19
lktr45
Zealot
lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'
 
Posts: 130
Karma: 10280
Join Date: Oct 2016
Device: none
Bonjour Christian,

N'ayant pas testé l'extension sur Mac mais uniquement avec Windows 10, je ne sais pas si elle fonctionne sur ce matériel.
Cela dit, puisque le problème semble lié à la décompression automatique du .zip, je joins ci-dessous le fichier Babelio_notes_mac.zip qui contient le fichier Babelio_notes.zip

Merci de me signaler si c'est ok. Dans le cas contraire, je me renseignerai sur le forum anglophone.
Attached Files
File Type: zip babelio_notes_mac.zip (42.9 KB, 513 views)
lktr45 is offline   Reply With Quote
Old 02-05-2020, 03:04 AM   #20
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
ok merci beaucoup. je teste ça
kiki34420 is offline   Reply With Quote
Old 02-05-2020, 03:32 AM   #21
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
re-bonjour
ça ne fonctionne toujours pas.
je pensais comme vous que ça pouvais venir de la décompression automatique du zip. j'ai donc téléchargé votre fichier sur la carte SD de ma tablette Android que j'ai ensuite lu avec mon iMac. Le fichier était donc bien le zip original. j'ai voulu installer l'extension qui était sur la carte mais j'ai le même message. ce qui est vraiment surprenant c'est que le fichier _inti_.py figure bien dans le dossier.
merci pour votre aide
Christian
kiki34420 is offline   Reply With Quote
Old 02-05-2020, 11:51 AM   #22
lktr45
Zealot
lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'
 
Posts: 130
Karma: 10280
Join Date: Oct 2016
Device: none
Bonjour Christian,

Pouvez-vous essayer ceci ?

1 - Supprimez l'extension Babelio Notes si elle installée dans Calibre
icone Préférences -> Extensions -> Afficher uniquement les extensions installées par l'utilisateur

2 - Suite à recherche Google, sur Mac une option empêche de dé-zipper automatiquement les fichiers téléchargés.
Pour activer cette option, ouvrez Safari-> Préférences et dans l'onglet Général, en bas, décochez l'option Ouvrir des fichiers « sécurisés » après le téléchargement.

3 - Recommencez la procédure d'installation après téléchargement du fichier babelio_notes.zip

Après recherche, il ne semble pas qu'une extension fonctionnant avec Windows ne fonctionne pas sur Mac.
Si c'est toujours le cas, merci de me signaler.
lktr45 is offline   Reply With Quote
Old 02-06-2020, 05:50 AM   #23
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
Bonjour,
malheureusement ça ne fonctionne toujours pas !
C'est vraiment bizarre ce truc.
j'ai toujours le message le même message
voici le détail :
"calibre, version 4.9.0
ERREUR : Exception non gérée: <b>InvalidPlugin</b>:The plugin in u'/Users/christianbureau/Downloads/babelio_notes_mac.zip' is invalid. It does not contain a top-level __init__.py file

calibre 4.9 embedded-python: True is64bit: True
Darwin-19.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '19.0.0', 'Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64')
Python 2.7.16
OSX: ('10.15.1', ('', '', ''), 'x86_64')
Interface language: fr
Successfully initialized third party plugins: Resize Cover (1, 0, 2) && Find Duplicates (1, 6, 3)
Traceback (most recent call last):
File "site-packages/calibre/gui2/preferences/plugins.py", line 319, in add_plugin
File "site-packages/calibre/customize/ui.py", line 472, in add_plugin
File "site-packages/calibre/customize/ui.py", line 61, in load_plugin
File "site-packages/calibre/customize/zipplugin.py", line 194, in load
File "site-packages/calibre/customize/zipplugin.py", line 292, in _locate_code
InvalidPlugin: The plugin in u'/Users/christianbureau/Downloads/babelio_notes_mac.zip' is invalid. It does not contain a top-level __init__.py file

si je dézippe manuellement j'ai les fichiers suivants :
worker.py
ui.py
un dossier images
_init_py
plugin-import-nam-babelio_notes.txt

une question peut-être stupide : n'y a t-il pas moyen de placer ces fichiers directement au bon endroit sans passer par l'installer ?
merci en tout cas pour votre aide car j'aimerais vraiment pouvoir intégrer votre extension dans ma base de donnée. j'ai commencé à lire la doc sur la réalisation d'extension mais c'est trop ardu pour moi bien qu'ayant quelques vagues notions de programmation.
kiki34420 is offline   Reply With Quote
Old 02-06-2020, 10:01 AM   #24
lktr45
Zealot
lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'
 
Posts: 130
Karma: 10280
Join Date: Oct 2016
Device: none
Bonjour Christian,

Si les fichiers ne sont plus automatiquement dé-zippés, alors le bon fichier à télécharger est babelio_notes.zip et non babelio_notes_mac.zip.

Sinon, pour qu'une extension fonctionne il est nécessaire de l'installer, la copie du .zip dand le dossier .../Settings/plugins de l'application ne suffit pas.

En ce qui concerne la réalisation d'une extension, la documentation ne dit pas grand chose sur l'environnement de développement ou l'installation d'une extension, sans doute parce que c'est évident pour un programmeur Python.
Ce qui n'est pas mon cas, aussi ai-je pas mal tâtonné pour réaliser cette extension très simple.
Attached Files
File Type: zip babelio_notes.zip (43.0 KB, 478 views)
lktr45 is offline   Reply With Quote
Old 02-07-2020, 02:21 AM   #25
kiki34420
Member
kiki34420 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2020
Device: vivlio
ça marche !
merci beaucoup pour votre aide !
comme j'aime bien comprendre les choses, pouvez-vous simplement me dire pourquoi ça ne fonctionnait pas si la décompression était automatique. quand je décompressait le fichier, le contenu de l'archive semblait pourtant correct.
kiki34420 is offline   Reply With Quote
Old 02-07-2020, 04:13 AM   #26
lktr45
Zealot
lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'
 
Posts: 130
Karma: 10280
Join Date: Oct 2016
Device: none
Une explication ?

babelio_notes.zip contient 4 fichiers + un dossier images.

Pour reconstituer l'archive à l'identique, il faut zipper le contenu du dossier babelio_notes obtenu après décompression (soit les 4 fichiers + le dossier images).
si vous zippez le dossier babelio_notes lui-même, alors ce dossier se retouvera dans l'archive qui ne correspondra donc pas au .zip original.
lktr45 is offline   Reply With Quote
Old 09-25-2020, 06:25 AM   #27
Shpounz
Member
Shpounz began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Sep 2020
Device: Kobo Libra H2O
Bonjour,

Le plugin permettant de récupérer la note babelio d’un livre ne semble plus fonctionner depuis la mise à jour de calibre en version 5.
Le plugin est bien installé mais l’icône a disparu dans la barre principale.
Avez vous prévu de mettre à jour ce plugin bien utile en conséquence ?
Shpounz is offline   Reply With Quote
Old 09-25-2020, 09:16 AM   #28
lktr45
Zealot
lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'lktr45 knows the difference between 'who' and 'whom'
 
Posts: 130
Karma: 10280
Join Date: Oct 2016
Device: none
Bonjour,

J'ai ajouté le nouveau plugin dans le premier message de ce post.
Merci de m'indiquer s'il fonctionne correctement
lktr45 is offline   Reply With Quote
Old 09-25-2020, 09:22 AM   #29
Shpounz
Member
Shpounz began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Sep 2020
Device: Kobo Libra H2O
Quote:
Originally Posted by lktr45 View Post
Bonjour,

J'ai ajouté le nouveau plugin dans le premier message de ce post.
Merci de m'indiquer s'il fonctionne correctement
Quelle réactivité !
Parfait, cela semble fonctionner. Encore merci
Shpounz is offline   Reply With Quote
Old 11-14-2020, 04:51 PM   #30
natgwa
Member
natgwa began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Nov 2020
Device: kindle paperwhite
reponse à #itkr45

Je te remercie beaucoup pour l'extension necessaire pour récupérer la note moyenne sur babelio. J'en avais déjà recupéré manuellement 600 et je n'avais pas le courage de récuprérer le reste....c'est à dire beaucoup
Par contre pour ne pas t'importuner j'aimerai savoir comment écrire une extension car je voudrais aller recuperer une étiquette , afin de genrer les livres;
elles sont en caracteres agrandis en dessous de la couverture.
ainsi que le résumé quand il est vide au chargement du bouquin.
le "plugin-import-name-babelio_notes.txt" est vide. et je pense pouvoir comprendre un peu le python.
D'autre part en quoi le plug in a dû changer avec le changement de version de calibre ? En effet ça veut dire qu'il faut renouveler la manip à chaque changement de version de calibre : dur dur.
En tout cas pour la note le plug fonctionne tres bien chez moi.
Merci encore
natgwa is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Must Have Tools Extensions? elbarto0 Kindle Developer's Corner 3 10-03-2016 04:57 PM
extensions.cfg who can explain it Skeeve PocketBook 2 02-20-2015 12:57 AM
links and extensions Iain ePub 3 10-13-2010 12:46 AM
Same book name, different extensions Ununoctien Bookeen 3 12-13-2007 07:19 AM
Firefox Extensions Best Of TadW Lounge 9 12-17-2004 01:58 PM


All times are GMT -4. The time now is 12:51 AM.


MobileRead.com is a privately owned, operated and funded community.