Message d'erreur : ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes

49 views
Skip to first unread message

Trum

unread,
Feb 2, 2012, 2:08:12 PM2/2/12
to jBrout
Salut !

Sous Linux, en essayant avec les dernières versions de Jbrout svn et
deb, j'ai un message d'erreur.
J'ai bien virer tout ce qui n'était pas des images, ou converti avec
"find" et "convert" pour le reste.
Là je vois pas comment je peux voir quelles images clochent si je n'ai
pas le chemin, alors que quand j'avais essayé sans avoir nettoyer les
non-jpg, ça m'indiqué le chemin.

Ce sont toutes des images du web, et dans le lots y'en a sûrement qui
avaient un nom en .php et que j'avais renommé en .jpg pour pouvoir les
visionner.
C'est peut-être ça qui bloque ?
Mais je vois pas comment retrouver ces images puisqu'elles sont en
jpg.

J'ai un autre répertoire où après avoir nettoyer, j'ai pu importer
sans problème. Si ça peut vous aider pour le diagnostic.


Le message d'erreur :

Traceback (most recent call last): File "/usr/lib/jbrout/
jbrout.py", line 2550, in on_btn_addFolder_clicked
self.on_drop_folders_from_os(self.treeviewdb.get_model(),[folder])
File "/usr/lib/jbrout/jbrout.py", line 1634, in
on_drop_folders_from_os for nb in iterator: File "/usr/lib/
jbrout/jbrout/db.py", line 132, in add
self.__addPhoto( file ,tags,filesInBasket) File "/usr/lib/jbrout/
jbrout/db.py", line 195, in __addPhoto
importedTags=node.updateInfo( iii ) File "/usr/lib/jbrout/jbrout/
db.py", line 868, in updateInfo nodeComment.text =
pc.comment.replace(u'\x00',u' ') File "lxml.etree.pyx", line 821,
in lxml.etree._Element.text.__set__ (src/lxml/lxml.etree.c:32944)
File "apihelpers.pxi", line 645, in lxml.etree._setNodeText (src/lxml/
lxml.etree.c:15265) File "apihelpers.pxi", line 1242, in
lxml.etree._utf8 (src/lxml/lxml.etree.c:19848) ValueError: All
strings must be XML compatible: Unicode or ASCII, no NULL bytes


À bientôt j'espère.

mana...@gmail.com

unread,
Feb 19, 2012, 8:08:31 AM2/19/12
to jbr...@googlegroups.com
This error should be corrected (thanks matej)

try the new release "0.3.340" deb version, or a recent svn



--
You received this message because you are subscribed to the Google Groups "jBrout" group.
To post to this group, send email to jbr...@googlegroups.com.
To unsubscribe from this group, send email to jbrout+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jbrout?hl=en.


Trum

unread,
Mar 22, 2012, 2:10:54 PM3/22/12
to jBrout
Thanks ! It's ok with this version.

But now, there is not .jbrout in Linux personnal folder. How I can
reset Jbrout ? Before, I removed .jbrout, but now it's not possible.

Francois Chartier

unread,
Mar 22, 2012, 4:19:19 PM3/22/12
to jbr...@googlegroups.com
Since r334 and following the rules of FreeDesktop, it is now in ~/.local/share/jbrout instead of ~/.jbrout



Thanks ! It's ok with this version.

But now, there is not .jbrout in Linux personnal folder. How I can
reset Jbrout ? Before, I removed .jbrout, but now it's not possible.
Reply all
Reply to author
Forward
0 new messages